; Le←Lisp version 15.2 : compilation du terminal virtuel : twv
(setq #:sys-package:tty '#:tty:twv)
(defvar #:tty:twv:xmax 79)
(defvar #:tty:xmax 79) ; compatibilite' v15
(defvar #:tty:twv:ymax 71)
(defvar #:tty:ymax 71) ; compatibilite' v15
(de #:tty:twv:tycursor (col line)
(tyo 27 91)
(incr line)
(incr col)
(tyod line 2)
(tyo 59)
(tyod col 2)
(tyo 72))
(de #:tty:twv:tybeep ()
(tyo 27 91 63 53 108 27 91 63 53 104))
(de #:tty:twv:tycls ()
(tyo 27 91 48 49 59 48 49 72 27 91 63 51 49 104 27 91 74))
(de #:tty:twv:tycleol ()
(tyo 27 91 75))
(de #:tty:twv:tycleos ()
(tyo 27 91 63 51 49 104 27 91 74))
(de #:tty:twv:tydelch ()
(tyo 27 91 80))
(de #:tty:twv:tyinsln ()
(tyo 27 91 76))
(de #:tty:twv:tydelln ()
(tyo 27 91 77))
(de #:tty:twv:tyattrib (x)
(if x (tyo 27 91 55 109) (tyo 27 91 109)))
(defvar #:tty:twv:tyattrib ())
(defvar #:tty:tyattrib ()) ; compatibilite' v15
(de #:tty:twv:tyattrib (x)
(if x (tyo 27 91 52 109) (tyo 27 91 109)))
(defvar #:tty:twv:tyattrib ())
(defvar #:tty:tyattrib ()) ; compatibilite' v15
(de #:tty:twv:tyinsch (arg)
(tyo 27 91 52 104 arg 27 91 52 108))
(de #:tty:twv:typrologue ()
(tyo 27 91 63 51 49 104 27 91 63 55 104 27 91 63 56 104 27 91 63 51 49 104
)
(#:tty:twv:tycls))
(de #:tty:twv:tyepilogue ()
(tycursor 0 (sub1 #:tty:twv:ymax)))
(defvar #:tty:twv:tyshowcursor t)
(defvar #:tty:tyshowcursor t) ; compatibilite' v15