[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

weird es behaviour



I don't know if this is a bug or a feature. I am using es inside 9term as
my shell/window.  I use sam as my editor.  However, since sam is not
installed in the public directory, I use a private version.  I start
it with the following shell script:

	#! /bin/sh
	$HOME/bin/sam.real -t $HOME/bin/samterm "$@" &

Where sam.real is the real sam program.  I throw it into the background
because that suits my working style - fire up the editor, but be able to
continue to use the window I started it from.

This is fine and good, sam runs etc.  When I control-d out of the shell,
to kill the window, the sam goes away too!  This does not happen when I
run this script from a ksh.

This is on a sparc under sunos 4.1.3, with x11r4.  I suspect it has to
do something with the signals.  The same thing happens inside an xterm, so
I don't think 9term has anything to do with it.

I tried starting sam.real with nohup, but that made no difference.

Advice etc welcome.

Thanks,

Arnold