The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-14-2007
Registered User
 

Join Date: Mar 2007
Posts: 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.
Reply With Quote
Forum Sponsor
  #2  
Old 03-14-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
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.
Reply With Quote
  #3  
Old 03-18-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0