1libcurses(3LIB) Interface Libraries libcurses(3LIB)
2
3
4
6 libcurses, libtermcap, libtermlib - screen handling and optimization
7 library
8
10 cc [ flag... ] file... -lcurses [ library... ]
11
12
14 Functions in the libcurses library provide a terminal-independent
15 method of updating character screens with reasonable optimization. The
16 libtermcap and libtermlib libraries are identical to libcurses and are
17 maintained for backward compatibility.
18
19
20 See libcurses(3XCURSES) for information about the curses library that
21 conforms to X/Open Curses, Issue 4, Version 2.
22
24 The shared objects libcurses.so.1, libtermcap.so.1, and libtermlib.so.1
25 provide the public interfaces defined below. See Intro(3) for addi‐
26 tional information on shared object interfaces.
27
28
29
30
31 _getsyx _meta
32 _ring _setecho
33 _setnonl _setqiflush
34 addch addchnstr
35 addchstr addnstr
36 addnwstr addstr
37 addwch addwchnstr
38 addwchstr addwstr
39 attroff attron
40 attrset baudrate
41 beep bkgd
42 bkgdset border
43 box can_change_color
44 cbreak clear
45 clearok clrtobot
46 clrtoeol color_content
47 copywin crmode
48 curs_set curserr
49 def_prog_mode def_shell_mode
50 del_curterm delay_output
51 delch deleteln
52 delkeymap delscreen
53 delwin derwin
54 doupdate dupwin
55 echo echochar
56 echowchar endwin
57 erase erasechar
58 filter flash
59 flushinp getbmap
60 getch getmouse
61 getnwstr getstr
62 getwch getwin
63 getwstr halfdelay
64 has_colors has_ic
65 has_il idcok
66
67 idlok immedok
68 inch inchnstr
69 inchstr init_color
70 init_pair initscr
71 innstr innwstr
72 insch insdelln
73 insertln insnstr
74 insnwstr insstr
75 instr inswch
76 inswstr intrflush
77 inwch inwchnstr
78 inwchstr inwstr
79 is_linetouched is_wintouched
80 isendwin keyname
81 keypad killchar
82 leaveok longname
83 m_addch m_addstr
84 m_clear m_erase
85 m_initscr m_move
86 m_newterm m_refresh
87 map_button meta
88 mouse_off mouse_on
89 mouse_set move
90 mvaddch mvaddchnstr
91 mvaddchstr mvaddnstr
92 mvaddnwstr mvaddstr
93 mvaddwch mvaddwchnstr
94 mvaddwchstr mvaddwstr
95 mvcur mvdelch
96 mvderwin mvgetch
97 mvgetnwstr mvgetstr
98 mvgetwch mvgetwstr
99 mvinch mvinchnstr
100 mvinchstr mvinnstr
101 mvinnwstr mvinsch
102 mvinsnstr mvinsnwstr
103 mvinsstr mvinstr
104 mvinswch mvinswstr
105 mvinwch mvinwchnstr
106 mvinwchstr mvinwstr
107 mvprintw mvscanw
108 mvwaddch mvwaddchnstr
109 mvwaddchstr mvwaddnstr
110 mvwaddnwstr mvwaddstr
111 mvwaddwch mvwaddwchnstr
112 mvwaddwchstr mvwaddwstr
113 mvwdelch mvwgetch
114 mvwgetnwstr mvwgetstr
115 mvwgetwch mvwgetwstr
116 mvwin mvwinch
117 mvwinchnstr mvwinchstr
118 mvwinnstr mvwinnwstr
119 mvwinsch mvwinsnstr
120 mvwinsnwstr mvwinsstr
121 mvwinstr mvwinswch
122 mvwinswstr mvwinwch
123 mvwinwchnstr mvwinwchstr
124 mvwinwstr mvwprintw
125 mvwscanw napms
126 newkey newpad
127 newscreen newterm
128 newwin nl
129 nocbreak nocrmode
130 nodelay noecho
131 nonl noqiflush
132
133 noraw notimeout
134 overlay overwrite
135 pair_content pechochar
136 pechowchar pnoutrefresh
137 prefresh printw
138 putp putwin
139 qiflush raw
140 redrawwin refresh
141 request_mouse_pos reset_prog_mode
142 reset_shell_mode resetty
143 restartterm ripoffline
144 savetty scanw
145 scr_dump scr_init
146 scr_restore scr_set
147 scrl scroll
148 scrollok set_term
149 setcurscreen setscrreg
150 setsyx setterm
151 setupterm slk_attroff
152 slk_attron slk_attrset
153 slk_clear slk_init
154 slk_label slk_noutrefresh
155 slk_refresh slk_restore
156 slk_set slk_start
157 slk_touch standend
158 standout start_color
159 subpad subwin
160 syncok termattrs
161 termname tgetent
162 tgetflag tgetnum
163 tgetstr tgoto
164 tigetflag tigetnum
165 tigetstr timeout
166 touchline touchwin
167 tparm tputs
168 traceoff traceon
169 typeahead unctrl
170 ungetch ungetwch
171 untouchwin vidattr
172 vidputs vidupdate
173 vwprintw vwscanw
174 waddch waddchnstr
175 waddchstr waddnstr
176 waddnwstr waddstr
177 waddwch waddwchnstr
178 waddwchstr waddwstr
179 wadjcurspos wattroff
180 wattron wattrset
181 wbkgd wbkgdset
182 wborder wclear
183 wclrtobot wclrtoeol
184 wcursyncup wdelch
185 wdeleteln wechochar
186 wechowchar werase
187 wgetch wgetnstr
188 wgetnwstr wgetstr
189 wgetwch wgetwstr
190 whline winch
191 winchnstr winchstr
192 winnstr winnwstr
193 winsch winsdelln
194 winsertln winsnstr
195 winsnwstr winsstr
196 winstr winswch
197 winswstr winwch
198
199 winwchnstr winwchstr
200 winwstr wmouse_position
201 wmove wmovenextch
202 wmoveprevch wnoutrefresh
203 wprintw wredrawln
204 wrefresh wscanw
205 wscrl wsetscrreg
206 wstandend wstandout
207 wsyncdown wsyncup
208 wtimeout wtouchln
209 wvline
210
211
213 /lib/libcurses.so.1 shared object
214
215
216 /lib/64/libcurses.so.1 64-bit shared object
217
218
219 /lib/libtermcap.so.1 shared object (symbolic link to
220 /lib/libcurses.so.1)
221
222
223 /lib/64/libtermcap.so.1 64-bit shared object (symbolic link to
224 /lib/64/libcurses.so.1)
225
226
227 /lib/libtermlib.so.1 shared object (symbolic link to
228 /lib/libcurses.so.1)
229
230
231 /lib/64/libtermlib.so.1 64-bit shared object (symbolic link to
232 /lib/64/libcurses.so.1)
233
234
236 See attributes(5) for descriptions of the following attributes:
237
238
239
240
241 ┌─────────────────────────────┬─────────────────────────────┐
242 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
243 ├─────────────────────────────┼─────────────────────────────┤
244 │Availability │SUNWcsl (32-bit) │
245 │ │SUNWcslx (64-bit) │
246 ├─────────────────────────────┼─────────────────────────────┤
247 │MT-Level │Unsafe │
248 └─────────────────────────────┴─────────────────────────────┘
249
251 Intro(3), curses(3CURSES), libcurses(3LIBUCB), libcurses(3XCURSES),
252 attributes(5)
253
254
255
256SunOS 5.11 24 Mar 2004 libcurses(3LIB)