I'm a bit confused. Is you problem DISPLAY in a new xterm, or after rlogin to an other host?
If you just miss DISPLAY, set it in your shell's system profile
(/etc/csh.login, /etc/profile, many more ... depends on your OS
*and* your shell).
If you need to set DISPLAY after rlogin to the host where you
typed rlogin, you need a more sophisticated solution (IRIX for
example passes REMOTEHOST to the shell); stacked rlogins will be
a problem too.
> Is there anyway to read the title bar of an xterm ...
Not easy, means from within the shell.
To set the title you may use:
echo -n "^[]0;\!*^G"
NOTE that ^[ is ESC (0x1b), and ^G is BEL (0x07).
Main Topics
Browse All Topics





by: ozoPosted on 1997-10-29 at 13:40:22ID: 1582752
Are you saying DISPLAY is not being passed to the new shell?