home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / apps / 1851 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.windows.x.apps
  2. Path: sparky!uunet!cs.utexas.edu!asuvax!chnews!ssd.intel.com!jkearns
  3. From: jkearns@ssd.intel.com (Jerry Kearns)
  4. Subject: Re: Setting icon title for an xterm
  5. Message-ID: <C189wo.3HG@SSD.intel.com>
  6. Sender: usenet@SSD.intel.com
  7. Nntp-Posting-Host: boise
  8. Organization: Supercomputer Systems Divison, Intel Corp.
  9. References: <C17oFA.Hq2@cs.uiuc.edu> <SMITH.93Jan22090752@wilton.anu.edu.au>
  10. Date: Thu, 21 Jan 1993 23:43:36 GMT
  11. Lines: 26
  12.  
  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.