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

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

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

(defvar #:tty:tw72:ymax 68)
(defvar #:tty:ymax 68) ;  compatibilite' v15

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

(de #:tty:tw72:tybeep ()
    (tyo 27 91 63 53 108 27 91 63 53 104))

(de #:tty:tw72:tycls ()
    (tyo 27 91 48 49 59 48 49 72 27 91 63 51 49 104 27 91 74))

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

(de #:tty:tw72:tycleos ()
    (tyo 27 91 63 51 49 104 27 91 74))

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

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

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

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

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

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

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

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

(de #:tty:tw72: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:tw72:tycls))

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

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