Re: redirecting...

Greg Anderson (Nifft@FutureRealms.com)
Fri, 09 Apr 1999 17:01:15 -0400


Coplan wrote:
> 
> Okay...when I run startx, I redirect as follows:
> 
> startx > ~/.xerrors 2>&1
> 
> Now it does redirect properly into that file.  The problem is that my
> .bashrc output is being piped into that file.  Is this normal?  Does
> xinit source the .bashrc?
> 
> 
> Coplan                                  /"\

Since startx is a bash script, it seems that it would be expected to
source .bashrc

Try putting the redirection into your on the line that contains the xinit 
command in your startx script:

xinit $clientargs -- $serverargs > ~/.xerrors 2>&1

See if that helps.


-- 

Greg Anderson
http://www.FutureRealms.com/

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html