Re: problem with screen.rxvt TERM and less

2008-11-07 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henry S. Thompson wrote: > I built screen 4.0.3 from source, with cygwin patches, on cygwin, with > ncurses 5.7, and rxvt for my terminal emulator. > > The 'less' program has an irritating fault in this configuration which > I can't figure out how to

problem with screen.rxvt TERM and less

2008-11-07 Thread Henry S. Thompson
I built screen 4.0.3 from source, with cygwin patches, on cygwin, with ncurses 5.7, and rxvt for my terminal emulator. The 'less' program has an irritating fault in this configuration which I can't figure out how to work around: * When using less in a vanilla rxvt window, the screen returns to i

problem with screen.rxvt TERM and less

2008-11-07 Thread Henry S. Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I use screen on cygwin, with ncurses 5.7, and rxvt for my window. The 'less' program has an irritating fault in this configuration which I can't figure out how to work around: * When using less in a vanilla rxvt window, the screen returns to its

Re: Setting window title in ssh'ed host

2008-11-07 Thread Malte Skoruppa
Of course that's possible, but I want my screen title to be set to $PWD every time (especially when I issue a 'cd' command, obviously), not only after an ssh command :-) Malte Pandurangan R S schrieb: I think you can as well do the following. ssh() { args=$@ echo -ne "\033k${args##* }\033\\"

Re: Setting window title in ssh'ed host

2008-11-07 Thread Pandurangan R S
I think you can as well do the following. ssh() { args=$@ echo -ne "\033k${args##* }\033\\"; /usr/bin/ssh "$@"; # Set window title back here! } Any problem with this approach? On Fri, Nov 7, 2008 at 6:58 PM, Malte Skoruppa <[EMAIL PROTECTED]> wrote: > > Hi, > > thanks for the tip with the 'comma

Re: Setting window title in ssh'ed host

2008-11-07 Thread Malte Skoruppa
Hi, thanks for the tip with the 'command ssh' instead of /ust/bin/ssh trick... didn't know about that. I quickly hacked this script into my ~/.profile a while ago, so it may not be that beautiful from a cosmetic point of view. Indeed I can leave out the semicolons, they're just still there b