On Tue, 2005-22-11 at 03:13 +0100, Florian Schmidt wrote:
On Sun, 20 Nov 2005 16:32:21 +0100
Florian Schmidt <mista.tapas(a)gmx.net> wrote:
The problem i see is: when the client in the term
exits (either by means
of LASH telling it to, or by sending i.e. a SIGINT), it just drops to a
bash prompt instead of exiting the terminal.
Hmm,
this line seems to be the culprit (liblash/loader.c):
#define XTERM_COMMAND_EXTENSION "&& sh || sh"
as this basically makes sure the xterm is not exited. So maybe this is
even expected behaviour. Hmm, i simply replaced it with "" and am happy
now. Maybe this should be made configurable. Perhaps as an option which
can be specified when restoring a session (default should be xterms
close after the client in them terminates).
I don't know of anyone else actually using the terminal client stuff
anyway, so I might just remove that part if there's no objections...
-DR-