ANSI Detection and Response System V2.1 - Features and Implementation Details
This document details the ANSI detection and response system created by Steve Catmull and enhanced by David Terry. It began development on April 26, 1993, and focuses on identifying ANSI and RIP graphics in user inputs. Key components include storage for user responses, handling of backspaces, and determining system compatibility. The system allows for dynamic detection of ANSI graphics, manages user input efficiently, and provides an option for quick login. This technology serves to enhance user experience in graphical user interfaces.
ANSI Detection and Response System V2.1 - Features and Implementation Details
E N D
Presentation Transcript
;*****************************************************************************;*****************************************************************************
;* *
;* *
;* *
;* *
;*****************************************************************************;*****************************************************************************
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.
STRING maxticks ; Stores the maximum number of ticks to wait for response.
INTEGER waitlen ; Number of characters specified as wait time (2 or 3 digit)
STRING delayticks ; If no byte pending delay x ticks and try again.
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 ; Not really used anymore but leave it in here.
BOOLEAN compatible ; Used to determine is sysop wants to use compatible mode.
BOOLEAN debug ; Used for debugging (capturing incoming response)
STRING autoansr ; Used to skip graphics question if graphics detected
STRING rip_detect ; Used to disable RIPscrip checking. For those without RIP.
STRING allow_quick ; Used to enable or disable the "quick" login feature.
temp = "" ; Initialized to non null for WHILE
bkspace = chr(8)+chr(32)+chr(8) ; destructive backspace dwt
delayticks = 3 ; Wait 3 ticks if no input (when checking for response)
rip_detect = true ; Assume RIPscrip detection.
allow_quick="Q" ; Add to the valid entry string