home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
coders
/
jËzyki_programowania
/
clisp
/
src
/
archive
/
clisp.faslsp.lha
/
screen.fas
< prev
next >
Wrap
Text File
|
1996-07-24
|
23KB
|
531 lines
(SYSTEM::VERSION '(SYSTEM::CLISP2 13. LISP:T 130695.))
#Y(#:TOP-LEVEL-FORM-1 #14Y(00 00 00 00 00 01 D8 37 01 D9 30 E3 19 01) "SCREEN"
("LISP")
)
#Y(#:TOP-LEVEL-FORM-2 #13Y(00 00 00 00 00 01 D8 37 01 30 DA 19 01)
(MAKE-WINDOW WINDOW-SIZE WINDOW-CURSOR-POSITION SET-WINDOW-CURSOR-POSITION
CLEAR-WINDOW CLEAR-WINDOW-TO-EOT CLEAR-WINDOW-TO-EOL DELETE-WINDOW-LINE
INSERT-WINDOW-LINE HIGHLIGHT-ON HIGHLIGHT-OFF WINDOW-CURSOR-ON
WINDOW-CURSOR-OFF WITH-WINDOW *WINDOW* READ-KEYBOARD-CHAR *NEW-WINDOW*
))
#Y(#:TOP-LEVEL-FORM-3 #11Y(00 00 00 00 00 01 D8 30 5D 19 01) (SPECIAL *WINDOW*)
)
#Y(#:TOP-LEVEL-FORM-4 #13Y(00 00 00 00 00 01 D8 37 01 30 DF 19 01) "CLOS")
#Y(#:TOP-LEVEL-FORM-5-1
#26Y(00 00 00 00 00 01 D8 30 5D D9 8B 52 04 D9 DA 30 55 D9 DB DC 2C 03 05 3D
19 01
)
(SPECIAL *NEW-WINDOW*) *NEW-WINDOW* "RAW:0/11/581/231/CLISP Window" VARIABLE
"This variables determines the behaviour of SCREEN:MAKE-WINDOW.
If NIL, it uses *TERMINAL-IO*. If non-NIL, it should be the specification
string of a special file to be OPENed, e.g. \"RAW:0/11/581/231/Window Title\"."
SYSTEM::%SET-DOCUMENTATION
)
#Y(#:TOP-LEVEL-FORM-5-2
#59Y(00 00 00 00 00 01 D8 D9 DA 37 02 71 2C 7A 01 DB DC DD DE DF E0 DD 7A 06
7A 01 2C 05 09 E2 E3 E4 E5 63 E6 D8 37 02 71 2C 7A 01 E7 62 E8 E9 6D 0A
12 2F 13 D8 37 02 31 2C 3D 19 01
)
SCREEN-CONTROLLER :DIRECT-SUPERCLASSES GENERIC-STREAM-CONTROLLER
:DIRECT-SLOTS :NAME STREAM :READERS (CONTROLLER-STREAM) :TYPE
CLOS::ENSURE-CLASS CONTROLLER-STREAM :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-2-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-2-1-1 #12Y(00 01 00 00 00 02 AB D8 31 3E 19 02)
STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS :QUALIFIERS :SIGNATURE
(1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-3 #15Y(00 00 00 00 00 01 D8 D9 DA 2C 03 03 3D 19 01)
CONTROLLER-MODE (1. 0. NIL NIL NIL) (0.) CLOS::DO-DEFGENERIC
)
#Y(#:TOP-LEVEL-FORM-5-4 #15Y(00 00 00 00 00 01 D8 D9 DA 2C 03 03 3D 19 01)
(SETF CONTROLLER-MODE) (2. 0. NIL NIL NIL) (0. 1.) CLOS::DO-DEFGENERIC
)
#Y(#:TOP-LEVEL-FORM-5-5
#37Y(00 00 00 00 00 01 D8 D9 DA 37 02 71 2C 7A 01 DB DC DD DE DF 00 79 7A 04
7A 01 2C 05 08 D8 37 02 31 2C 3D 19 01
)
TERMINAL-CONTROLLER :DIRECT-SUPERCLASSES SCREEN-CONTROLLER :DIRECT-SLOTS
:NAME STREAM :INITER
#Y(#:TOP-LEVEL-FORM-5-5-1 #10Y(00 00 00 00 00 01 0E 00 19 01) *TERMINAL-IO*)
CLOS::ENSURE-CLASS
)
#Y(#:TOP-LEVEL-FORM-5-6
#99Y(00 00 00 00 00 01 D8 D9 DA 37 02 71 2C 7A 01 DB DC DD DE DF 7A 04 DC E0
E1 E2 E3 E4 E5 E6 E7 62 D3 79 7A 0A 7A 02 2C 05 11 EA EB EC ED 63 EE D8
37 02 71 2C 7A 01 EF 62 F0 F1 6D 0A 1A 2F 1B F4 EB F5 ED 63 EE 63 37 02
71 2C D8 37 02 71 2C 7A 02 EF 62 F0 64 1E 6D 0A 1A 2F 1B D8 37 02 31 2C
3D 19 01
)
WINDOW-CONTROLLER :DIRECT-SUPERCLASSES SCREEN-CONTROLLER :DIRECT-SLOTS :NAME
STREAM :INITARGS (:STREAM) MODE :ACCESSORS (CONTROLLER-MODE) :READERS
(CONTROLLER-MODE) :WRITERS (#1=(SETF CONTROLLER-MODE)) :INITER UNKNOWN
CLOS::ENSURE-CLASS CONTROLLER-MODE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-6-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-6-1-1 #12Y(00 01 00 00 00 02 AB D8 31 3E 19 02)
MODE
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS :QUALIFIERS :SIGNATURE
(1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD CLOS::DO-DEFMETHOD #1#
#Y(#:TOP-LEVEL-FORM-5-6-2 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-6-2-1 #13Y(00 02 00 00 00 03 AB D8 AE 31 3F 19 03)
MODE
)
(T)
)
(2. 0. NIL NIL NIL NIL)
)
#Y(#:TOP-LEVEL-FORM-5-7 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
RAW-MODE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(RAW-MODE
#26Y(00 02 00 00 00 03 AC 87 00 08 AC AC 63 2C 03 03 19 03 AC 6E 01 AC 2F
02 19 03
)
GENERIC-STREAM-P GENERIC-STREAM-CONTROLLER GENERIC-RAW-MODE
SYSTEM::TERMINAL-RAW
) )
#Y(#:TOP-LEVEL-FORM-5-8 #15Y(00 00 00 00 00 01 D8 D9 DA 2C 03 03 3D 19 01)
GENERIC-RAW-MODE (2. 0. NIL NIL NIL) (0. 1.) CLOS::DO-DEFGENERIC
)
#Y(#:TOP-LEVEL-FORM-5-9
#36Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 63 37 02 71 2C 7A 02
DE 62 DF E0 6D 0A 09 2F 0A 3D 19 01
)
GENERIC-RAW-MODE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-9-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-9-1-1
#14Y(00 02 00 00 00 03 AC 6E 00 AC 2F 01 19 03) CONTROLLER-STREAM
RAW-MODE
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (2. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-10
#36Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 63 37 02 71 2C 7A 02
DE 62 DF E0 6D 0A 09 2F 0A 3D 19 01
)
GENERIC-RAW-MODE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-10-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-10-1-1
#29Y(00 02 00 00 00 03 AC 6E 00 AC 9C 21 0D AD 6E 01 AD 6F 02 AD AF 2F
03 15 19 04 15 19 03
)
CONTROLLER-MODE CONTROLLER-STREAM RAW-MODE
#.(SYSTEM::GET-SETF-SYMBOL 'CONTROLLER-MODE)
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS WINDOW-CONTROLLER :QUALIFIERS
:SIGNATURE (2. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-11 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
MAKE-WINDOW SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(MAKE-WINDOW
#76Y(00 00 00 01 00 07 3A 01 02 0E 00 10 00 0E 00 1B 1E E6 2E 0D 14 2E 0F
3E 11 19 02 0E 00 1A 27 DC DD AC DE DF E0 E1 E2 6D 03 0B E4 B1 32 06
1F D9 DA 6A 00 AA 8D 18 64 AA 8D 1C 04 AA 8E 09 60 6A 00 DB 37 03 30
FB F6 2C 03 0D 1A 48
)
*NEW-WINDOW* WINDOW-CONTROLLER :STREAM :IO TYPE-ERROR :DATUM
:EXPECTED-TYPE (OR STREAM (OR PATHNAME STRING)) "~A~%The value is: ~S"
"~A~%Der Wert ist: ~S" "~A~%La valeur est : ~S" SYSTEM::LANGUAGE
"Der Wert von *NEW-WINDOW* muß einem der Typen STREAM, (OR PATHNAME STRING) angehören."
MAKE-INSTANCE TERMINAL-CONTROLLER MAKE-GENERIC-STREAM
) )
#Y(#:TOP-LEVEL-FORM-5-12
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-READ-CHAR :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-12-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-12-1-1
#19Y(00 01 00 00 00 02 AB 62 2F 00 AB 6E 01 37 03 30 7C 19 02)
GENERIC-RAW-MODE CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-13
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-LISTEN :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-13-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-13-1-1
#22Y(00 01 00 00 00 02 AB 62 2F 00 AB 6E 01 8B 7F 03 C6 19 02 C5 19 02
)
GENERIC-RAW-MODE CONTROLLER-STREAM 0. 1.
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-14
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLEAR-INPUT :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-14-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-14-1-1
#18Y(00 01 00 00 00 02 AB 62 2F 00 AB 6E 01 30 81 02 19 02)
GENERIC-RAW-MODE CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-15
#36Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 63 37 02 71 2C 7A 02
DE 62 DF E0 6D 0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-WRITE-CHAR :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-15-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-15-1-1
#14Y(00 02 00 00 00 03 AB AD 6E 00 30 8C 19 03) CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (2. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-16
#46Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 63 37 02 71 2C 63 37
02 71 2C 63 37 02 71 2C 7A 04 DE 62 DF E0 6D 0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-WRITE-STRING :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-16-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-16-1-1
#24Y(00 04 00 00 00 05 AD AD AE AE 72 02 35 70 50 AF 6E 00 37 02 30 8D
19 05
)
CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (4. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-17
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-FINISH-OUTPUT :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-17-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-17-1-1 #13Y(00 01 00 00 00 02 AB 6E 00 30 91 19 02)
CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-18
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-FORCE-OUTPUT :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-18-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-18-1-1 #13Y(00 01 00 00 00 02 AB 6E 00 30 92 19 02)
CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-19
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLEAR-OUTPUT :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-19-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-19-1-1 #13Y(00 01 00 00 00 02 AB 6E 00 30 93 19 02)
CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-20
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLOSE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-20-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-20-1-1
#15Y(00 01 00 00 00 02 AB 6E 00 62 2F 01 02 19 02) CONTROLLER-STREAM
RAW-MODE
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-21
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLOSE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-21-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-21-1-1
#15Y(00 01 00 00 00 02 AB 6E 00 37 01 31 7D 19 02) CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS WINDOW-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-22 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
STREAM-CHARS SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(STREAM-CHARS
#29Y(00 01 00 00 00 02 62 1A 05 AA 83 01 16 01 AC 37 03 70 80 91 00 73 16
01 AA 31 4A 19 03
) ) )
#Y(#:TOP-LEVEL-FORM-5-23 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
PARSE-CSI SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(PARSE-CSI
#97Y(00 01 00 00 00 02 01 02 AD D8 72 01 01 23 01 1D AD D8 72 01 01 24 03
10 AD 71 48 DA 90 01 30 08 AD DA 72 01 01 23 04 08 DE AE 32 01 1E DA
1A 18 DD 1A 15 AB 83 02 AA AF 71 48 90 01 2F 0A AE AB 72 01 01 24 07
02 84 00 AE AB 37 02 63 30 83 41 02 69 01 69 01 1B 5C AE AB 37 01 71
46 9E 5C 19 05
)
0. #\Csi 1. #\Escape #\[ 2. "Not a CSI sequence: ~S" #\;
) )
#Y(#:TOP-LEVEL-FORM-5-24 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
READ-CSI-RESPONSE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(READ-CSI-RESPONSE
#54Y(00 03 00 00 00 04 AD 30 81 AC AE 37 02 30 8D AD 88 00 13 14 AA DA 71
2D 6E 03 AD 93 01 37 04 8C 38 09 9B 5B 19 06 D9 AE 32 01 1E DC DD DE
6D 03 07 B0 AD 32 02 1E
)
STREAM-CHARS "Got no response from ~S." STRING PARSE-CSI
"Got bad response from ~S: ~S" "Von ~S schlechte Antwort erhalten: ~S"
"Mauvaise réponse par ~S : ~S" SYSTEM::LANGUAGE
) )
#Y(#:TOP-LEVEL-FORM-5-25
#22Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 3D 19 01)
WINDOW-SIZE SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Reports window size.
Will flush pending characters!"
SYSTEM::%SET-DOCUMENTATION
#Y(WINDOW-SIZE
#47Y(00 01 00 00 00 02 AB 88 00 13 AB 6E 01 71 2B DA 8A 03 0A AB 63 2F 04
AB 6E 01 2E 05 F7 AB DE DF 6D 03 08 93 00 9C 5B 77 AA 96 02 3F 02 19
05
)
GENERIC-STREAM-P GENERIC-STREAM-CONTROLLER
#.(FIND-CLASS 'SCREEN-CONTROLLER) CLOS::SUBCLASSP RAW-MODE
CONTROLLER-STREAM #.(COERCE '(#\Csi #\0 #\Space #\q) 'STRING) "r"
READ-CSI-RESPONSE
) )
#Y(#:TOP-LEVEL-FORM-5-26
#22Y(00 00 00 00 00 01 D8 2E 01 D8 DA DB 2C 03 04 D8 DD 31 82 3D 19 01)
WINDOW-CURSOR-POSITION SYSTEM::REMOVE-OLD-DEFINITIONS FUNCTION
"Reports cursor position, report origin as 0;0.
Will flush pending characters!"
SYSTEM::%SET-DOCUMENTATION
#Y(WINDOW-CURSOR-POSITION
#48Y(00 01 00 00 00 02 AB 88 00 13 AB 6E 01 71 2B DA 8A 03 0A AB 63 2F 04
AB 6E 01 2E 05 F7 AB DE DF 6D 03 08 9B 5B 77 71 98 93 01 71 98 3F 02
19 03
)
GENERIC-STREAM-P GENERIC-STREAM-CONTROLLER
#.(FIND-CLASS 'SCREEN-CONTROLLER) CLOS::SUBCLASSP RAW-MODE
CONTROLLER-STREAM #.(COERCE '(#\Csi #\6 #\n) 'STRING) "R"
READ-CSI-RESPONSE
) )
#Y(#:TOP-LEVEL-FORM-5-27 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
SET-WINDOW-CURSOR-POSITION SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(SET-WINDOW-CURSOR-POSITION
#19Y(00 03 00 00 00 04 AD D8 D9 95 05 95 05 2C 05 02 3D 19 04)
#Y(SET-WINDOW-CURSOR-POSITION-1
#35Y(00 04 00 00 01 1A AE B0 30 88 AF 01 06 B4 2C 08 00 D9 B0 30 8C AF
01 06 B3 2C 08 00 DA B0 30 8C 9C 19 06
)
SYSTEM::DO-FORMAT-DECIMAL #\; #\H
)
#\Csi FORMAT
) )
#Y(#:TOP-LEVEL-FORM-5-28 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
CLEAR-WINDOW SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CLEAR-WINDOW #13Y(00 01 00 00 00 02 D8 AC 30 8C 3D 19 02) #\Page)
)
#Y(#:TOP-LEVEL-FORM-5-29 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
CLEAR-WINDOW-TO-EOT SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CLEAR-WINDOW-TO-EOT #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\J) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-30 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
CLEAR-WINDOW-TO-EOL SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(CLEAR-WINDOW-TO-EOL #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\K) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-31 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
DELETE-WINDOW-LINE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(DELETE-WINDOW-LINE #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\M) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-32 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
INSERT-WINDOW-LINE SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(INSERT-WINDOW-LINE #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\L) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-33 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
HIGHLIGHT-ON SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(HIGHLIGHT-ON #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\1 #\m) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-34 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
HIGHLIGHT-OFF SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(HIGHLIGHT-OFF #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\m) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-35 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
WINDOW-CURSOR-ON SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(WINDOW-CURSOR-ON #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\Space #\p) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-36 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
WINDOW-CURSOR-OFF SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(WINDOW-CURSOR-OFF #15Y(00 01 00 00 00 02 D8 AC 37 02 30 8D 3D 19 02)
#.(COERCE '(#\Csi #\0 #\Space #\p) 'STRING)
) )
#Y(#:TOP-LEVEL-FORM-5-37 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 3D 19 01)
READ-KEYBOARD-CHAR SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(READ-KEYBOARD-CHAR
#178Y(00 01 00 00 00 02 AB 63 2F 00 AB 88 01 06 AB 6E 02 2E 03 F7 AB 37
03 70 7C AA DC 8F 01 07 1D E6 AB 70 2F E7 90 02 31 11 AA 23 10 0D
AA 23 11 09 AA 23 12 05 AA 24 13 80 6A 15 19 02 01 02 1A 23 CB 1A
05 AA 91 02 79 CC 14 37 03 30 BE 5B 1D 80 50 C7 19 05 C7 19 05 CD
19 05 C7 19 05 CE 1A 30 AA 83 01 AE 37 03 7F 7C 00 DD AB DE 8F 02
0B 70 AA DF 8F 01 08 4D 92 01 5B 93 01 23 06 59 93 01 37 01 8C 24
55 9C 5B 1C 54 9C 5B 77 24 0C 0F D0 14 93 02 37 01 70 24 72 02 35
30 30 19 05 C7 19 05 19 05 EC AB 70 2F 72 02 35 70 30 ED 63 30 33
19 03
)
RAW-MODE GENERIC-STREAM-P GENERIC-STREAM-CONTROLLER CONTROLLER-STREAM
#\Csi #\Space #\? #\~
((#\A . #\SUPER-HYPER-Code20) (#\@ . #\SUPER-HYPER-Code22))
((#\A . #\HYPER-Code24) (#\B . #\HYPER-Code18) (#\C . #\HYPER-Code22)
(#\D . #\HYPER-Code20) (#\S . #\SUPER-HYPER-Code18)
(#\T . #\SUPER-HYPER-Code24)
)
#\HYPER-Code28 2113. #\1 3137. 1. 26. #\Newline #\Backspace #\Tab
#\Return 64. :CONTROL
) )
#Y(#:TOP-LEVEL-FORM-5-38
#37Y(00 00 00 00 00 01 D8 D9 DA 37 02 71 2C 7A 01 DB DC DD DE DF 00 79 7A 04
7A 01 2C 05 08 D8 37 02 31 2C 3D 19 01
)
KEYBOARD-CONTROLLER :DIRECT-SUPERCLASSES TERMINAL-CONTROLLER :DIRECT-SLOTS
:NAME ORIG-MODE :INITER
#Y(#:TOP-LEVEL-FORM-5-38-1 #13Y(00 00 00 00 00 01 6A 00 63 2F 01 19 01)
*TERMINAL-IO* RAW-MODE
)
CLOS::ENSURE-CLASS
)
#Y(#:TOP-LEVEL-FORM-5-39
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-READ-CHAR :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-39-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-39-1-1 #13Y(00 01 00 00 00 02 AB 6E 00 2E 01 19 02)
CONTROLLER-STREAM READ-KEYBOARD-CHAR
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS KEYBOARD-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-40
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-LISTEN :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-40-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-40-1-1
#22Y(00 01 00 00 00 02 AB 63 2F 00 AB 6E 01 8B 7F 03 C6 19 02 C5 19 02
)
GENERIC-RAW-MODE CONTROLLER-STREAM 0. 1.
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-41
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLEAR-INPUT :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-41-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-41-1-1
#18Y(00 01 00 00 00 02 AB 63 2F 00 AB 6E 01 30 81 02 19 02)
GENERIC-RAW-MODE CONTROLLER-STREAM
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS SCREEN-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-42
#31Y(00 00 00 00 00 01 D8 D9 DA DB 63 DC DD 37 02 71 2C 7A 01 DE 62 DF E0 6D
0A 09 2F 0A 3D 19 01
)
GENERIC-STREAM-CLOSE :INITFUNCTION
#Y(#:TOP-LEVEL-FORM-5-42-1 #11Y(00 01 00 00 00 02 D8 C4 5C 19 02)
#Y(#:TOP-LEVEL-FORM-5-42-1-1
#18Y(00 01 00 00 00 02 AB D8 71 3E AC D9 71 3E 2F 02 19 02) STREAM
ORIG-MODE RAW-MODE
)
(T)
)
:WANTS-NEXT-METHOD-P :PARAMETER-SPECIALIZERS KEYBOARD-CONTROLLER :QUALIFIERS
:SIGNATURE (1. 0. NIL NIL NIL NIL) CLOS::MAKE-STANDARD-METHOD
CLOS::DO-DEFMETHOD
)
#Y(#:TOP-LEVEL-FORM-5-43 #16Y(00 00 00 00 00 01 D8 2E 01 D8 DA 31 82 C3 19 01)
SYSTEM::DO-WITH-KEYBOARD SYSTEM::REMOVE-OLD-DEFINITIONS
#Y(SYSTEM::DO-WITH-KEYBOARD
#29Y(00 01 00 00 00 02 D8 6E 01 2E 02 10 03 52 04 B0 35 00 53 6A 03 37 01
31 7D 54 11 19 02
)
KEYBOARD-CONTROLLER MAKE-INSTANCE MAKE-GENERIC-STREAM *KEYBOARD-INPUT*
) )
#Y(#:TOP-LEVEL-FORM-6
#18Y(00 00 00 00 00 01 D8 2E 01 D8 DA C6 79 31 82 C3 19 01) WITH-WINDOW
SYSTEM::REMOVE-OLD-DEFINITIONS SYSTEM::MACRO
#Y(WITH-WINDOW
#21Y(00 01 00 01 00 08 94 02 D8 D9 DA DB 9F 79 C7 7B 02 60 03 19 04) LET
((*WINDOW* (MAKE-WINDOW))) UNWIND-PROTECT PROGN ((CLOSE *WINDOW*))
) )