[RFC PATCH v7] Input/Output Terminal Abstraction
Grant Erickson <[email protected]> Thu, 4 Apr 2024 16:38:17 -0700
| Newsgroups | dev.linux.lists.ell |
|---|---|
| Message-ID | <[email protected]> |
This expands on Marcel Holtman's 2023-12-22 RFCv4 patch for an
input/output terminal abstraction.
Substantive changes from the v6 version:
* Added ASCII C0 and C1 control code mnemonics.
Added ASCII C0 and C1 control code mnemonics useful to anyone
implementing a l_term key handler.
* Reflected mailing list feedback from Phil Hodges <[email protected]>.
Grant Erickson (9):
term: Initial revision.
ell: Add include directive for 'ell/term.h'.
ell/Makefile: Added 'term.[ch]' to HEADERS and SOURCES.
term: Added 'l_term_*' symbols.
ell/term: Do not return -EPERM for 'putnstr' and 'vprint' if not
running.
ell/term: Return error on writes if the output descriptor is invalid.
ell/edit: Rename 'l_term_{open,close}'.
ell/term: Add an 'l_term_is_acquired' introspection function.
ell/term: Added ASCII C0 and C1 control code mnemonics.
Makefile.am | 2 +
ell/ell.h | 1 +
ell/ell.sym | 22 +++
ell/term.c | 501 ++++++++++++++++++++++++++++++++++++++++++++++++++++
ell/term.h | 215 ++++++++++++++++++++++
5 files changed, 741 insertions(+)
create mode 100644 ell/term.c
create mode 100644 ell/term.h
--
2.42.0