Terminal Type

Caché

Hi,

We are using Cache 5.0,  we use Cache telnet and Other emulator (using telnet connection) to launch the applications.

Is there a way to identify the  type of device is used?.  Based on the emulator  I can few custom changes to be applied.

Thanks and Regards,

Sankar

  • 0
  • 1
  • 125
  • 0
  • 1

Answers

What kind of "type" do you want to get? The system variable $PRINCIPAL gives you current device.

For Terminal:

USER>Write $PRINCIPAL
 |TRM|:|14516

For Telnet:

USER>Write $PRINCIPAL
 |TNT|CZ-LAT5520VAVER.iscinternal.com:52971|21608