1. Question on putting host name into title of xterm window
Hi all. I have a half-dozen or so Solaris machines that I regularly log
into using Reflection X and opening a single xterm window. This part
works fine, I have the system name displayed in the window title.
I have a collection of little one-liners to open up additional xterms
for display back to my PC once I log in, and I am having trouble getting
the host name to show up in the title.
Here is one of the one-liners:
{jcorn} hqnwis7: % cat yellow
xterm -T $HOSTNAME -ls -sb -fg yellow -bg black -geom 101x35+20+25 &
permissions on file: -rwxr-xr-x
If I type this exact command at the commandline prompt, it will display
the correct stuff (i.e. "hqsun3", "hqnwis7", etc) in the window title.
If I run this file, however, it doesn't seem to realize that there is
anything in $HOSTNAME, and it displays "-ls" as the title string.
I have tried quoting '$HOSTNAME' and it displays "$HOSTNAME" in the
title, rather than the value of HOSTNAME. ${HOSTNAME} same behavious as
without the curly braces.
Obviously I have missed something, any useful advice appreciated. It
would sure make life a bit easier when there are a dozen xterm windows
stacked up on the task bar to have the system name show in the title...
They're all Solaris 8 boxes, if that helps.
Jim C
2. Decent text editor?
3. dot mysterious permission problem dot dot
4. need source code for pipe system call for linux or unix or xinu.
5. dot and dot-dot files
6. Booting Solaris 9 x86 in single user mode from the install CD
7. Creator 3d versus Creator 3D
8. (Alt -vs- Meta) -vs- (XEmacs -vs- Citrix)
9. Ultra 5 & Creator 3D Graphics
10. Creator 3 Series 3 Graphics (1280x1024 @ 24-bit ?)
11. how to put dot for every 3rd sign
12. Trouble with Creator Graphics 3D 8 bit and 24 bit mode simultaneously?
13. Graphics Problems with Creator/3D board on Ultra-30