2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License, Version 1.0 only
2N/A * (the "License"). You may not use this file except in compliance
2N/A * with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A/* LINTLIBRARY */
2N/A/* PROTOLIB1 */
2N/A
2N/A/*
2N/A * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#include <stdio.h>
2N/A#include <sys/types.h>
2N/A#include <stdarg.h>
2N/A#include <curses.h>
2N/A#include "term.h"
2N/A#include "print.h"
2N/A
2N/A/*
2N/A * usr/src/lib/libcurses/screen
2N/A */
2N/A
2N/A/* V2.__sscans.c */
2N/Aint __sscans(WINDOW *win, char *fmt, ...);
2N/A
2N/A/* V2._sprintw.c */
2N/Aint _sprintw(WINDOW *win, char *fmt, ...);
2N/A
2N/A/* V2.makenew.c */
2N/AWINDOW *makenew(int num_lines, int num_cols, int begy, int begx);
2N/A
2N/A/* V3.m_addch.c */
2N/Aint m_addch(int c);
2N/A
2N/A/* V3.m_addstr.c */
2N/Aint m_addstr(char *str);
2N/A
2N/A/* V3.m_clear.c */
2N/Aint m_clear(void);
2N/A
2N/A/* V3.m_erase.c */
2N/Aint m_erase(void);
2N/A
2N/A/* V3.m_initscr.c */
2N/AWINDOW *m_initscr(void);
2N/A
2N/A/* V3.m_move.c */
2N/Aint m_move(int x, int y);
2N/A
2N/A/* V3.m_newterm.c */
2N/ASCREEN *m_newterm(char *type, FILE *outfptr, FILE *infptr);
2N/A
2N/A/* V3.m_refresh.c */
2N/Aint m_refresh(void);
2N/A
2N/A/* V3.upd_old_y.c */
2N/Avoid _update_old_y_area(WINDOW *win, int nlines, int ncols, int start_line,
2N/A int start_col);
2N/A
2N/A/* _addch.c */
2N/Aint addch(chtype ch);
2N/A
2N/A/* _addchnstr.c */
2N/Aint addchnstr(chtype *s, int n);
2N/A
2N/A/* _addchstr.c */
2N/Aint addchstr(chtype *s);
2N/A
2N/A/* _addnstr.c */
2N/Aint addnstr(char *s, int n);
2N/A
2N/A/* _addnwstr.c */
2N/Aint addnwstr(wchar_t *s, int n);
2N/A
2N/A/* _addstr.c */
2N/Aint addstr(char *s);
2N/A
2N/A/* _addwch.c */
2N/Aint addwch(chtype ch);
2N/A
2N/A/* _addwchnstr.c */
2N/Aint addwchnstr(chtype *str, int n);
2N/A
2N/A/* _addwchstr.c */
2N/Aint addwchstr(chtype *str);
2N/A
2N/A/* _addwstr.c */
2N/Aint addwstr(wchar_t *ws);
2N/A
2N/A/* _attroff.c */
2N/Aint attroff(chtype at);
2N/A
2N/A/* _attron.c */
2N/Aint attron(chtype at);
2N/A
2N/A/* _attrset.c */
2N/Aint attrset(chtype at);
2N/A
2N/A/* _beep.c */
2N/Aint beep(void);
2N/A
2N/A/* _bkgd.c */
2N/Aint bkgd(chtype c);
2N/A
2N/A/* _bkgdset.c */
2N/Avoid bkgdset(chtype c);
2N/A
2N/A/* _border.c */
2N/Aint border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr,
2N/A chtype bl, chtype br);
2N/A
2N/A/* _clear.c */
2N/Aint clear(void);
2N/A
2N/A/* _clrtobot.c */
2N/Aint clrtobot(void);
2N/A
2N/A/* _clrtoeol.c */
2N/Aint clrtoeol(void);
2N/A
2N/A/* _crmode.c */
2N/A#undef crmode
2N/Aint crmode(void);
2N/A
2N/A/* _del_curterm.c */
2N/Aint del_curterm(TERMINAL *terminal);
2N/A
2N/A/* _delch.c */
2N/Aint delch(void);
2N/A
2N/A/* _deleteln.c */
2N/Aint deleteln(void);
2N/A
2N/A/* _echo.c */
2N/Aint echo(void);
2N/A
2N/A/* _echochar.c */
2N/Aint echochar(chtype ch);
2N/A
2N/A/* _echowchar.c */
2N/Aint echowchar(chtype ch);
2N/A
2N/A/* _erase.c */
2N/Aint erase(void);
2N/A
2N/A/* _fixterm.c */
2N/Aint fixterm(void);
2N/A
2N/A/* _flash.c */
2N/Aint flash(void);
2N/A
2N/A/* _garbagdlins.c */
2N/Aint garbagedlines(WINDOW *win, int start, int finish);
2N/A
2N/A/* _garbagedwin.c */
2N/Aint garbagedwin(WINDOW *win);
2N/A
2N/A/* _getch.c */
2N/Aint getch(void);
2N/A
2N/A/* _getnwstr.c */
2N/Aint getnwstr(wchar_t *ws, int n);
2N/A
2N/A/* _getstr.c */
2N/Aint getstr(char *str);
2N/A
2N/A/* _getwch.c */
2N/Aint getwch(void);
2N/A
2N/A/* _getwstr.c */
2N/Aint getwstr(wchar_t *ws);
2N/A
2N/A/* _halfdelay.c */
2N/Aint halfdelay(int tens);
2N/A
2N/A/* _hline.c */
2N/Aint hline(chtype horch, int num_chars);
2N/A
2N/A/* _inch.c */
2N/Achtype inch(void);
2N/A
2N/A/* _inchnstr.c */
2N/Aint inchnstr(chtype *s, int n);
2N/A
2N/A/* _inchstr.c */
2N/Aint inchstr(chtype *s);
2N/A
2N/A/* _innstr.c */
2N/Aint innstr(char *s, int n);
2N/A
2N/A/* _innwstr.c */
2N/Aint innwstr(wchar_t *ws, int n);
2N/A
2N/A/* _insch.c */
2N/Aint insch(chtype c);
2N/A
2N/A/* _insdelln.c */
2N/Aint insdelln(int id);
2N/A
2N/A/* _insertln.c */
2N/Aint insertln(void);
2N/A
2N/A/* _insnstr.c */
2N/Aint insnstr(char *s, int n);
2N/A
2N/A/* _insnwstr.c */
2N/Aint insnwstr(wchar_t *ws, int n);
2N/A
2N/A/* _insstr.c */
2N/Aint insstr(char *s);
2N/A
2N/A/* _instr.c */
2N/Aint instr(char *s);
2N/A
2N/A/* _inswch.c */
2N/Aint inswch(chtype c);
2N/A
2N/A/* _inswstr.c */
2N/Aint inswstr(wchar_t *ws);
2N/A
2N/A/* _intrflush.c */
2N/Aint intrflush(WINDOW *win, int flag);
2N/A
2N/A/* _inwch.c */
2N/Achtype inwch(void);
2N/A
2N/A/* _inwchnstr.c */
2N/Aint inwchnstr(chtype *str, int n);
2N/A
2N/A/* _inwchstr.c */
2N/Aint inwchstr(chtype *str);
2N/A
2N/A/* _inwstr.c */
2N/Aint inwstr(wchar_t *ws);
2N/A
2N/A/* _meta.c */
2N/Aint meta(WINDOW *win, int flag);
2N/A
2N/A/* _move.c */
2N/Aint move(int y, int x);
2N/A
2N/A/* _mvaddch.c */
2N/Aint mvaddch(int y, int x, chtype ch);
2N/A
2N/A/* _mvaddchnstr.c */
2N/Aint mvaddchnstr(int y, int x, chtype *s, int n);
2N/A
2N/A/* _mvaddchstr.c */
2N/Aint mvaddchstr(int y, int x, chtype *s);
2N/A
2N/A/* _mvaddnstr.c */
2N/Aint mvaddnstr(int y, int x, char *s, int n);
2N/A
2N/A/* _mvaddnwstr.c */
2N/Aint mvaddnwstr(int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvaddstr.c */
2N/Aint mvaddstr(int y, int x, char *str);
2N/A
2N/A/* _mvaddwch.c */
2N/Aint mvaddwch(int y, int x, chtype ch);
2N/A
2N/A/* _mvaddwchnstr.c */
2N/Aint mvaddwchnstr(int y, int x, chtype *str, int n);
2N/A
2N/A/* _mvaddwchstr.c */
2N/Aint mvaddwchstr(int y, int x, chtype *s);
2N/A
2N/A/* _mvaddwstr.c */
2N/Aint mvaddwstr(int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvdelch.c */
2N/Aint mvdelch(int y, int x);
2N/A
2N/A/* _mvgetch.c */
2N/Aint mvgetch(int y, int x);
2N/A
2N/A/* _mvgetnwstr.c */
2N/Aint mvgetnwstr(int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvgetstr.c */
2N/Aint mvgetstr(int y, int x, char *str);
2N/A
2N/A/* _mvgetwch.c */
2N/Aint mvgetwch(int y, int x);
2N/A
2N/A/* _mvgetwstr.c */
2N/Aint mvgetwstr(int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvhline.c */
2N/Aint mvhline(int y, int x, chtype ch, int n);
2N/A
2N/A/* _mvinch.c */
2N/Achtype mvinch(int y, int x);
2N/A
2N/A/* _mvinchnstr.c */
2N/Aint mvinchnstr(int y, int x, chtype *str, int n);
2N/A
2N/A/* _mvinchstr.c */
2N/Aint mvinchstr(int y, int x, chtype *str);
2N/A
2N/A/* _mvinnstr.c */
2N/Aint mvinnstr(int y, int x, char *s, int n);
2N/A
2N/A/* _mvinnwstr.c */
2N/Aint mvinnwstr(int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvinsch.c */
2N/Aint mvinsch(int y, int x, chtype ch);
2N/A
2N/A/* _mvinsnstr.c */
2N/Aint mvinsnstr(int y, int x, char *s, int n);
2N/A
2N/A/* _mvinsnwstr.c */
2N/Aint mvinsnwstr(int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvinsstr.c */
2N/Aint mvinsstr(int y, int x, char *s);
2N/A
2N/A/* _mvinstr.c */
2N/Aint mvinstr(int y, int x, char *s);
2N/A
2N/A/* _mvinswch.c */
2N/Aint mvinswch(int y, int x, chtype ch);
2N/A
2N/A/* _mvinswstr.c */
2N/Aint mvinswstr(int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvinwch.c */
2N/Achtype mvinwch(int y, int x);
2N/A
2N/A/* _mvinwchnstr.c */
2N/Aint mvinwchnstr(int y, int x, chtype *str, int n);
2N/A
2N/A/* _mvinwchstr.c */
2N/Aint mvinwchstr(int y, int x, chtype *str);
2N/A
2N/A/* _mvinwstr.c */
2N/Aint mvinwstr(int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvvline.c */
2N/Aint mvvline(int y, int x, chtype c, int n);
2N/A
2N/A/* _mvwaddch.c */
2N/Aint mvwaddch(WINDOW *win, int y, int x, chtype ch);
2N/A
2N/A/* _mvwaddchnst.c */
2N/Aint mvwaddchnstr(WINDOW *win, int y, int x, chtype *ch, int n);
2N/A
2N/A/* _mvwaddchstr.c */
2N/Aint mvwaddchstr(WINDOW *win, int y, int x, chtype *ch);
2N/A
2N/A/* _mvwaddnstr.c */
2N/Aint mvwaddnstr(WINDOW *win, int y, int x, char *c, int n);
2N/A
2N/A/* _mvwaddnwstr.c */
2N/Aint mvwaddnwstr(WINDOW *win, int y, int x, wchar_t *wc, int n);
2N/A
2N/A/* _mvwaddstr.c */
2N/Aint mvwaddstr(WINDOW *win, int y, int x, char *str);
2N/A
2N/A/* _mvwaddwch.c */
2N/Aint mvwaddwch(WINDOW *win, int y, int x, chtype ch);
2N/A
2N/A/* _mvwaddwchnstr.c */
2N/Aint mvwaddwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
2N/A
2N/A/* _mvwaddwchstr.c */
2N/Aint mvwaddwchstr(WINDOW *win, int y, int x, chtype *str);
2N/A
2N/A/* _mvwaddwstr.c */
2N/Aint mvwaddwstr(WINDOW *win, int y, int x, wchar_t *wc);
2N/A
2N/A/* _mvwdelch.c */
2N/Aint mvwdelch(WINDOW *win, int y, int x);
2N/A
2N/A/* _mvwgetch.c */
2N/Aint mvwgetch(WINDOW *win, int y, int x);
2N/A
2N/A/* _mvwgetnwstr.c */
2N/Aint mvwgetnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvwgetstr.c */
2N/Aint mvwgetstr(WINDOW *win, int y, int x, char *str);
2N/A
2N/A/* _mvwgetwch.c */
2N/Aint mvwgetwch(WINDOW *win, int y, int x);
2N/A
2N/A/* _mvwgetwstr.c */
2N/Aint mvwgetwstr(WINDOW *win, int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvwhline.c */
2N/Aint mvwhline(WINDOW *win, int y, int x, chtype c, int n);
2N/A
2N/A/* _mvwinch.c */
2N/Achtype mvwinch(WINDOW *win, int y, int x);
2N/A
2N/A/* _mvwinchnst.c */
2N/Aint mvwinchnstr(WINDOW *win, int y, int x, chtype *s, int n);
2N/A
2N/A/* _mvwinchstr.c */
2N/Aint mvwinchstr(WINDOW *win, int y, int x, chtype *str);
2N/A
2N/A/* _mvwinnstr.c */
2N/Aint mvwinnstr(WINDOW *win, int y, int x, char *str, int n);
2N/A
2N/A/* _mvwinnwstr.c */
2N/Aint mvwinnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvwinsch.c */
2N/Aint mvwinsch(WINDOW *win, int y, int x, chtype c);
2N/A
2N/A/* _mvwinsnstr.c */
2N/Aint mvwinsnstr(WINDOW *win, int y, int x, char *str, int n);
2N/A
2N/A/* _mvwinsnwstr.c */
2N/Aint mvwinsnwstr(WINDOW *win, int y, int x, wchar_t *ws, int n);
2N/A
2N/A/* _mvwinsstr.c */
2N/Aint mvwinsstr(WINDOW *win, int y, int x, char *str);
2N/A
2N/A/* _mvwinstr.c */
2N/Aint mvwinstr(WINDOW *win, int y, int x, char *str);
2N/A
2N/A/* _mvwinswch.c */
2N/Aint mvwinswch(WINDOW *win, int y, int x, chtype c);
2N/A
2N/A/* _mvwinswstr.c */
2N/Aint mvwinswstr(WINDOW *win, int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvwinwch.c */
2N/Achtype mvwinwch(WINDOW *win, int y, int x);
2N/A
2N/A/* _mvwinwchnstr.c */
2N/Aint mvwinwchnstr(WINDOW *win, int y, int x, chtype *str, int n);
2N/A
2N/A/* _mvwinwchstr.c */
2N/Aint mvwinwchstr(WINDOW *win, int y, int x, chtype *str);
2N/A
2N/A/* _mvwinwstr.c */
2N/Aint mvwinwstr(WINDOW *win, int y, int x, wchar_t *ws);
2N/A
2N/A/* _mvwvline.c */
2N/Aint mvwvline(WINDOW *win, int y, int x, chtype c, int n);
2N/A
2N/A/* _nl.c */
2N/Aint nl(void);
2N/A
2N/A/* _nocrmode.c */
2N/A#undef nocrmode
2N/Aint nocrmode(void);
2N/A
2N/A/* _noecho.c */
2N/Aint noecho(void);
2N/A
2N/A/* _nonl.c */
2N/Aint nonl(void);
2N/A
2N/A/* _noqiflush.c */
2N/Avoid noqiflush(void);
2N/A
2N/A/* _overlay.c */
2N/Aint overlay(WINDOW *src, WINDOW *dst);
2N/A
2N/A/* _overwrite.c */
2N/Aint overwrite(WINDOW *src, WINDOW *dst);
2N/A
2N/A/* _qiflush.c */
2N/Avoid qiflush(void);
2N/A
2N/A/* _refresh.c */
2N/Aint refresh(void);
2N/A
2N/A/* _resetterm.c */
2N/Aint resetterm(void);
2N/A
2N/A/* _saveterm.c */
2N/Aint saveterm(void);
2N/A
2N/A/* _scr_init.c */
2N/Aint scr_init(char *file);
2N/A
2N/A/* _scr_restore.c */
2N/Aint scr_restore(char *file);
2N/A
2N/A/* _scr_set.c */
2N/Aint scr_set(char *file);
2N/A
2N/A/* _scrl.c */
2N/Aint scrl(int n);
2N/A
2N/A/* _scroll.c */
2N/Aint scroll(WINDOW *win);
2N/A
2N/A/* _set_curterm.c */
2N/ATERMINAL *set_curterm(TERMINAL *newterminal);
2N/A
2N/A/* _set_term.c */
2N/ASCREEN *set_term(SCREEN *screen);
2N/A
2N/A/* _setscrreg.c */
2N/Aint setscrreg(int t, int b);
2N/A
2N/A/* _slk_init.c */
2N/Aint slk_init(int f);
2N/A
2N/A/* _standend.c */
2N/Aint standend(void);
2N/A
2N/A/* _standout.c */
2N/Aint standout(void);
2N/A
2N/A/* _subpad.c */
2N/AWINDOW *subpad(WINDOW *win, int l, int nc, int by, int bx);
2N/A
2N/A/* _timeout.c */
2N/Avoid timeout(int tm);
2N/A
2N/A/* _touchline.c */
2N/Aint touchline(WINDOW *win, int y, int n);
2N/A
2N/A/* _unctrl.c */
2N/Achar *unctrl(int ch);
2N/A
2N/A/* _vline.c */
2N/Aint vline(chtype vertch, int num_chars);
2N/A
2N/A/* _waddchstr.c */
2N/Aint waddchstr(WINDOW *win, chtype *str);
2N/A
2N/A/* _waddstr.c */
2N/Aint waddstr(WINDOW *win, char *str);
2N/A
2N/A/* _waddwchstr.c */
2N/Aint waddwchstr(WINDOW *win, chtype *str);
2N/A
2N/A/* _waddwstr.c */
2N/Aint waddwstr(WINDOW *win, wchar_t *ws);
2N/A
2N/A/* _wclear.c */
2N/Aint wclear(WINDOW *win);
2N/A
2N/A/* _wdeleteln.c */
2N/Aint wdeleteln(WINDOW *win);
2N/A
2N/A/* _werase.c */
2N/Aint werase(WINDOW *win);
2N/A
2N/A/* _winsertln.c */
2N/Aint winsertln(WINDOW *win);
2N/A
2N/A/* _winsstr.c */
2N/Aint winsstr(WINDOW *win, char *str);
2N/A
2N/A/* _winswstr.c */
2N/Aint winswstr(WINDOW *win, wchar_t *ws);
2N/A
2N/A/* _winwchstr.c */
2N/Aint winwchstr(WINDOW *win, chtype *str);
2N/A
2N/A/* _wstandend.c */
2N/Aint wstandend(WINDOW *win);
2N/A
2N/A/* _wstandout.c */
2N/Aint wstandout(WINDOW *win);
2N/A
2N/A/* baudrate.c */
2N/Aint baudrate(void);
2N/A
2N/A/* can_change.c */
2N/Abool can_change_color(void);
2N/A
2N/A/* cbreak.c */
2N/Aint cbreak(void);
2N/A
2N/A/* chkinput.c */
2N/Aint _chkinput(void);
2N/A
2N/A/* clearok.c */
2N/Aint clearok(WINDOW *win, bool bf);
2N/A
2N/A/* color_cont.c */
2N/Aint color_content(short color, short *r, short *g, short *b);
2N/A
2N/A/* copywin.c */
2N/Aint copywin(WINDOW *Srcwin, WINDOW *Dstwin, int minRowSrc, int minColSrc,
2N/A int minRowDst, int minColDst, int maxRowDst,
2N/A int maxColDst, int over_lay);
2N/A
2N/A/* curs_set.c */
2N/Aint curs_set(int visibility);
2N/A
2N/A/* curserr.c */
2N/Avoid curserr(void);
2N/A
2N/A/* curses.c */
2N/A
2N/A/* def_prog.c */
2N/Aint def_prog_mode(void);
2N/A
2N/A/* delay.c */
2N/Aint _delay(int delay, int (*outc)(char));
2N/A
2N/A/* delay_out.c */
2N/Aint delay_output(int ms);
2N/A
2N/A/* delkey.c */
2N/Aint delkey(char *sends, int keyval);
2N/A
2N/A/* delkeymap.c */
2N/Avoid delkeymap(TERMINAL *terminal);
2N/A
2N/A/* delscreen.c */
2N/Avoid delscreen(SCREEN *screen);
2N/A
2N/A/* delterm.c */
2N/Aint delterm(TERMINAL *terminal);
2N/A
2N/A/* delwin.c */
2N/Aint delwin(WINDOW *win);
2N/A
2N/A/* derwin.c */
2N/AWINDOW *derwin(WINDOW *win, int num_lines, int nc, int by, int bx);
2N/A
2N/A/* doupdate.c */
2N/Aint doupdate(void);
2N/A
2N/A/* draino.c */
2N/Aint draino(int ms);
2N/A
2N/A/* dupwin.c */
2N/AWINDOW *dupwin(WINDOW *win);
2N/A
2N/A/* endwin.c */
2N/Aint isendwin(void);
2N/Aint endwin(void);
2N/Aint force_doupdate(void);
2N/A
2N/A/* erasechar.c */
2N/Achar erasechar(void);
2N/A
2N/A/* flushinp.c */
2N/Aint flushinp(void);
2N/A
2N/A/* getattrs.c */
2N/Achtype getattrs(WINDOW *win);
2N/A
2N/A/* getbegyx.c */
2N/Aint getbegy(WINDOW *win);
2N/Aint getbegx(WINDOW *win);
2N/A
2N/A/* getbkgd.c */
2N/Achtype getbkgd(WINDOW *win);
2N/A
2N/A/* getmaxyx.c */
2N/Aint getmaxy(WINDOW *win);
2N/Aint getmaxx(WINDOW *win);
2N/A
2N/A/* getparyx.c */
2N/Aint getpary(WINDOW *win);
2N/Aint getparx(WINDOW *win);
2N/A
2N/A/* getsyx.c */
2N/Aint _getsyx(int *yp, int *xp);
2N/A
2N/A/* gettmode.c */
2N/Aint gettmode(void);
2N/A
2N/A/* getwin.c */
2N/AWINDOW *getwin(FILE *filep);
2N/A
2N/A/* getyx.c */
2N/Aint getcury(WINDOW *win);
2N/Aint getcurx(WINDOW *win);
2N/A
2N/A/* has_colors.c */
2N/Abool has_colors(void);
2N/A
2N/A/* has_ic.c */
2N/Aint has_ic(void);
2N/A
2N/A/* has_il.c */
2N/Aint has_il(void);
2N/A
2N/A/* idcok.c */
2N/Avoid idcok(WINDOW *win, bool bf);
2N/A
2N/A/* idlok.c */
2N/Aint idlok(WINDOW *win, bool bf);
2N/A
2N/A/* immedok.c */
2N/Avoid immedok(WINDOW *win, bool bf);
2N/A
2N/A/* init_acs.c */
2N/Aint init_acs(void);
2N/A
2N/A/* init_color.c */
2N/Aint init_color(short color, short r, short g, short b);
2N/A
2N/A/* init_costs.c */
2N/Avoid _init_costs(void);
2N/Aint _countchar(void);
2N/A
2N/A/* init_pair.c */
2N/Aint init_pair(short pair, short f, short b);
2N/Avoid _init_HP_pair(short pair, short f, short b);
2N/A
2N/A/* is_wintou.c */
2N/Aint is_wintouched(WINDOW *win);
2N/A
2N/A/* is_linetou.c */
2N/Aint is_linetouched(WINDOW *win, int line);
2N/A
2N/A/* keyname.c */
2N/Achar *keyname(int key);
2N/A
2N/A/* keypad.c */
2N/Aint keypad(WINDOW *win, bool bf);
2N/A
2N/A/* killchar.c */
2N/Achar killchar(void);
2N/A
2N/A/* leaveok.c */
2N/Aint leaveok(WINDOW *win, bool bf);
2N/A
2N/A/* longname.c */
2N/Achar *longname(void);
2N/A
2N/A/* makenew.c */
2N/AWINDOW *_makenew(int nlines, int ncols, int begy, int begx);
2N/A
2N/A/* mbaddch.c */
2N/Aint _mbclrch(WINDOW *win, int y, int x);
2N/Aint _mbvalid(WINDOW *win);
2N/Aint _mbaddch(WINDOW *win, chtype a, chtype b);
2N/A
2N/A/* mbcharlen.c */
2N/Aint mbcharlen(char *sp);
2N/A
2N/A/* mbdisplen.c */
2N/Aint mbdisplen(char *sp);
2N/A
2N/A/* mbgetwidth.c */
2N/Avoid mbgetwidth(void);
2N/Aint mbeucw(int c);
2N/Aint mbscrw(int c);
2N/Aint wcscrw(wchar_t wc);
2N/A
2N/A/* mbinch.c */
2N/Achar *wmbinch(WINDOW *win, int y, int x);
2N/A
2N/A/* mbinsshift.c */
2N/Aint _mbinsshift(WINDOW *win, int len);
2N/A
2N/A/* mbmove.c */
2N/Aint wmbmove(WINDOW *win, int y, int x);
2N/A
2N/A/* mbstowcs.c */
2N/Asize_t _curs_mbstowcs(wchar_t *pwcs, const char *s, size_t n);
2N/A
2N/A/* mbtowc.c */
2N/Aint _curs_mbtowc(wchar_t *wchar, const char *s, size_t n);
2N/A
2N/A/* mbtranslate.c */
2N/Achar *_strcode2byte(wchar_t *code, char *b, int n);
2N/Awchar_t *_strbyte2code(char *code, wchar_t *byte, int n);
2N/A
2N/A/* memSset.c */
2N/Avoid memSset(chtype *s, chtype c, int n);
2N/A
2N/A/* meta.c */
2N/Aint _meta(int bf);
2N/A
2N/A/* mouse.c */
2N/Aint mouse_set(long mbe);
2N/Aint mouse_on(long mbe);
2N/Aint mouse_off(long mbe);
2N/Aint request_mouse_pos(void);
2N/Avoid wmouse_position(WINDOW *win, int *x, int *y);
2N/Aint map_button(unsigned long a);
2N/Aunsigned long getmouse(void);
2N/Aunsigned long getbmap(void);
2N/A
2N/A/* mvcur.c */
2N/Aint mvcur(int cury, int curx, int newy, int newx);
2N/A
2N/A/* mvderwin.c */
2N/Aint mvderwin(WINDOW *win, int pary, int parx);
2N/A
2N/A/* mvprintw.c */
2N/Aint mvprintw(int y, int x, ...);
2N/A
2N/A/* mvscanw.c */
2N/Aint mvscanw(int y, int x, ...);
2N/A
2N/A/* mvwin.c */
2N/Aint mvwin(WINDOW *win, int by, int bx);
2N/A
2N/A/* mvwprintw.c */
2N/Aint mvwprintw(WINDOW *win, int y, int x, ...);
2N/A
2N/A/* mvwscanw.c */
2N/Aint mvwscanw(WINDOW *win, int y, int x, ...);
2N/A
2N/A/* napms.c */
2N/Aint napms(int ms);
2N/A
2N/A/* newkey.c */
2N/Aint newkey(char *rcvchars, short keyval, bool macro);
2N/A
2N/A/* newpad.c */
2N/AWINDOW *newpad(int l, int nc);
2N/A
2N/A/* newscreen.c */
2N/Aint filter(void);
2N/ASCREEN *newscreen(char *type, int lsize, int csize, int tabsize, FILE *outfptr,
2N/A FILE *infptr);
2N/A
2N/A/* newwin.c */
2N/AWINDOW *newwin(int nlines, int ncols, int by, int bx);
2N/Aint _image(WINDOW *win);
2N/A
2N/A/* nocbreak.c */
2N/Aint nocbreak(void);
2N/A
2N/A/* nodelay.c */
2N/Aint nodelay(WINDOW *win, bool bf);
2N/A
2N/A/* noraw.c */
2N/Aint noraw(void);
2N/A
2N/A/* notimeout.c */
2N/Aint notimeout(WINDOW *win, bool bf);
2N/A
2N/A/* outch.c */
2N/Aint _outch(char c);
2N/Aint _outwch(chtype c);
2N/A
2N/A/* overlap.c */
2N/Aint _overlap(WINDOW *Srcwin, WINDOW *Dstwin, int Overlay);
2N/A
2N/A/* pair_cont.c */
2N/Aint pair_content(short pair, short *f, short *b);
2N/A
2N/A/* pechowchar.c */
2N/Aint pechowchar(WINDOW *pad, chtype ch);
2N/A
2N/A/* pnoutref.c */
2N/Aint pnoutrefresh(WINDOW *pad, int pby, int pbx, int sby, int sbx,
2N/A int sey, int sex);
2N/A
2N/A/* prefresh.c */
2N/Aint prefresh(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
2N/A int smaxy, int smaxx);
2N/Aint _prefresh(int (*func)(WINDOW *), WINDOW *pad, int pminy, int pminx,
2N/A int sminy, int sminx, int smaxy, int smaxx);
2N/Aint _padjust(WINDOW *pad, int pminy, int pminx, int sminy, int sminx,
2N/A int smaxy, int smaxx);
2N/A
2N/A/* printw.c */
2N/Aint printw(char *fmt, ...);
2N/A
2N/A/* putwin.c */
2N/Aint putwin(WINDOW *win, FILE *filep);
2N/A
2N/A/* quick_echo.c */
2N/Aint _quick_echo(WINDOW *win, chtype ch);
2N/A
2N/A/* raw.c */
2N/Aint raw(void);
2N/A
2N/A/* redrawwin.c */
2N/Aint redrawwin(WINDOW *win);
2N/A
2N/A/* reset_sh.c */
2N/Aint reset_shell_mode(void);
2N/A
2N/A/* resetty.c */
2N/Aint resetty(void);
2N/A
2N/A/* restart.c */
2N/Aint restartterm(char * term, int filenum, int *errret);
2N/A
2N/A/* ring.c */
2N/Aint _ring(bool bf);
2N/A
2N/A/* ripoffline.c */
2N/Aint ripoffline(int line, int (*init)(WINDOW *, int));
2N/A
2N/A/* savetty.c */
2N/Aint savetty(void);
2N/A
2N/A/* scanw.c */
2N/Aint scanw(char *fmt, ...);
2N/A
2N/A/* scr_all.c */
2N/Aint _scr_all(char *file, int which);
2N/A
2N/A/* scr_dump.c */
2N/Aint scr_dump(char *file);
2N/A
2N/A/* scr_ll_dump.c */
2N/Aint scr_ll_dump(FILE *filep);
2N/A
2N/A/* scr_reset.c */
2N/Aint scr_reset(FILE *filep, int type);
2N/A
2N/A/* scrollok.c */
2N/Aint scrollok(WINDOW *win, bool bf);
2N/A
2N/A/* setcurscreen.c */
2N/ASCREEN *setcurscreen(SCREEN *new);
2N/A
2N/A/* setcurterm.c */
2N/ATERMINAL *setcurterm(TERMINAL *newterminal);
2N/A
2N/A/* setecho.c */
2N/Aint _setecho(int bf);
2N/A
2N/A/* setkeymap.c */
2N/Aint setkeymap(void);
2N/A
2N/A/* setnonl.c */
2N/Aint _setnonl(int bf);
2N/A
2N/A/* setqiflush.c */
2N/Avoid _setqiflush(int yes);
2N/A
2N/A/* setsyx.c */
2N/Aint setsyx(int y, int x);
2N/A
2N/A/* setupterm.c */
2N/Aint setupterm(char *term, int filenum, int *errret);
2N/Avoid _blast_keys(TERMINAL *terminal);
2N/Aint reset_prog_mode(void);
2N/Aint def_shell_mode(void);
2N/A
2N/A/* slk_atroff.c */
2N/Aint slk_attroff(chtype a);
2N/A
2N/A/* slk_atron.c */
2N/Aint slk_attron(chtype a);
2N/A
2N/A/* slk_atrset.c */
2N/Aint slk_attrset(chtype a);
2N/A
2N/A/* slk_clear.c */
2N/Aint slk_clear(void);
2N/A
2N/A/* slk_label.c */
2N/Achar *slk_label(int n);
2N/A
2N/A/* slk_noutref.c */
2N/Aint slk_noutrefresh(void);
2N/A
2N/A/* slk_refresh.c */
2N/Aint slk_refresh(void);
2N/Aint _slk_update(void);
2N/A
2N/A/* slk_restore.c */
2N/Aint slk_restore(void);
2N/A
2N/A/* slk_set.c */
2N/Aint slk_set(int n, char *lab, int f);
2N/A
2N/A/* slk_start.c */
2N/Aint slk_start(int ng, int *gp);
2N/A
2N/A/* slk_touch.c */
2N/Aint slk_touch(void);
2N/A
2N/A/* start_col.c */
2N/Aint start_color(void);
2N/A
2N/A/* subwin.c */
2N/AWINDOW *subwin(WINDOW *win, int l, int nc, int by, int bx);
2N/A
2N/A/* syncok.c */
2N/Aint syncok(WINDOW *win, bool bf);
2N/A
2N/A/* tcsearch.c */
2N/Aint _tcsearch(char *cap, short offsets[], char *names[], int size, int n);
2N/A
2N/A/* termattrs.c */
2N/Achtype termattrs(void);
2N/A
2N/A/* termcap.c */
2N/Aint tgetent(char *bp, char *name);
2N/Aint tgetflag(char *tcstr);
2N/Aint tgetnum(char *tcstr);
2N/Achar *tgetstr(char *tcstr, char **area);
2N/A
2N/A/* termerr.c */
2N/Avoid termerr(void);
2N/A
2N/A/* termname.c */
2N/Achar *termname(void);
2N/A
2N/A/* tgetch.c */
2N/Aint tgetch(int interpret);
2N/A
2N/A/* tgetwch.c */
2N/Awchar_t tgetwch(int cntl);
2N/A
2N/A/* tgoto.c */
2N/Achar *tgoto(char *cap, int col, int row);
2N/A
2N/A/* tifget.c */
2N/Aint tifgetflag(char *tistr);
2N/Aint tifgetnum(char *tistr);
2N/Achar *tifgetstr(char *tistr);
2N/A
2N/A/* tifnames.c */
2N/A
2N/A/* tiget.c */
2N/Aint tigetflag(char *tistr);
2N/Aint tigetnum(char *tistr);
2N/Achar *tigetstr(char *tistr);
2N/A
2N/A/* tinames.c */
2N/A
2N/A/* tinputfd.c */
2N/Avoid tinputfd(int fd);
2N/A
2N/A/* tnames.c */
2N/A
2N/A/* touchwin.c */
2N/Aint touchwin(WINDOW *win);
2N/A
2N/A/* tparm.c */
2N/Achar *tparm(char *instring, long fp1, long fp2, long p3, long p4, long p5,
2N/A long p6, long p7, long p8, long p9);
2N/Achar *_branchto(char *cp, char to);
2N/A
2N/A/* tputs.c */
2N/Aint tputs(char *cp, int affcnt, int (*outc)(char));
2N/A
2N/A/* trace.c */
2N/Aint traceon(void);
2N/Aint traceoff(void);
2N/A
2N/A/* tstp.c */
2N/Avoid _tstp(int dummy);
2N/Avoid _ccleanup(int signo);
2N/A
2N/A/* ttimeout.c */
2N/Aint ttimeout(int delay);
2N/A
2N/A/* typeahead.c */
2N/Aint typeahead(int fd);
2N/A
2N/A/* unctrl.c */
2N/A
2N/A/* ungetch.c */
2N/Aint ungetch(int ch);
2N/A
2N/A/* ungetwch.c */
2N/Aint ungetwch(wchar_t code);
2N/A
2N/A/* untouchwin.c */
2N/Aint untouchwin(WINDOW *win);
2N/A
2N/A/* use_env.c */
2N/Avoid use_env(int bf);
2N/A
2N/A/* vidupdate.c */
2N/Avoid vidupdate(chtype newmode, chtype oldmode, int (*outc)(char));
2N/Aint _change_video(chtype newmode, chtype oldmode, int (*outc)(char),
2N/A bool color_terminal);
2N/Avoid _change_color(short newcolor, short oldcolor, int (*outc)(char));
2N/A
2N/A/* vsscanf.c */
2N/Aint _vsscanf(char *buf, char *fmt, va_list ap);
2N/A
2N/A/* vwprintw.c */
2N/Aint vwprintw(WINDOW *win, char *fmt, va_list ap);
2N/A
2N/A/* vwscanw.c */
2N/Aint vwscanw(WINDOW *win, char *fmt, va_list ap);
2N/A
2N/A/* waddchnstr.c */
2N/Aint waddchnstr(WINDOW *win, chtype *string, int ncols);
2N/A
2N/A/* waddnstr.c */
2N/Aint waddnstr(WINDOW *win, char *tstr, int i);
2N/A
2N/A/* waddnwstr.c */
2N/Aint waddnwstr(WINDOW *win, wchar_t *code, int n);
2N/A
2N/A/* waddwch.c */
2N/Aint waddwch(WINDOW *win, chtype c);
2N/A
2N/A/* waddwchnstr.c */
2N/Aint waddwchnstr(WINDOW *win, chtype *string, int ncols);
2N/A
2N/A/* wadjcurspos.c */
2N/Aint wadjcurspos(WINDOW *win);
2N/A
2N/A/* wbkgd.c */
2N/Aint wbkgd(WINDOW *win, chtype nbkgd);
2N/A
2N/A/* wbkgdset.c */
2N/Avoid wbkgdset(WINDOW *win, chtype c);
2N/A
2N/A/* wborder.c */
2N/Aint wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs,
2N/A chtype tl, chtype tr, chtype bl, chtype br);
2N/A
2N/A/* wclrtobot.c */
2N/Aint wclrtobot(WINDOW *win);
2N/A
2N/A/* wclrtoeol.c */
2N/Aint wclrtoeol(WINDOW *win);
2N/A
2N/A/* wcstombs.c */
2N/Asize_t _curs_wcstombs(char *s, const wchar_t *pwcs, size_t n);
2N/A
2N/A/* wctomb.c */
2N/Aint _curs_wctomb(char *s, const wchar_t wchar);
2N/A
2N/A/* wdelch.c */
2N/Aint wdelch(WINDOW *win);
2N/A
2N/A/* wechowchar.c */
2N/Aint wechowchar(WINDOW *win, chtype ch);
2N/A
2N/A/* wgetch.c */
2N/Aint wgetch(WINDOW *win);
2N/A
2N/A/* wgetstr.c */
2N/Aint wgetstr(WINDOW *win, char *str);
2N/Aint wgetnstr(WINDOW *win, char *str, int n);
2N/A
2N/A/* wgetwch.c */
2N/Aint wgetwch(WINDOW *win);
2N/A
2N/A/* wgetwstr.c */
2N/Aint wgetwstr(WINDOW *win, wchar_t *str);
2N/Aint wgetnwstr(WINDOW *win, wchar_t *str, int n);
2N/A
2N/A/* whline.c */
2N/Aint whline(WINDOW *win, chtype ch, int num_chars);
2N/A
2N/A/* winch.c */
2N/Achtype winch(WINDOW *win);
2N/A
2N/A/* winchnstr.c */
2N/Aint winchnstr(WINDOW *win, chtype *string, int ncols);
2N/A
2N/A/* winchstr.c */
2N/Aint winchstr(WINDOW *win, chtype *string);
2N/A
2N/A/* winnstr.c */
2N/Aint winnstr(WINDOW *win, char *string, int ncols);
2N/A
2N/A/* winnwstr.c */
2N/Aint winnwstr(WINDOW *win, wchar_t *wstr, int ncols);
2N/A
2N/A/* winsch.c */
2N/Aint winsch(WINDOW *win, chtype c);
2N/A
2N/A/* winsdelln.c */
2N/Aint winsdelln(WINDOW *win, int id);
2N/A
2N/A/* winsnstr.c */
2N/Aint winsnstr(WINDOW *win, char *tsp, int n);
2N/A
2N/A/* winsnwstr.c */
2N/Aint winsnwstr(WINDOW *win, wchar_t *code, int n);
2N/A
2N/A/* winstr.c */
2N/Aint winstr(WINDOW *win, char *str);
2N/A
2N/A/* winswch.c */
2N/Aint winswch(WINDOW *win, chtype c);
2N/A
2N/A/* winwch.c */
2N/Achtype winwch(WINDOW *win);
2N/A
2N/A/* winwchnstr.c */
2N/Aint winwchnstr(WINDOW *win, chtype *string, int ncols);
2N/A
2N/A/* winwstr.c */
2N/Aint winwstr(WINDOW *win, wchar_t *wstr);
2N/A
2N/A/* wmove.c */
2N/Aint wmove(WINDOW *win, int y, int x);
2N/A
2N/A/* wmovenextch.c */
2N/Aint wmovenextch(WINDOW *win);
2N/A
2N/A/* wmoveprevch.c */
2N/Aint wmoveprevch(WINDOW *win);
2N/A
2N/A/* wnoutrefresh.c */
2N/Aint wnoutrefresh(WINDOW *win);
2N/A
2N/A/* wprintw.c */
2N/Aint wprintw(WINDOW *win, ...);
2N/A
2N/A/* wredrawln.c */
2N/Aint wredrawln(WINDOW *win, int begline, int numlines);
2N/A
2N/A/* wrefresh.c */
2N/Aint wrefresh(WINDOW *win);
2N/A
2N/A/* wscanw.c */
2N/Aint wscanw(WINDOW *win, ...);
2N/A
2N/A/* wscrl.c */
2N/Aint wscrl(WINDOW *win, int n);
2N/A
2N/A/* wsetscrreg.c */
2N/Aint wsetscrreg(WINDOW *win, int topy, int boty);
2N/A
2N/A/* wsyncdown.c */
2N/Avoid wsyncdown(WINDOW *win);
2N/A
2N/A/* wsyncup.c */
2N/Avoid wsyncup(WINDOW *win);
2N/Avoid wcursyncup(WINDOW *win);
2N/A
2N/A/* wtimeout.c */
2N/Avoid wtimeout(WINDOW *win, int tm);
2N/A
2N/A/* wtouchln.c */
2N/Aint wtouchln(WINDOW *win, int y, int n, int changed);
2N/A
2N/A/* wvline.c */
2N/Aint wvline(WINDOW *win, chtype vertch, int num_chars);
2N/A
2N/A/* _box.c */
2N/A/* really box32 */
2N/Aint box(WINDOW *win, chtype v, chtype h);
2N/A
2N/A/* V3.box.c */
2N/A#undef box
2N/Aint box(WINDOW *win, _ochtype v, _ochtype h);
2N/A
2N/A/* _newterm.c */
2N/A/* really newterm32 */
2N/ASCREEN *newterm(char *type, FILE *fout, FILE *fin);
2N/A
2N/A/* V3.newterm.c */
2N/A#undef newterm
2N/ASCREEN *newterm(char *type, FILE *outfptr, FILE *infptr);
2N/A
2N/A/* setterm.c */
2N/A#undef setterm
2N/Aint setterm(char *name);
2N/A
2N/A/* pechochar.c */
2N/A/* really p32echochar */
2N/Aint pechochar(WINDOW *win, chtype c);
2N/A
2N/A/* V3.pechochar.c */
2N/A#undef pechochar
2N/Aint pechochar(WINDOW *win, _ochtype c);
2N/A
2N/A/* waddch.c */
2N/A/* really w32addch */
2N/Aint waddch(WINDOW *win, chtype c);
2N/A
2N/A/* V3.waddch.c */
2N/A#undef waddch
2N/Aint waddch(WINDOW *win, _ochtype c);
2N/A
2N/A/* wattroff.c */
2N/A/* really w32attroff */
2N/Aint wattroff(WINDOW *win, chtype attrs);
2N/A
2N/A/* V3.wattroff.c */
2N/A#undef wattroff
2N/Aint wattroff(WINDOW *win, _ochtype attrs);
2N/A
2N/A/* wattron.c */
2N/A/* really w32attron */
2N/Aint wattron(WINDOW *win, chtype attrs);
2N/A
2N/A/* V3.wattron.c */
2N/A#undef wattron
2N/Aint wattron(WINDOW *win, _ochtype attrs);
2N/A
2N/A/* wattrset.c */
2N/A/* really w32attrset */
2N/Aint wattrset(WINDOW *win, chtype attrs);
2N/A
2N/A/* V3.wattrset.c */
2N/A#undef wattrset
2N/Aint wattrset(WINDOW *win, _ochtype attrs);
2N/A
2N/A/* wechochar.c */
2N/A/* really w32echochar */
2N/Aint wechochar(WINDOW *win, chtype c);
2N/A
2N/A/* V3.wechochar.c */
2N/A#undef wechochar
2N/Aint wechochar(WINDOW *win, _ochtype c);
2N/A
2N/A/* winsch.c */
2N/A/* really w32insch */
2N/Aint winsch(WINDOW *win, chtype c);
2N/A
2N/A/* V3.winsch.c */
2N/A#undef winsch
2N/Aint winsch(WINDOW *win, _ochtype c);
2N/A
2N/A/* putp.c */
2N/Aint _outchar(char ch);
2N/Aint putp(char *str);
2N/A/* really vid32attr */
2N/Aint vidattr(chtype newmode);
2N/A
2N/A/* V3.vidattr.c */
2N/A#undef vidattr
2N/Aint vidattr(_ochtype a);
2N/A
2N/A/* vidputs.c */
2N/A/* really vid32puts */
2N/Aint vidputs(chtype a, int (*b)(char));
2N/A
2N/A/* V3.vidputs.c */
2N/A#undef vidputs
2N/Aint vidputs(_ochtype a, int (*o)(char));
2N/A
2N/A/* initscr.c */
2N/A/* really initscr32 */
2N/AWINDOW *initscr(void);
2N/A
2N/A/* V3.initscr.c */
2N/A#undef initscr
2N/AWINDOW *initscr(void);