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