Re: Redirecting error messages to an aterm

Aidan Kehoe (
Mon, 5 Feb 2001 13:41:09 +0100

 On February 5, wrote:

 > Hi,
 > This is a re-send of an email I sent a couple of weeks ago.  I never 
 > received a copy back from the list - in fact I have not received 
 > anything for ages until yesterday.  Maybe I fell out of the syatem 
 > for a while. I am sorry if you have all seen my question before 
 > (maybe even replied).
 > Here's my question.
 > I do not use a graphical login.  I fire up AS with startx and run my 
 > session.  After exiting AS I see various error messages on the 
 > console generated during the session (from the X server etc).  I 
 > would like to see those mesages in an aterm during the session.  I 
 > think that means redirecting stderr to the aterm ?  I do not know 
 > how to do that.  Can anyone help please ?

$ cd
$ grep -n afterstep ./.[xX]*
.xinitrc:16:exec afterstep

Then edit the file (.xinitrc in this case, but that may vary) to
change the `exec afterstep' line to 

exec afterstep > ${HOME}/.startx-errors 2>&1


	- Aidan
Quel genre des gens Ítes vous ? Ou as-tu lu qu'on peut branir un
cucombre devant une inconnue ? -- Preacher