bjoterm: raw mode, key events and escape sequences
- (bjoterm terminal): terminal-open, with-raw-mode, terminal-size,
terminal-suspend, read-event and read-event/timeout, and escape
sequences for the cursor, clearing, the alternate screen, bracketed
paste and styles. Linux only.
- glue/Tty.cs: termios, poll on fd 0, SIGWINCH, SIGCONT, SIGTSTP, and
restoring the modes at SIGTERM, SIGHUP, SIGQUIT and process exit.
- glue/Keys.cs: the decoder of CSI and SS3 keys with modifiers, Alt,
UTF-8 and bracketed paste.
- Tests: the decoder from bytes, and raw mode on a pseudo-terminal under
script. plan.org has the decisions and the phases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:31:29 +01:00
|
|
|
(package
|
|
|
|
|
(name (bjoterm))
|
2026-12-01 13:28:16 +01:00
|
|
|
(version "0.2.0")
|
bjoterm: raw mode, key events and escape sequences
- (bjoterm terminal): terminal-open, with-raw-mode, terminal-size,
terminal-suspend, read-event and read-event/timeout, and escape
sequences for the cursor, clearing, the alternate screen, bracketed
paste and styles. Linux only.
- glue/Tty.cs: termios, poll on fd 0, SIGWINCH, SIGCONT, SIGTSTP, and
restoring the modes at SIGTERM, SIGHUP, SIGQUIT and process exit.
- glue/Keys.cs: the decoder of CSI and SS3 keys with modifiers, Alt,
UTF-8 and bracketed paste.
- Tests: the decoder from bytes, and raw mode on a pseudo-terminal under
script. plan.org has the decisions and the phases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:31:29 +01:00
|
|
|
(description "The terminal for Bjolang programs: raw mode, key events and escape sequences. Linux.")
|
|
|
|
|
(license "MPL-2.0")
|
|
|
|
|
|
2026-12-01 06:19:36 +01:00
|
|
|
;; Termios, signals, and poll and read of bytes. See glue/Tty.cs.
|
bjoterm: raw mode, key events and escape sequences
- (bjoterm terminal): terminal-open, with-raw-mode, terminal-size,
terminal-suspend, read-event and read-event/timeout, and escape
sequences for the cursor, clearing, the alternate screen, bracketed
paste and styles. Linux only.
- glue/Tty.cs: termios, poll on fd 0, SIGWINCH, SIGCONT, SIGTSTP, and
restoring the modes at SIGTERM, SIGHUP, SIGQUIT and process exit.
- glue/Keys.cs: the decoder of CSI and SS3 keys with modifiers, Alt,
UTF-8 and bracketed paste.
- Tests: the decoder from bytes, and raw mode on a pseudo-terminal under
script. plan.org has the decisions and the phases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:31:29 +01:00
|
|
|
(csharp "glue")
|
|
|
|
|
|
|
|
|
|
;; A library: there is no src/main.bjo.
|
|
|
|
|
)
|