[comp.windows.x] Changing Xterm titlebar under Telnet

beamishd@ccvax.ucd.ie (05/13/91)

Can anyone tell me how to rename the title bar of xterm when using telnet so
that it displays the name of the host machine you are logging into ? I have
tried using an alias command of the form
      alias telnet 'echo $ ; \telnet'     (control characters omitted from echo)

This doesn't seem to work as the word designator doesn't display the last
argument of the original command but that of the echo command i.e. $ itself.

Thanks 
Norman Beamish                            
Dept. of Electrical & Electronic Engineering
University College, Dublin
Belfield, Dublin 4
Ireland                                    NBEAME91@irlearn.bitnet
					   NBEAME91@irlearn.ucd.ie
					   beamishd@ccvax.bitnet
  			                   beamishd@ccvax.ucd.ie
	                                  Voice +353-1-693244 Ext.1964
					  Fax   +353-1-830921