Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What terminal am I using?

Status
Not open for further replies.

nkm

Programmer
May 27, 2001
45
US
Hi

I was trying to modify my .profile, which based on whether I am using a KEA or a Exceed terminal would set some of my environment variables differently.

How can my .profile know which terminal has been invoked ?

thanks


 
If you are using different terminal types, you might be able to use the value of $TERM to determine where you are coming from. Otherwise, you are probably just doing an "rexec" from your PC, so there's no way (I know of) for the server to know what software is sending that command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top