diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-22 03:54:13 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-22 03:54:13 +0200 |
commit | 9be3c518404a9db1033dce86eeb781debce7274e (patch) | |
tree | 6a4860a36831272ff7e57c6a29b761ad2b4559a8 /DESIGN.md | |
parent | 390db527e733b77524f943703c1705111913f3de (diff) |
DESIGN.md: Mention canonical mode issues with intercepting
Diffstat (limited to 'DESIGN.md')
-rw-r--r-- | DESIGN.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/DESIGN.md b/DESIGN.md index 24a62c6..7b9c576 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -70,11 +70,14 @@ enter. It does also have some caveats as keycodes are normally configured using `termios(3)`. As an example, it possible to bind `SIGINT` to a different keycode using `stty intr <keycode>` but since `saneterm` keybindings are defined separately it would not respect that -setting. The `saneterm` handlers also need to query the `termios(3)` -setting on each Gtk signal to determine the current control character, -which should be send to the PTY, using `termios(3)`. Additionally, the -line buffer is bypassed on these signals and any data presently stored -in it is never received by the application. +setting. For the same reason, it is also difficult to support +noncanoical mode as defined in `termios(3)`. + +The `saneterm` handlers also need to query the `termios(3)` setting on +each Gtk signal to determine the current control character, which should +be send to the PTY, using `termios(3)`. Additionally, the line buffer +is bypassed on these signals and any data presently stored in it is +never received by the application. [9term man page]: https://9fans.github.io/plan9port/man/man1/9term.html [gtk textbuffer]: https://developer.gnome.org/gtk3/stable/GtkTextBuffer.html |