Michael, Jim et al
The following is a snippet from the PSCREEN command file on our main box.
It is very old and the method of differentiating DTC ports is inelegant so I
have omitted it
For the purposes I have switched escapes into '#' (I know that there should
not be escapes in there but it is old and it is so easy in editor)
SETVAR CSLTYPEAHEAD FALSE
if !HPTYPEAHEAD then
SETVAR CSLTYPEAHEAD TRUE
SETVAR HPTYPEAHEAD FALSE
echo Setting TYPE-AHEAD off
endif
SETVAR DTC "#&s1g1H#&k0a0B#X#F# b"
IF !ONADTC THEN
SETVAR DTC "!DTC"+"#&s0g0H"
ENDIF
SETVAR HPTYPEAHEAD FALSE
ECHO !DTC
CONTINUE
RUN PSCREEN
if !CSLTYPEAHEAD then
SETVAR HPTYPEAHEAD TRUE
echo Resetting TYPE-AHEAD on
endif
_______________________________________________________________
Ken Vickers TEL +44 (0) 1905 794400
LINKWAY Development and Support FAX +44 (0) 1905 794464
Computing Solutions Limited mailto:[log in to unmask]
10 St Andrews Road mailto:[log in to unmask]
Droitwich, Worcestershire http://www.csllink.com
UNITED KINGDOM
_______________________________________________________________