This file is indexed.

/usr/lib/s9fes/help/curs_flushinp 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
S9 EXT  (curs:flushinp)                     ==>  unspecific
        (curs:getch)                        ==>  integer | #f
        (curs:inch)                         ==>  char
        (curs:getyx)                        ==>  list
        (curs:mvgetch integer_y integer_x)  ==>  integer | #f
        (curs:mvinch integer_y integer_x)   ==>  char
        (curs:lines)                        ==>  integer
        (curs:cols)                         ==>  integer
        (curs:unctrl integer)               ==>  string
        (curs:ungetch integer)              ==>  unspecific

Curses input routines. This is only a rough summary. See the curses(3)
manual page or a curses tutorial of your choice for further information.

CURS:FLUSHINP drains all pending keyboard input, so any characters
typed ahead will never be delivered.

CURS:GETCH fetches the next key from the keyboard queue and delivers
its keycode. Keycode mostly correspond to ASCII codes. When in keypad
mode (see CURS:KEYPAD), CURS:GETCH may return special codes for some
keys that do not have an ASCII code, like the arrow keys for moving
the cursor. The following special keycode constants exist:

        CURS:KEY-BACKSPACE
        CURS:KEY-UP
        CURS:KEY-DOWN
        CURS:KEY-LEFT
        CURS:KEY-RIGHT
        CURS:KEY-HOME
        CURS:KEY-PPAGE
        CURS:KEY-NPAGE

Before reading the keyboard queue, CURS:GETCH commits all pending
writes to the scrren by calling CURS:REFRESH and also synchronizes
the hardware cursor with the virtual cursor. CURS:GETCH blocks unless
nodelay mode (see CURS:NODELAY) has been activated. In nodelay mode
CURS:GETCH returns #F when there are no characters in the keyboard
queue.

CURS:INCH returns the character found on the current (virtual)
position on the virtual screen.

CURS:GETYX returns a list containing the current virtual cursor
position in the format (Y X).

CURS:LINES returns the number of lines in the screen.

CURS:COLS returns the number of columns in the screen.

CURS:MVGETCH moves the cursor to the specified position and then
performs a GETCH operation.

CURS:MVINCH returns the character found on row INTEGER_Y, column
INTEGER_X of the virtual screen.

CURS:UNCTRL converts an unreadable character to a readable
representation. For instance, it returns "^[" for the ESC
character.

CURS:UNGETCH puts a keycode back to the keyboard queue so that
a subsequent call to CURS:GETCH or CURS:MVGETCH will deliver it.