-//static struct pty {
-// unsigned char *base; /* base of buffer in cpu space */
-// unsigned char *cpos; /* current location of cursor */
-// unsigned char csave; /* charactor that is under the cursor */
-// struct vt_switch vt; /* the vt.o module's state */
-// unsigned int scrloc; /* location to put into gimme */
-// unsigned char gime; /* video register settings of this tty */
-// unsigned char width; /* text width of screen */
-// unsigned char height; /* text height */
-// unsigned char right; /* right most coord */
-// unsigned char bottom; /* bottom most coord */
-//};
struct mode_s{
uint8_t gime;