xref: /onnv-gate/usr/src/lib/libcurses/screen/llib-lcurses (revision 0:68f95e015346)
1*0Sstevel@tonic-gate/*
2*0Sstevel@tonic-gate * CDDL HEADER START
3*0Sstevel@tonic-gate *
4*0Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5*0Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only
6*0Sstevel@tonic-gate * (the "License").  You may not use this file except in compliance
7*0Sstevel@tonic-gate * with the License.
8*0Sstevel@tonic-gate *
9*0Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*0Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
11*0Sstevel@tonic-gate * See the License for the specific language governing permissions
12*0Sstevel@tonic-gate * and limitations under the License.
13*0Sstevel@tonic-gate *
14*0Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
15*0Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*0Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
17*0Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
18*0Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
19*0Sstevel@tonic-gate *
20*0Sstevel@tonic-gate * CDDL HEADER END
21*0Sstevel@tonic-gate */
22*0Sstevel@tonic-gate/* LINTLIBRARY */
23*0Sstevel@tonic-gate/* PROTOLIB1 */
24*0Sstevel@tonic-gate
25*0Sstevel@tonic-gate/*
26*0Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
27*0Sstevel@tonic-gate * Use is subject to license terms.
28*0Sstevel@tonic-gate */
29*0Sstevel@tonic-gate
30*0Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
31*0Sstevel@tonic-gate
32*0Sstevel@tonic-gate#include <stdio.h>
33*0Sstevel@tonic-gate#include <sys/types.h>
34*0Sstevel@tonic-gate#include <stdarg.h>
35*0Sstevel@tonic-gate#include <curses.h>
36*0Sstevel@tonic-gate#include "term.h"
37*0Sstevel@tonic-gate#include "print.h"
38*0Sstevel@tonic-gate
39*0Sstevel@tonic-gate/*
40*0Sstevel@tonic-gate * usr/src/lib/libcurses/screen
41*0Sstevel@tonic-gate */
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gate/* V2.__sscans.c */
44*0Sstevel@tonic-gateint __sscans(WINDOW *win, char *fmt, ...);
45*0Sstevel@tonic-gate
46*0Sstevel@tonic-gate/* V2._sprintw.c */
47*0Sstevel@tonic-gateint _sprintw(WINDOW *win, char *fmt, ...);
48*0Sstevel@tonic-gate
49*0Sstevel@tonic-gate/* V2.makenew.c */
50*0Sstevel@tonic-gateWINDOW *makenew(int num_lines, int num_cols, int begy, int begx);
51*0Sstevel@tonic-gate
52*0Sstevel@tonic-gate/* V3.m_addch.c */
53*0Sstevel@tonic-gateint m_addch(int c);
54*0Sstevel@tonic-gate
55*0Sstevel@tonic-gate/* V3.m_addstr.c */
56*0Sstevel@tonic-gateint m_addstr(char *str);
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gate/* V3.m_clear.c */
59*0Sstevel@tonic-gateint m_clear(void);
60*0Sstevel@tonic-gate
61*0Sstevel@tonic-gate/* V3.m_erase.c */
62*0Sstevel@tonic-gateint m_erase(void);
63*0Sstevel@tonic-gate
64*0Sstevel@tonic-gate/* V3.m_initscr.c */
65*0Sstevel@tonic-gateWINDOW *m_initscr(void);
66*0Sstevel@tonic-gate
67*0Sstevel@tonic-gate/* V3.m_move.c */
68*0Sstevel@tonic-gateint m_move(int x, int y);
69*0Sstevel@tonic-gate
70*0Sstevel@tonic-gate/* V3.m_newterm.c */
71*0Sstevel@tonic-gateSCREEN *m_newterm(char *type, FILE *outfptr, FILE *infptr);
72*0Sstevel@tonic-gate
73*0Sstevel@tonic-gate/* V3.m_refresh.c */
74*0Sstevel@tonic-gateint m_refresh(void);
75*0Sstevel@tonic-gate
76*0Sstevel@tonic-gate/* V3.upd_old_y.c */
77*0Sstevel@tonic-gatevoid _update_old_y_area(WINDOW *win, int nlines, int ncols, int start_line,
78*0Sstevel@tonic-gate				int start_col);
79*0Sstevel@tonic-gate
80*0Sstevel@tonic-gate/* _addch.c */
81*0Sstevel@tonic-gateint addch(chtype ch);
82*0Sstevel@tonic-gate
83*0Sstevel@tonic-gate/* _addchnstr.c */
84*0Sstevel@tonic-gateint addchnstr(chtype *s, int n);
85*0Sstevel@tonic-gate
86*0Sstevel@tonic-gate/* _addchstr.c */
87*0Sstevel@tonic-gateint addchstr(chtype *s);
88*0Sstevel@tonic-gate
89*0Sstevel@tonic-gate/* _addnstr.c */
90*0Sstevel@tonic-gateint addnstr(char *s, int n);
91*0Sstevel@tonic-gate
92*0Sstevel@tonic-gate/* _addnwstr.c */
93*0Sstevel@tonic-gateint addnwstr(wchar_t *s, int n);
94*0Sstevel@tonic-gate
95*0Sstevel@tonic-gate/* _addstr.c */
96*0Sstevel@tonic-gateint addstr(char *s);
97*0Sstevel@tonic-gate
98*0Sstevel@tonic-gate/* _addwch.c */
99*0Sstevel@tonic-gateint addwch(chtype ch);
100*0Sstevel@tonic-gate
101*0Sstevel@tonic-gate/* _addwchnstr.c */
102*0Sstevel@tonic-gateint addwchnstr(chtype *str, int n);
103*0Sstevel@tonic-gate
104*0Sstevel@tonic-gate/* _addwchstr.c */
105*0Sstevel@tonic-gateint addwchstr(chtype *str);
106*0Sstevel@tonic-gate
107*0Sstevel@tonic-gate/* _addwstr.c */
108*0Sstevel@tonic-gateint addwstr(wchar_t *ws);
109*0Sstevel@tonic-gate
110*0Sstevel@tonic-gate/* _attroff.c */
111*0Sstevel@tonic-gateint attroff(chtype at);
112*0Sstevel@tonic-gate
113*0Sstevel@tonic-gate/* _attron.c */
114*0Sstevel@tonic-gateint attron(chtype at);
115*0Sstevel@tonic-gate
116*0Sstevel@tonic-gate/* _attrset.c */
117*0Sstevel@tonic-gateint attrset(chtype at);
118*0Sstevel@tonic-gate
119*0Sstevel@tonic-gate/* _beep.c */
120*0Sstevel@tonic-gateint beep(void);
121*0Sstevel@tonic-gate
122*0Sstevel@tonic-gate/* _bkgd.c */
123*0Sstevel@tonic-gateint bkgd(chtype c);
124*0Sstevel@tonic-gate
125*0Sstevel@tonic-gate/* _bkgdset.c */
126*0Sstevel@tonic-gatevoid bkgdset(chtype c);
127*0Sstevel@tonic-gate
128*0Sstevel@tonic-gate/* _border.c */
129*0Sstevel@tonic-gateint border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr,
130*0Sstevel@tonic-gate				chtype bl, chtype br);
131*0Sstevel@tonic-gate
132*0Sstevel@tonic-gate/* _clear.c */
133*0Sstevel@tonic-gateint clear(void);
134*0Sstevel@tonic-gate
135*0Sstevel@tonic-gate/* _clrtobot.c */
136*0Sstevel@tonic-gateint clrtobot(void);
137*0Sstevel@tonic-gate
138*0Sstevel@tonic-gate/* _clrtoeol.c */
139*0Sstevel@tonic-gateint clrtoeol(void);
140*0Sstevel@tonic-gate
141*0Sstevel@tonic-gate/* _crmode.c */
142*0Sstevel@tonic-gate#undef  crmode
143*0Sstevel@tonic-gateint crmode(void);
144*0Sstevel@tonic-gate
145*0Sstevel@tonic-gate/* _del_curterm.c */
146*0Sstevel@tonic-gateint del_curterm(TERMINAL *terminal);
147*0Sstevel@tonic-gate
148*0Sstevel@tonic-gate/* _delch.c */
149*0Sstevel@tonic-gateint delch(void);
150*0Sstevel@tonic-gate
151*0Sstevel@tonic-gate/* _deleteln.c */
152*0Sstevel@tonic-gateint deleteln(void);
153*0Sstevel@tonic-gate
154*0Sstevel@tonic-gate/* _echo.c */
155*0Sstevel@tonic-gateint echo(void);
156*0Sstevel@tonic-gate
157*0Sstevel@tonic-gate/* _echochar.c */
158*0Sstevel@tonic-gateint echochar(chtype ch);
159*0Sstevel@tonic-gate
160*0Sstevel@tonic-gate/* _echowchar.c */
161*0Sstevel@tonic-gateint echowchar(chtype ch);
162*0Sstevel@tonic-gate
163*0Sstevel@tonic-gate/* _erase.c */
164*0Sstevel@tonic-gateint erase(void);
165*0Sstevel@tonic-gate
166*0Sstevel@tonic-gate/* _fixterm.c */
167*0Sstevel@tonic-gateint fixterm(void);
168*0Sstevel@tonic-gate
169*0Sstevel@tonic-gate/* _flash.c */
170*0Sstevel@tonic-gateint flash(void);
171*0Sstevel@tonic-gate
172*0Sstevel@tonic-gate/* _garbagdlins.c */
173*0Sstevel@tonic-gateint garbagedlines(WINDOW  *win, int start, int finish);
174*0Sstevel@tonic-gate
175*0Sstevel@tonic-gate/* _garbagedwin.c */
176*0Sstevel@tonic-gateint garbagedwin(WINDOW  *win);
177*0Sstevel@tonic-gate
178*0Sstevel@tonic-gate/* _getch.c */
179*0Sstevel@tonic-gateint getch(void);
180*0Sstevel@tonic-gate
181*0Sstevel@tonic-gate/* _getnwstr.c */
182*0Sstevel@tonic-gateint getnwstr(wchar_t *ws, int n);
183*0Sstevel@tonic-gate
184*0Sstevel@tonic-gate/* _getstr.c */
185*0Sstevel@tonic-gateint getstr(char *str);
186*0Sstevel@tonic-gate
187*0Sstevel@tonic-gate/* _getwch.c */
188*0Sstevel@tonic-gateint getwch(void);
189*0Sstevel@tonic-gate
190*0Sstevel@tonic-gate/* _getwstr.c */
191*0Sstevel@tonic-gateint getwstr(wchar_t *ws);
192*0Sstevel@tonic-gate
193*0Sstevel@tonic-gate/* _halfdelay.c */
194*0Sstevel@tonic-gateint halfdelay(int tens);
195*0Sstevel@tonic-gate
196*0Sstevel@tonic-gate/* _hline.c */
197*0Sstevel@tonic-gateint hline(chtype horch, int num_chars);
198*0Sstevel@tonic-gate
199*0Sstevel@tonic-gate/* _inch.c */
200*0Sstevel@tonic-gatechtype inch(void);
201*0Sstevel@tonic-gate
202*0Sstevel@tonic-gate/* _inchnstr.c */
203*0Sstevel@tonic-gateint inchnstr(chtype *s, int n);
204*0Sstevel@tonic-gate
205*0Sstevel@tonic-gate/* _inchstr.c */
206*0Sstevel@tonic-gateint inchstr(chtype *s);
207*0Sstevel@tonic-gate
208*0Sstevel@tonic-gate/* _innstr.c */
209*0Sstevel@tonic-gateint innstr(char *s, int n);
210*0Sstevel@tonic-gate
211*0Sstevel@tonic-gate/* _innwstr.c */
212*0Sstevel@tonic-gateint innwstr(wchar_t *ws, int n);
213*0Sstevel@tonic-gate
214*0Sstevel@tonic-gate/* _insch.c */
215*0Sstevel@tonic-gateint insch(chtype c);
216*0Sstevel@tonic-gate
217*0Sstevel@tonic-gate/* _insdelln.c */
218*0Sstevel@tonic-gateint insdelln(int id);
219*0Sstevel@tonic-gate
220*0Sstevel@tonic-gate/* _insertln.c */
221*0Sstevel@tonic-gateint insertln(void);
222*0Sstevel@tonic-gate
223*0Sstevel@tonic-gate/* _insnstr.c */
224*0Sstevel@tonic-gateint insnstr(char *s, int n);
225*0Sstevel@tonic-gate
226*0Sstevel@tonic-gate/* _insnwstr.c */
227*0Sstevel@tonic-gateint insnwstr(wchar_t *ws, int n);
228*0Sstevel@tonic-gate
229*0Sstevel@tonic-gate/* _insstr.c */
230*0Sstevel@tonic-gateint insstr(char *s);
231*0Sstevel@tonic-gate
232*0Sstevel@tonic-gate/* _instr.c */
233*0Sstevel@tonic-gateint instr(char *s);
234*0Sstevel@tonic-gate
235*0Sstevel@tonic-gate/* _inswch.c */
236*0Sstevel@tonic-gateint inswch(chtype c);
237*0Sstevel@tonic-gate
238*0Sstevel@tonic-gate/* _inswstr.c */
239*0Sstevel@tonic-gateint inswstr(wchar_t *ws);
240*0Sstevel@tonic-gate
241*0Sstevel@tonic-gate/* _intrflush.c */
242*0Sstevel@tonic-gateint intrflush(WINDOW *win, int flag);
243*0Sstevel@tonic-gate
244*0Sstevel@tonic-gate/* _inwch.c */
245*0Sstevel@tonic-gatechtype inwch(void);
246*0Sstevel@tonic-gate
247*0Sstevel@tonic-gate/* _inwchnstr.c */
248*0Sstevel@tonic-gateint inwchnstr(chtype *str, int n);
249*0Sstevel@tonic-gate
250*0Sstevel@tonic-gate/* _inwchstr.c */
251*0Sstevel@tonic-gateint inwchstr(chtype *str);
252*0Sstevel@tonic-gate
253*0Sstevel@tonic-gate/* _inwstr.c */
254*0Sstevel@tonic-gateint inwstr(wchar_t *ws);
255*0Sstevel@tonic-gate
256*0Sstevel@tonic-gate/* _meta.c */
257*0Sstevel@tonic-gateint meta(WINDOW *win, int flag);
258*0Sstevel@tonic-gate
259*0Sstevel@tonic-gate/* _move.c */
260*0Sstevel@tonic-gateint move(int y, int x);
261*0Sstevel@tonic-gate
262*0Sstevel@tonic-gate/* _mvaddch.c */
263*0Sstevel@tonic-gateint mvaddch(int y, int x, chtype ch);
264*0Sstevel@tonic-gate
265*0Sstevel@tonic-gate/* _mvaddchnstr.c */
266*0Sstevel@tonic-gateint mvaddchnstr(int y, int x, chtype *s, int n);
267*0Sstevel@tonic-gate
268*0Sstevel@tonic-gate/* _mvaddchstr.c */
269*0Sstevel@tonic-gateint mvaddchstr(int y, int x, chtype *s);
270*0Sstevel@tonic-gate
271*0Sstevel@tonic-gate/* _mvaddnstr.c */
272*0Sstevel@tonic-gateint mvaddnstr(int y, int x, char *s, int n);
273*0Sstevel@tonic-gate
274*0Sstevel@tonic-gate/* _mvaddnwstr.c */
275*0Sstevel@tonic-gateint mvaddnwstr(int y, int x, wchar_t *ws, int n);
276*0Sstevel@tonic-gate
277*0Sstevel@tonic-gate/* _mvaddstr.c */
278*0Sstevel@tonic-gateint mvaddstr(int y, int x, char *str);
279*0Sstevel@tonic-gate
280*0Sstevel@tonic-gate/* _mvaddwch.c */
281*0Sstevel@tonic-gateint mvaddwch(int y, int x, chtype ch);
282*0Sstevel@tonic-gate
283*0Sstevel@tonic-gate/* _mvaddwchnstr.c */
284*0Sstevel@tonic-gateint mvaddwchnstr(int y, int x, chtype *str, int n);
285*0Sstevel@tonic-gate
286*0Sstevel@tonic-gate/* _mvaddwchstr.c */
287*0Sstevel@tonic-gateint mvaddwchstr(int y, int x, chtype *s);
288*0Sstevel@tonic-gate
289*0Sstevel@tonic-gate/* _mvaddwstr.c */
290*0Sstevel@tonic-gateint mvaddwstr(int y, int x, wchar_t *ws);
291*0Sstevel@tonic-gate
292*0Sstevel@tonic-gate/* _mvdelch.c */
293*0Sstevel@tonic-gateint mvdelch(int y, int x);
294*0Sstevel@tonic-gate
295*0Sstevel@tonic-gate/* _mvgetch.c */
296*0Sstevel@tonic-gateint mvgetch(int y, int x);
297*0Sstevel@tonic-gate
298*0Sstevel@tonic-gate/* _mvgetnwstr.c */
299*0Sstevel@tonic-gateint mvgetnwstr(int y, int x, wchar_t *ws, int n);
300*0Sstevel@tonic-gate
301*0Sstevel@tonic-gate/* _mvgetstr.c */
302*0Sstevel@tonic-gateint mvgetstr(int y, int x, char *str);
303*0Sstevel@tonic-gate
304*0Sstevel@tonic-gate/* _mvgetwch.c */
305*0Sstevel@tonic-gateint mvgetwch(int y, int x);
306*0Sstevel@tonic-gate
307*0Sstevel@tonic-gate/* _mvgetwstr.c */
308*0Sstevel@tonic-gateint mvgetwstr(int y, int x, wchar_t *ws);
309*0Sstevel@tonic-gate
310*0Sstevel@tonic-gate/* _mvhline.c */
311*0Sstevel@tonic-gateint mvhline(int y, int x, chtype ch, int n);
312*0Sstevel@tonic-gate
313*0Sstevel@tonic-gate/* _mvinch.c */
314*0Sstevel@tonic-gatechtype mvinch(int y, int x);
315*0Sstevel@tonic-gate
316*0Sstevel@tonic-gate/* _mvinchnstr.c */
317*0Sstevel@tonic-gateint mvinchnstr(int y, int x, chtype *str, int n);
318*0Sstevel@tonic-gate
319*0Sstevel@tonic-gate/* _mvinchstr.c */
320*0Sstevel@tonic-gateint mvinchstr(int y, int x, chtype *str);
321*0Sstevel@tonic-gate
322*0Sstevel@tonic-gate/* _mvinnstr.c */
323*0Sstevel@tonic-gateint mvinnstr(int y, int x, char *s, int n);
324*0Sstevel@tonic-gate
325*0Sstevel@tonic-gate/* _mvinnwstr.c */
326*0Sstevel@tonic-gateint mvinnwstr(int y, int x, wchar_t *ws, int n);
327*0Sstevel@tonic-gate
328*0Sstevel@tonic-gate/* _mvinsch.c */
329*0Sstevel@tonic-gateint mvinsch(int y, int x, chtype ch);
330*0Sstevel@tonic-gate
331*0Sstevel@tonic-gate/* _mvinsnstr.c */
332*0Sstevel@tonic-gateint mvinsnstr(int y, int x, char *s, int n);
333*0Sstevel@tonic-gate
334*0Sstevel@tonic-gate/* _mvinsnwstr.c */
335*0Sstevel@tonic-gateint mvinsnwstr(int y, int x, wchar_t *ws, int n);
336*0Sstevel@tonic-gate
337*0Sstevel@tonic-gate/* _mvinsstr.c */
338*0Sstevel@tonic-gateint mvinsstr(int y, int x, char *s);
339*0Sstevel@tonic-gate
340*0Sstevel@tonic-gate/* _mvinstr.c */
341*0Sstevel@tonic-gateint mvinstr(int y, int x, char *s);
342*0Sstevel@tonic-gate
343*0Sstevel@tonic-gate/* _mvinswch.c */
344*0Sstevel@tonic-gateint mvinswch(int y, int x, chtype ch);
345*0Sstevel@tonic-gate
346*0Sstevel@tonic-gate/* _mvinswstr.c */
347*0Sstevel@tonic-gateint mvinswstr(int y, int x, wchar_t *ws);
348*0Sstevel@tonic-gate
349*0Sstevel@tonic-gate/* _mvinwch.c */
350*0Sstevel@tonic-gatechtype mvinwch(int y, int x);
351*0Sstevel@tonic-gate
352*0Sstevel@tonic-gate/* _mvinwchnstr.c */
353*0Sstevel@tonic-gateint mvinwchnstr(int y, int x, chtype *str, int n);
354*0Sstevel@tonic-gate
355*0Sstevel@tonic-gate/* _mvinwchstr.c */
356*0Sstevel@tonic-gateint mvinwchstr(int y, int x, chtype *str);
357*0Sstevel@tonic-gate
358*0Sstevel@tonic-gate/* _mvinwstr.c */
359*0Sstevel@tonic-gateint mvinwstr(int y, int x, wchar_t *ws);
360*0Sstevel@tonic-gate
361*0Sstevel@tonic-gate/* _mvvline.c */
362*0Sstevel@tonic-gateint mvvline(int y, int x, chtype c, int n);
363*0Sstevel@tonic-gate
364*0Sstevel@tonic-gate/* _mvwaddch.c */
365*0Sstevel@tonic-gateint mvwaddch(WINDOW *win, int y, int x, chtype ch);
366*0Sstevel@tonic-gate
367*0Sstevel@tonic-gate/* _mvwaddchnst.c */
368*0Sstevel@tonic-gateint mvwaddchnstr(WINDOW *win, int y, int x, chtype *ch, int n);
369*0Sstevel@tonic-gate
370*0Sstevel@tonic-gate/* _mvwaddchstr.c */
371*0Sstevel@tonic-gateint mvwaddchstr(WINDOW *win, int y, int x, chtype *ch);
372*0Sstevel@tonic-gate
373*0Sstevel@tonic-gate/* _mvwaddnstr.c */
374*0Sstevel@tonic-gateint mvwaddnstr(WINDOW *win, int y, int x, char *c, int n);
375*0Sstevel@tonic-gate
376*0Sstevel@tonic-gate/* _mvwaddnwstr.c */
377*0Sstevel@tonic-gateint mvwaddnwstr(WINDOW *win, int y, int x, wchar_t *wc, int n);
378*0Sstevel@tonic-gate
379*0Sstevel@tonic-gate/* _mvwaddstr.c */
380*0Sstevel@tonic-gateint mvwaddstr(WINDOW *win, int y, int x, char *str);
381*0Sstevel@tonic-gate
382*0Sstevel@tonic-gate/* _mvwaddwch.c */
383*0Sstevel@tonic-gateint mvwaddwch(WINDOW *win, int y, int x, chtype ch);
384*0Sstevel@tonic-gate
385*0Sstevel@tonic-gate/* _mvwaddwchnstr.c */
386*0Sstevel@tonic-gateint mvwaddwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
387*0Sstevel@tonic-gate
388*0Sstevel@tonic-gate/* _mvwaddwchstr.c */
389*0Sstevel@tonic-gateint mvwaddwchstr(WINDOW *win, int y, int x, chtype *str);
390*0Sstevel@tonic-gate
391*0Sstevel@tonic-gate/* _mvwaddwstr.c */
392*0Sstevel@tonic-gateint mvwaddwstr(WINDOW *win, int y, int x, wchar_t *wc);
393*0Sstevel@tonic-gate
394*0Sstevel@tonic-gate/* _mvwdelch.c */
395*0Sstevel@tonic-gateint mvwdelch(WINDOW *win, int y, int x);
396*0Sstevel@tonic-gate
397*0Sstevel@tonic-gate/* _mvwgetch.c */
398*0Sstevel@tonic-gateint mvwgetch(WINDOW *win, int y, int x);
399*0Sstevel@tonic-gate
400*0Sstevel@tonic-gate/* _mvwgetnwstr.c */
401*0Sstevel@tonic-gateint mvwgetnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
402*0Sstevel@tonic-gate
403*0Sstevel@tonic-gate/* _mvwgetstr.c */
404*0Sstevel@tonic-gateint mvwgetstr(WINDOW *win, int y, int x, char *str);
405*0Sstevel@tonic-gate
406*0Sstevel@tonic-gate/* _mvwgetwch.c */
407*0Sstevel@tonic-gateint mvwgetwch(WINDOW *win, int y, int x);
408*0Sstevel@tonic-gate
409*0Sstevel@tonic-gate/* _mvwgetwstr.c */
410*0Sstevel@tonic-gateint mvwgetwstr(WINDOW *win, int y, int x, wchar_t *ws);
411*0Sstevel@tonic-gate
412*0Sstevel@tonic-gate/* _mvwhline.c */
413*0Sstevel@tonic-gateint mvwhline(WINDOW *win, int y, int x, chtype c, int n);
414*0Sstevel@tonic-gate
415*0Sstevel@tonic-gate/* _mvwinch.c */
416*0Sstevel@tonic-gatechtype mvwinch(WINDOW *win, int y, int x);
417*0Sstevel@tonic-gate
418*0Sstevel@tonic-gate/* _mvwinchnst.c */
419*0Sstevel@tonic-gateint mvwinchnstr(WINDOW *win, int y, int x, chtype *s, int n);
420*0Sstevel@tonic-gate
421*0Sstevel@tonic-gate/* _mvwinchstr.c */
422*0Sstevel@tonic-gateint mvwinchstr(WINDOW *win, int y, int x, chtype *str);
423*0Sstevel@tonic-gate
424*0Sstevel@tonic-gate/* _mvwinnstr.c */
425*0Sstevel@tonic-gateint mvwinnstr(WINDOW *win, int y, int x, char *str, int n);
426*0Sstevel@tonic-gate
427*0Sstevel@tonic-gate/* _mvwinnwstr.c */
428*0Sstevel@tonic-gateint mvwinnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
429*0Sstevel@tonic-gate
430*0Sstevel@tonic-gate/* _mvwinsch.c */
431*0Sstevel@tonic-gateint mvwinsch(WINDOW *win, int y, int x, chtype c);
432*0Sstevel@tonic-gate
433*0Sstevel@tonic-gate/* _mvwinsnstr.c */
434*0Sstevel@tonic-gateint mvwinsnstr(WINDOW *win, int y, int x, char *str, int n);
435*0Sstevel@tonic-gate
436*0Sstevel@tonic-gate/* _mvwinsnwstr.c */
437*0Sstevel@tonic-gateint mvwinsnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
438*0Sstevel@tonic-gate
439*0Sstevel@tonic-gate/* _mvwinsstr.c */
440*0Sstevel@tonic-gateint mvwinsstr(WINDOW *win, int y, int x, char *str);
441*0Sstevel@tonic-gate
442*0Sstevel@tonic-gate/* _mvwinstr.c */
443*0Sstevel@tonic-gateint mvwinstr(WINDOW *win, int y, int x, char *str);
444*0Sstevel@tonic-gate
445*0Sstevel@tonic-gate/* _mvwinswch.c */
446*0Sstevel@tonic-gateint mvwinswch(WINDOW *win, int y, int x, chtype c);
447*0Sstevel@tonic-gate
448*0Sstevel@tonic-gate/* _mvwinswstr.c */
449*0Sstevel@tonic-gateint mvwinswstr(WINDOW *win, int y, int x, wchar_t *ws);
450*0Sstevel@tonic-gate
451*0Sstevel@tonic-gate/* _mvwinwch.c */
452*0Sstevel@tonic-gatechtype mvwinwch(WINDOW *win, int y, int x);
453*0Sstevel@tonic-gate
454*0Sstevel@tonic-gate/* _mvwinwchnstr.c */
455*0Sstevel@tonic-gateint mvwinwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
456*0Sstevel@tonic-gate
457*0Sstevel@tonic-gate/* _mvwinwchstr.c */
458*0Sstevel@tonic-gateint mvwinwchstr(WINDOW *win, int y, int x, chtype *str);
459*0Sstevel@tonic-gate
460*0Sstevel@tonic-gate/* _mvwinwstr.c */
461*0Sstevel@tonic-gateint mvwinwstr(WINDOW *win, int y, int x, wchar_t *ws);
462*0Sstevel@tonic-gate
463*0Sstevel@tonic-gate/* _mvwvline.c */
464*0Sstevel@tonic-gateint mvwvline(WINDOW *win, int y, int x, chtype c, int n);
465*0Sstevel@tonic-gate
466*0Sstevel@tonic-gate/* _nl.c */
467*0Sstevel@tonic-gateint nl(void);
468*0Sstevel@tonic-gate
469*0Sstevel@tonic-gate/* _nocrmode.c */
470*0Sstevel@tonic-gate#undef  nocrmode
471*0Sstevel@tonic-gateint nocrmode(void);
472*0Sstevel@tonic-gate
473*0Sstevel@tonic-gate/* _noecho.c */
474*0Sstevel@tonic-gateint noecho(void);
475*0Sstevel@tonic-gate
476*0Sstevel@tonic-gate/* _nonl.c */
477*0Sstevel@tonic-gateint nonl(void);
478*0Sstevel@tonic-gate
479*0Sstevel@tonic-gate/* _noqiflush.c */
480*0Sstevel@tonic-gatevoid noqiflush(void);
481*0Sstevel@tonic-gate
482*0Sstevel@tonic-gate/* _overlay.c */
483*0Sstevel@tonic-gateint overlay(WINDOW *src, WINDOW *dst);
484*0Sstevel@tonic-gate
485*0Sstevel@tonic-gate/* _overwrite.c */
486*0Sstevel@tonic-gateint overwrite(WINDOW *src, WINDOW *dst);
487*0Sstevel@tonic-gate
488*0Sstevel@tonic-gate/* _qiflush.c */
489*0Sstevel@tonic-gatevoid qiflush(void);
490*0Sstevel@tonic-gate
491*0Sstevel@tonic-gate/* _refresh.c */
492*0Sstevel@tonic-gateint refresh(void);
493*0Sstevel@tonic-gate
494*0Sstevel@tonic-gate/* _resetterm.c */
495*0Sstevel@tonic-gateint resetterm(void);
496*0Sstevel@tonic-gate
497*0Sstevel@tonic-gate/* _saveterm.c */
498*0Sstevel@tonic-gateint saveterm(void);
499*0Sstevel@tonic-gate
500*0Sstevel@tonic-gate/* _scr_init.c */
501*0Sstevel@tonic-gateint scr_init(char *file);
502*0Sstevel@tonic-gate
503*0Sstevel@tonic-gate/* _scr_restore.c */
504*0Sstevel@tonic-gateint scr_restore(char *file);
505*0Sstevel@tonic-gate
506*0Sstevel@tonic-gate/* _scr_set.c */
507*0Sstevel@tonic-gateint scr_set(char *file);
508*0Sstevel@tonic-gate
509*0Sstevel@tonic-gate/* _scrl.c */
510*0Sstevel@tonic-gateint scrl(int n);
511*0Sstevel@tonic-gate
512*0Sstevel@tonic-gate/* _scroll.c */
513*0Sstevel@tonic-gateint scroll(WINDOW *win);
514*0Sstevel@tonic-gate
515*0Sstevel@tonic-gate/* _set_curterm.c */
516*0Sstevel@tonic-gateTERMINAL *set_curterm(TERMINAL *newterminal);
517*0Sstevel@tonic-gate
518*0Sstevel@tonic-gate/* _set_term.c */
519*0Sstevel@tonic-gateSCREEN *set_term(SCREEN *screen);
520*0Sstevel@tonic-gate
521*0Sstevel@tonic-gate/* _setscrreg.c */
522*0Sstevel@tonic-gateint setscrreg(int t, int b);
523*0Sstevel@tonic-gate
524*0Sstevel@tonic-gate/* _slk_init.c */
525*0Sstevel@tonic-gateint slk_init(int f);
526*0Sstevel@tonic-gate
527*0Sstevel@tonic-gate/* _standend.c */
528*0Sstevel@tonic-gateint standend(void);
529*0Sstevel@tonic-gate
530*0Sstevel@tonic-gate/* _standout.c */
531*0Sstevel@tonic-gateint standout(void);
532*0Sstevel@tonic-gate
533*0Sstevel@tonic-gate/* _subpad.c */
534*0Sstevel@tonic-gateWINDOW *subpad(WINDOW *win, int l, int nc, int by, int bx);
535*0Sstevel@tonic-gate
536*0Sstevel@tonic-gate/* _timeout.c */
537*0Sstevel@tonic-gatevoid timeout(int tm);
538*0Sstevel@tonic-gate
539*0Sstevel@tonic-gate/* _touchline.c */
540*0Sstevel@tonic-gateint touchline(WINDOW *win, int y, int n);
541*0Sstevel@tonic-gate
542*0Sstevel@tonic-gate/* _unctrl.c */
543*0Sstevel@tonic-gatechar *unctrl(int ch);
544*0Sstevel@tonic-gate
545*0Sstevel@tonic-gate/* _vline.c */
546*0Sstevel@tonic-gateint vline(chtype vertch, int num_chars);
547*0Sstevel@tonic-gate
548*0Sstevel@tonic-gate/* _waddchstr.c */
549*0Sstevel@tonic-gateint waddchstr(WINDOW *win, chtype *str);
550*0Sstevel@tonic-gate
551*0Sstevel@tonic-gate/* _waddstr.c */
552*0Sstevel@tonic-gateint waddstr(WINDOW *win, char *str);
553*0Sstevel@tonic-gate
554*0Sstevel@tonic-gate/* _waddwchstr.c */
555*0Sstevel@tonic-gateint waddwchstr(WINDOW *win, chtype *str);
556*0Sstevel@tonic-gate
557*0Sstevel@tonic-gate/* _waddwstr.c */
558*0Sstevel@tonic-gateint waddwstr(WINDOW *win, wchar_t *ws);
559*0Sstevel@tonic-gate
560*0Sstevel@tonic-gate/* _wclear.c */
561*0Sstevel@tonic-gateint wclear(WINDOW *win);
562*0Sstevel@tonic-gate
563*0Sstevel@tonic-gate/* _wdeleteln.c */
564*0Sstevel@tonic-gateint wdeleteln(WINDOW *win);
565*0Sstevel@tonic-gate
566*0Sstevel@tonic-gate/* _werase.c */
567*0Sstevel@tonic-gateint werase(WINDOW *win);
568*0Sstevel@tonic-gate
569*0Sstevel@tonic-gate/* _winsertln.c */
570*0Sstevel@tonic-gateint winsertln(WINDOW *win);
571*0Sstevel@tonic-gate
572*0Sstevel@tonic-gate/* _winsstr.c */
573*0Sstevel@tonic-gateint winsstr(WINDOW *win, char *str);
574*0Sstevel@tonic-gate
575*0Sstevel@tonic-gate/* _winswstr.c */
576*0Sstevel@tonic-gateint winswstr(WINDOW *win, wchar_t *ws);
577*0Sstevel@tonic-gate
578*0Sstevel@tonic-gate/* _winwchstr.c */
579*0Sstevel@tonic-gateint winwchstr(WINDOW *win, chtype *str);
580*0Sstevel@tonic-gate
581*0Sstevel@tonic-gate/* _wstandend.c */
582*0Sstevel@tonic-gateint wstandend(WINDOW *win);
583*0Sstevel@tonic-gate
584*0Sstevel@tonic-gate/* _wstandout.c */
585*0Sstevel@tonic-gateint wstandout(WINDOW *win);
586*0Sstevel@tonic-gate
587*0Sstevel@tonic-gate/* baudrate.c */
588*0Sstevel@tonic-gateint baudrate(void);
589*0Sstevel@tonic-gate
590*0Sstevel@tonic-gate/* can_change.c */
591*0Sstevel@tonic-gatebool can_change_color(void);
592*0Sstevel@tonic-gate
593*0Sstevel@tonic-gate/* cbreak.c */
594*0Sstevel@tonic-gateint cbreak(void);
595*0Sstevel@tonic-gate
596*0Sstevel@tonic-gate/* chkinput.c */
597*0Sstevel@tonic-gateint _chkinput(void);
598*0Sstevel@tonic-gate
599*0Sstevel@tonic-gate/* clearok.c */
600*0Sstevel@tonic-gateint clearok(WINDOW *win, bool bf);
601*0Sstevel@tonic-gate
602*0Sstevel@tonic-gate/* color_cont.c */
603*0Sstevel@tonic-gateint color_content(short color, short *r, short *g, short *b);
604*0Sstevel@tonic-gate
605*0Sstevel@tonic-gate/* copywin.c */
606*0Sstevel@tonic-gateint copywin(WINDOW *Srcwin, WINDOW *Dstwin, int minRowSrc, int minColSrc,
607*0Sstevel@tonic-gate			int minRowDst, int minColDst, int maxRowDst,
608*0Sstevel@tonic-gate			int maxColDst, int over_lay);
609*0Sstevel@tonic-gate
610*0Sstevel@tonic-gate/* curs_set.c */
611*0Sstevel@tonic-gateint curs_set(int visibility);
612*0Sstevel@tonic-gate
613*0Sstevel@tonic-gate/* curserr.c */
614*0Sstevel@tonic-gatevoid curserr(void);
615*0Sstevel@tonic-gate
616*0Sstevel@tonic-gate/* curses.c */
617*0Sstevel@tonic-gate
618*0Sstevel@tonic-gate/* def_prog.c */
619*0Sstevel@tonic-gateint def_prog_mode(void);
620*0Sstevel@tonic-gate
621*0Sstevel@tonic-gate/* delay.c */
622*0Sstevel@tonic-gateint _delay(int delay, int (*outc)(char));
623*0Sstevel@tonic-gate
624*0Sstevel@tonic-gate/* delay_out.c */
625*0Sstevel@tonic-gateint delay_output(int ms);
626*0Sstevel@tonic-gate
627*0Sstevel@tonic-gate/* delkey.c */
628*0Sstevel@tonic-gateint delkey(char *sends, int keyval);
629*0Sstevel@tonic-gate
630*0Sstevel@tonic-gate/* delkeymap.c */
631*0Sstevel@tonic-gatevoid delkeymap(TERMINAL *terminal);
632*0Sstevel@tonic-gate
633*0Sstevel@tonic-gate/* delscreen.c */
634*0Sstevel@tonic-gatevoid delscreen(SCREEN *screen);
635*0Sstevel@tonic-gate
636*0Sstevel@tonic-gate/* delterm.c */
637*0Sstevel@tonic-gateint delterm(TERMINAL *terminal);
638*0Sstevel@tonic-gate
639*0Sstevel@tonic-gate/* delwin.c */
640*0Sstevel@tonic-gateint delwin(WINDOW *win);
641*0Sstevel@tonic-gate
642*0Sstevel@tonic-gate/* derwin.c */
643*0Sstevel@tonic-gateWINDOW *derwin(WINDOW *win, int num_lines, int nc, int by, int bx);
644*0Sstevel@tonic-gate
645*0Sstevel@tonic-gate/* doupdate.c */
646*0Sstevel@tonic-gateint doupdate(void);
647*0Sstevel@tonic-gate
648*0Sstevel@tonic-gate/* draino.c */
649*0Sstevel@tonic-gateint draino(int ms);
650*0Sstevel@tonic-gate
651*0Sstevel@tonic-gate/* dupwin.c */
652*0Sstevel@tonic-gateWINDOW *dupwin(WINDOW *win);
653*0Sstevel@tonic-gate
654*0Sstevel@tonic-gate/* endwin.c */
655*0Sstevel@tonic-gateint isendwin(void);
656*0Sstevel@tonic-gateint endwin(void);
657*0Sstevel@tonic-gateint force_doupdate(void);
658*0Sstevel@tonic-gate
659*0Sstevel@tonic-gate/* erasechar.c */
660*0Sstevel@tonic-gatechar erasechar(void);
661*0Sstevel@tonic-gate
662*0Sstevel@tonic-gate/* flushinp.c */
663*0Sstevel@tonic-gateint flushinp(void);
664*0Sstevel@tonic-gate
665*0Sstevel@tonic-gate/* getattrs.c */
666*0Sstevel@tonic-gatechtype getattrs(WINDOW *win);
667*0Sstevel@tonic-gate
668*0Sstevel@tonic-gate/* getbegyx.c */
669*0Sstevel@tonic-gateint getbegy(WINDOW *win);
670*0Sstevel@tonic-gateint getbegx(WINDOW *win);
671*0Sstevel@tonic-gate
672*0Sstevel@tonic-gate/* getbkgd.c */
673*0Sstevel@tonic-gatechtype getbkgd(WINDOW *win);
674*0Sstevel@tonic-gate
675*0Sstevel@tonic-gate/* getmaxyx.c */
676*0Sstevel@tonic-gateint getmaxy(WINDOW *win);
677*0Sstevel@tonic-gateint getmaxx(WINDOW *win);
678*0Sstevel@tonic-gate
679*0Sstevel@tonic-gate/* getparyx.c */
680*0Sstevel@tonic-gateint getpary(WINDOW *win);
681*0Sstevel@tonic-gateint getparx(WINDOW *win);
682*0Sstevel@tonic-gate
683*0Sstevel@tonic-gate/* getsyx.c */
684*0Sstevel@tonic-gateint _getsyx(int *yp, int *xp);
685*0Sstevel@tonic-gate
686*0Sstevel@tonic-gate/* gettmode.c */
687*0Sstevel@tonic-gateint gettmode(void);
688*0Sstevel@tonic-gate
689*0Sstevel@tonic-gate/* getwin.c */
690*0Sstevel@tonic-gateWINDOW *getwin(FILE *filep);
691*0Sstevel@tonic-gate
692*0Sstevel@tonic-gate/* getyx.c */
693*0Sstevel@tonic-gateint getcury(WINDOW *win);
694*0Sstevel@tonic-gateint getcurx(WINDOW *win);
695*0Sstevel@tonic-gate
696*0Sstevel@tonic-gate/* has_colors.c */
697*0Sstevel@tonic-gatebool has_colors(void);
698*0Sstevel@tonic-gate
699*0Sstevel@tonic-gate/* has_ic.c */
700*0Sstevel@tonic-gateint has_ic(void);
701*0Sstevel@tonic-gate
702*0Sstevel@tonic-gate/* has_il.c */
703*0Sstevel@tonic-gateint has_il(void);
704*0Sstevel@tonic-gate
705*0Sstevel@tonic-gate/* idcok.c */
706*0Sstevel@tonic-gatevoid idcok(WINDOW *win, bool bf);
707*0Sstevel@tonic-gate
708*0Sstevel@tonic-gate/* idlok.c */
709*0Sstevel@tonic-gateint idlok(WINDOW *win, bool bf);
710*0Sstevel@tonic-gate
711*0Sstevel@tonic-gate/* immedok.c */
712*0Sstevel@tonic-gatevoid immedok(WINDOW *win, bool bf);
713*0Sstevel@tonic-gate
714*0Sstevel@tonic-gate/* init_acs.c */
715*0Sstevel@tonic-gateint init_acs(void);
716*0Sstevel@tonic-gate
717*0Sstevel@tonic-gate/* init_color.c */
718*0Sstevel@tonic-gateint init_color(short color, short r, short g, short b);
719*0Sstevel@tonic-gate
720*0Sstevel@tonic-gate/* init_costs.c */
721*0Sstevel@tonic-gatevoid _init_costs(void);
722*0Sstevel@tonic-gateint _countchar(void);
723*0Sstevel@tonic-gate
724*0Sstevel@tonic-gate/* init_pair.c */
725*0Sstevel@tonic-gateint init_pair(short pair, short f, short b);
726*0Sstevel@tonic-gatevoid _init_HP_pair(short pair, short f, short b);
727*0Sstevel@tonic-gate
728*0Sstevel@tonic-gate/* is_wintou.c */
729*0Sstevel@tonic-gateint is_wintouched(WINDOW *win);
730*0Sstevel@tonic-gate
731*0Sstevel@tonic-gate/* is_linetou.c */
732*0Sstevel@tonic-gateint is_linetouched(WINDOW *win, int line);
733*0Sstevel@tonic-gate
734*0Sstevel@tonic-gate/* keyname.c */
735*0Sstevel@tonic-gatechar *keyname(int key);
736*0Sstevel@tonic-gate
737*0Sstevel@tonic-gate/* keypad.c */
738*0Sstevel@tonic-gateint keypad(WINDOW *win, bool bf);
739*0Sstevel@tonic-gate
740*0Sstevel@tonic-gate/* killchar.c */
741*0Sstevel@tonic-gatechar killchar(void);
742*0Sstevel@tonic-gate
743*0Sstevel@tonic-gate/* leaveok.c */
744*0Sstevel@tonic-gateint leaveok(WINDOW *win, bool bf);
745*0Sstevel@tonic-gate
746*0Sstevel@tonic-gate/* longname.c */
747*0Sstevel@tonic-gatechar *longname(void);
748*0Sstevel@tonic-gate
749*0Sstevel@tonic-gate/* makenew.c */
750*0Sstevel@tonic-gateWINDOW *_makenew(int nlines, int ncols, int begy, int begx);
751*0Sstevel@tonic-gate
752*0Sstevel@tonic-gate/* mbaddch.c */
753*0Sstevel@tonic-gateint _mbclrch(WINDOW *win, int y, int x);
754*0Sstevel@tonic-gateint _mbvalid(WINDOW *win);
755*0Sstevel@tonic-gateint _mbaddch(WINDOW *win, chtype a, chtype b);
756*0Sstevel@tonic-gate
757*0Sstevel@tonic-gate/* mbcharlen.c */
758*0Sstevel@tonic-gateint mbcharlen(char *sp);
759*0Sstevel@tonic-gate
760*0Sstevel@tonic-gate/* mbdisplen.c */
761*0Sstevel@tonic-gateint mbdisplen(char *sp);
762*0Sstevel@tonic-gate
763*0Sstevel@tonic-gate/* mbgetwidth.c */
764*0Sstevel@tonic-gatevoid mbgetwidth(void);
765*0Sstevel@tonic-gateint mbeucw(int c);
766*0Sstevel@tonic-gateint mbscrw(int c);
767*0Sstevel@tonic-gateint wcscrw(wchar_t wc);
768*0Sstevel@tonic-gate
769*0Sstevel@tonic-gate/* mbinch.c */
770*0Sstevel@tonic-gatechar *wmbinch(WINDOW *win, int y, int x);
771*0Sstevel@tonic-gate
772*0Sstevel@tonic-gate/* mbinsshift.c */
773*0Sstevel@tonic-gateint _mbinsshift(WINDOW *win, int len);
774*0Sstevel@tonic-gate
775*0Sstevel@tonic-gate/* mbmove.c */
776*0Sstevel@tonic-gateint wmbmove(WINDOW *win, int y, int x);
777*0Sstevel@tonic-gate
778*0Sstevel@tonic-gate/* mbstowcs.c */
779*0Sstevel@tonic-gatesize_t _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n);
780*0Sstevel@tonic-gate
781*0Sstevel@tonic-gate/* mbtowc.c */
782*0Sstevel@tonic-gateint _curs_mbtowc(wchar_t *wchar, const char *s, size_t n);
783*0Sstevel@tonic-gate
784*0Sstevel@tonic-gate/* mbtranslate.c */
785*0Sstevel@tonic-gatechar *_strcode2byte(wchar_t *code, char *b, int n);
786*0Sstevel@tonic-gatewchar_t *_strbyte2code(char *code, wchar_t *byte, int n);
787*0Sstevel@tonic-gate
788*0Sstevel@tonic-gate/* memSset.c */
789*0Sstevel@tonic-gatevoid memSset(chtype *s, chtype c, int n);
790*0Sstevel@tonic-gate
791*0Sstevel@tonic-gate/* meta.c */
792*0Sstevel@tonic-gateint _meta(int bf);
793*0Sstevel@tonic-gate
794*0Sstevel@tonic-gate/* mouse.c */
795*0Sstevel@tonic-gateint mouse_set(long mbe);
796*0Sstevel@tonic-gateint mouse_on(long mbe);
797*0Sstevel@tonic-gateint mouse_off(long mbe);
798*0Sstevel@tonic-gateint request_mouse_pos(void);
799*0Sstevel@tonic-gatevoid wmouse_position(WINDOW *win, int *x, int *y);
800*0Sstevel@tonic-gateint map_button(unsigned long a);
801*0Sstevel@tonic-gateunsigned long getmouse(void);
802*0Sstevel@tonic-gateunsigned long getbmap(void);
803*0Sstevel@tonic-gate
804*0Sstevel@tonic-gate/* mvcur.c */
805*0Sstevel@tonic-gateint mvcur(int cury, int curx, int newy, int newx);
806*0Sstevel@tonic-gate
807*0Sstevel@tonic-gate/* mvderwin.c */
808*0Sstevel@tonic-gateint mvderwin(WINDOW *win, int pary, int parx);
809*0Sstevel@tonic-gate
810*0Sstevel@tonic-gate/* mvprintw.c */
811*0Sstevel@tonic-gateint mvprintw(int y, int x, ...);
812*0Sstevel@tonic-gate
813*0Sstevel@tonic-gate/* mvscanw.c */
814*0Sstevel@tonic-gateint mvscanw(int y, int x, ...);
815*0Sstevel@tonic-gate
816*0Sstevel@tonic-gate/* mvwin.c */
817*0Sstevel@tonic-gateint mvwin(WINDOW *win, int by, int bx);
818*0Sstevel@tonic-gate
819*0Sstevel@tonic-gate/* mvwprintw.c */
820*0Sstevel@tonic-gateint mvwprintw(WINDOW *win, int y, int x, ...);
821*0Sstevel@tonic-gate
822*0Sstevel@tonic-gate/* mvwscanw.c */
823*0Sstevel@tonic-gateint mvwscanw(WINDOW *win, int y, int x, ...);
824*0Sstevel@tonic-gate
825*0Sstevel@tonic-gate/* napms.c */
826*0Sstevel@tonic-gateint napms(int ms);
827*0Sstevel@tonic-gate
828*0Sstevel@tonic-gate/* newkey.c */
829*0Sstevel@tonic-gateint newkey(char *rcvchars, short keyval, bool macro);
830*0Sstevel@tonic-gate
831*0Sstevel@tonic-gate/* newpad.c */
832*0Sstevel@tonic-gateWINDOW *newpad(int l, int nc);
833*0Sstevel@tonic-gate
834*0Sstevel@tonic-gate/* newscreen.c */
835*0Sstevel@tonic-gateint filter(void);
836*0Sstevel@tonic-gateSCREEN *newscreen(char *type, int lsize, int csize, int tabsize, FILE *outfptr,
837*0Sstevel@tonic-gate			FILE *infptr);
838*0Sstevel@tonic-gate
839*0Sstevel@tonic-gate/* newwin.c */
840*0Sstevel@tonic-gateWINDOW *newwin(int nlines, int ncols, int by, int bx);
841*0Sstevel@tonic-gateint _image(WINDOW *win);
842*0Sstevel@tonic-gate
843*0Sstevel@tonic-gate/* nocbreak.c */
844*0Sstevel@tonic-gateint nocbreak(void);
845*0Sstevel@tonic-gate
846*0Sstevel@tonic-gate/* nodelay.c */
847*0Sstevel@tonic-gateint nodelay(WINDOW *win, bool bf);
848*0Sstevel@tonic-gate
849*0Sstevel@tonic-gate/* noraw.c */
850*0Sstevel@tonic-gateint noraw(void);
851*0Sstevel@tonic-gate
852*0Sstevel@tonic-gate/* notimeout.c */
853*0Sstevel@tonic-gateint notimeout(WINDOW *win, bool bf);
854*0Sstevel@tonic-gate
855*0Sstevel@tonic-gate/* outch.c */
856*0Sstevel@tonic-gateint _outch(char c);
857*0Sstevel@tonic-gateint _outwch(chtype c);
858*0Sstevel@tonic-gate
859*0Sstevel@tonic-gate/* overlap.c */
860*0Sstevel@tonic-gateint _overlap(WINDOW *Srcwin, WINDOW *Dstwin, int Overlay);
861*0Sstevel@tonic-gate
862*0Sstevel@tonic-gate/* pair_cont.c */
863*0Sstevel@tonic-gateint pair_content(short pair, short *f, short *b);
864*0Sstevel@tonic-gate
865*0Sstevel@tonic-gate/* pechowchar.c */
866*0Sstevel@tonic-gateint pechowchar(WINDOW *pad, chtype ch);
867*0Sstevel@tonic-gate
868*0Sstevel@tonic-gate/* pnoutref.c */
869*0Sstevel@tonic-gateint pnoutrefresh(WINDOW *pad, int pby, int pbx, int sby, int sbx,
870*0Sstevel@tonic-gate				int sey, int sex);
871*0Sstevel@tonic-gate
872*0Sstevel@tonic-gate/* prefresh.c */
873*0Sstevel@tonic-gateint prefresh(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
874*0Sstevel@tonic-gate				int smaxy, int smaxx);
875*0Sstevel@tonic-gateint _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, int pminx,
876*0Sstevel@tonic-gate			int sminy, int sminx, int smaxy, int smaxx);
877*0Sstevel@tonic-gateint _padjust(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
878*0Sstevel@tonic-gate				int smaxy, int smaxx);
879*0Sstevel@tonic-gate
880*0Sstevel@tonic-gate/* printw.c */
881*0Sstevel@tonic-gateint printw(char *fmt, ...);
882*0Sstevel@tonic-gate
883*0Sstevel@tonic-gate/* putwin.c */
884*0Sstevel@tonic-gateint putwin(WINDOW *win, FILE *filep);
885*0Sstevel@tonic-gate
886*0Sstevel@tonic-gate/* quick_echo.c */
887*0Sstevel@tonic-gateint _quick_echo(WINDOW *win, chtype ch);
888*0Sstevel@tonic-gate
889*0Sstevel@tonic-gate/* raw.c */
890*0Sstevel@tonic-gateint raw(void);
891*0Sstevel@tonic-gate
892*0Sstevel@tonic-gate/* redrawwin.c */
893*0Sstevel@tonic-gateint redrawwin(WINDOW *win);
894*0Sstevel@tonic-gate
895*0Sstevel@tonic-gate/* reset_sh.c */
896*0Sstevel@tonic-gateint reset_shell_mode(void);
897*0Sstevel@tonic-gate
898*0Sstevel@tonic-gate/* resetty.c */
899*0Sstevel@tonic-gateint resetty(void);
900*0Sstevel@tonic-gate
901*0Sstevel@tonic-gate/* restart.c */
902*0Sstevel@tonic-gateint restartterm(char * term, int filenum, int *errret);
903*0Sstevel@tonic-gate
904*0Sstevel@tonic-gate/* ring.c */
905*0Sstevel@tonic-gateint _ring(bool bf);
906*0Sstevel@tonic-gate
907*0Sstevel@tonic-gate/* ripoffline.c */
908*0Sstevel@tonic-gateint ripoffline(int line, int (*init)(WINDOW *, int));
909*0Sstevel@tonic-gate
910*0Sstevel@tonic-gate/* savetty.c */
911*0Sstevel@tonic-gateint savetty(void);
912*0Sstevel@tonic-gate
913*0Sstevel@tonic-gate/* scanw.c */
914*0Sstevel@tonic-gateint scanw(char *fmt, ...);
915*0Sstevel@tonic-gate
916*0Sstevel@tonic-gate/* scr_all.c */
917*0Sstevel@tonic-gateint _scr_all(char *file, int which);
918*0Sstevel@tonic-gate
919*0Sstevel@tonic-gate/* scr_dump.c */
920*0Sstevel@tonic-gateint scr_dump(char *file);
921*0Sstevel@tonic-gate
922*0Sstevel@tonic-gate/* scr_ll_dump.c */
923*0Sstevel@tonic-gateint scr_ll_dump(FILE *filep);
924*0Sstevel@tonic-gate
925*0Sstevel@tonic-gate/* scr_reset.c */
926*0Sstevel@tonic-gateint scr_reset(FILE *filep, int type);
927*0Sstevel@tonic-gate
928*0Sstevel@tonic-gate/* scrollok.c */
929*0Sstevel@tonic-gateint scrollok(WINDOW *win, bool bf);
930*0Sstevel@tonic-gate
931*0Sstevel@tonic-gate/* setcurscreen.c */
932*0Sstevel@tonic-gateSCREEN *setcurscreen(SCREEN *new);
933*0Sstevel@tonic-gate
934*0Sstevel@tonic-gate/* setcurterm.c */
935*0Sstevel@tonic-gateTERMINAL *setcurterm(TERMINAL *newterminal);
936*0Sstevel@tonic-gate
937*0Sstevel@tonic-gate/* setecho.c */
938*0Sstevel@tonic-gateint _setecho(int bf);
939*0Sstevel@tonic-gate
940*0Sstevel@tonic-gate/* setkeymap.c */
941*0Sstevel@tonic-gateint setkeymap(void);
942*0Sstevel@tonic-gate
943*0Sstevel@tonic-gate/* setnonl.c */
944*0Sstevel@tonic-gateint _setnonl(int bf);
945*0Sstevel@tonic-gate
946*0Sstevel@tonic-gate/* setqiflush.c */
947*0Sstevel@tonic-gatevoid _setqiflush(int yes);
948*0Sstevel@tonic-gate
949*0Sstevel@tonic-gate/* setsyx.c */
950*0Sstevel@tonic-gateint setsyx(int y, int x);
951*0Sstevel@tonic-gate
952*0Sstevel@tonic-gate/* setupterm.c */
953*0Sstevel@tonic-gateint setupterm(char *term, int filenum, int *errret);
954*0Sstevel@tonic-gatevoid _blast_keys(TERMINAL *terminal);
955*0Sstevel@tonic-gateint reset_prog_mode(void);
956*0Sstevel@tonic-gateint def_shell_mode(void);
957*0Sstevel@tonic-gate
958*0Sstevel@tonic-gate/* slk_atroff.c */
959*0Sstevel@tonic-gateint slk_attroff(chtype a);
960*0Sstevel@tonic-gate
961*0Sstevel@tonic-gate/* slk_atron.c */
962*0Sstevel@tonic-gateint slk_attron(chtype a);
963*0Sstevel@tonic-gate
964*0Sstevel@tonic-gate/* slk_atrset.c */
965*0Sstevel@tonic-gateint slk_attrset(chtype a);
966*0Sstevel@tonic-gate
967*0Sstevel@tonic-gate/* slk_clear.c */
968*0Sstevel@tonic-gateint slk_clear(void);
969*0Sstevel@tonic-gate
970*0Sstevel@tonic-gate/* slk_label.c */
971*0Sstevel@tonic-gatechar *slk_label(int n);
972*0Sstevel@tonic-gate
973*0Sstevel@tonic-gate/* slk_noutref.c */
974*0Sstevel@tonic-gateint slk_noutrefresh(void);
975*0Sstevel@tonic-gate
976*0Sstevel@tonic-gate/* slk_refresh.c */
977*0Sstevel@tonic-gateint slk_refresh(void);
978*0Sstevel@tonic-gateint _slk_update(void);
979*0Sstevel@tonic-gate
980*0Sstevel@tonic-gate/* slk_restore.c */
981*0Sstevel@tonic-gateint slk_restore(void);
982*0Sstevel@tonic-gate
983*0Sstevel@tonic-gate/* slk_set.c */
984*0Sstevel@tonic-gateint slk_set(int n, char *lab, int f);
985*0Sstevel@tonic-gate
986*0Sstevel@tonic-gate/* slk_start.c */
987*0Sstevel@tonic-gateint slk_start(int ng, int *gp);
988*0Sstevel@tonic-gate
989*0Sstevel@tonic-gate/* slk_touch.c */
990*0Sstevel@tonic-gateint slk_touch(void);
991*0Sstevel@tonic-gate
992*0Sstevel@tonic-gate/* start_col.c */
993*0Sstevel@tonic-gateint start_color(void);
994*0Sstevel@tonic-gate
995*0Sstevel@tonic-gate/* subwin.c */
996*0Sstevel@tonic-gateWINDOW *subwin(WINDOW *win, int l, int nc, int by, int bx);
997*0Sstevel@tonic-gate
998*0Sstevel@tonic-gate/* syncok.c */
999*0Sstevel@tonic-gateint syncok(WINDOW *win, bool bf);
1000*0Sstevel@tonic-gate
1001*0Sstevel@tonic-gate/* tcsearch.c */
1002*0Sstevel@tonic-gateint _tcsearch(char *cap, short offsets[], char *names[], int size, int n);
1003*0Sstevel@tonic-gate
1004*0Sstevel@tonic-gate/* termattrs.c */
1005*0Sstevel@tonic-gatechtype termattrs(void);
1006*0Sstevel@tonic-gate
1007*0Sstevel@tonic-gate/* termcap.c */
1008*0Sstevel@tonic-gateint tgetent(char *bp, char *name);
1009*0Sstevel@tonic-gateint tgetflag(char *tcstr);
1010*0Sstevel@tonic-gateint tgetnum(char *tcstr);
1011*0Sstevel@tonic-gatechar *tgetstr(char *tcstr, char **area);
1012*0Sstevel@tonic-gate
1013*0Sstevel@tonic-gate/* termerr.c */
1014*0Sstevel@tonic-gatevoid termerr(void);
1015*0Sstevel@tonic-gate
1016*0Sstevel@tonic-gate/* termname.c */
1017*0Sstevel@tonic-gatechar *termname(void);
1018*0Sstevel@tonic-gate
1019*0Sstevel@tonic-gate/* tgetch.c */
1020*0Sstevel@tonic-gateint tgetch(int interpret);
1021*0Sstevel@tonic-gate
1022*0Sstevel@tonic-gate/* tgetwch.c */
1023*0Sstevel@tonic-gatewchar_t tgetwch(int cntl);
1024*0Sstevel@tonic-gate
1025*0Sstevel@tonic-gate/* tgoto.c */
1026*0Sstevel@tonic-gatechar *tgoto(char *cap, int col, int row);
1027*0Sstevel@tonic-gate
1028*0Sstevel@tonic-gate/* tifget.c */
1029*0Sstevel@tonic-gateint tifgetflag(char *tistr);
1030*0Sstevel@tonic-gateint tifgetnum(char *tistr);
1031*0Sstevel@tonic-gatechar *tifgetstr(char *tistr);
1032*0Sstevel@tonic-gate
1033*0Sstevel@tonic-gate/* tifnames.c */
1034*0Sstevel@tonic-gate
1035*0Sstevel@tonic-gate/* tiget.c */
1036*0Sstevel@tonic-gateint tigetflag(char *tistr);
1037*0Sstevel@tonic-gateint tigetnum(char *tistr);
1038*0Sstevel@tonic-gatechar *tigetstr(char *tistr);
1039*0Sstevel@tonic-gate
1040*0Sstevel@tonic-gate/* tinames.c */
1041*0Sstevel@tonic-gate
1042*0Sstevel@tonic-gate/* tinputfd.c */
1043*0Sstevel@tonic-gatevoid tinputfd(int fd);
1044*0Sstevel@tonic-gate
1045*0Sstevel@tonic-gate/* tnames.c */
1046*0Sstevel@tonic-gate
1047*0Sstevel@tonic-gate/* touchwin.c */
1048*0Sstevel@tonic-gateint touchwin(WINDOW *win);
1049*0Sstevel@tonic-gate
1050*0Sstevel@tonic-gate/* tparm.c */
1051*0Sstevel@tonic-gatechar *tparm(char *instring, long fp1, long fp2, long p3, long p4, long p5,
1052*0Sstevel@tonic-gate					long p6, long p7, long p8, long p9);
1053*0Sstevel@tonic-gatechar *_branchto(char *cp, char to);
1054*0Sstevel@tonic-gate
1055*0Sstevel@tonic-gate/* tputs.c */
1056*0Sstevel@tonic-gateint tputs(char *cp, int affcnt, int (*outc)(char));
1057*0Sstevel@tonic-gate
1058*0Sstevel@tonic-gate/* trace.c */
1059*0Sstevel@tonic-gateint traceon(void);
1060*0Sstevel@tonic-gateint traceoff(void);
1061*0Sstevel@tonic-gate
1062*0Sstevel@tonic-gate/* tstp.c */
1063*0Sstevel@tonic-gatevoid _tstp(int dummy);
1064*0Sstevel@tonic-gatevoid _ccleanup(int signo);
1065*0Sstevel@tonic-gate
1066*0Sstevel@tonic-gate/* ttimeout.c */
1067*0Sstevel@tonic-gateint ttimeout(int delay);
1068*0Sstevel@tonic-gate
1069*0Sstevel@tonic-gate/* typeahead.c */
1070*0Sstevel@tonic-gateint typeahead(int fd);
1071*0Sstevel@tonic-gate
1072*0Sstevel@tonic-gate/* unctrl.c */
1073*0Sstevel@tonic-gate
1074*0Sstevel@tonic-gate/* ungetch.c */
1075*0Sstevel@tonic-gateint ungetch(int ch);
1076*0Sstevel@tonic-gate
1077*0Sstevel@tonic-gate/* ungetwch.c */
1078*0Sstevel@tonic-gateint ungetwch(wchar_t code);
1079*0Sstevel@tonic-gate
1080*0Sstevel@tonic-gate/* untouchwin.c */
1081*0Sstevel@tonic-gateint untouchwin(WINDOW *win);
1082*0Sstevel@tonic-gate
1083*0Sstevel@tonic-gate/* use_env.c */
1084*0Sstevel@tonic-gatevoid use_env(int bf);
1085*0Sstevel@tonic-gate
1086*0Sstevel@tonic-gate/* vidupdate.c */
1087*0Sstevel@tonic-gatevoid vidupdate(chtype newmode, chtype oldmode, int (*outc)(char));
1088*0Sstevel@tonic-gateint _change_video(chtype newmode, chtype oldmode, int (*outc)(char),
1089*0Sstevel@tonic-gate					bool color_terminal);
1090*0Sstevel@tonic-gatevoid _change_color(short newcolor, short oldcolor, int (*outc)(char));
1091*0Sstevel@tonic-gate
1092*0Sstevel@tonic-gate/* vsscanf.c */
1093*0Sstevel@tonic-gateint _vsscanf(char *buf, char *fmt, va_list ap);
1094*0Sstevel@tonic-gate
1095*0Sstevel@tonic-gate/* vwprintw.c */
1096*0Sstevel@tonic-gateint vwprintw(WINDOW *win, char *fmt, va_list ap);
1097*0Sstevel@tonic-gate
1098*0Sstevel@tonic-gate/* vwscanw.c */
1099*0Sstevel@tonic-gateint vwscanw(WINDOW *win, char *fmt, va_list ap);
1100*0Sstevel@tonic-gate
1101*0Sstevel@tonic-gate/* waddchnstr.c */
1102*0Sstevel@tonic-gateint waddchnstr(WINDOW *win, chtype *string, int ncols);
1103*0Sstevel@tonic-gate
1104*0Sstevel@tonic-gate/* waddnstr.c */
1105*0Sstevel@tonic-gateint waddnstr(WINDOW *win, char *tstr, int i);
1106*0Sstevel@tonic-gate
1107*0Sstevel@tonic-gate/* waddnwstr.c */
1108*0Sstevel@tonic-gateint waddnwstr(WINDOW *win, wchar_t *code, int n);
1109*0Sstevel@tonic-gate
1110*0Sstevel@tonic-gate/* waddwch.c */
1111*0Sstevel@tonic-gateint waddwch(WINDOW *win, chtype c);
1112*0Sstevel@tonic-gate
1113*0Sstevel@tonic-gate/* waddwchnstr.c */
1114*0Sstevel@tonic-gateint waddwchnstr(WINDOW *win, chtype *string, int ncols);
1115*0Sstevel@tonic-gate
1116*0Sstevel@tonic-gate/* wadjcurspos.c */
1117*0Sstevel@tonic-gateint wadjcurspos(WINDOW *win);
1118*0Sstevel@tonic-gate
1119*0Sstevel@tonic-gate/* wbkgd.c */
1120*0Sstevel@tonic-gateint wbkgd(WINDOW *win, chtype nbkgd);
1121*0Sstevel@tonic-gate
1122*0Sstevel@tonic-gate/* wbkgdset.c */
1123*0Sstevel@tonic-gatevoid wbkgdset(WINDOW *win, chtype c);
1124*0Sstevel@tonic-gate
1125*0Sstevel@tonic-gate/* wborder.c */
1126*0Sstevel@tonic-gateint wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs,
1127*0Sstevel@tonic-gate				chtype tl, chtype tr, chtype bl, chtype br);
1128*0Sstevel@tonic-gate
1129*0Sstevel@tonic-gate/* wclrtobot.c */
1130*0Sstevel@tonic-gateint wclrtobot(WINDOW *win);
1131*0Sstevel@tonic-gate
1132*0Sstevel@tonic-gate/* wclrtoeol.c */
1133*0Sstevel@tonic-gateint wclrtoeol(WINDOW *win);
1134*0Sstevel@tonic-gate
1135*0Sstevel@tonic-gate/* wcstombs.c */
1136*0Sstevel@tonic-gatesize_t _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n);
1137*0Sstevel@tonic-gate
1138*0Sstevel@tonic-gate/* wctomb.c */
1139*0Sstevel@tonic-gateint _curs_wctomb(char *s, const wchar_t wchar);
1140*0Sstevel@tonic-gate
1141*0Sstevel@tonic-gate/* wdelch.c */
1142*0Sstevel@tonic-gateint wdelch(WINDOW *win);
1143*0Sstevel@tonic-gate
1144*0Sstevel@tonic-gate/* wechowchar.c */
1145*0Sstevel@tonic-gateint wechowchar(WINDOW *win, chtype ch);
1146*0Sstevel@tonic-gate
1147*0Sstevel@tonic-gate/* wgetch.c */
1148*0Sstevel@tonic-gateint wgetch(WINDOW *win);
1149*0Sstevel@tonic-gate
1150*0Sstevel@tonic-gate/* wgetstr.c */
1151*0Sstevel@tonic-gateint wgetstr(WINDOW *win, char *str);
1152*0Sstevel@tonic-gateint wgetnstr(WINDOW *win, char *str, int n);
1153*0Sstevel@tonic-gate
1154*0Sstevel@tonic-gate/* wgetwch.c */
1155*0Sstevel@tonic-gateint wgetwch(WINDOW *win);
1156*0Sstevel@tonic-gate
1157*0Sstevel@tonic-gate/* wgetwstr.c */
1158*0Sstevel@tonic-gateint wgetwstr(WINDOW *win, wchar_t *str);
1159*0Sstevel@tonic-gateint wgetnwstr(WINDOW *win, wchar_t *str, int n);
1160*0Sstevel@tonic-gate
1161*0Sstevel@tonic-gate/* whline.c */
1162*0Sstevel@tonic-gateint whline(WINDOW *win, chtype ch, int num_chars);
1163*0Sstevel@tonic-gate
1164*0Sstevel@tonic-gate/* winch.c */
1165*0Sstevel@tonic-gatechtype winch(WINDOW *win);
1166*0Sstevel@tonic-gate
1167*0Sstevel@tonic-gate/* winchnstr.c */
1168*0Sstevel@tonic-gateint winchnstr(WINDOW *win, chtype *string, int ncols);
1169*0Sstevel@tonic-gate
1170*0Sstevel@tonic-gate/* winchstr.c */
1171*0Sstevel@tonic-gateint winchstr(WINDOW *win, chtype *string);
1172*0Sstevel@tonic-gate
1173*0Sstevel@tonic-gate/* winnstr.c */
1174*0Sstevel@tonic-gateint winnstr(WINDOW *win, char *string, int ncols);
1175*0Sstevel@tonic-gate
1176*0Sstevel@tonic-gate/* winnwstr.c */
1177*0Sstevel@tonic-gateint winnwstr(WINDOW *win, wchar_t *wstr, int ncols);
1178*0Sstevel@tonic-gate
1179*0Sstevel@tonic-gate/* winsch.c */
1180*0Sstevel@tonic-gateint winsch(WINDOW *win, chtype c);
1181*0Sstevel@tonic-gate
1182*0Sstevel@tonic-gate/* winsdelln.c */
1183*0Sstevel@tonic-gateint winsdelln(WINDOW *win, int id);
1184*0Sstevel@tonic-gate
1185*0Sstevel@tonic-gate/* winsnstr.c */
1186*0Sstevel@tonic-gateint winsnstr(WINDOW *win, char *tsp, int n);
1187*0Sstevel@tonic-gate
1188*0Sstevel@tonic-gate/* winsnwstr.c */
1189*0Sstevel@tonic-gateint winsnwstr(WINDOW *win, wchar_t *code, int n);
1190*0Sstevel@tonic-gate
1191*0Sstevel@tonic-gate/* winstr.c */
1192*0Sstevel@tonic-gateint winstr(WINDOW *win, char *str);
1193*0Sstevel@tonic-gate
1194*0Sstevel@tonic-gate/* winswch.c */
1195*0Sstevel@tonic-gateint winswch(WINDOW *win, chtype c);
1196*0Sstevel@tonic-gate
1197*0Sstevel@tonic-gate/* winwch.c */
1198*0Sstevel@tonic-gatechtype winwch(WINDOW *win);
1199*0Sstevel@tonic-gate
1200*0Sstevel@tonic-gate/* winwchnstr.c */
1201*0Sstevel@tonic-gateint winwchnstr(WINDOW *win, chtype *string, int ncols);
1202*0Sstevel@tonic-gate
1203*0Sstevel@tonic-gate/* winwstr.c */
1204*0Sstevel@tonic-gateint winwstr(WINDOW *win, wchar_t *wstr);
1205*0Sstevel@tonic-gate
1206*0Sstevel@tonic-gate/* wmove.c */
1207*0Sstevel@tonic-gateint wmove(WINDOW *win, int y, int x);
1208*0Sstevel@tonic-gate
1209*0Sstevel@tonic-gate/* wmovenextch.c */
1210*0Sstevel@tonic-gateint wmovenextch(WINDOW *win);
1211*0Sstevel@tonic-gate
1212*0Sstevel@tonic-gate/* wmoveprevch.c */
1213*0Sstevel@tonic-gateint wmoveprevch(WINDOW *win);
1214*0Sstevel@tonic-gate
1215*0Sstevel@tonic-gate/* wnoutrefresh.c */
1216*0Sstevel@tonic-gateint wnoutrefresh(WINDOW *win);
1217*0Sstevel@tonic-gate
1218*0Sstevel@tonic-gate/* wprintw.c */
1219*0Sstevel@tonic-gateint wprintw(WINDOW *win, ...);
1220*0Sstevel@tonic-gate
1221*0Sstevel@tonic-gate/* wredrawln.c */
1222*0Sstevel@tonic-gateint wredrawln(WINDOW *win, int begline, int numlines);
1223*0Sstevel@tonic-gate
1224*0Sstevel@tonic-gate/* wrefresh.c */
1225*0Sstevel@tonic-gateint wrefresh(WINDOW *win);
1226*0Sstevel@tonic-gate
1227*0Sstevel@tonic-gate/* wscanw.c */
1228*0Sstevel@tonic-gateint wscanw(WINDOW *win, ...);
1229*0Sstevel@tonic-gate
1230*0Sstevel@tonic-gate/* wscrl.c */
1231*0Sstevel@tonic-gateint wscrl(WINDOW *win, int n);
1232*0Sstevel@tonic-gate
1233*0Sstevel@tonic-gate/* wsetscrreg.c */
1234*0Sstevel@tonic-gateint wsetscrreg(WINDOW *win, int topy, int boty);
1235*0Sstevel@tonic-gate
1236*0Sstevel@tonic-gate/* wsyncdown.c */
1237*0Sstevel@tonic-gatevoid wsyncdown(WINDOW *win);
1238*0Sstevel@tonic-gate
1239*0Sstevel@tonic-gate/* wsyncup.c */
1240*0Sstevel@tonic-gatevoid wsyncup(WINDOW *win);
1241*0Sstevel@tonic-gatevoid wcursyncup(WINDOW *win);
1242*0Sstevel@tonic-gate
1243*0Sstevel@tonic-gate/* wtimeout.c */
1244*0Sstevel@tonic-gatevoid wtimeout(WINDOW *win, int tm);
1245*0Sstevel@tonic-gate
1246*0Sstevel@tonic-gate/* wtouchln.c */
1247*0Sstevel@tonic-gateint wtouchln(WINDOW *win, int y, int n, int changed);
1248*0Sstevel@tonic-gate
1249*0Sstevel@tonic-gate/* wvline.c */
1250*0Sstevel@tonic-gateint wvline(WINDOW *win, chtype vertch, int num_chars);
1251*0Sstevel@tonic-gate
1252*0Sstevel@tonic-gate/* _box.c */
1253*0Sstevel@tonic-gate/* really box32 */
1254*0Sstevel@tonic-gateint box(WINDOW *win, chtype v, chtype h);
1255*0Sstevel@tonic-gate
1256*0Sstevel@tonic-gate/* V3.box.c */
1257*0Sstevel@tonic-gate#undef box
1258*0Sstevel@tonic-gateint box(WINDOW *win, _ochtype v, _ochtype h);
1259*0Sstevel@tonic-gate
1260*0Sstevel@tonic-gate/* _newterm.c */
1261*0Sstevel@tonic-gate/* really newterm32 */
1262*0Sstevel@tonic-gateSCREEN *newterm(char *type, FILE *fout, FILE *fin);
1263*0Sstevel@tonic-gate
1264*0Sstevel@tonic-gate/* V3.newterm.c */
1265*0Sstevel@tonic-gate#undef newterm
1266*0Sstevel@tonic-gateSCREEN *newterm(char *type, FILE *outfptr, FILE *infptr);
1267*0Sstevel@tonic-gate
1268*0Sstevel@tonic-gate/* setterm.c */
1269*0Sstevel@tonic-gate#undef  setterm
1270*0Sstevel@tonic-gateint setterm(char *name);
1271*0Sstevel@tonic-gate
1272*0Sstevel@tonic-gate/* pechochar.c */
1273*0Sstevel@tonic-gate/* really p32echochar */
1274*0Sstevel@tonic-gateint pechochar(WINDOW *win, chtype c);
1275*0Sstevel@tonic-gate
1276*0Sstevel@tonic-gate/* V3.pechochar.c */
1277*0Sstevel@tonic-gate#undef pechochar
1278*0Sstevel@tonic-gateint pechochar(WINDOW *win, _ochtype c);
1279*0Sstevel@tonic-gate
1280*0Sstevel@tonic-gate/* waddch.c */
1281*0Sstevel@tonic-gate/* really w32addch */
1282*0Sstevel@tonic-gateint waddch(WINDOW *win, chtype c);
1283*0Sstevel@tonic-gate
1284*0Sstevel@tonic-gate/* V3.waddch.c */
1285*0Sstevel@tonic-gate#undef waddch
1286*0Sstevel@tonic-gateint waddch(WINDOW *win, _ochtype c);
1287*0Sstevel@tonic-gate
1288*0Sstevel@tonic-gate/* wattroff.c */
1289*0Sstevel@tonic-gate/* really w32attroff */
1290*0Sstevel@tonic-gateint wattroff(WINDOW *win, chtype attrs);
1291*0Sstevel@tonic-gate
1292*0Sstevel@tonic-gate/* V3.wattroff.c */
1293*0Sstevel@tonic-gate#undef wattroff
1294*0Sstevel@tonic-gateint wattroff(WINDOW *win, _ochtype attrs);
1295*0Sstevel@tonic-gate
1296*0Sstevel@tonic-gate/* wattron.c */
1297*0Sstevel@tonic-gate/* really w32attron */
1298*0Sstevel@tonic-gateint wattron(WINDOW *win, chtype attrs);
1299*0Sstevel@tonic-gate
1300*0Sstevel@tonic-gate/* V3.wattron.c */
1301*0Sstevel@tonic-gate#undef wattron
1302*0Sstevel@tonic-gateint wattron(WINDOW *win, _ochtype attrs);
1303*0Sstevel@tonic-gate
1304*0Sstevel@tonic-gate/* wattrset.c */
1305*0Sstevel@tonic-gate/* really w32attrset */
1306*0Sstevel@tonic-gateint wattrset(WINDOW *win, chtype attrs);
1307*0Sstevel@tonic-gate
1308*0Sstevel@tonic-gate/* V3.wattrset.c */
1309*0Sstevel@tonic-gate#undef wattrset
1310*0Sstevel@tonic-gateint wattrset(WINDOW *win, _ochtype attrs);
1311*0Sstevel@tonic-gate
1312*0Sstevel@tonic-gate/* wechochar.c */
1313*0Sstevel@tonic-gate/* really w32echochar */
1314*0Sstevel@tonic-gateint wechochar(WINDOW *win, chtype c);
1315*0Sstevel@tonic-gate
1316*0Sstevel@tonic-gate/* V3.wechochar.c */
1317*0Sstevel@tonic-gate#undef wechochar
1318*0Sstevel@tonic-gateint wechochar(WINDOW *win, _ochtype c);
1319*0Sstevel@tonic-gate
1320*0Sstevel@tonic-gate/* winsch.c */
1321*0Sstevel@tonic-gate/* really w32insch */
1322*0Sstevel@tonic-gateint winsch(WINDOW *win,  chtype c);
1323*0Sstevel@tonic-gate
1324*0Sstevel@tonic-gate/* V3.winsch.c */
1325*0Sstevel@tonic-gate#undef winsch
1326*0Sstevel@tonic-gateint winsch(WINDOW *win, _ochtype c);
1327*0Sstevel@tonic-gate
1328*0Sstevel@tonic-gate/* putp.c */
1329*0Sstevel@tonic-gateint _outchar(char ch);
1330*0Sstevel@tonic-gateint putp(char *str);
1331*0Sstevel@tonic-gate/* really vid32attr */
1332*0Sstevel@tonic-gateint vidattr(chtype newmode);
1333*0Sstevel@tonic-gate
1334*0Sstevel@tonic-gate/* V3.vidattr.c */
1335*0Sstevel@tonic-gate#undef vidattr
1336*0Sstevel@tonic-gateint vidattr(_ochtype a);
1337*0Sstevel@tonic-gate
1338*0Sstevel@tonic-gate/* vidputs.c */
1339*0Sstevel@tonic-gate/* really vid32puts */
1340*0Sstevel@tonic-gateint vidputs(chtype a, int (*b)(char));
1341*0Sstevel@tonic-gate
1342*0Sstevel@tonic-gate/* V3.vidputs.c */
1343*0Sstevel@tonic-gate#undef vidputs
1344*0Sstevel@tonic-gateint vidputs(_ochtype a, int (*o)(char));
1345*0Sstevel@tonic-gate
1346*0Sstevel@tonic-gate/* initscr.c */
1347*0Sstevel@tonic-gate/* really initscr32 */
1348*0Sstevel@tonic-gateWINDOW *initscr(void);
1349*0Sstevel@tonic-gate
1350*0Sstevel@tonic-gate/* V3.initscr.c */
1351*0Sstevel@tonic-gate#undef initscr
1352*0Sstevel@tonic-gateWINDOW *initscr(void);
1353