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

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

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

(defvar #:tty:ibm5081:ymax 24)
(defvar #:tty:ymax 24) ;  compatibilite' v15

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

(de #:tty:ibm5081:tycls ()
    (tyo 27 91 72 27 91 74))

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

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

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

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

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

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

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

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

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

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

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

(de #:tty:ibm5081:tyepilogue ()
    (tycursor 0 (1- #:tty:ibm5081:ymax)))

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