![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pseudo-terminal will not be allocated because stdin is not a terminal. | Shivdatta | UNIX for Advanced & Expert Users | 1 | 08-04-2008 07:29 AM |
| Unix terminal re-assigned with wrong IP address from window's DHCP | tlee | SUN Solaris | 0 | 03-10-2008 10:44 PM |
| How can I know IP address of terminal? | trinhnguyen | UNIX for Dummies Questions & Answers | 5 | 09-28-2006 06:29 AM |
| network address and broadcast address? | pnxi | UNIX for Dummies Questions & Answers | 7 | 11-10-2003 08:29 PM |
| connecting to unix through hyper terminal - as a dumb terminal | michelle | UNIX for Advanced & Expert Users | 2 | 11-05-2001 12:32 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Get the terminal IP-ADDRESS
HI !!!
I'm working under Windows-XP and Reflexion-X against a Unix HP-UX host. From a shellscript I need to open a new terminal window, I need the IP-ADDRESS for that. It is asked the user. It want to be able to obtain it automatically. WHO CAN I GET IT? THANKS. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You can't really get it automatically(in the script for instance), because there is no way for the shell script to know the IP address of your X-server.
|
|
#3
|
|||
|
|||
|
Sounds like what you really need is for the terminal client to populate the DISPLAY environment variable.
For example ssh can be configured to either just forward the clients current DISPLAY environment var, or create a tunnel and generate a new DISPLAY at the server end. My understanding is some telnet clients do provide a DISPLAY variable if configured. |
|||
| Google The UNIX and Linux Forums |