SRFI 205: POSIX Terminal Fundamentals

by John Cowan (author) and Harold Ancell (author and editor)

status: draft (2020-07-23)

keywords: Operating System

See also SRFI 170: POSIX API and SRFI 198: Foreign Interface Status.


This SRFI describes procedures for command-line and terminal interface programs to safely change and reset terminal modes, for example from cooked to raw and back, and for serial-line device manipulation for interfacing with embedded hardware and the like.

It is intended to provide all the termios structure functionality a modern Scheme programmer might desire by supplying a stty procedure, and simple abstractions on top of it.