Subject: Re: X problems - redirecting stderr
To: Armen Babikyan <armenb@moof.ai.mit.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 07/14/1997 11:10:39
> >> I am using the March95 xserver, and figured i should upgrade to
> >> possibly alleviate some of the problems mentioned above. I downloaded
> >> both the 960127 and the 950912 xservers, but had problems getting them
> >> to run. The error messages scrolled by so fast, I couldn't read them.
> >> Any idea what these messages could have been? I think I saw one being
> >> about a device not configured.
> >
> >Why don't you redirect the error messages into a file?  This isn't
> >MacOS or DOS (the braindead DOS command.com can't redirect stderr)...
> >
> 
> hmm, how would I redirect the error messages into a file?

In csh & tcsh (which you said you were using), you can redirect both
stdout & stderr by sticking an ampersand after the redirect symbol, like

xinit >& some file
-or-
some_command |& tee a file | more

Take care,

Bill