SlideServe
Menu
Préférences
© SlideServe · v2026

ANSI Detection and Response System V2.1 - Features and Implementation Details

lucas-langley avatar
239 diapositives · 2.5K Views · Nov 27, 2014

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 - slide 1
01 / 239ANSI Detection and Response System V2.1 - Features and Implementation Details
1 / 17

Télécharger la présentation

ANSI Detection and Response System V2.1 - Features and Implementation Details
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. ;*****************************************************************************;*****************************************************************************

  2. ;* *

  3. ;* ANSI DETECTION V2.1 *

  4. ;* *

  5. ;* written by: Steve Catmull *

  6. ;* additional coding: David Terry *

  7. ;* *

  8. ;* started: 04-26-93 *

  9. ;* *

  10. ;*****************************************************************************;*****************************************************************************

  11. BOOLEAN hasansi ; Result of ANSI - detection test (true or false)

  12. BOOLEAN hasrip ; Result of ANSI - detection test (RIP & ANSI)

  13. STRING graphdef ; Stores response to the "ask" prompt below

  14. STRING ask ; Constant that contains "want graphics" minus default resp.

  15. INTEGER numticks ; Used to store number of clock ticks that I have waited.

  16. STRING maxticks ; Stores the maximum number of ticks to wait for response.

  17. INTEGER waitlen ; Number of characters specified as wait time (2 or 3 digit)

  18. STRING delayticks ; If no byte pending delay x ticks and try again.

  19. STRING temp ; Stores the token of what user inputed.

  20. STRING default_yes ; Used to store setting from PCBOARD.DAT for the default

  21. STRING rest_ANSI ; Store rest of input buffer if any after ANSI CPR.

  22. STRING temp_dir ; Temporary/work directory as defined in PCBSetup

  23. STRING bkspace ; Sequence of characters for destructive backspace dwt

  24. STRING esc ; Constant used instead of chr(27)

  25. STRING cr_lf ; Constant used instead of chr(13)+chr(10)

  26. BOOLEAN recorded ; Not really used anymore but leave it in here.

  27. BOOLEAN compatible ; Used to determine is sysop wants to use compatible mode.

  28. BOOLEAN debug ; Used for debugging (capturing incoming response)

  29. STRING nonews ; For parsing out what user enters

  30. STRING nowelc ; For parsing out what user enters

  31. STRING ansi ; For parsing out what user enters

  32. STRING rip ; For parsing out what user enters

  33. STRING noansi ; For parsing out what user enters

  34. STRING autoansr ; Used to skip graphics question if graphics detected

  35. STRING rip_detect ; Used to disable RIPscrip checking. For those without RIP.

  36. STRING allow_quick ; Used to enable or disable the "quick" login feature.

  37. temp = "" ; Initialized to non null for WHILE

  38. bkspace = chr(8)+chr(32)+chr(8) ; destructive backspace dwt

  39. maxticks = 50 ; (50/18.2 seconds)

  40. delayticks = 3 ; Wait 3 ticks if no input (when checking for response)

  41. debug = false

  42. esc = chr(27)

  43. cr_lf = chr(13)+chr(10)

  44. rip_detect = true ; Assume RIPscrip detection.

  45. allow_quick="Q" ; Add to the valid entry string

  46. ; Analyze Command line passed

  47. temp=gettoken()

  48. while (temp != "") DO

  49. if (mid(upper(temp),2,1) = "W") then

  50. waitlen = len(temp)-instr(temp,":")