hello,
a less elagant way to do this is have the alias/command that launches the terminal to have a name, e.g. xterm -n $USER@$HOSTNAME:$OTHERSTUFF
that is what i do, i am not sure if it helps at all.
When I updated 'screen' the other day, it stopped displaying the virtual terminal numbers on the window title (i.e., 0.bash, 1.bash, etc.), so I'm wondering if there's a way to regain the window title feature via .screenrc.
I searched and google and the closest thing I could find was this:
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
but that didn't do anything. Does anybody know?
TIA![]()
hello,
a less elagant way to do this is have the alias/command that launches the terminal to have a name, e.g. xterm -n $USER@$HOSTNAME:$OTHERSTUFF
that is what i do, i am not sure if it helps at all.
pbharris, do you use screen? If you don't, you should, it's quite useful for having several terminals without having multiple windows open, plus if you're ssh'ing to somewhere where opening several terminals can lag, use screen.
I think eventually it should be included in every Linux distribution, because it's extremely useful, but it still has a few bugs to be fixed.
I use screen alot, and this is my prompt setting:
Works like a charm.. displayes user@machine: location in the title bar..Code:set prompt = "%{\e]1;%m\a\e]2;%n@%m:%~\a%}%n@%m{!} %~> "
(altho this is tcshrc, I have no idear how it will behave in bash, since I've never used bash)
Bookmarks