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

  1. Path: sparky!uunet!gumby!yale!yale.edu!not-for-mail
  2. From: muench-philip@math.yale.edu (Philip Muench)
  3. Newsgroups: comp.windows.x.apps
  4. Subject: Re: Setting icon title for an xterm
  5. Date: 28 Jan 1993 23:01:31 -0500
  6. Organization: Yale University Mathematics Dept., New Haven, CT 06520-2155
  7. Lines: 31
  8. Message-ID: <1kaa6rINN2r7@CANTOR.MATH.YALE.EDU>
  9. References: <C17oFA.Hq2@cs.uiuc.edu> <SMITH.93Jan22090752@wilton.anu.edu.au> <C189wo.3HG@SSD.intel.com>
  10. NNTP-Posting-Host: cantor.math.yale.edu
  11.  
  12. In article <C189wo.3HG@SSD.intel.com> jkearns@ssd.intel.com (Jerry Kearns) writes:
  13. >In article <SMITH.93Jan22090752@wilton.anu.edu.au>, smith@pell.anu.edu.au (Michael Smith) writes:
  14. >|> Mike Schwager writes:
  15. >|> > How would I set the icon title for an xterm, from that xterm.
  16. >|> 
  17. >|> try defining this alias in your .cshrc file:
  18. >|> 
  19. >|>     alias nameme 'echo -n "]2;\!:1]1;\!:2"'
  20. >|> 
  21. >|> where the two "^[" are ESCape characters, and the two "^G" are control-G
  22. >|> characters (if using emacs, type control-q before the escape and control-G
  23. >|> characters; if typing this straight into xterm window use control-v instead
  24. >|> of control-q).
  25. >|> 
  26. >|> To rename your xterm, just type    
  27. >|> 
  28. >|>     nameme "title name" "icon name"
  29. >|> 
  30. >|> Cheers,
  31. >|> Michael.
  32. >|> --
  33. >|> ----------------------------/|-|--|-|--|------Michael-Smith-------------------
  34. >|> smith@pell.anu.edu.au      /_| |\ | |  |      Mathematics Research Section
  35. >|> --------------------------/--|-|-\|-|_/|------Australian-National-University--
  36. >
  37. >This seems to work for me in csh, but not ksh.  What am I doing wrong?
  38. >Jerry
  39.  
  40.    Remember the "alias" command in ksh has an "=" between the name and
  41. the definition.
  42. -Philip Muench
  43.