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

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

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

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

(de #:tty:wyse:tycursor (col line)
    (#:tty:tyo 27 61 (+ 32 line) (+ 32 col)))

(de #:tty:wyse:tycls ()
    (#:tty:tyo 26))

(de #:tty:wyse:tycleol ()
    (#:tty:tyo 27 116))

(de #:tty:wyse:tycleos ()
    (#:tty:tyo 27 89))

(de #:tty:wyse:tydelch ()
    (#:tty:tyo 27 87))

(de #:tty:wyse:tyinsln ()
    (#:tty:tyo 27 69))

(de #:tty:wyse:tydelln ()
    (#:tty:tyo 27 82))

(de #:tty:wyse:tyattrib (x)
    (if x (#:tty:tyo 27 40) (#:tty:tyo 27 41)))

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

(de #:tty:wyse:tyinsch (arg)
    (#:tty:tyo 27 113 arg 27 114))

(de #:tty:wyse:typrologue ()
    (#:tty:tyo 27 41 27 96 55)
    (#:tty:wyse:tycls))

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

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