🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.apps
Article #693

Re: Setting icon title for an xterm

#693
From: Paul E. Rensing
Date: Thu, 21 Jan 1993 21:46
18 lines
1148 bytes
I have a small script which you run from inside an xterm which changes it's
name in the window title bar and on the icon. I got the escape codes need
from the file ctlseqs.ms which came with the xterm source. Hope this  is
useful.
		Paul Rensing

------- script xtermname :
#!/bin/csh
# change the name of an xterm to the first argument.
# run this in the xterm whose name you want to change

echo "]0;"$1""
--
Paul Rensing
Home: (415) 327-3751
Work: (415) 926-3593
rensing@unixhub.slac.stanford.edu
Technical Details
Message-ID: <RENSING.93Jan21134602@egret.SLAC.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!egret.SLAC.Stanford.EDU!rensing
References: <C17oFA.Hq2@cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.apps
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!egret.SLAC.Stanford.EDU!rensing
From: rensing@egret.SLAC.Stanford.EDU (Paul E. Rensing)
Subject: Re: Setting icon title for an xterm
In-Reply-To: schwager@mike.cs.uiuc.edu's message of Thu, 21 Jan 1993 15:59:34 GMT
Message-ID: <RENSING.93Jan21134602@egret.SLAC.Stanford.EDU>
Lines: 18
Sender: news@unixhub.SLAC.Stanford.EDU
Reply-To: rensing@slac.stanford.edu (Paul Rensing)
Organization: Stanford Linear Accelerator Center
References: <C17oFA.Hq2@cs.uiuc.edu>
Date: Thu, 21 Jan 1993 21:46:03 GMT