trivial-raw-io

2014-12-17

Helpers for doing raw POSIX I/O

Upstream URL

github.com/redline6561/trivial-raw-io

Author

Brit Butler <redline6561@gmail.com>

Maintainer

Brit Butler <redline6561@gmail.com>

License

BSD
README

trivial-raw-io

For all your portable CL raw POSIX I/O needs! We export three simple symbols: with-raw-io, read-char, and read-line.

Obviously, read-char and read-line shadow the existing CL symbols. We simply call them inside with-raw-io.

with-raw-io is a macro which takes a &body and executes BODY with IO in non-canonical mode by modifying POSIX termios settings, then restores the previous settings.

At this time, trivial-raw-io has been tested on: SBCL, CCL, CMUCL, and CLISP. All testing has been done on Linux.

Dependencies (1)

  • alexandria

Dependents (0)

    • GitHub
    • Quicklisp