🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting icon title for an xterm

#694
From: Michael Smith
Date: Fri, 22 Jan 1993 09:07
22 lines
1250 bytes
Mike Schwager writes:
> How would I set the icon title for an xterm, from that xterm.

try defining this alias in your .cshrc file:

	alias nameme 'echo -n "]2;\!:1]1;\!:2"'

where the two "^[" are ESCape characters, and the two "^G" are control-G
characters (if using emacs, type control-q before the escape and control-G
characters; if typing this straight into xterm window use control-v instead
of control-q).

To rename your xterm, just type    

	nameme "title name" "icon name"

Cheers,
Michael.
--
----------------------------/|-|--|-|--|------Michael-Smith-------------------
smith@pell.anu.edu.au      /_| |\ | |  |      Mathematics Research Section
--------------------------/--|-|-\|-|_/|------Australian-National-University--
Technical Details
Message-ID: <SMITH.93Jan22090752@wilton.anu.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!newshost!smith
References: <C17oFA.Hq2@cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!newshost!smith
From: smith@pell.anu.edu.au (Michael Smith)
Newsgroups: comp.windows.x.apps
Subject: Re: Setting icon title for an xterm
Date: 22 Jan 93 09:07:52
Organization: Australian National University
Lines: 22
Message-ID: <SMITH.93Jan22090752@wilton.anu.edu.au>
References: <C17oFA.Hq2@cs.uiuc.edu>
NNTP-Posting-Host: 150.203.15.179
In-reply-to: schwager@mike.cs.uiuc.edu's message of Thu, 21 Jan 1993 15:59:34 GMT