|
AquilaOS documentation
How it works, and its code
|
A virtual terminal: its screen, its emulator's state, and its tty. More...
#include <vt.h>
Data Fields | |
| int | id |
| int | rows |
| int | cols |
| struct vt_cell * | main |
| struct vt_cell * | alt |
| struct vt_cell * | screen |
| int | row |
| int | col |
| int | wrap_pending |
| struct vt_cell | pen |
| int | top |
| int | bottom |
| int | autowrap |
| int | origin |
| int | insert |
| int | newline |
| int | cursor_visible |
| int | cursor_keys |
| int | reverse_screen |
| int | keypad |
| int | charset [2] |
| int | gl |
| uint8_t | tabs [32] |
| struct vt_cursor saved | saved_alt |
| int | state |
| int | params [16] |
| int | nparams |
| char | private |
| char | intermediate |
| uint8_t | last |
| uint32_t | utf8 |
| int | utf8_left |
| char | reply [32] |
| size_t | reply_len |
| int | kd_mode |
| int | kb_mode |
| pid_t | kd_pid |
| struct vt_mode | mode |
| pid_t | mode_pid |
| int | opens |
| struct tty * | tty |
| struct ringbuf * | in |
| struct vnode * | vnode |
| struct waitq read_queue | write_queue |
A virtual terminal: its screen, its emulator's state, and its tty.
| struct vt_cell * vt::alt |
Definition at line 81 of file vt.h.
Referenced by alt_screen(), and vt_term_init().
| int vt::autowrap |
Definition at line 94 of file vt.h.
Referenced by decset(), put_glyph(), restore_cursor(), save_cursor(), and soft_reset().
| int vt::bottom |
Definition at line 91 of file vt.h.
Referenced by csi(), linefeed(), move_rows(), move_to(), reverse_index(), and soft_reset().
| int vt::charset[2] |
Definition at line 99 of file vt.h.
Referenced by put_char(), restore_cursor(), save_cursor(), soft_reset(), and term_char().
| int vt::col |
Definition at line 85 of file vt.h.
Referenced by control(), csi(), esc(), move_to(), put_glyph(), refresh(), restore_cursor(), save_cursor(), soft_reset(), tab(), vcs_read(), and vt_term_reset().
| int vt::cols |
Definition at line 78 of file vt.h.
Referenced by cell(), clear_screen(), csi(), move_to(), put_glyph(), refresh(), restore_cursor(), scroll_down(), scroll_up(), tab(), term_char(), vcs_read(), vt_setup(), and vt_term_init().
| int vt::cursor_keys |
Definition at line 94 of file vt.h.
Referenced by cursor_key(), decset(), and soft_reset().
| int vt::cursor_visible |
Definition at line 94 of file vt.h.
Referenced by decset(), refresh(), and soft_reset().
| int vt::gl |
Definition at line 99 of file vt.h.
Referenced by control(), put_char(), restore_cursor(), save_cursor(), and soft_reset().
| int vt::id |
Definition at line 77 of file vt.h.
Referenced by vt_kd_ioctl(), vt_probe(), vt_switch(), and vt_switch_now().
| struct ringbuf* vt::in |
Definition at line 138 of file vt.h.
Referenced by vt_can_read(), vt_input_flush(), vt_read(), vt_setup(), and vt_tty_input().
| int vt::insert |
Definition at line 94 of file vt.h.
Referenced by csi(), put_glyph(), and soft_reset().
| char vt::intermediate |
Definition at line 109 of file vt.h.
Referenced by csi(), esc(), and term_char().
| int vt::kb_mode |
Definition at line 124 of file vt.h.
Referenced by vt_check(), vt_kd_ioctl(), vt_probe(), vt_scancode(), and vt_switch_now().
| int vt::kd_mode |
Definition at line 124 of file vt.h.
Referenced by refresh(), vt_check(), vt_kd_ioctl(), and vt_switch_now().
| pid_t vt::kd_pid |
Definition at line 125 of file vt.h.
Referenced by vt_check(), and vt_kd_ioctl().
| int vt::keypad |
Definition at line 95 of file vt.h.
Referenced by esc(), and soft_reset().
| uint8_t vt::last |
Definition at line 110 of file vt.h.
Referenced by csi(), put_glyph(), and vt_term_reset().
| struct vt_cell* vt::main |
Definition at line 81 of file vt.h.
Referenced by alt_screen(), vt_term_init(), and vt_term_reset().
| struct vt_mode vt::mode |
Definition at line 130 of file vt.h.
Referenced by vt_check(), vt_ioctl(), vt_kd_ioctl(), vt_scancode(), vt_switch(), and vt_switch_now().
| pid_t vt::mode_pid |
Definition at line 131 of file vt.h.
Referenced by vt_check(), vt_kd_ioctl(), and vt_signal().
| int vt::newline |
Definition at line 94 of file vt.h.
Referenced by control(), csi(), and soft_reset().
| int vt::nparams |
| int vt::opens |
Definition at line 134 of file vt.h.
Referenced by vt_file_close(), vt_file_open(), and vt_in_use().
| int vt::origin |
Definition at line 94 of file vt.h.
Referenced by csi(), decset(), move_to(), restore_cursor(), save_cursor(), and soft_reset().
| int vt::params[16] |
| struct vt_cell vt::pen |
Definition at line 88 of file vt.h.
Referenced by blank(), put_glyph(), restore_cursor(), save_cursor(), sgr(), soft_reset(), and vt_term_init().
| char vt::private |
Definition at line 109 of file vt.h.
Referenced by csi(), esc(), and term_char().
| char vt::reply[32] |
Definition at line 117 of file vt.h.
Referenced by reply(), and vt_reply().
| size_t vt::reply_len |
Definition at line 118 of file vt.h.
Referenced by reply(), and vt_reply().
| int vt::reverse_screen |
Definition at line 95 of file vt.h.
Referenced by decset(), refresh(), and vt_term_reset().
| int vt::row |
Definition at line 85 of file vt.h.
Referenced by csi(), linefeed(), move_rows(), move_to(), put_glyph(), refresh(), restore_cursor(), reverse_index(), save_cursor(), soft_reset(), vcs_read(), and vt_term_reset().
| int vt::rows |
Definition at line 78 of file vt.h.
Referenced by clear_screen(), csi(), linefeed(), move_rows(), move_to(), refresh(), restore_cursor(), soft_reset(), term_char(), vcs_read(), vt_setup(), and vt_term_init().
| struct vt_cursor saved vt::saved_alt |
Definition at line 104 of file vt.h.
Referenced by decset(), and soft_reset().
| struct vt_cell * vt::screen |
Definition at line 81 of file vt.h.
Referenced by alt_screen(), cell(), refresh(), vcs_read(), vt_term_init(), and vt_term_reset().
| int vt::state |
Definition at line 107 of file vt.h.
Referenced by control(), esc(), term_char(), vt_kmsg(), and vt_term_reset().
| uint8_t vt::tabs[32] |
Definition at line 102 of file vt.h.
Referenced by tab_set(), and tab_stop().
| int vt::top |
Definition at line 91 of file vt.h.
Referenced by csi(), decset(), linefeed(), move_rows(), move_to(), reverse_index(), and soft_reset().
| struct tty* vt::tty |
Definition at line 137 of file vt.h.
Referenced by vcs_read(), vt_can_read(), vt_file_eof(), vt_file_open(), vt_in_use(), vt_input_to(), vt_ioctl(), vt_read(), vt_read_timeout(), vt_setup(), and vt_write().
| int vt::utf8_left |
Definition at line 114 of file vt.h.
Referenced by utf8(), vt_kmsg(), and vt_term_reset().
| struct vnode* vt::vnode |
Definition at line 139 of file vt.h.
Referenced by vt_file_open().
| int vt::wrap_pending |
Definition at line 85 of file vt.h.
Referenced by control(), csi(), linefeed(), move_rows(), move_to(), put_glyph(), restore_cursor(), reverse_index(), soft_reset(), and tab().
| struct waitq read_queue vt::write_queue |
Definition at line 140 of file vt.h.
Referenced by vt_file_open().