home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!yale!yale.edu!not-for-mail
- From: muench-philip@math.yale.edu (Philip Muench)
- Newsgroups: comp.windows.x.apps
- Subject: Re: Setting icon title for an xterm
- Date: 28 Jan 1993 23:01:31 -0500
- Organization: Yale University Mathematics Dept., New Haven, CT 06520-2155
- Lines: 31
- Message-ID: <1kaa6rINN2r7@CANTOR.MATH.YALE.EDU>
- References: <C17oFA.Hq2@cs.uiuc.edu> <SMITH.93Jan22090752@wilton.anu.edu.au> <C189wo.3HG@SSD.intel.com>
- NNTP-Posting-Host: cantor.math.yale.edu
-
- In article <C189wo.3HG@SSD.intel.com> jkearns@ssd.intel.com (Jerry Kearns) writes:
- >In article <SMITH.93Jan22090752@wilton.anu.edu.au>, smith@pell.anu.edu.au (Michael Smith) writes:
- >|> 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--
- >
- >This seems to work for me in csh, but not ksh. What am I doing wrong?
- >Jerry
-
- Remember the "alias" command in ksh has an "=" between the name and
- the definition.
- -Philip Muench
-