You are not logged in.
I run rtorrent, irssi, and moc together in screen with xterm. the title of the xterm window is always just "xterm" but I would like it to change to either rtorrent, irssi, or moc depending on what screen I have open. how can I do this?
thanks.
Offline
Not sure what you mean by "together in screen with xterm." You can always force a title to the xterm with the -T flag, but I'm not sure if that's what you're looking for.
Offline
add this lines to your .screenrc
hardstatus string "SCREEN @ %H: %-n - %t"
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
info here: http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x395.html
Offline
added that to .screenrc and the title still just says "xterm"...
Offline
That worked for me.
Now the title of the xterm will display the window title I set using "Ctrl-A A"
Thanks for the tip.
Offline
If using bash:
then "you can use the
COMMAND_PROMPT
for this. An old topic of mine: http://www.justlinux.com/forum/showthread.php?t=134178 ".
Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes
Offline
nevermind. I only detached screen - didnt restart it. working now. thanks.
Offline