Bev:
What I've always done, in all versions of PICK, is define separate
term-types based on the emulator (e.g. wIntWy60, AtWy60, VDWy60,
etc). Then define the term-type upon user login then you can query
the terminal type via the standard SYSTEM(7) function (I use this
function in one of our standard includes that assigns a standard
variable used throughout our app).
HTH,
Bill
------------------------------------------------------------------------
Beverly Wilson said the following on 3/9/2010 12:39 PM:
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
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users