Re: AfterStep Error Log
Ben Tracy (tracy@wsicorp.com)
Tue, 1 Sep 1998 18:04:44 +0000 (GMT)
Howdy!
The syntax of such a command to redirect STDIN and STDERR to a file
changes across shells. I *believe* that the command below works for bash,
which is the most common linux shell, but for example in csh, the command
would be:
$ startx >& asdebug
Bottom line: read the man page on the shell you are using before you do
such a thing or you may tear out your hair before you figure out what's
wrong... :)
Ben
On Tue, 1 Sep 1998, Andrew Sullivan wrote:
> On 1 Sep 1998, Doug Alcorn wrote:
>
> > What about when Wharf launches an application that doesn't start, or
> > if the startmenu doesn't launch an application correctly? Do those
> > messages go into .xsession-errors? I haven't seen any there.
>
> Ok, now this I don't know, because I don't use xdm. If starting from the
> command line, you'd give
>
> $ startx > asdebug 2>&1
>
> to redirect the output to a file, which you could then look at later. I
> presume that xconsole is both STDOUT and STDERR in xdm (is this right?
> Anyone? I'd like to know, so I could answer this question in future). So
> you need to redirect that somehow. The people who really know what
> they're doing around here (I'm not one of 'em!) will be able to tell us
> how to do this.
>
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html