Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 17:33:28 -0500 (EST)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Bob Giesen <BobGiesen@earthlink.net>
Cc:        Peter Ulrich Kruppa <root@pukruppa.de>, Greg Lehey <grog@FreeBSD.ORG>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Cannot change X screen resolution [tcsh?]
Message-ID:  <20020306173122.G97469-100000@earl-grey.cloud9.net>
In-Reply-To: <E16i8FN-0005yK-00@albatross.prod.itd.earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Isn't this discussion about 2> and &1 etc. shell-dependent (tcsh)?

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555

On Tue, 5 Mar 2002, Bob Giesen wrote:
> > > Capture the output of the X startup and check the messages.
> > I tried
> > 	# startx 2 > & 1  > /var/tmp/startuplog
> > and get
> > 	Ambiguous output redirect.

>    It's ambiguous because of the space you have after the ampersand
> ("&").  The shell is trying to run the command "startx 2 >" in the
> background. (It is ambiguous in that you're beginning to redirect
> the stderr output without telling the shell where you want it to
> go...)  You must not have a space between the ampersand and the "1."
>    Still, this command will not log error output.  See my earlier
> message for details.
> Bob
> --
> "I never think of the future. It comes soon enough." -- Albert
> Einstein (1879-1955)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306173122.G97469-100000>