Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: karl@spruce.gsfc.nasa.gov (karl on spruce) Newsgroups: comp.sys.sun Subject: customizing labels for cmdtool icons? Message-ID: <8901261500.AA02252@spruce.gsfc.nasa.gov> Date: 7 Feb 89 19:15:16 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu Original-Date: Thu, 26 Jan 89 10:00:08 EST X-Sun-Spots-Digest: Volume 7, Issue 139, message 4 of 16 I often rlogin to other machines in cmdtool windows, then keep the windows closed until I need to work on a remote machine. Can anyone tell me how to label the cmdtool icon with the remote host name? In .suntools (I am running SunOS 3.5) one can specify an icon label as a string, with the -WL option. Can one use the value of an environment variable (e.g. host) as the string for -WL, and if so, what is the syntax? I'm revealing my ignorance of C-shell programming and other basic Sun skills here. Please reply to me directly, and I'll post to the net. Karl Anderson NASA/Goddard karl@spruce.gsfc.nasa.gov