Hi Martin, Martin Hauser wrote: > Good day, > > As i am someone who's regularily working remotely on several machines, > connecting from a local screen session via ssh to those remote > maschines. Not all of those offer me the possibilty to run another > screen there. It'd be really helpful for me i could put an > identification into the local screens hardstatus line which would > allow me to recognize that i'm being working on another machine right > now and even better to let me know hostname and maybe even username. > > any ideas? and thanks in advance
Just set the current window's title to "remotehost"?
ctrl-a A
Or even better:
Use
ssh [EMAIL PROTECTED] -all -other -options
and
function ssh() {
echo -n -e "\033k$1\033\\"
/usr/bin/ssh "$@"
echo -n -e "\033kzsh\033\\"
}
(This asumes zsh, but should also work fine in bash)
> Martin Hauser
Ciao,
Thomas
--
Thomas Köhler Email: [EMAIL PROTECTED]
<>< WWW: http://gott-gehabt.de
IRC: tkoehler
PGP public key available from Homepage!
signature.asc
Description: Digital signature
_______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
