Xmanager Forum

How to embed IP address in command?

Last post: Saturday, February 16, 2002 9:02 AM by Support, 1 reply

 
Saturday, February 16, 2002 4:37 AM - Paul Harker

How to embed IP address in command?

 
I need to embed the IP address for connection to a VAX/VMS system. I realize that $DISPLAY will be replaced with IP:0.0, but the system here chokes on the :0.0 and needs only the IP. Is there a way to do this?

Paul
Saturday, February 16, 2002 9:02 AM - Support

Re: How to embed IP address in command?

 
You can use $PCADDR for the IP address of your PC.
For example:

/usr/bin/X11/xterm -display $PCADDR:0.0

/usr/bin/X11/xterm -display $DISPLAY

The two commands are equal.