Re: Ssh and remote display tunelling
Re: Ssh and remote display tunelling
- Subject: Re: Ssh and remote display tunelling
- From: Thom Peters II <email@hidden>
- Date: Sat, 11 Jan 2003 14:03:00 -0700
On Saturday, January 11, 2003, at 08:35 AM, Francis Bouchard wrote:
BTW, when you open 2 xterm in x11, there is now way to differenciate
them in
the window menu. Is it a known bug ? Mabe ther should be a number
besides
the xterm (ex.: xterm 1 ,etc.)
I've found there's usually no way to tell the difference visually in
most other window manager window listings either (meaning not exclusive
to X11.app) unless you explicity set the title of the xterm window.
I'm using tcsh and I have set the precmd and postcmd aliases in my
.tcshrc file.
postcmd echo -n "^[]0;!#:0 - ($tty)^G"
precmd echo -n "^[]0;($tty)^G"
That sets the title to the current tty, and shows the current command
running if there is one. The tty tends to be rather unique and the
command further identifies it for when I referencing a man page or
editing with vi/emacs/pico etc. And since I have the shell
automatically set the title itself, the Window menu listing also
updates itself so I can tell the difference.
There's probably an equivalent way to do this in whatever shell your
using.
Also, xterm itself has ways to set it's title. When starting an xterm
from another xterm you can use either -T or -title to set the title of
the new xterm. Check the man page for more details.
HTH,
Thom
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.