Re: xterms disappear when non-existent command given in background
Re: xterms disappear when non-existent command given in background
- Subject: Re: xterms disappear when non-existent command given in background
- From: Rick Prest <email@hidden>
- Date: Sat, 10 Jan 2004 19:48:49 -0500
On Saturday, January 10, 2004, at 01:15 PM, RCohen wrote:
I've noticed that Apple X11 has a peculiar and annoying behavior which
is not characteristic of other implementations of X windows.
If, in an xterm, I type a command that does not exist, followed by
an ampersand to run it in the background [ example: fggggg &]
then what happens is that the xterm disappears, rather than giving
me the proper message that the command does not exist. I get the
proper behavior if I don't type the ampersand (i.e. if I try to
execute fggggg in the foreground). This is irritating: if I try
to start up a background process, e.g. open a new xterm, and
mis-type the command, then my current window goes away.
I don't know if this is a property of Xfree86 on the Mac also,
or just X11. It is NOT a property of the quartz-wm window manager
as I get the same behavior with another window manager. It is not
a property of my machine or of a particular version of X11; I
get the same behavior on one machine running Panther and the
associated release version of X11 as I do on another running Jaguar
and the X11 beta 3. Finally it is not a property of Xfree86 on
other architectures; I get the correct behavior (error message,
and xterm doesn't go away) running XFree86 under Linux on an Intel
box.
Anyone know the cause/cure?
I don't know the cause or cure but adding "set ignoreeof" to your
.tcshrc or .cshrc file is a work-around I use for this problem. It
seems to only happen with this implementation of csh/tcsh.
To test the work-around, start an X11 xterm and type the following:
-> set ignoreeof
-> fggggg &
-Ron Cohen-
p.s. Pardon me if you've seen this query before; I tried sending it out
a couple of days ago but did not receive a copy myself, so I suspect
it never went to the list, but who knows?
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.