From 9be3c518404a9db1033dce86eeb781debce7274e Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Sat, 22 May 2021 03:54:13 +0200 Subject: DESIGN.md: Mention canonical mode issues with intercepting --- DESIGN.md | 13 ++++++++----- 1 file 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 ` 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 -- cgit 1.4.1