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

  1. Newsgroups: comp.windows.x.apps
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!tpsrd!tplrd!andrewj
  3. From: andrewj@tplrd.tpl.oz.au (Andrew Joyner)
  4. Subject: Re: Setting icon title for an xterm
  5. Message-ID: <1993Jan25.102302.10987@tpl68k0.tplrd.tpl.oz.au>
  6. Originator: andrewj@sydrd19
  7. Lines: 30
  8. Nntp-Posting-Host: sydrd19
  9. Organization: Telectronics Pacing Systems
  10. References: <C17oFA.Hq2@cs.uiuc.edu>
  11. Date: Sun, 24 Jan 93 23:18:41 GMT
  12.  
  13.  
  14. In article <C17oFA.Hq2@cs.uiuc.edu>, schwager@mike.cs.uiuc.edu (Mike Schwager) writes:
  15. |> 
  16. |> Ladees and Germs,
  17. |> How would I set the icon title for an xterm, from that xterm.  I already
  18. |> know how to reset the titlebar title, but I forgot where I got that
  19. |> information from.... if you could point me to where you got your info from,
  20. |> that would be appreciated.  I tried to do a man xterm to no avail.  Thanks!
  21. |> -Mike Schwager
  22. |> -Mike
  23. |> aka, Mike Schwager               |"I will never apologize for the United States
  24. |> INTERNET:schwager@cs.uiuc.edu    | of America, ever.  I don't care what the
  25. |> Bye, George!!!                   | facts are."  -George Bush
  26. |> University of Illinois, Dept. of Comp. Sci., for whom I do not speak
  27. |> 
  28.  
  29. One way to do it dynamically is...
  30.  
  31. echo "^[]2;string^G    # to set the xterm title bar, and...
  32. echo "^[]1;string^G    # to set the icon name.
  33.  
  34. where ^[ is escape and ^G is ctrl-G. You can of course use this inside
  35. scripts etc. You can also alias 'cd' to change the title bar to the
  36. current working directory etc. 101 uses.
  37.  
  38. -- 
  39. Andrew Joyner   [andrewj@tplrd.tpl.oz.au] | luffness (n): Hearty feeling that
  40. Hardware Design Engineer, R&D Elec Eng.   | comes from walking on the moors
  41. Telectronics Pacing Systems, Lane Cove NSW| with gumboots and cold ears. \\\
  42. Australia       v:+61 2 413-6939  f:-6060 | -+- Erupting Bus-Driver Inc. -+-
  43.