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

  1. Newsgroups: comp.windows.x.apps
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!egret.SLAC.Stanford.EDU!rensing
  3. From: rensing@egret.SLAC.Stanford.EDU (Paul E. Rensing)
  4. Subject: Re: Setting icon title for an xterm
  5. In-Reply-To: schwager@mike.cs.uiuc.edu's message of Thu, 21 Jan 1993 15:59:34 GMT
  6. Message-ID: <RENSING.93Jan21134602@egret.SLAC.Stanford.EDU>
  7. Lines: 18
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Reply-To: rensing@slac.stanford.edu (Paul Rensing)
  10. Organization: Stanford Linear Accelerator Center
  11. References: <C17oFA.Hq2@cs.uiuc.edu>
  12. Date: Thu, 21 Jan 1993 21:46:03 GMT
  13.  
  14.  
  15. I have a small script which you run from inside an xterm which changes it's
  16. name in the window title bar and on the icon. I got the escape codes need
  17. from the file ctlseqs.ms which came with the xterm source. Hope this  is
  18. useful.
  19.         Paul Rensing
  20.  
  21. ------- script xtermname :
  22. #!/bin/csh
  23. # change the name of an xterm to the first argument.
  24. # run this in the xterm whose name you want to change
  25.  
  26. echo "]0;"$1""
  27. --
  28. Paul Rensing
  29. Home: (415) 327-3751
  30. Work: (415) 926-3593
  31. rensing@unixhub.slac.stanford.edu
  32.