How to embed IP address in command? [1]

How to embed IP address in command?

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

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


Re: How to embed IP address in command?

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

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.


Previous views: 132