Thanks Stuart, that worked great! Exactly what I was looking for.

At 3/9/2010 05:02 PM, Boydell, Stuart wrote:
Get and print information about ViaDuct
001 PCCMD=CHAR(27):CHAR(8)
002 PRINT PCCMD:'WHAT'
003 INPUT REPLY
004 PRINT 'This is ':FIELD(REPLY,' ',1):
005 PRINT ' version ':FIELD(REPLY,' ',2):
006 PRINT ' serial number ':FIELD(REPLY,' ',3):
007 PRINT ' running under DOS version ':FIELD(REPLY,' ',4)
008 PRINT ' running under Windows version ':FIELD(REPLY,' ',5)

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Beverly Wilson
Sent: Wednesday, 10 March 2010 07:40
To: U2 Users List
Subject: [U2] How do you determine terminal emulator?

Hi folks,

I'm wondering if anyone on the list can tell me what I can do to determine
whether a user is using the Viaduct terminal emulator via UniBasic?

We have some code that can tell if the emulator is Accuterm or Wintegrate,
but I haven't been able to come up with a command string that would cause
Viaduct to return a value. I've looked through the docs, but haven't found
anything. (I may be suffering situational blindness.)

To give you an idea, these lines when run in through Wintegrate puts an X
into the variable C:
   PRINT CHAR(27):CHAR(1):"ENTER ":DQUOTE("X"):CHAR(13):
   INPUT C WAITING 1 ELSE C = ""

Thanks for your time,
--bev

____________________________
Bev Wilson
410.309.2700 voice
410.309.2701 fax

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

____________________________
Bev Wilson
410.309.2700 voice
410.309.2701 fax

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to