Jump to content


Photo
- - - - -

Terminal Type


3 replies to this topic

#1 FrankV

FrankV

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 January 2005 - 05:30 PM

Hi,

Does anyone know how can I find out what the current terminal type of the user is? I want to call different functions depending on if the terminal is GUICLR or GUIDEV.

Thanks

Frank

#2 Guest_guest23_*

Guest_guest23_*
  • Guests

Posted 18 January 2005 - 05:41 PM

You can query the environment variable PROTERM in PRO-IV
logic using &$@~PROTERM

#3 Bill Loven

Bill Loven

    Expert

  • Members
  • PipPipPipPip
  • 147 posts
  • Gender:Male
  • Location:Coppell, United States

Posted 18 January 2005 - 05:43 PM

;) That is an environment variable that you can retrieve as &$@~PROTERM. This works for Windows servers and Unix. That is then only environments that we use.

HTH.

Bill

#4 FrankV

FrankV

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 January 2005 - 05:44 PM

Thanks, I'll try that.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users