Re: [screen] setting title

Michael Schroeder <[email protected]>
Newsgroups gmane.comp.gnu.screen
Message-ID <[email protected]>
On Wed, Dec 03, 2003 at 12:21:14PM +1000, Chris Younger wrote:
> I use "Screen version 3.09.10 (FAU) 4-Sep-01", on Solaris. Before I used
> screen I could do this "echo -ne \\033]0\;Hello\\007" to set the window
> title, but now it doesn't work. How can I do this?

Well, screen understands the sequence but doesn't know how to change
the window title of the terminal. Add

    termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'

to your ~/.screenrc file and it should work (this assumes $TERM
is 'xterm' before you start screen).

Cheers,
  Michael.

-- 
Michael Schroeder           [email protected]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/NhFolB/TM
---------------------------------------------------------------------~->

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.