2.01k likes | 2.1k Views
;*****************************************************************************. ;* *. ;* ANSI DETECTION V2.1 *.
E N D
;*****************************************************************************;*****************************************************************************
;* *
;* *
;* *
;* *
;*****************************************************************************;*****************************************************************************
BOOLEAN hasansi ; Result of ANSI - detection test (true or false)
BOOLEAN hasrip ; Result of ANSI - detection test (RIP & ANSI)
STRING ask ; Constant that contains "want graphics" minus default resp.
INTEGER numticks ; Used to store number of clock ticks that I have waited.
INTEGER maxticks ; Stores the maximum number of ticks to wait for response.
STRING default_yes ; Used to store setting from PCBOARD.DAT for the default
STRING rest_ANSI ; Store rest of input buffer if any after ANSI CPR.
STRING temp_dir ; Temporary/work directory as defined in PCBSetup
STRING bkspace ; Sequence of characters for destructive backspace dwt
STRING cr_lf ; Constant used instead of chr(13)+chr(10)
BOOLEAN recorded ; temporary. Delete -- not needed. SLC 04/28/93
BOOLEAN compatible ; Used to determine is sysop wants to use compatible mode.
STRING autoansr ; Used to skip graphics question if graphics detected
temp = "" ; Initialized to non null for WHILE
bkspace = chr(8)+chr(32)+chr(8) ; destructive backspace dwt
if (mid(upper(temp),11,1) = "C") then ; Test For /COMPATIBLE Arg
compatible = true ; Set compatible if true
else if (mid(upper(temp),11,1) = "A") then ; OR Test For /AUTO Arg
autoansr = true ; Set autoansr if true