home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!newshost!smith
- From: smith@pell.anu.edu.au (Michael Smith)
- Newsgroups: comp.windows.x.apps
- Subject: Re: Setting icon title for an xterm
- Date: 22 Jan 93 09:07:52
- Organization: Australian National University
- Lines: 22
- Message-ID: <SMITH.93Jan22090752@wilton.anu.edu.au>
- References: <C17oFA.Hq2@cs.uiuc.edu>
- NNTP-Posting-Host: 150.203.15.179
- In-reply-to: schwager@mike.cs.uiuc.edu's message of Thu, 21 Jan 1993 15:59:34 GMT
-
- Mike Schwager writes:
- > How would I set the icon title for an xterm, from that xterm.
-
- try defining this alias in your .cshrc file:
-
- alias nameme 'echo -n "]2;\!:1]1;\!:2"'
-
- where the two "^[" are ESCape characters, and the two "^G" are control-G
- characters (if using emacs, type control-q before the escape and control-G
- characters; if typing this straight into xterm window use control-v instead
- of control-q).
-
- To rename your xterm, just type
-
- nameme "title name" "icon name"
-
- Cheers,
- Michael.
- --
- ----------------------------/|-|--|-|--|------Michael-Smith-------------------
- smith@pell.anu.edu.au /_| |\ | | | Mathematics Research Section
- --------------------------/--|-|-\|-|_/|------Australian-National-University--
-