HP3000-L Archives

May 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Vickers <[log in to unmask]>
Reply To:
Ken Vickers <[log in to unmask]>
Date:
Wed, 6 May 1998 10:42:36 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
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
_______________________________________________________________

ATOM RSS1 RSS2