; Le←Lisp version 15.2 : compilation du terminal virtuel : vt132

(setq #:sys-package:tty '#:tty:vt132)

(defvar #:tty:vt132:xmax 79)
(defvar #:tty:xmax 79) ;  compatibilite' v15

(defvar #:tty:vt132:ymax 23)
(defvar #:tty:ymax 23) ;  compatibilite' v15

(de #:tty:vt132:tycursor (col line)
    (#:tty:tyo 27 91)
    (incr line)
    (incr col)
    (#:tty:tyod line 0)
    (#:tty:tyo 59)
    (#:tty:tyod col 0)
    (#:tty:tyo 72))

(de #:tty:vt132:tycls ()
    (#:tty:tyo 27 91 59 72 27 91 50 74))

(de #:tty:vt132:tycleol ()
    (#:tty:tyo 27 91 75))

(de #:tty:vt132:tycleos ()
    (#:tty:tyo 27 91 74))

(de #:tty:vt132:tydelch ()
    (#:tty:tyo 27 91 80))

(de #:tty:vt132:tyinsln ()
    (#:tty:tyo 27 91 76))

(de #:tty:vt132:tydelln ()
    (#:tty:tyo 27 91 77))

(de #:tty:vt132:tyattrib (x)
    (if x (#:tty:tyo 27 91 55 109) (#:tty:tyo 27 91 109)))

(defvar #:tty:vt132:tyattrib ())
(defvar #:tty:tyattrib ()) ;  compatibilite' v15

(de #:tty:vt132:tyattrib (x)
    (if x (#:tty:tyo 27 91 52 109) (#:tty:tyo 27 91 109)))

(defvar #:tty:vt132:tyattrib ())
(defvar #:tty:tyattrib ()) ;  compatibilite' v15

(de #:tty:vt132:tyinsch (arg)
    (#:tty:tyo 27 91 52 104 arg 27 91 52 108))

(de #:tty:vt132:typrologue ()
    (#:tty:tyo 27 91 49 59 50 52 114 27 91 50 52 59 49 72)
    (#:tty:vt132:tycls))

(de #:tty:vt132:tyepilogue ()
    (tycursor 0 23))

(defvar #:tty:vt132:tyshowcursor t)
(defvar #:tty:tyshowcursor t) ;  compatibilite' v15