Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: updating the shell environment in screen (was Re: prompt and ssh)
- X-seq: zsh-users 14178
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- Subject: Re: updating the shell environment in screen (was Re: prompt and ssh)
- Date: Tue, 26 May 2009 07:51:46 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <154941E5-F5C5-4B9E-97E1-17EFABF9CDC8@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <e7db6e960905190954j7be72739p6b521bca8e90fe7f@xxxxxxxxxxxxxx> <20090519200217.35368.qmail@xxxxxxxxxxx> <20090521074103.GN27141@xxxxxxxxxxxxxxxxxxx> <20090524222632.GC26513@xxxxxxxxx> <154941E5-F5C5-4B9E-97E1-17EFABF9CDC8@xxxxxxxxxxx>
On Tue, May 26, 2009 at 01:13:02PM +0200, Sebastian Stark wrote:
> What happens if you do not use screen?
I forgot to mention that I have term-conditionional setup of my preexec
function. Inside screen, my $TERM is always "screen". There could be a
problem if I login to a remote system from inside screen and that remote
system had this rc code, though, since the TERM=screen code would
trigger when it shouldn't. Another possible triggering variable is
$WINDOW, which will be set to the screen's window number when inside
screen -- as long as ssh is not set to pass-through this variable, it
may well be a better trigger mechanism.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author