/usr/lib/s9fes/help/curs_endwin is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | S9 EXT (curs:endwin) ==> unspecific
(curs:initscr) ==> unspecific
Routines for initializing and shutting down curses. This is only
a rough summary. See the curses(3) manual page or a curses tutorial
of your choice for further information.
CURS:ENDWIN restores the terminal state that was in effect before
initializing curses. No curses routines may be called after running
CURS:ENDWIN. (Exception: CURS:GET-MAGI-VALUE.)
CURS:INITSCR initializes the curses interface. No curses routines may
be called prior to running CURS:INITSCR.
(Exception: CURS:GET-MAGI-VALUE.)
Typical curses-based programs will use the following setup:
(curs:initscr)
(curs:cbreak) ; or (curs:raw)
(curs:noecho)
(curs:nonl)
(curs:keypad #t)
|