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

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

(defvar #:tty:b19:xmax 95)
(defvar #:tty:xmax 95) ;  compatibilite' v15

(defvar #:tty:b19:ymax 57)
(defvar #:tty:ymax 57) ;  compatibilite' v15

(de #:tty:b19:tycursor (col line)
    (tyo 27 89 (+ 32 line) (+ 32 col)))

(de #:tty:b19:tycls ()
    (tyo 27 69))

(de #:tty:b19:tycleol ()
    (tyo 27 75))

(de #:tty:b19:tycleos ()
    (tyo 27 74))

(de #:tty:b19:tydelch ()
    (tyo 27 78))

(de #:tty:b19:tyinsln ()
    (tyo 27 76))

(de #:tty:b19:tydelln ()
    (tyo 27 77))

(de #:tty:b19:tyattrib (x)
    (if x (tyo 27 112) (tyo 27 113)))

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

(de #:tty:b19:tyinsch (arg)
    (tyo 27 64 arg 27 79))

(de #:tty:b19:typrologue ()
    (#:tty:b19:tycls))

(de #:tty:b19:tyepilogue ()
    (tycursor 0 (sub1 #:tty:b19:ymax)))

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