blob: 63db4967eebc68fd4dbaa04e39668af7ba38dd26 [file] [log] [blame]
micky3879b9f5e72025-07-08 18:04:53 -04001'\" t
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05302.\"***************************************************************************
micky3879b9f5e72025-07-08 18:04:53 -04003.\" Copyright 2018-2023,2024 Thomas E. Dickey *
4.\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05305.\" *
6.\" Permission is hereby granted, free of charge, to any person obtaining a *
7.\" copy of this software and associated documentation files (the *
8.\" "Software"), to deal in the Software without restriction, including *
9.\" without limitation the rights to use, copy, modify, merge, publish, *
10.\" distribute, distribute with modifications, sublicense, and/or sell *
11.\" copies of the Software, and to permit persons to whom the Software is *
12.\" furnished to do so, subject to the following conditions: *
13.\" *
14.\" The above copyright notice and this permission notice shall be included *
15.\" in all copies or substantial portions of the Software. *
16.\" *
17.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
18.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
19.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
20.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
21.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
22.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
23.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
24.\" *
25.\" Except as contained in this notice, the name(s) of the above copyright *
26.\" holders shall not be used in advertising or otherwise to promote the *
27.\" sale, use or other dealings in this Software without prior written *
28.\" authorization. *
29.\"***************************************************************************
30.\"
micky3879b9f5e72025-07-08 18:04:53 -040031.\" $Id: curs_inopts.3x,v 1.66 2024/04/13 22:20:29 tom Exp $
32.TH curs_inopts 3X 2024-04-13 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
33.ie \n(.g \{\
34.ds `` \(lq
35.ds '' \(rq
36.\}
37.el \{\
38.ie t .ds `` ``
39.el .ds `` ""
40.ie t .ds '' ''
41.el .ds '' ""
42.\}
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053043.SH NAME
micky3879b9f5e72025-07-08 18:04:53 -040044\fB\%cbreak\fP,
45\fB\%echo\fP,
46\fB\%halfdelay\fP,
47\fB\%intrflush\fP,
48\fB\%is_cbreak\fP,
49\fB\%is_echo\fP,
50\fB\%is_nl\fP,
51\fB\%is_raw\fP,
52\fB\%keypad\fP,
53\fB\%meta\fP,
54\fB\%nl\fP,
55\fB\%nocbreak\fP,
56\fB\%nodelay\fP,
57\fB\%noecho\fP,
58\fB\%nonl\fP,
59\fB\%noqiflush\fP,
60\fB\%noraw\fP,
61\fB\%notimeout\fP,
62\fB\%qiflush\fP,
63\fB\%raw\fP,
64\fB\%timeout\fP,
65\fB\%wtimeout\fP,
66\fB\%typeahead\fP \-
67get and set \fIcurses\fR terminal input options
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053068.SH SYNOPSIS
micky3879b9f5e72025-07-08 18:04:53 -040069.nf
70\fB#include <curses.h>
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +053071.PP
micky3879b9f5e72025-07-08 18:04:53 -040072\fBint cbreak(void);
73\fBint nocbreak(void);
74.PP
75\fBint echo(void);
76\fBint noecho(void);
77.PP
78\fBint intrflush(WINDOW *\fIwin\fP, bool \fIbf\fP);
79\fBint keypad(WINDOW *\fIwin\fP, bool \fIbf\fP);
80\fBint meta(WINDOW *\fIwin\fP, bool \fIbf\fP);
81\fBint nodelay(WINDOW *\fIwin\fP, bool \fIbf\fP);
82\fBint notimeout(WINDOW *\fIwin\fP, bool \fIbf\fP);
83.PP
84\fBint nl(void);
85\fBint nonl(void);
86.PP
87\fBint raw(void);
88\fBint noraw(void);
89.PP
90\fBvoid qiflush(void);
91\fBvoid noqiflush(void);
92.PP
93\fBint halfdelay(int \fItenths\fP);
94\fBvoid timeout(int \fIdelay\fP);
95\fBvoid wtimeout(WINDOW *\fIwin\fP, int \fIdelay\fP);
96.PP
97\fBint typeahead(int \fIfd\fP);
98.PP
99\fI/* extensions */
100\fBint is_cbreak(void);
101\fBint is_echo(void);
102\fBint is_nl(void);
103\fBint is_raw(void);
104.fi
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530105.SH DESCRIPTION
micky3879b9f5e72025-07-08 18:04:53 -0400106.I \%ncurses
107provides several functions that let an application change the way input
108from the terminal is handled.
109Some are global,
110applying to all windows.
Steve Kondikae271bc2015-11-15 02:50:53 +0100111Others apply only to a specific window.
112Window-specific settings are not automatically applied to new or derived
113windows.
micky3879b9f5e72025-07-08 18:04:53 -0400114An application must apply these to each window if the same behavior is
115desired.
Steve Kondikae271bc2015-11-15 02:50:53 +0100116.\"
micky3879b9f5e72025-07-08 18:04:53 -0400117.SS "cbreak, nocbreak"
118Normally,
119the terminal driver buffers typed characters until a newline or carriage
Steve Kondikae271bc2015-11-15 02:50:53 +0100120return is typed.
micky3879b9f5e72025-07-08 18:04:53 -0400121The \fB\%cbreak\fP routine disables line buffering and
122erase/kill character-processing
123(interrupt and flow control characters are unaffected),
124making characters typed by the user immediately available to the
Steve Kondikae271bc2015-11-15 02:50:53 +0100125program.
micky3879b9f5e72025-07-08 18:04:53 -0400126The \fB\%nocbreak\fP routine returns the terminal to normal (cooked)
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530127mode.
128.PP
micky3879b9f5e72025-07-08 18:04:53 -0400129Initially the terminal may or may not be in \fB\%cbreak\fP mode,
130as the mode is inherited;
131therefore,
132a program should call \fB\%cbreak\fP or \fB\%nocbreak\fP explicitly.
133Most interactive programs using
134.I curses
135set the \fB\%cbreak\fP mode.
136Note that \fB\%cbreak\fP overrides \fBraw\fP.
137[See \fB\%curs_getch\fP(3X) for a discussion of how these routines
138interact with \fBecho\fP and \fB\%noecho\fP.]
Steve Kondikae271bc2015-11-15 02:50:53 +0100139.\"
micky3879b9f5e72025-07-08 18:04:53 -0400140.SS "echo, noecho"
141The \fBecho\fP and \fB\%noecho\fP routines control whether characters
142typed by the user are echoed by \fB\%getch\fP(3X) as they are typed.
143Echoing by the terminal driver is always disabled,
144but initially \fB\%getch\fP is in echo mode,
145so characters typed are echoed.
Steve Kondikae271bc2015-11-15 02:50:53 +0100146Authors of most interactive programs prefer to do
micky3879b9f5e72025-07-08 18:04:53 -0400147their own echoing in a controlled area of the screen,
148or not to echo at all,
149so they disable echoing by calling \fB\%noecho\fP.
150[See \fB\%curs_getch\fP(3X) for a
151discussion of how these routines interact with \fB\%cbreak\fP and
152\fB\%nocbreak\fP.]
Steve Kondikae271bc2015-11-15 02:50:53 +0100153.\"
154.SS halfdelay
micky3879b9f5e72025-07-08 18:04:53 -0400155The \fB\%halfdelay\fP routine is used for half-delay mode,
156which is similar to \fB\%cbreak\fP mode in that characters typed by the
157user are immediately available to the program.
158However,
159after blocking for \fItenths\fP tenths of seconds,
160\fBERR\fP is returned if nothing has been typed.
161The value of \fItenths\fP must be a number between 1 and 255.
162Use \fB\%nocbreak\fP to leave half-delay mode.
Steve Kondikae271bc2015-11-15 02:50:53 +0100163.\"
164.SS intrflush
micky3879b9f5e72025-07-08 18:04:53 -0400165If the \fB\%intrflush\fP option is enabled
166.RI ( bf
167is
168.BR TRUE ),
169and an interrupt key is pressed on the keyboard
170(interrupt,
171break,
172quit),
173all output in the terminal driver queue is flushed,
174giving the effect of faster response to the interrupt,
175but causing
176.I curses
177to have the wrong idea of what is on the screen.
178Disabling the option
179.RI ( bf
180is
181.BR FALSE ),
182prevents the flush.
183The default for the option is inherited from the terminal driver
184settings.
185The
186.I win
187argument is ignored.
Steve Kondikae271bc2015-11-15 02:50:53 +0100188.\"
189.SS keypad
micky3879b9f5e72025-07-08 18:04:53 -0400190The \fB\%keypad\fP option enables the keypad of the user's terminal.
Steve Kondikae271bc2015-11-15 02:50:53 +0100191If
micky3879b9f5e72025-07-08 18:04:53 -0400192enabled
193.RI ( bf
194is
195.BR TRUE ),
196the user can press a function key
197(such as an arrow key)
198and \fB\%wgetch\fP(3X) returns a single value representing the function
199key,
200as in \fB\%KEY_LEFT\fP.
Steve Kondikae271bc2015-11-15 02:50:53 +0100201If disabled
micky3879b9f5e72025-07-08 18:04:53 -0400202(\fIbf\fP is \fBFALSE\fP),
203.I curses
204does not treat function keys specially and the program has to interpret
205the escape sequences itself.
206If the keypad in the terminal can be turned on
207(made to transmit)
208and off
209(made to work locally),
210turning on this option causes the terminal keypad to be turned on when
211\fB\%wgetch\fP(3X) is called.
Steve Kondikae271bc2015-11-15 02:50:53 +0100212The default value for keypad is \fBFALSE\fP.
213.\"
214.SS meta
micky3879b9f5e72025-07-08 18:04:53 -0400215Initially,
216whether the terminal returns 7 or 8 significant bits on input depends on
217the control mode of the terminal driver [see \fI\%termios\fP(3)].
218To force 8 bits to be returned,
219invoke
220\fBmeta\fP(\fIwin\fP, \fBTRUE\fP);
221this is equivalent,
222under POSIX,
223to setting the CS8 flag on the terminal.
224To force 7 bits to be returned,
225invoke
226\fBmeta\fP(\fIwin\fP, \fBFALSE\fP);
227this is equivalent,
228under POSIX,
Steve Kondikae271bc2015-11-15 02:50:53 +0100229to setting the CS7 flag on the terminal.
230The window argument,
micky3879b9f5e72025-07-08 18:04:53 -0400231.IR win ,
232is always ignored.
233If the terminfo capabilities
234\fBsmm\fP (meta_on) and
235\fBrmm\fP (meta_off) are defined for the terminal,
236\fBsmm\fP is sent to the terminal when
237\fBmeta\fP(\fIwin\fP, \fBTRUE\fP)
238is called and \fBrmm\fP is sent when
239\fBmeta\fP(\fIwin\fP, \fBFALSE\fP) is called.
240.\"
241.SS "nl, nonl"
242The \fBnl\fP and \fBnonl\fP routines control whether the underlying
243display device translates the return key into newline on input.
Steve Kondikae271bc2015-11-15 02:50:53 +0100244.\"
245.SS nodelay
micky3879b9f5e72025-07-08 18:04:53 -0400246The \fB\%nodelay\fP option causes \fB\%getch\fP to be a non-blocking
247call.
248If no input is ready,
249\fB\%getch\fP returns \fBERR\fP.
Steve Kondikae271bc2015-11-15 02:50:53 +0100250If disabled
micky3879b9f5e72025-07-08 18:04:53 -0400251.RI ( bf
252is
253.BR FALSE ),
254\fB\%getch\fP waits until a key is pressed.
255.SS notimeout
256When interpreting an escape sequence,
257\fB\%wgetch\fP(3X) sets a timer
Steve Kondikae271bc2015-11-15 02:50:53 +0100258while waiting for the next character.
Steve Kondikae271bc2015-11-15 02:50:53 +0100259If
micky3879b9f5e72025-07-08 18:04:53 -0400260\fB\%notimeout(\fIwin\fR, \fBTRUE\fP)
261is called,
262then \fB\%wgetch\fP does not set a timer.
263The purpose of the timeout is to distinguish sequences produced by a
264function key from those typed by a user.
265.\"
266.SS "raw, noraw"
267The \fBraw\fP and \fB\%noraw\fP routines place the terminal into or out
268of raw mode.
269Raw mode is similar to \fB\%cbreak\fP mode,
270in that characters typed are immediately passed through to the user
271program.
272The differences are that in raw mode,
273the interrupt,
274quit,
275suspend,
276and flow control characters are all
277passed through uninterpreted,
278instead of generating a signal.
279The behavior of the BREAK key depends on other bits in the terminal
280driver that are not set by
281.IR curses .
282.\"
283.SS "qiflush, nqiflush"
284When the \fB\%noqiflush\fP routine is used,
285normal flush of input and output queues associated with the \fBINTR\fP,
286\fBQUIT\fP and \fBSUSP\fP characters will not be done
287[see \fB\%termios\fP(3)].
288When
289\fB\%qiflush\fP is called,
290the queues will be flushed when these control characters are read.
291You may want to call \fB\%noqiflush\fP in a signal handler if you want
292output to continue as though the interrupt had not occurred,
293after the handler exits.
294.\"
295.SS "timeout, wtimeout"
296The \fB\%timeout\fP and \fB\%wtimeout\fP routines set blocking or
297non-blocking read for a given window.
298If \fIdelay\fP is negative,
299a blocking read is used
300(i.e.,
301waits indefinitely for input).
302If \fIdelay\fP is zero,
303then a non-blocking read is used
304(i.e.,
305.I read
306returns \fBERR\fP if no input is waiting).
307If
308\fIdelay\fP is positive,
309then
310.I read
311blocks for \fIdelay\fP milliseconds,
312and returns \fBERR\fP if there is still no input.
313Hence,
314these routines provide the same functionality as \fB\%nodelay\fP,
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530315plus the additional capability of being able to block for only
micky3879b9f5e72025-07-08 18:04:53 -0400316\fIdelay\fP milliseconds
317(where \fIdelay\fP is positive).
Steve Kondikae271bc2015-11-15 02:50:53 +0100318.\"
319.SS typeahead
micky3879b9f5e72025-07-08 18:04:53 -0400320.I curses
321does \*(``line-breakout optimization\*('' by looking for typeahead
322periodically while updating the screen.
323If input is found,
324and it is coming from a terminal,
Steve Kondikae271bc2015-11-15 02:50:53 +0100325the current update is postponed until
micky3879b9f5e72025-07-08 18:04:53 -0400326\fB\%refresh\fP(3X) or \fB\%doupdate\fP is called again.
Steve Kondikae271bc2015-11-15 02:50:53 +0100327This allows faster response to commands typed in advance.
micky3879b9f5e72025-07-08 18:04:53 -0400328Normally,
329the input
330.I FILE
331pointer passed to \fB\%newterm\fP,
332or \fBstdin\fP in the case that \fB\%initscr\fP was used,
333will be used to do this typeahead checking.
334The \fB\%typeahead\fP routine specifies that the file descriptor
335\fIfd\fP is to be used to check for typeahead instead.
336If \fIfd\fP is
337\-1,
338then no typeahead checking is done.
Steve Kondikae271bc2015-11-15 02:50:53 +0100339.\"
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530340.SH RETURN VALUE
micky3879b9f5e72025-07-08 18:04:53 -0400341All routines that return an integer return \fBERR\fP upon failure and
342\fBOK\fP
343(SVr4 specifies only \*(``an integer value other than \fBERR\fP\*('')
344upon successful completion,
345unless otherwise noted in the preceding routine descriptions.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530346.PP
micky3879b9f5e72025-07-08 18:04:53 -0400347X/Open Curses does not specify any error conditions.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530348In this implementation,
349functions with a window parameter will return an error if it is null.
micky3879b9f5e72025-07-08 18:04:53 -0400350Any function will also return an error if the terminal was not
351initialized.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530352Also,
micky3879b9f5e72025-07-08 18:04:53 -0400353.RS 3
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530354.TP 5
micky3879b9f5e72025-07-08 18:04:53 -0400355\fB\%halfdelay\fP
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530356returns an error
357if its parameter is outside the range 1..255.
358.RE
micky3879b9f5e72025-07-08 18:04:53 -0400359.SH NOTES
360\fBecho\fP,
361\fB\%noecho\fP,
362\fB\%halfdelay\fP,
363\fB\%intrflush\fP,
364\fBmeta\fP,
365\fBnl\fP,
366\fBnonl\fP,
367\fB\%nodelay\fP,
368\fB\%notimeout\fP,
369\fB\%noqiflush\fP,
370\fB\%qiflush\fP,
371\fB\%timeout\fP,
372and
373\fB\%wtimeout\fP
374may be implemented as macros.
375.PP
376\fB\%noraw\fP and \fB\%nocbreak\fP follow historical practice in that
377they attempt to restore normal (\*(``cooked\*('') mode
378from raw and cbreak modes respectively.
379Mixing \fBraw\fP/\fB\%noraw\fP and \fB\%cbreak\fP/\fB\%nocbreak\fP calls
380leads to terminal driver control states that are hard to predict or
381understand;
382doing so is not recommended.
383.SH EXTENSIONS
384.I \%ncurses
385provides four \*(``is_\*('' functions that may be used to detect if the
386corresponding flags were set or reset.
387.PP
388.TS
389center;
390Lb Lb Lb
391L L L .
392Query Set Reset
393_
394is_cbreak cbreak nocbreak
395is_echo echo noecho
396is_nl nl nonl
397is_raw raw noraw
398.TE
399.PP
400In each case,
401the function returns
402.TP 4 \" "-1" + 2n
4031
404if the flag is set,
405.TP
4060
407if the flag is reset,
408or
409.TP
410\-1
411if the library is not initialized.
412.PP
413They were designed for
414\fB\%ncurses\fP(3X),
415and are not found in SVr4
416.IR curses ,
4174.4BSD
418.IR curses ,
419or any other previous
420.I curses
421implementation.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530422.SH PORTABILITY
micky3879b9f5e72025-07-08 18:04:53 -0400423Applications employing
424.I \%ncurses
425extensions should condition their use on the visibility of the
426.B \%NCURSES_VERSION
427preprocessor macro.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530428.PP
micky3879b9f5e72025-07-08 18:04:53 -0400429Except as noted in section \*(``EXTENSIONS\*('' above,
430X/Open Curses, Issue 4, Version 2 describes these functions.
431.PP
432.I \%ncurses
433follows X/Open Curses
434and the historical practice of AT&T
435.I curses
436implementations,
437in that the echo bit is cleared when
438.I curses
Steve Kondikae271bc2015-11-15 02:50:53 +0100439initializes the terminal state.
micky3879b9f5e72025-07-08 18:04:53 -0400440BSD
441.I curses
442differed from this slightly;
443it left the echo bit on at initialization,
444but the BSD \fBraw\fP call turned it off as a side effect.
445For best portability,
446set \fBecho\fP or \fB\%noecho\fP explicitly just after initialization,
447even if your program remains in cooked mode.
Steve Kondikae271bc2015-11-15 02:50:53 +0100448.PP
micky3879b9f5e72025-07-08 18:04:53 -0400449X/Open Curses is ambiguous regarding whether \fBraw\fP should disable
450the CR/LF translations controlled by \fBnl\fP and \fBnonl\fP.
451BSD
452.I curses
453did turn off these translations;
454AT&T
455.I curses
456(at least as late as SVr1)
457did not.
458.I \%ncurses
459does so,
460on the assumption that a programmer requesting raw input wants a clean
461(ideally,
4628-bit clean)
463connection that the operating system will not alter.
464.PP
465When \fB\%keypad\fP is first enabled,
466.I \%ncurses
467loads the key definitions for the current terminal description.
Steve Kondikae271bc2015-11-15 02:50:53 +0100468If the terminal description includes extended string capabilities,
micky3879b9f5e72025-07-08 18:04:53 -0400469e.g.,
470from using the
471.B \-x
472option of \fB\%@TIC@\fP,
473then
474.I \%ncurses
475also defines keys for the capabilities whose names begin with
476\*(``k\*(''.
477The corresponding keycodes are generated and
478(depending on previous loads of terminal descriptions)
479may differ from one execution of a program to the next.
480The generated keycodes are recognized by the \fB\%keyname\fP(3X)
481function
482(which will then return a name beginning with \*(``k\*('' denoting the
483terminfo capability name rather than \*(``K\*('',
484used for
485.I curses
486key names).
487On the other hand,
488an application can use \fB\%define_key\fP(3X) to establish
Steve Kondikae271bc2015-11-15 02:50:53 +0100489a specific keycode for a given string.
490This makes it possible for an application to check for an extended
micky3879b9f5e72025-07-08 18:04:53 -0400491capability's presence with \fB\%tigetstr\fP,
Steve Kondikae271bc2015-11-15 02:50:53 +0100492and reassign the keycode to match its own needs.
493.PP
micky3879b9f5e72025-07-08 18:04:53 -0400494Low-level applications can use \fB\%tigetstr\fP to obtain the definition
Steve Kondikae271bc2015-11-15 02:50:53 +0100495of any particular string capability.
micky3879b9f5e72025-07-08 18:04:53 -0400496Higher-level applications which use the
497.I curses
498\fB\%wgetch\fP and similar functions to return keycodes rely upon the
499order in which the strings are loaded.
Steve Kondikae271bc2015-11-15 02:50:53 +0100500If more than one key definition has the same string value,
micky3879b9f5e72025-07-08 18:04:53 -0400501then \fB\%wgetch\fP can return only one keycode.
502Most
503.I curses
504implementations
505(including
506.IR \%ncurses )
Steve Kondikae271bc2015-11-15 02:50:53 +0100507load key definitions in the order
508defined by the array of string capability names.
509The last key to be loaded determines the keycode which will be returned.
micky3879b9f5e72025-07-08 18:04:53 -0400510In
511.IR \%ncurses ,
512you may also have extended capabilities interpreted as key definitions.
Steve Kondikae271bc2015-11-15 02:50:53 +0100513These are loaded after the predefined keys,
514and if a capability's value is the same as a previously-loaded
515key definition,
516the later definition is the one used.
micky3879b9f5e72025-07-08 18:04:53 -0400517.SH HISTORY
518Formerly,
519.I \%ncurses
520used
521.B \%nl
522and
523.B \%nonl
524to control the conversion of newlines to carriage return/line feed
525on output as well as input.
526X/Open Curses documents the use of these functions only for input.
527This difference arose from converting the
528.I \%pcurses
529source (1986),
530which used
531\fI\%ioctl\fP(2) calls and the
532.I \%sgttyb
533structure,
534to
535.I \%termios
536(the POSIX terminal API).
537In the former,
538both input and output were controlled via a single option
539.BR \%CRMOD ,
540while the latter separates these features.
541Because that conversion interferes with output optimization,
542.I \%ncurses
5436.2 (2020) amended
544.B \%nl
545and
546.B \%nonl
547to eliminate their effect on output.
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +0530548.SH SEE ALSO
micky3879b9f5e72025-07-08 18:04:53 -0400549\fB\%curses\fP(3X),
550\fB\%curs_getch\fP(3X),
551\fB\%curs_initscr\fP(3X),
552\fB\%curs_util\fP(3X),
553\fB\%define_key\fP(3X),
554\fB\%termios\fP(3)