home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / apps / 1846 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.2 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!newshost!smith
  2. From: smith@pell.anu.edu.au (Michael Smith)
  3. Newsgroups: comp.windows.x.apps
  4. Subject: Re: Setting icon title for an xterm
  5. Date: 22 Jan 93 09:07:52
  6. Organization: Australian National University
  7. Lines: 22
  8. Message-ID: <SMITH.93Jan22090752@wilton.anu.edu.au>
  9. References: <C17oFA.Hq2@cs.uiuc.edu>
  10. NNTP-Posting-Host: 150.203.15.179
  11. In-reply-to: schwager@mike.cs.uiuc.edu's message of Thu, 21 Jan 1993 15:59:34 GMT
  12.  
  13. Mike Schwager writes:
  14. > How would I set the icon title for an xterm, from that xterm.
  15.  
  16. try defining this alias in your .cshrc file:
  17.  
  18.     alias nameme 'echo -n "]2;\!:1]1;\!:2"'
  19.  
  20. where the two "^[" are ESCape characters, and the two "^G" are control-G
  21. characters (if using emacs, type control-q before the escape and control-G
  22. characters; if typing this straight into xterm window use control-v instead
  23. of control-q).
  24.  
  25. To rename your xterm, just type    
  26.  
  27.     nameme "title name" "icon name"
  28.  
  29. Cheers,
  30. Michael.
  31. --
  32. ----------------------------/|-|--|-|--|------Michael-Smith-------------------
  33. smith@pell.anu.edu.au      /_| |\ | |  |      Mathematics Research Section
  34. --------------------------/--|-|-\|-|_/|------Australian-National-University--
  35.