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 (c) 1996-1998 by Sun Microsystems, Inc. 27*7c478bd9Sstevel@tonic-gate * All rights reserved. 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 <curses.h> 33*7c478bd9Sstevel@tonic-gate#include <term.h> 34*7c478bd9Sstevel@tonic-gate 35*7c478bd9Sstevel@tonic-gate/* 36*7c478bd9Sstevel@tonic-gate * lib/libxcurses/src/libc/xcurses routines 37*7c478bd9Sstevel@tonic-gate */ 38*7c478bd9Sstevel@tonic-gate 39*7c478bd9Sstevel@tonic-gate/* 40*7c478bd9Sstevel@tonic-gate * add_wch.c 41*7c478bd9Sstevel@tonic-gate */ 42*7c478bd9Sstevel@tonic-gateint add_wch(const cchar_t *); 43*7c478bd9Sstevel@tonic-gateint mvadd_wch(int, int, const cchar_t *); 44*7c478bd9Sstevel@tonic-gateint mvwadd_wch(WINDOW *, int, int, const cchar_t *); 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gate/* 47*7c478bd9Sstevel@tonic-gate * addch.c 48*7c478bd9Sstevel@tonic-gate */ 49*7c478bd9Sstevel@tonic-gateint addch(chtype); 50*7c478bd9Sstevel@tonic-gateint mvaddch(int, int, chtype); 51*7c478bd9Sstevel@tonic-gateint mvwaddch(WINDOW *, int, int, chtype); 52*7c478bd9Sstevel@tonic-gate 53*7c478bd9Sstevel@tonic-gate/* 54*7c478bd9Sstevel@tonic-gate * addchn.c 55*7c478bd9Sstevel@tonic-gate */ 56*7c478bd9Sstevel@tonic-gateint addchnstr(const chtype *, int); 57*7c478bd9Sstevel@tonic-gateint mvaddchnstr(int, int, const chtype *, int); 58*7c478bd9Sstevel@tonic-gateint mvwaddchnstr(WINDOW *, int, int, const chtype *, int); 59*7c478bd9Sstevel@tonic-gateint addchstr(const chtype *); 60*7c478bd9Sstevel@tonic-gateint mvaddchstr(int, int, const chtype *); 61*7c478bd9Sstevel@tonic-gateint mvwaddchstr(WINDOW *, int, int, const chtype *); 62*7c478bd9Sstevel@tonic-gateint waddchstr(WINDOW *, const chtype *); 63*7c478bd9Sstevel@tonic-gate 64*7c478bd9Sstevel@tonic-gate/* 65*7c478bd9Sstevel@tonic-gate * addnstr.c 66*7c478bd9Sstevel@tonic-gate */ 67*7c478bd9Sstevel@tonic-gateint addnstr(const char *, int); 68*7c478bd9Sstevel@tonic-gateint mvaddnstr(int, int, const char *, int); 69*7c478bd9Sstevel@tonic-gateint mvwaddnstr(WINDOW *, int, int, const char *, int); 70*7c478bd9Sstevel@tonic-gateint addstr(const char *); 71*7c478bd9Sstevel@tonic-gateint mvaddstr(int, int, const char *); 72*7c478bd9Sstevel@tonic-gateint mvwaddstr(WINDOW *, int, int, const char *); 73*7c478bd9Sstevel@tonic-gateint waddstr(WINDOW *, const char *); 74*7c478bd9Sstevel@tonic-gate 75*7c478bd9Sstevel@tonic-gate/* 76*7c478bd9Sstevel@tonic-gate * addnws.c 77*7c478bd9Sstevel@tonic-gate */ 78*7c478bd9Sstevel@tonic-gateint addnwstr(const wchar_t *, int); 79*7c478bd9Sstevel@tonic-gateint mvaddnwstr(int, int, const wchar_t *, int); 80*7c478bd9Sstevel@tonic-gateint mvwaddnwstr(WINDOW *, int, int, const wchar_t *, int); 81*7c478bd9Sstevel@tonic-gateint addwstr(const wchar_t *); 82*7c478bd9Sstevel@tonic-gateint mvaddwstr(int, int, const wchar_t *); 83*7c478bd9Sstevel@tonic-gateint mvwaddwstr(WINDOW *, int, int, const wchar_t *); 84*7c478bd9Sstevel@tonic-gateint waddwstr(WINDOW *, const wchar_t *); 85*7c478bd9Sstevel@tonic-gate 86*7c478bd9Sstevel@tonic-gate/* 87*7c478bd9Sstevel@tonic-gate * addwchn.c 88*7c478bd9Sstevel@tonic-gate */ 89*7c478bd9Sstevel@tonic-gateint add_wchnstr(const cchar_t *, int); 90*7c478bd9Sstevel@tonic-gateint mvadd_wchnstr(int, int, const cchar_t *, int); 91*7c478bd9Sstevel@tonic-gateint mvwadd_wchnstr(WINDOW *, int, int, const cchar_t *, int); 92*7c478bd9Sstevel@tonic-gateint add_wchstr(const cchar_t *); 93*7c478bd9Sstevel@tonic-gateint mvadd_wchstr(int, int, const cchar_t *); 94*7c478bd9Sstevel@tonic-gateint mvwadd_wchstr(WINDOW *, int, int, const cchar_t *); 95*7c478bd9Sstevel@tonic-gateint wadd_wchstr(WINDOW *, const cchar_t *); 96*7c478bd9Sstevel@tonic-gate 97*7c478bd9Sstevel@tonic-gate/* 98*7c478bd9Sstevel@tonic-gate * attr_on.c 99*7c478bd9Sstevel@tonic-gate */ 100*7c478bd9Sstevel@tonic-gateint attr_on(attr_t, void *); 101*7c478bd9Sstevel@tonic-gateint attr_off(attr_t, void *); 102*7c478bd9Sstevel@tonic-gateint attr_set(attr_t, short, void *); 103*7c478bd9Sstevel@tonic-gateint color_set(short, void *); 104*7c478bd9Sstevel@tonic-gateint attr_get(attr_t *, short *, void *); 105*7c478bd9Sstevel@tonic-gateint standout(void); 106*7c478bd9Sstevel@tonic-gateint standend(void); 107*7c478bd9Sstevel@tonic-gate 108*7c478bd9Sstevel@tonic-gate/* 109*7c478bd9Sstevel@tonic-gate * attron.c 110*7c478bd9Sstevel@tonic-gate */ 111*7c478bd9Sstevel@tonic-gateint attron(int); 112*7c478bd9Sstevel@tonic-gateint attroff(int); 113*7c478bd9Sstevel@tonic-gateint attrset(int); 114*7c478bd9Sstevel@tonic-gateint COLOR_PAIR(int); 115*7c478bd9Sstevel@tonic-gateint PAIR_NUMBER(int); 116*7c478bd9Sstevel@tonic-gate 117*7c478bd9Sstevel@tonic-gate/* 118*7c478bd9Sstevel@tonic-gate * baudrate.c 119*7c478bd9Sstevel@tonic-gate */ 120*7c478bd9Sstevel@tonic-gateint baudrate(void); 121*7c478bd9Sstevel@tonic-gate 122*7c478bd9Sstevel@tonic-gate/* 123*7c478bd9Sstevel@tonic-gate * beep.c 124*7c478bd9Sstevel@tonic-gate */ 125*7c478bd9Sstevel@tonic-gateint beep(void); 126*7c478bd9Sstevel@tonic-gateint flash(void); 127*7c478bd9Sstevel@tonic-gate 128*7c478bd9Sstevel@tonic-gate/* 129*7c478bd9Sstevel@tonic-gate * bkgd.c 130*7c478bd9Sstevel@tonic-gate */ 131*7c478bd9Sstevel@tonic-gateint bkgd(chtype); 132*7c478bd9Sstevel@tonic-gateint wbkgd(WINDOW *, chtype); 133*7c478bd9Sstevel@tonic-gate 134*7c478bd9Sstevel@tonic-gate/* 135*7c478bd9Sstevel@tonic-gate * bkgdset.c 136*7c478bd9Sstevel@tonic-gate */ 137*7c478bd9Sstevel@tonic-gatevoid bkgdset(chtype); 138*7c478bd9Sstevel@tonic-gatevoid wbkgdset(WINDOW *, chtype); 139*7c478bd9Sstevel@tonic-gatechtype getbkgd(WINDOW *); 140*7c478bd9Sstevel@tonic-gate 141*7c478bd9Sstevel@tonic-gate/* 142*7c478bd9Sstevel@tonic-gate * bkgrnd.c 143*7c478bd9Sstevel@tonic-gate */ 144*7c478bd9Sstevel@tonic-gateint bkgrnd(const cchar_t *); 145*7c478bd9Sstevel@tonic-gate 146*7c478bd9Sstevel@tonic-gate/* 147*7c478bd9Sstevel@tonic-gate * bkgrndst.c 148*7c478bd9Sstevel@tonic-gate */ 149*7c478bd9Sstevel@tonic-gatevoid bkgrndset(const cchar_t *); 150*7c478bd9Sstevel@tonic-gatevoid wbkgrndset(WINDOW *, const cchar_t *); 151*7c478bd9Sstevel@tonic-gateint getbkgrnd(cchar_t *); 152*7c478bd9Sstevel@tonic-gateint wgetbkgrnd(WINDOW *, cchar_t *); 153*7c478bd9Sstevel@tonic-gate 154*7c478bd9Sstevel@tonic-gate/* 155*7c478bd9Sstevel@tonic-gate * box.c 156*7c478bd9Sstevel@tonic-gate */ 157*7c478bd9Sstevel@tonic-gateint box(WINDOW *, chtype, chtype); 158*7c478bd9Sstevel@tonic-gate 159*7c478bd9Sstevel@tonic-gate/* 160*7c478bd9Sstevel@tonic-gate * box_set.c 161*7c478bd9Sstevel@tonic-gate */ 162*7c478bd9Sstevel@tonic-gateint box_set(WINDOW *, const cchar_t *, const cchar_t *); 163*7c478bd9Sstevel@tonic-gate 164*7c478bd9Sstevel@tonic-gate/* 165*7c478bd9Sstevel@tonic-gate * brdr.c 166*7c478bd9Sstevel@tonic-gate */ 167*7c478bd9Sstevel@tonic-gateint border(chtype, chtype, chtype, chtype, chtype, chtype, chtype, chtype); 168*7c478bd9Sstevel@tonic-gate 169*7c478bd9Sstevel@tonic-gate/* 170*7c478bd9Sstevel@tonic-gate * brdr_st.c 171*7c478bd9Sstevel@tonic-gate */ 172*7c478bd9Sstevel@tonic-gateint border_set(const cchar_t *, const cchar_t *, 173*7c478bd9Sstevel@tonic-gate const cchar_t *, const cchar_t *, 174*7c478bd9Sstevel@tonic-gate const cchar_t *, const cchar_t *, 175*7c478bd9Sstevel@tonic-gate const cchar_t *, const cchar_t *); 176*7c478bd9Sstevel@tonic-gate 177*7c478bd9Sstevel@tonic-gate/* 178*7c478bd9Sstevel@tonic-gate * cbreak.c 179*7c478bd9Sstevel@tonic-gate */ 180*7c478bd9Sstevel@tonic-gateint cbreak(void); 181*7c478bd9Sstevel@tonic-gateint nocbreak(void); 182*7c478bd9Sstevel@tonic-gateint halfdelay(int); 183*7c478bd9Sstevel@tonic-gateint raw(void); 184*7c478bd9Sstevel@tonic-gateint noraw(void); 185*7c478bd9Sstevel@tonic-gate 186*7c478bd9Sstevel@tonic-gate/* 187*7c478bd9Sstevel@tonic-gate * chgat.c 188*7c478bd9Sstevel@tonic-gate */ 189*7c478bd9Sstevel@tonic-gateint chgat(int, attr_t, short, const void *); 190*7c478bd9Sstevel@tonic-gateint mvchgat(int, int, int, attr_t, short, const void *); 191*7c478bd9Sstevel@tonic-gateint mvwchgat(WINDOW *, int, int, int, attr_t, short, const void *); 192*7c478bd9Sstevel@tonic-gate 193*7c478bd9Sstevel@tonic-gate/* 194*7c478bd9Sstevel@tonic-gate * clear.c 195*7c478bd9Sstevel@tonic-gate */ 196*7c478bd9Sstevel@tonic-gateint clear(void); 197*7c478bd9Sstevel@tonic-gateint erase(void); 198*7c478bd9Sstevel@tonic-gate 199*7c478bd9Sstevel@tonic-gate/* 200*7c478bd9Sstevel@tonic-gate * clearok.c 201*7c478bd9Sstevel@tonic-gate */ 202*7c478bd9Sstevel@tonic-gateint clearok(WINDOW *, bool); 203*7c478bd9Sstevel@tonic-gatevoid immedok(WINDOW *, bool); 204*7c478bd9Sstevel@tonic-gateint leaveok(WINDOW *, bool); 205*7c478bd9Sstevel@tonic-gateint notimeout(WINDOW *, bool); 206*7c478bd9Sstevel@tonic-gateint scrollok(WINDOW *, bool); 207*7c478bd9Sstevel@tonic-gate 208*7c478bd9Sstevel@tonic-gate/* 209*7c478bd9Sstevel@tonic-gate * clrbot.c 210*7c478bd9Sstevel@tonic-gate */ 211*7c478bd9Sstevel@tonic-gateint clrtobot(void); 212*7c478bd9Sstevel@tonic-gate 213*7c478bd9Sstevel@tonic-gate/* 214*7c478bd9Sstevel@tonic-gate * clreol.c 215*7c478bd9Sstevel@tonic-gate */ 216*7c478bd9Sstevel@tonic-gateint clrtoeol(void); 217*7c478bd9Sstevel@tonic-gate 218*7c478bd9Sstevel@tonic-gate/* 219*7c478bd9Sstevel@tonic-gate * color.c 220*7c478bd9Sstevel@tonic-gate */ 221*7c478bd9Sstevel@tonic-gateint start_color(void); 222*7c478bd9Sstevel@tonic-gateint init_color(short, short, short, short); 223*7c478bd9Sstevel@tonic-gateint init_pair(short, short, short); 224*7c478bd9Sstevel@tonic-gateint color_content(short, short *, short *, short *); 225*7c478bd9Sstevel@tonic-gateint pair_content(short, short *, short *); 226*7c478bd9Sstevel@tonic-gate 227*7c478bd9Sstevel@tonic-gate/* 228*7c478bd9Sstevel@tonic-gate * copywin.c 229*7c478bd9Sstevel@tonic-gate */ 230*7c478bd9Sstevel@tonic-gateint copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int, int); 231*7c478bd9Sstevel@tonic-gate 232*7c478bd9Sstevel@tonic-gate/* 233*7c478bd9Sstevel@tonic-gate * curs_set.c 234*7c478bd9Sstevel@tonic-gate */ 235*7c478bd9Sstevel@tonic-gateint curs_set(int); 236*7c478bd9Sstevel@tonic-gate 237*7c478bd9Sstevel@tonic-gate/* 238*7c478bd9Sstevel@tonic-gate * delay.c 239*7c478bd9Sstevel@tonic-gate */ 240*7c478bd9Sstevel@tonic-gateint delay_output(int); 241*7c478bd9Sstevel@tonic-gate 242*7c478bd9Sstevel@tonic-gate/* 243*7c478bd9Sstevel@tonic-gate * delch.c 244*7c478bd9Sstevel@tonic-gate */ 245*7c478bd9Sstevel@tonic-gateint delch(void); 246*7c478bd9Sstevel@tonic-gateint mvdelch(int, int); 247*7c478bd9Sstevel@tonic-gateint mvwdelch(WINDOW *, int, int); 248*7c478bd9Sstevel@tonic-gate 249*7c478bd9Sstevel@tonic-gate/* 250*7c478bd9Sstevel@tonic-gate * deleteln.c 251*7c478bd9Sstevel@tonic-gate */ 252*7c478bd9Sstevel@tonic-gateint deleteln(void); 253*7c478bd9Sstevel@tonic-gateint insertln(void); 254*7c478bd9Sstevel@tonic-gateint insdelln(int); 255*7c478bd9Sstevel@tonic-gateint wdeleteln(WINDOW *); 256*7c478bd9Sstevel@tonic-gateint winsertln(WINDOW *); 257*7c478bd9Sstevel@tonic-gate 258*7c478bd9Sstevel@tonic-gate/* 259*7c478bd9Sstevel@tonic-gate * doupdate.c 260*7c478bd9Sstevel@tonic-gate */ 261*7c478bd9Sstevel@tonic-gateint doupdate(void); 262*7c478bd9Sstevel@tonic-gatevoid idcok(WINDOW *, bool); 263*7c478bd9Sstevel@tonic-gateint idlok(WINDOW *, bool); 264*7c478bd9Sstevel@tonic-gate 265*7c478bd9Sstevel@tonic-gate/* 266*7c478bd9Sstevel@tonic-gate * dupwin.c 267*7c478bd9Sstevel@tonic-gate */ 268*7c478bd9Sstevel@tonic-gateWINDOW *dupwin(WINDOW *); 269*7c478bd9Sstevel@tonic-gate 270*7c478bd9Sstevel@tonic-gate/* 271*7c478bd9Sstevel@tonic-gate * echo_wch.c 272*7c478bd9Sstevel@tonic-gate */ 273*7c478bd9Sstevel@tonic-gateint echo_wchar(const cchar_t *); 274*7c478bd9Sstevel@tonic-gateint wecho_wchar(WINDOW *, const cchar_t *); 275*7c478bd9Sstevel@tonic-gate 276*7c478bd9Sstevel@tonic-gate/* 277*7c478bd9Sstevel@tonic-gate * echochar.c 278*7c478bd9Sstevel@tonic-gate */ 279*7c478bd9Sstevel@tonic-gateint echochar(chtype); 280*7c478bd9Sstevel@tonic-gateint wechochar(WINDOW *, chtype); 281*7c478bd9Sstevel@tonic-gate 282*7c478bd9Sstevel@tonic-gate/* 283*7c478bd9Sstevel@tonic-gate * endwin.c 284*7c478bd9Sstevel@tonic-gate */ 285*7c478bd9Sstevel@tonic-gateint endwin(void); 286*7c478bd9Sstevel@tonic-gate 287*7c478bd9Sstevel@tonic-gate/* 288*7c478bd9Sstevel@tonic-gate * flushinp.c 289*7c478bd9Sstevel@tonic-gate */ 290*7c478bd9Sstevel@tonic-gateint flushinp(void); 291*7c478bd9Sstevel@tonic-gate 292*7c478bd9Sstevel@tonic-gate/* 293*7c478bd9Sstevel@tonic-gate * get_wch.c 294*7c478bd9Sstevel@tonic-gate */ 295*7c478bd9Sstevel@tonic-gateint get_wch(wint_t *); 296*7c478bd9Sstevel@tonic-gateint mvget_wch(int, int, wint_t *); 297*7c478bd9Sstevel@tonic-gateint mvwget_wch(WINDOW *, int, int, wint_t *); 298*7c478bd9Sstevel@tonic-gate 299*7c478bd9Sstevel@tonic-gate/* 300*7c478bd9Sstevel@tonic-gate * getcchar.c 301*7c478bd9Sstevel@tonic-gate */ 302*7c478bd9Sstevel@tonic-gateint getcchar(const cchar_t *, wchar_t *, attr_t *, short *, void *); 303*7c478bd9Sstevel@tonic-gate 304*7c478bd9Sstevel@tonic-gate/* 305*7c478bd9Sstevel@tonic-gate * getch.c 306*7c478bd9Sstevel@tonic-gate */ 307*7c478bd9Sstevel@tonic-gateint getch(void); 308*7c478bd9Sstevel@tonic-gateint mvgetch(int, int); 309*7c478bd9Sstevel@tonic-gateint mvwgetch(WINDOW *, int, int); 310*7c478bd9Sstevel@tonic-gate 311*7c478bd9Sstevel@tonic-gate/* 312*7c478bd9Sstevel@tonic-gate * getn_ws.c 313*7c478bd9Sstevel@tonic-gate */ 314*7c478bd9Sstevel@tonic-gateint getn_wstr(wint_t *, int); 315*7c478bd9Sstevel@tonic-gateint mvgetn_wstr(int, int, wint_t *, int); 316*7c478bd9Sstevel@tonic-gateint mvwgetn_wstr(WINDOW *, int, int, wint_t *, int); 317*7c478bd9Sstevel@tonic-gateint get_wstr(wint_t *); 318*7c478bd9Sstevel@tonic-gateint mvget_wstr(int, int, wint_t *); 319*7c478bd9Sstevel@tonic-gateint mvwget_wstr(WINDOW *, int, int, wint_t *); 320*7c478bd9Sstevel@tonic-gateint wget_wstr(WINDOW *, wint_t *); 321*7c478bd9Sstevel@tonic-gate 322*7c478bd9Sstevel@tonic-gate/* 323*7c478bd9Sstevel@tonic-gate * getnstr.c 324*7c478bd9Sstevel@tonic-gate */ 325*7c478bd9Sstevel@tonic-gateint getnstr(char *, int); 326*7c478bd9Sstevel@tonic-gateint mvgetnstr(int, int, char *, int); 327*7c478bd9Sstevel@tonic-gateint mvwgetnstr(WINDOW *, int, int, char *, int); 328*7c478bd9Sstevel@tonic-gateint getstr(char *); 329*7c478bd9Sstevel@tonic-gateint mvgetstr(int, int, char *); 330*7c478bd9Sstevel@tonic-gateint mvwgetstr(WINDOW *, int, int, char *); 331*7c478bd9Sstevel@tonic-gateint wgetstr(WINDOW *, char *); 332*7c478bd9Sstevel@tonic-gate 333*7c478bd9Sstevel@tonic-gate/* 334*7c478bd9Sstevel@tonic-gate * getwin.c 335*7c478bd9Sstevel@tonic-gate */ 336*7c478bd9Sstevel@tonic-gateWINDOW *getwin(FILE *); 337*7c478bd9Sstevel@tonic-gateint putwin(WINDOW *, FILE *); 338*7c478bd9Sstevel@tonic-gate 339*7c478bd9Sstevel@tonic-gate/* 340*7c478bd9Sstevel@tonic-gate * has.c 341*7c478bd9Sstevel@tonic-gate */ 342*7c478bd9Sstevel@tonic-gatebool has_colors(void); 343*7c478bd9Sstevel@tonic-gatebool has_ic(void); 344*7c478bd9Sstevel@tonic-gatebool has_il(void); 345*7c478bd9Sstevel@tonic-gatebool can_change_color(void); 346*7c478bd9Sstevel@tonic-gate 347*7c478bd9Sstevel@tonic-gate/* 348*7c478bd9Sstevel@tonic-gate * hln.c 349*7c478bd9Sstevel@tonic-gate */ 350*7c478bd9Sstevel@tonic-gateint hline(chtype, int); 351*7c478bd9Sstevel@tonic-gateint mvhline(int, int, chtype, int); 352*7c478bd9Sstevel@tonic-gateint mvwhline(WINDOW *, int, int, chtype, int); 353*7c478bd9Sstevel@tonic-gateint vline(chtype, int); 354*7c478bd9Sstevel@tonic-gateint mvvline(int, int, chtype, int); 355*7c478bd9Sstevel@tonic-gateint mvwvline(WINDOW *, int, int, chtype, int); 356*7c478bd9Sstevel@tonic-gate 357*7c478bd9Sstevel@tonic-gate/* 358*7c478bd9Sstevel@tonic-gate * hln_st.c 359*7c478bd9Sstevel@tonic-gate */ 360*7c478bd9Sstevel@tonic-gateint hline_set(const cchar_t *, int); 361*7c478bd9Sstevel@tonic-gateint mvhline_set(int, int, const cchar_t *, int); 362*7c478bd9Sstevel@tonic-gateint mvwhline_set(WINDOW *, int, int, const cchar_t *, int); 363*7c478bd9Sstevel@tonic-gateint vline_set(const cchar_t *, int); 364*7c478bd9Sstevel@tonic-gateint mvvline_set(int, int, const cchar_t *, int); 365*7c478bd9Sstevel@tonic-gateint mvwvline_set(WINDOW *, int, int, const cchar_t *, int); 366*7c478bd9Sstevel@tonic-gate 367*7c478bd9Sstevel@tonic-gate/* 368*7c478bd9Sstevel@tonic-gate * in_wch.c 369*7c478bd9Sstevel@tonic-gate */ 370*7c478bd9Sstevel@tonic-gateint in_wch(cchar_t *); 371*7c478bd9Sstevel@tonic-gateint mvin_wch(int, int, cchar_t *); 372*7c478bd9Sstevel@tonic-gateint mvwin_wch(WINDOW *, int, int, cchar_t *); 373*7c478bd9Sstevel@tonic-gate 374*7c478bd9Sstevel@tonic-gate/* 375*7c478bd9Sstevel@tonic-gate * in_wchn.c 376*7c478bd9Sstevel@tonic-gate */ 377*7c478bd9Sstevel@tonic-gateint in_wchnstr(cchar_t *, int); 378*7c478bd9Sstevel@tonic-gateint mvin_wchnstr(int, int, cchar_t *, int); 379*7c478bd9Sstevel@tonic-gateint mvwin_wchnstr(WINDOW *, int, int, cchar_t *, int); 380*7c478bd9Sstevel@tonic-gateint in_wchstr(cchar_t *); 381*7c478bd9Sstevel@tonic-gateint mvin_wchstr(int, int, cchar_t *); 382*7c478bd9Sstevel@tonic-gateint mvwin_wchstr(WINDOW *, int, int, cchar_t *); 383*7c478bd9Sstevel@tonic-gateint win_wchstr(WINDOW *, cchar_t *); 384*7c478bd9Sstevel@tonic-gate 385*7c478bd9Sstevel@tonic-gate/* 386*7c478bd9Sstevel@tonic-gate * inch.c 387*7c478bd9Sstevel@tonic-gate */ 388*7c478bd9Sstevel@tonic-gatechtype inch(void); 389*7c478bd9Sstevel@tonic-gatechtype mvinch(int, int); 390*7c478bd9Sstevel@tonic-gatechtype mvwinch(WINDOW *, int, int); 391*7c478bd9Sstevel@tonic-gate 392*7c478bd9Sstevel@tonic-gate/* 393*7c478bd9Sstevel@tonic-gate * inchn.c 394*7c478bd9Sstevel@tonic-gate */ 395*7c478bd9Sstevel@tonic-gateint inchnstr(chtype *, int); 396*7c478bd9Sstevel@tonic-gateint mvinchnstr(int, int, chtype *, int); 397*7c478bd9Sstevel@tonic-gateint mvwinchnstr(WINDOW *, int, int, chtype *, int); 398*7c478bd9Sstevel@tonic-gateint inchstr(chtype *); 399*7c478bd9Sstevel@tonic-gateint mvinchstr(int, int, chtype *); 400*7c478bd9Sstevel@tonic-gateint mvwinchstr(WINDOW *, int, int, chtype *); 401*7c478bd9Sstevel@tonic-gateint winchstr(WINDOW *, chtype *); 402*7c478bd9Sstevel@tonic-gate 403*7c478bd9Sstevel@tonic-gate/* 404*7c478bd9Sstevel@tonic-gate * initscr.c 405*7c478bd9Sstevel@tonic-gate */ 406*7c478bd9Sstevel@tonic-gateWINDOW *initscr(void); 407*7c478bd9Sstevel@tonic-gate 408*7c478bd9Sstevel@tonic-gate/* 409*7c478bd9Sstevel@tonic-gate * innstr.c 410*7c478bd9Sstevel@tonic-gate */ 411*7c478bd9Sstevel@tonic-gateint innstr(char *, int); 412*7c478bd9Sstevel@tonic-gateint mvinnstr(int, int, char *, int); 413*7c478bd9Sstevel@tonic-gateint mvwinnstr(WINDOW *, int, int, char *, int); 414*7c478bd9Sstevel@tonic-gateint instr(char *); 415*7c478bd9Sstevel@tonic-gateint mvinstr(int, int, char *); 416*7c478bd9Sstevel@tonic-gateint mvwinstr(WINDOW *, int, int, char *); 417*7c478bd9Sstevel@tonic-gateint winstr(WINDOW *, char *); 418*7c478bd9Sstevel@tonic-gate 419*7c478bd9Sstevel@tonic-gate/* 420*7c478bd9Sstevel@tonic-gate * innwstr.c 421*7c478bd9Sstevel@tonic-gate */ 422*7c478bd9Sstevel@tonic-gateint innwstr(wchar_t *, int); 423*7c478bd9Sstevel@tonic-gateint mvinnwstr(int, int, wchar_t *, int); 424*7c478bd9Sstevel@tonic-gateint mvwinnwstr(WINDOW *, int, int, wchar_t *, int); 425*7c478bd9Sstevel@tonic-gateint inwstr(wchar_t *); 426*7c478bd9Sstevel@tonic-gateint mvinwstr(int, int, wchar_t *); 427*7c478bd9Sstevel@tonic-gateint mvwinwstr(WINDOW *, int, int, wchar_t *); 428*7c478bd9Sstevel@tonic-gateint winwstr(WINDOW *, wchar_t *); 429*7c478bd9Sstevel@tonic-gate 430*7c478bd9Sstevel@tonic-gate/* 431*7c478bd9Sstevel@tonic-gate * ins_nws.c 432*7c478bd9Sstevel@tonic-gate */ 433*7c478bd9Sstevel@tonic-gateint ins_nwstr(const wchar_t *, int); 434*7c478bd9Sstevel@tonic-gateint mvins_nwstr(int, int, const wchar_t *, int); 435*7c478bd9Sstevel@tonic-gateint mvwins_nwstr(WINDOW *, int, int, const wchar_t *, int); 436*7c478bd9Sstevel@tonic-gateint ins_wstr(const wchar_t *); 437*7c478bd9Sstevel@tonic-gateint mvins_wstr(int, int, const wchar_t *); 438*7c478bd9Sstevel@tonic-gateint mvwins_wstr(WINDOW *, int, int, const wchar_t *); 439*7c478bd9Sstevel@tonic-gateint wins_wstr(WINDOW *, const wchar_t *); 440*7c478bd9Sstevel@tonic-gate 441*7c478bd9Sstevel@tonic-gate/* 442*7c478bd9Sstevel@tonic-gate * ins_wch.c 443*7c478bd9Sstevel@tonic-gate */ 444*7c478bd9Sstevel@tonic-gateint ins_wch(const cchar_t *); 445*7c478bd9Sstevel@tonic-gateint mvins_wch(int, int, const cchar_t *); 446*7c478bd9Sstevel@tonic-gateint mvwins_wch(WINDOW *, int, int, const cchar_t *); 447*7c478bd9Sstevel@tonic-gate 448*7c478bd9Sstevel@tonic-gate/* 449*7c478bd9Sstevel@tonic-gate * insch.c 450*7c478bd9Sstevel@tonic-gate */ 451*7c478bd9Sstevel@tonic-gateint insch(chtype); 452*7c478bd9Sstevel@tonic-gateint mvinsch(int, int, chtype); 453*7c478bd9Sstevel@tonic-gateint mvwinsch(WINDOW *, int, int, chtype); 454*7c478bd9Sstevel@tonic-gate 455*7c478bd9Sstevel@tonic-gate/* 456*7c478bd9Sstevel@tonic-gate * insnstr.c 457*7c478bd9Sstevel@tonic-gate */ 458*7c478bd9Sstevel@tonic-gateint insnstr(const char *, int); 459*7c478bd9Sstevel@tonic-gateint mvinsnstr(int, int, const char *, int); 460*7c478bd9Sstevel@tonic-gateint mvwinsnstr(WINDOW *, int, int, const char *, int); 461*7c478bd9Sstevel@tonic-gateint insstr(const char *); 462*7c478bd9Sstevel@tonic-gateint mvinsstr(int, int, const char *); 463*7c478bd9Sstevel@tonic-gateint mvwinsstr(WINDOW *, int, int, const char *); 464*7c478bd9Sstevel@tonic-gateint winsstr(WINDOW *, const char *); 465*7c478bd9Sstevel@tonic-gate 466*7c478bd9Sstevel@tonic-gate/* 467*7c478bd9Sstevel@tonic-gate * intrflsh.c 468*7c478bd9Sstevel@tonic-gate */ 469*7c478bd9Sstevel@tonic-gateint intrflush(WINDOW *, bool); 470*7c478bd9Sstevel@tonic-gate 471*7c478bd9Sstevel@tonic-gate/* 472*7c478bd9Sstevel@tonic-gate * isendwin.c 473*7c478bd9Sstevel@tonic-gate */ 474*7c478bd9Sstevel@tonic-gatebool isendwin(void); 475*7c478bd9Sstevel@tonic-gate 476*7c478bd9Sstevel@tonic-gate/* 477*7c478bd9Sstevel@tonic-gate * key_name.c 478*7c478bd9Sstevel@tonic-gate */ 479*7c478bd9Sstevel@tonic-gatechar *key_name(wchar_t); 480*7c478bd9Sstevel@tonic-gate 481*7c478bd9Sstevel@tonic-gate/* 482*7c478bd9Sstevel@tonic-gate * keyname.c 483*7c478bd9Sstevel@tonic-gate */ 484*7c478bd9Sstevel@tonic-gatechar *keyname(int); 485*7c478bd9Sstevel@tonic-gate 486*7c478bd9Sstevel@tonic-gate/* 487*7c478bd9Sstevel@tonic-gate * keypad.c 488*7c478bd9Sstevel@tonic-gate */ 489*7c478bd9Sstevel@tonic-gateint keypad(WINDOW *, bool); 490*7c478bd9Sstevel@tonic-gate 491*7c478bd9Sstevel@tonic-gate/* 492*7c478bd9Sstevel@tonic-gate * killchar.c 493*7c478bd9Sstevel@tonic-gate */ 494*7c478bd9Sstevel@tonic-gatechar erasechar(void); 495*7c478bd9Sstevel@tonic-gatechar killchar(void); 496*7c478bd9Sstevel@tonic-gate 497*7c478bd9Sstevel@tonic-gate/* 498*7c478bd9Sstevel@tonic-gate * killwch.c 499*7c478bd9Sstevel@tonic-gate */ 500*7c478bd9Sstevel@tonic-gateint erasewchar(wchar_t *); 501*7c478bd9Sstevel@tonic-gateint killwchar(wchar_t *); 502*7c478bd9Sstevel@tonic-gate 503*7c478bd9Sstevel@tonic-gate/* 504*7c478bd9Sstevel@tonic-gate * longname.c 505*7c478bd9Sstevel@tonic-gate */ 506*7c478bd9Sstevel@tonic-gatechar *longname(void); 507*7c478bd9Sstevel@tonic-gatechar *termname(void); 508*7c478bd9Sstevel@tonic-gate 509*7c478bd9Sstevel@tonic-gate/* 510*7c478bd9Sstevel@tonic-gate * meta.c 511*7c478bd9Sstevel@tonic-gate */ 512*7c478bd9Sstevel@tonic-gateint meta(WINDOW *, bool); 513*7c478bd9Sstevel@tonic-gate 514*7c478bd9Sstevel@tonic-gate/* 515*7c478bd9Sstevel@tonic-gate * move.c 516*7c478bd9Sstevel@tonic-gate */ 517*7c478bd9Sstevel@tonic-gateint move(int, int); 518*7c478bd9Sstevel@tonic-gate 519*7c478bd9Sstevel@tonic-gate/* 520*7c478bd9Sstevel@tonic-gate * mvcur.c 521*7c478bd9Sstevel@tonic-gate */ 522*7c478bd9Sstevel@tonic-gateint mvcur(int, int, int, int); 523*7c478bd9Sstevel@tonic-gate 524*7c478bd9Sstevel@tonic-gate/* 525*7c478bd9Sstevel@tonic-gate * mvwin.c 526*7c478bd9Sstevel@tonic-gate */ 527*7c478bd9Sstevel@tonic-gateint mvwin(WINDOW *, int, int); 528*7c478bd9Sstevel@tonic-gateint mvderwin(WINDOW *, int, int); 529*7c478bd9Sstevel@tonic-gate 530*7c478bd9Sstevel@tonic-gate/* 531*7c478bd9Sstevel@tonic-gate * napms.c 532*7c478bd9Sstevel@tonic-gate */ 533*7c478bd9Sstevel@tonic-gateint napms(int); 534*7c478bd9Sstevel@tonic-gate 535*7c478bd9Sstevel@tonic-gate/* 536*7c478bd9Sstevel@tonic-gate * newpad.c 537*7c478bd9Sstevel@tonic-gate */ 538*7c478bd9Sstevel@tonic-gateWINDOW *newpad(int, int); 539*7c478bd9Sstevel@tonic-gateWINDOW *subpad(WINDOW *, int, int, int, int); 540*7c478bd9Sstevel@tonic-gate 541*7c478bd9Sstevel@tonic-gate/* 542*7c478bd9Sstevel@tonic-gate * newterm.c 543*7c478bd9Sstevel@tonic-gate */ 544*7c478bd9Sstevel@tonic-gatevoid filter(void); 545*7c478bd9Sstevel@tonic-gatevoid tstp(int); 546*7c478bd9Sstevel@tonic-gateint ripoffline(int, int (*)(WINDOW *, int)); 547*7c478bd9Sstevel@tonic-gateSCREEN *newterm(char *, FILE *, FILE *); 548*7c478bd9Sstevel@tonic-gatevoid delscreen(SCREEN *); 549*7c478bd9Sstevel@tonic-gateSCREEN *set_term(SCREEN *); 550*7c478bd9Sstevel@tonic-gateint typeahead(int); 551*7c478bd9Sstevel@tonic-gate 552*7c478bd9Sstevel@tonic-gate/* 553*7c478bd9Sstevel@tonic-gate * newwin.c 554*7c478bd9Sstevel@tonic-gate */ 555*7c478bd9Sstevel@tonic-gateint delwin(WINDOW *); 556*7c478bd9Sstevel@tonic-gateWINDOW *derwin(WINDOW *, int, int, int, int); 557*7c478bd9Sstevel@tonic-gateWINDOW *newwin(int, int, int, int); 558*7c478bd9Sstevel@tonic-gateWINDOW *subwin(WINDOW *, int, int, int, int); 559*7c478bd9Sstevel@tonic-gate 560*7c478bd9Sstevel@tonic-gate/* 561*7c478bd9Sstevel@tonic-gate * noecho.c 562*7c478bd9Sstevel@tonic-gate */ 563*7c478bd9Sstevel@tonic-gateint echo(void); 564*7c478bd9Sstevel@tonic-gateint noecho(void); 565*7c478bd9Sstevel@tonic-gate 566*7c478bd9Sstevel@tonic-gate/* 567*7c478bd9Sstevel@tonic-gate * nonl.c 568*7c478bd9Sstevel@tonic-gate */ 569*7c478bd9Sstevel@tonic-gateint nl(void); 570*7c478bd9Sstevel@tonic-gateint nonl(void); 571*7c478bd9Sstevel@tonic-gate 572*7c478bd9Sstevel@tonic-gate/* 573*7c478bd9Sstevel@tonic-gate * overlay.c 574*7c478bd9Sstevel@tonic-gate */ 575*7c478bd9Sstevel@tonic-gateint overlay(const WINDOW *, WINDOW *); 576*7c478bd9Sstevel@tonic-gateint overwrite(const WINDOW *, WINDOW *); 577*7c478bd9Sstevel@tonic-gate 578*7c478bd9Sstevel@tonic-gate/* 579*7c478bd9Sstevel@tonic-gate * pecho_wc.c 580*7c478bd9Sstevel@tonic-gate */ 581*7c478bd9Sstevel@tonic-gateint pecho_wchar(WINDOW *, const cchar_t *); 582*7c478bd9Sstevel@tonic-gate 583*7c478bd9Sstevel@tonic-gate/* 584*7c478bd9Sstevel@tonic-gate * pechoch.c 585*7c478bd9Sstevel@tonic-gate */ 586*7c478bd9Sstevel@tonic-gateint pechochar(WINDOW *, chtype); 587*7c478bd9Sstevel@tonic-gate 588*7c478bd9Sstevel@tonic-gate/* 589*7c478bd9Sstevel@tonic-gate * prefresh.c 590*7c478bd9Sstevel@tonic-gate */ 591*7c478bd9Sstevel@tonic-gateint prefresh(WINDOW *, int, int, int, int, int, int); 592*7c478bd9Sstevel@tonic-gateint pnoutrefresh(WINDOW *, int, int, int, int, int, int); 593*7c478bd9Sstevel@tonic-gate 594*7c478bd9Sstevel@tonic-gate/* 595*7c478bd9Sstevel@tonic-gate * printw.c 596*7c478bd9Sstevel@tonic-gate */ 597*7c478bd9Sstevel@tonic-gateint printw(char *, ...); 598*7c478bd9Sstevel@tonic-gateint mvprintw(int, int, char *, ...); 599*7c478bd9Sstevel@tonic-gateint mvwprintw(WINDOW *, int, int, char *, ...); 600*7c478bd9Sstevel@tonic-gateint wprintw(WINDOW *, char *, ...); 601*7c478bd9Sstevel@tonic-gate 602*7c478bd9Sstevel@tonic-gate/* 603*7c478bd9Sstevel@tonic-gate * qiflush.c 604*7c478bd9Sstevel@tonic-gate */ 605*7c478bd9Sstevel@tonic-gatevoid qiflush(void); 606*7c478bd9Sstevel@tonic-gatevoid noqiflush(void); 607*7c478bd9Sstevel@tonic-gate 608*7c478bd9Sstevel@tonic-gate/* 609*7c478bd9Sstevel@tonic-gate * redraw.c 610*7c478bd9Sstevel@tonic-gate */ 611*7c478bd9Sstevel@tonic-gateint redrawwin(WINDOW *); 612*7c478bd9Sstevel@tonic-gate 613*7c478bd9Sstevel@tonic-gate/* 614*7c478bd9Sstevel@tonic-gate * refresh.c 615*7c478bd9Sstevel@tonic-gate */ 616*7c478bd9Sstevel@tonic-gateint refresh(void); 617*7c478bd9Sstevel@tonic-gate 618*7c478bd9Sstevel@tonic-gate/* 619*7c478bd9Sstevel@tonic-gate * savetty.c 620*7c478bd9Sstevel@tonic-gate */ 621*7c478bd9Sstevel@tonic-gateint savetty(void); 622*7c478bd9Sstevel@tonic-gateint resetty(void); 623*7c478bd9Sstevel@tonic-gate 624*7c478bd9Sstevel@tonic-gate/* 625*7c478bd9Sstevel@tonic-gate * scanw.c 626*7c478bd9Sstevel@tonic-gate */ 627*7c478bd9Sstevel@tonic-gateint scanw(char *, ...); 628*7c478bd9Sstevel@tonic-gateint mvscanw(int, int, char *, ...); 629*7c478bd9Sstevel@tonic-gateint mvwscanw(WINDOW *, int, int, char *, ...); 630*7c478bd9Sstevel@tonic-gateint wscanw(WINDOW *, char *, ...); 631*7c478bd9Sstevel@tonic-gate 632*7c478bd9Sstevel@tonic-gate/* 633*7c478bd9Sstevel@tonic-gate * scr_dump.c 634*7c478bd9Sstevel@tonic-gate */ 635*7c478bd9Sstevel@tonic-gateint scr_dump(const char *); 636*7c478bd9Sstevel@tonic-gateint scr_restore(const char *); 637*7c478bd9Sstevel@tonic-gateint scr_init(const char *); 638*7c478bd9Sstevel@tonic-gateint scr_set(const char *); 639*7c478bd9Sstevel@tonic-gate 640*7c478bd9Sstevel@tonic-gate/* 641*7c478bd9Sstevel@tonic-gate * scrl.c 642*7c478bd9Sstevel@tonic-gate */ 643*7c478bd9Sstevel@tonic-gateint scroll(WINDOW *); 644*7c478bd9Sstevel@tonic-gateint scrl(int); 645*7c478bd9Sstevel@tonic-gate 646*7c478bd9Sstevel@tonic-gate/* 647*7c478bd9Sstevel@tonic-gate * scrreg.c 648*7c478bd9Sstevel@tonic-gate */ 649*7c478bd9Sstevel@tonic-gateint setscrreg(int, int); 650*7c478bd9Sstevel@tonic-gate 651*7c478bd9Sstevel@tonic-gate/* 652*7c478bd9Sstevel@tonic-gate * setcchar.c 653*7c478bd9Sstevel@tonic-gate */ 654*7c478bd9Sstevel@tonic-gateint setcchar(cchar_t *, const wchar_t *, attr_t, short, const void *); 655*7c478bd9Sstevel@tonic-gate 656*7c478bd9Sstevel@tonic-gate/* 657*7c478bd9Sstevel@tonic-gate * setup.c 658*7c478bd9Sstevel@tonic-gate */ 659*7c478bd9Sstevel@tonic-gatevoid use_env(bool); 660*7c478bd9Sstevel@tonic-gateint setupterm(char *, int, int *); 661*7c478bd9Sstevel@tonic-gateint del_curterm(TERMINAL *); 662*7c478bd9Sstevel@tonic-gateTERMINAL *set_curterm(TERMINAL *); 663*7c478bd9Sstevel@tonic-gateint restartterm(char *, int, int *); 664*7c478bd9Sstevel@tonic-gateint def_shell_mode(void); 665*7c478bd9Sstevel@tonic-gateint def_prog_mode(void); 666*7c478bd9Sstevel@tonic-gateint reset_shell_mode(void); 667*7c478bd9Sstevel@tonic-gateint reset_prog_mode(void); 668*7c478bd9Sstevel@tonic-gate 669*7c478bd9Sstevel@tonic-gate/* 670*7c478bd9Sstevel@tonic-gate * slk.c 671*7c478bd9Sstevel@tonic-gate */ 672*7c478bd9Sstevel@tonic-gateint slk_init(int); 673*7c478bd9Sstevel@tonic-gateint slk_attron(const chtype); 674*7c478bd9Sstevel@tonic-gateint slk_attroff(const chtype); 675*7c478bd9Sstevel@tonic-gateint slk_attrset(const chtype); 676*7c478bd9Sstevel@tonic-gateint slk_attr_off(const attr_t, void *); 677*7c478bd9Sstevel@tonic-gateint slk_attr_on(const attr_t, void *); 678*7c478bd9Sstevel@tonic-gateint slk_attr_set(const attr_t, short, void *); 679*7c478bd9Sstevel@tonic-gateint slk_color(short); 680*7c478bd9Sstevel@tonic-gateint slk_touch(void); 681*7c478bd9Sstevel@tonic-gateint slk_clear(void); 682*7c478bd9Sstevel@tonic-gateint slk_restore(void); 683*7c478bd9Sstevel@tonic-gateint slk_noutrefresh(void); 684*7c478bd9Sstevel@tonic-gateint slk_refresh(void); 685*7c478bd9Sstevel@tonic-gatechar *slk_label(int); 686*7c478bd9Sstevel@tonic-gateint slk_set(int, const char *, int); 687*7c478bd9Sstevel@tonic-gateint slk_wset(int, const wchar_t *, int); 688*7c478bd9Sstevel@tonic-gateint slk_color_set(short); 689*7c478bd9Sstevel@tonic-gate 690*7c478bd9Sstevel@tonic-gate/* 691*7c478bd9Sstevel@tonic-gate * termattr.c 692*7c478bd9Sstevel@tonic-gate */ 693*7c478bd9Sstevel@tonic-gatechtype termattrs(void); 694*7c478bd9Sstevel@tonic-gateattr_t term_attrs(void); 695*7c478bd9Sstevel@tonic-gate 696*7c478bd9Sstevel@tonic-gate/* 697*7c478bd9Sstevel@tonic-gate * tgetent.c 698*7c478bd9Sstevel@tonic-gate */ 699*7c478bd9Sstevel@tonic-gateint tgetent(char *, const char *); 700*7c478bd9Sstevel@tonic-gate 701*7c478bd9Sstevel@tonic-gate/* 702*7c478bd9Sstevel@tonic-gate * tgetflag.c 703*7c478bd9Sstevel@tonic-gate */ 704*7c478bd9Sstevel@tonic-gateint tgetflag(char *); 705*7c478bd9Sstevel@tonic-gate 706*7c478bd9Sstevel@tonic-gate/* 707*7c478bd9Sstevel@tonic-gate * tgetnum.c 708*7c478bd9Sstevel@tonic-gate */ 709*7c478bd9Sstevel@tonic-gateint tgetnum(char *); 710*7c478bd9Sstevel@tonic-gate 711*7c478bd9Sstevel@tonic-gate/* 712*7c478bd9Sstevel@tonic-gate * tgetstr.c 713*7c478bd9Sstevel@tonic-gate */ 714*7c478bd9Sstevel@tonic-gatechar *tgetstr(char *, char **); 715*7c478bd9Sstevel@tonic-gate 716*7c478bd9Sstevel@tonic-gate/* 717*7c478bd9Sstevel@tonic-gate * tgoto.c 718*7c478bd9Sstevel@tonic-gate */ 719*7c478bd9Sstevel@tonic-gatechar *tgoto(char *, int, int); 720*7c478bd9Sstevel@tonic-gate 721*7c478bd9Sstevel@tonic-gate/* 722*7c478bd9Sstevel@tonic-gate * tigetfla.c 723*7c478bd9Sstevel@tonic-gate */ 724*7c478bd9Sstevel@tonic-gateint tigetflag(char *); 725*7c478bd9Sstevel@tonic-gate 726*7c478bd9Sstevel@tonic-gate/* 727*7c478bd9Sstevel@tonic-gate * tigetnum.c 728*7c478bd9Sstevel@tonic-gate */ 729*7c478bd9Sstevel@tonic-gateint tigetnum(char *); 730*7c478bd9Sstevel@tonic-gate 731*7c478bd9Sstevel@tonic-gate/* 732*7c478bd9Sstevel@tonic-gate * tigetstr.c 733*7c478bd9Sstevel@tonic-gate */ 734*7c478bd9Sstevel@tonic-gatechar *tigetstr(char *); 735*7c478bd9Sstevel@tonic-gate 736*7c478bd9Sstevel@tonic-gate/* 737*7c478bd9Sstevel@tonic-gate * timeout.c 738*7c478bd9Sstevel@tonic-gate */ 739*7c478bd9Sstevel@tonic-gateint nodelay(WINDOW *, bool); 740*7c478bd9Sstevel@tonic-gatevoid timeout(int); 741*7c478bd9Sstevel@tonic-gate 742*7c478bd9Sstevel@tonic-gate/* 743*7c478bd9Sstevel@tonic-gate * touched.c 744*7c478bd9Sstevel@tonic-gate */ 745*7c478bd9Sstevel@tonic-gatebool is_linetouched(WINDOW *, int); 746*7c478bd9Sstevel@tonic-gatebool is_wintouched(WINDOW *); 747*7c478bd9Sstevel@tonic-gate 748*7c478bd9Sstevel@tonic-gate/* 749*7c478bd9Sstevel@tonic-gate * touchwin.c 750*7c478bd9Sstevel@tonic-gate */ 751*7c478bd9Sstevel@tonic-gateint touchwin(WINDOW *); 752*7c478bd9Sstevel@tonic-gateint untouchwin(WINDOW *); 753*7c478bd9Sstevel@tonic-gateint touchline(WINDOW *, int, int); 754*7c478bd9Sstevel@tonic-gate 755*7c478bd9Sstevel@tonic-gate/* 756*7c478bd9Sstevel@tonic-gate * unctrl.c 757*7c478bd9Sstevel@tonic-gate */ 758*7c478bd9Sstevel@tonic-gatechar *unctrl(chtype); 759*7c478bd9Sstevel@tonic-gate 760*7c478bd9Sstevel@tonic-gate/* 761*7c478bd9Sstevel@tonic-gate * vid_attr.c 762*7c478bd9Sstevel@tonic-gate */ 763*7c478bd9Sstevel@tonic-gateint vid_attr(attr_t, short, void *); 764*7c478bd9Sstevel@tonic-gate 765*7c478bd9Sstevel@tonic-gate/* 766*7c478bd9Sstevel@tonic-gate * vid_puts.c 767*7c478bd9Sstevel@tonic-gate */ 768*7c478bd9Sstevel@tonic-gateint vid_puts(attr_t, short, void *, int (*)(int)); 769*7c478bd9Sstevel@tonic-gate 770*7c478bd9Sstevel@tonic-gate/* 771*7c478bd9Sstevel@tonic-gate * vidattr.c 772*7c478bd9Sstevel@tonic-gate */ 773*7c478bd9Sstevel@tonic-gateint vidattr(chtype); 774*7c478bd9Sstevel@tonic-gateint vidputs(chtype, int (*)(int)); 775*7c478bd9Sstevel@tonic-gate 776*7c478bd9Sstevel@tonic-gate/* 777*7c478bd9Sstevel@tonic-gate * vw_print.c 778*7c478bd9Sstevel@tonic-gate */ 779*7c478bd9Sstevel@tonic-gateint vw_printw(WINDOW *, char *, __va_list); 780*7c478bd9Sstevel@tonic-gate 781*7c478bd9Sstevel@tonic-gate/* 782*7c478bd9Sstevel@tonic-gate * vw_scanw.c 783*7c478bd9Sstevel@tonic-gate */ 784*7c478bd9Sstevel@tonic-gateint vw_scanw(WINDOW *, char *, __va_list); 785*7c478bd9Sstevel@tonic-gate 786*7c478bd9Sstevel@tonic-gate/* 787*7c478bd9Sstevel@tonic-gate * vwprintw.c 788*7c478bd9Sstevel@tonic-gate */ 789*7c478bd9Sstevel@tonic-gateint vwprintw(WINDOW *, char *, __va_list); 790*7c478bd9Sstevel@tonic-gate 791*7c478bd9Sstevel@tonic-gate/* 792*7c478bd9Sstevel@tonic-gate * vwscanw.c 793*7c478bd9Sstevel@tonic-gate */ 794*7c478bd9Sstevel@tonic-gateint vwscanw(WINDOW *, char *, __va_list); 795*7c478bd9Sstevel@tonic-gate 796*7c478bd9Sstevel@tonic-gate/* 797*7c478bd9Sstevel@tonic-gate * wadd_wch.c 798*7c478bd9Sstevel@tonic-gate */ 799*7c478bd9Sstevel@tonic-gateint wadd_wch(WINDOW *, const cchar_t *); 800*7c478bd9Sstevel@tonic-gate 801*7c478bd9Sstevel@tonic-gate/* 802*7c478bd9Sstevel@tonic-gate * waddch.c 803*7c478bd9Sstevel@tonic-gate */ 804*7c478bd9Sstevel@tonic-gateint waddch(WINDOW *, chtype); 805*7c478bd9Sstevel@tonic-gate 806*7c478bd9Sstevel@tonic-gate/* 807*7c478bd9Sstevel@tonic-gate * waddchn.c 808*7c478bd9Sstevel@tonic-gate */ 809*7c478bd9Sstevel@tonic-gateint waddchnstr(WINDOW *, const chtype *, int); 810*7c478bd9Sstevel@tonic-gate 811*7c478bd9Sstevel@tonic-gate/* 812*7c478bd9Sstevel@tonic-gate * waddnstr.c 813*7c478bd9Sstevel@tonic-gate */ 814*7c478bd9Sstevel@tonic-gateint waddnstr(WINDOW *, const char *, int); 815*7c478bd9Sstevel@tonic-gate 816*7c478bd9Sstevel@tonic-gate/* 817*7c478bd9Sstevel@tonic-gate * waddnws.c 818*7c478bd9Sstevel@tonic-gate */ 819*7c478bd9Sstevel@tonic-gateint waddnwstr(WINDOW *, const wchar_t *, int); 820*7c478bd9Sstevel@tonic-gate 821*7c478bd9Sstevel@tonic-gate/* 822*7c478bd9Sstevel@tonic-gate * waddwchn.c 823*7c478bd9Sstevel@tonic-gate */ 824*7c478bd9Sstevel@tonic-gateint wadd_wchnstr(WINDOW *, const cchar_t *, int); 825*7c478bd9Sstevel@tonic-gate 826*7c478bd9Sstevel@tonic-gate/* 827*7c478bd9Sstevel@tonic-gate * wattr_on.c 828*7c478bd9Sstevel@tonic-gate */ 829*7c478bd9Sstevel@tonic-gateint wattr_on(WINDOW *, attr_t, void *); 830*7c478bd9Sstevel@tonic-gateint wattr_off(WINDOW *, attr_t, void *); 831*7c478bd9Sstevel@tonic-gateint wattr_set(WINDOW *, attr_t, short, void *); 832*7c478bd9Sstevel@tonic-gateint wattr_get(WINDOW *, attr_t *, short *, void *); 833*7c478bd9Sstevel@tonic-gateint wcolor_set(WINDOW *, short, void *); 834*7c478bd9Sstevel@tonic-gateint wstandout(WINDOW *); 835*7c478bd9Sstevel@tonic-gateint wstandend(WINDOW *); 836*7c478bd9Sstevel@tonic-gate 837*7c478bd9Sstevel@tonic-gate/* 838*7c478bd9Sstevel@tonic-gate * wattron.c 839*7c478bd9Sstevel@tonic-gate */ 840*7c478bd9Sstevel@tonic-gateint wattron(WINDOW *, int); 841*7c478bd9Sstevel@tonic-gateint wattroff(WINDOW *, int); 842*7c478bd9Sstevel@tonic-gateint wattrset(WINDOW *, int); 843*7c478bd9Sstevel@tonic-gate 844*7c478bd9Sstevel@tonic-gate/* 845*7c478bd9Sstevel@tonic-gate * wbkgrnd.c 846*7c478bd9Sstevel@tonic-gate */ 847*7c478bd9Sstevel@tonic-gateint wbkgrnd(WINDOW *, const cchar_t *); 848*7c478bd9Sstevel@tonic-gate 849*7c478bd9Sstevel@tonic-gate/* 850*7c478bd9Sstevel@tonic-gate * wbrdr.c 851*7c478bd9Sstevel@tonic-gate */ 852*7c478bd9Sstevel@tonic-gateint wborder(WINDOW *, chtype, chtype, chtype, chtype, 853*7c478bd9Sstevel@tonic-gate chtype, chtype, chtype, chtype); 854*7c478bd9Sstevel@tonic-gate 855*7c478bd9Sstevel@tonic-gate/* 856*7c478bd9Sstevel@tonic-gate * wbrdr_st.c 857*7c478bd9Sstevel@tonic-gate */ 858*7c478bd9Sstevel@tonic-gateint wborder_set(WINDOW *, const cchar_t *, const cchar_t *, 859*7c478bd9Sstevel@tonic-gate const cchar_t *, const cchar_t *, const cchar_t *, const cchar_t *, 860*7c478bd9Sstevel@tonic-gate const cchar_t *, const cchar_t *); 861*7c478bd9Sstevel@tonic-gate 862*7c478bd9Sstevel@tonic-gate/* 863*7c478bd9Sstevel@tonic-gate * wchgat.c 864*7c478bd9Sstevel@tonic-gate */ 865*7c478bd9Sstevel@tonic-gateint wchgat(WINDOW *, int, attr_t, short, const void *); 866*7c478bd9Sstevel@tonic-gate 867*7c478bd9Sstevel@tonic-gate/* 868*7c478bd9Sstevel@tonic-gate * wclear.c 869*7c478bd9Sstevel@tonic-gate */ 870*7c478bd9Sstevel@tonic-gateint wclear(WINDOW *); 871*7c478bd9Sstevel@tonic-gateint werase(WINDOW *); 872*7c478bd9Sstevel@tonic-gate 873*7c478bd9Sstevel@tonic-gate/* 874*7c478bd9Sstevel@tonic-gate * wclrbot.c 875*7c478bd9Sstevel@tonic-gate */ 876*7c478bd9Sstevel@tonic-gateint wclrtobot(WINDOW *); 877*7c478bd9Sstevel@tonic-gate 878*7c478bd9Sstevel@tonic-gate/* 879*7c478bd9Sstevel@tonic-gate * wclreol.c 880*7c478bd9Sstevel@tonic-gate */ 881*7c478bd9Sstevel@tonic-gateint wclrtoeol(WINDOW *); 882*7c478bd9Sstevel@tonic-gate 883*7c478bd9Sstevel@tonic-gate/* 884*7c478bd9Sstevel@tonic-gate * wdelch.c 885*7c478bd9Sstevel@tonic-gate */ 886*7c478bd9Sstevel@tonic-gateint wdelch(WINDOW *); 887*7c478bd9Sstevel@tonic-gate 888*7c478bd9Sstevel@tonic-gate/* 889*7c478bd9Sstevel@tonic-gate * wget_wch.c 890*7c478bd9Sstevel@tonic-gate */ 891*7c478bd9Sstevel@tonic-gateint unget_wch(const wchar_t); 892*7c478bd9Sstevel@tonic-gateint wget_wch(WINDOW *, wint_t *); 893*7c478bd9Sstevel@tonic-gate 894*7c478bd9Sstevel@tonic-gate/* 895*7c478bd9Sstevel@tonic-gate * wgetch.c 896*7c478bd9Sstevel@tonic-gate */ 897*7c478bd9Sstevel@tonic-gateint ungetch(int); 898*7c478bd9Sstevel@tonic-gateint wgetch(WINDOW *); 899*7c478bd9Sstevel@tonic-gate 900*7c478bd9Sstevel@tonic-gate/* 901*7c478bd9Sstevel@tonic-gate * wgetn_ws.c 902*7c478bd9Sstevel@tonic-gate */ 903*7c478bd9Sstevel@tonic-gateint wgetnstr(WINDOW *, char *, int); 904*7c478bd9Sstevel@tonic-gateint wgetn_wstr(WINDOW *, wint_t *, int); 905*7c478bd9Sstevel@tonic-gate 906*7c478bd9Sstevel@tonic-gate/* 907*7c478bd9Sstevel@tonic-gate * whln.c 908*7c478bd9Sstevel@tonic-gate */ 909*7c478bd9Sstevel@tonic-gateint whline(WINDOW *, chtype, int); 910*7c478bd9Sstevel@tonic-gateint wvline(WINDOW *, chtype, int); 911*7c478bd9Sstevel@tonic-gate 912*7c478bd9Sstevel@tonic-gate/* 913*7c478bd9Sstevel@tonic-gate * whln_st.c 914*7c478bd9Sstevel@tonic-gate */ 915*7c478bd9Sstevel@tonic-gateint whline_set(WINDOW *, const cchar_t *, int); 916*7c478bd9Sstevel@tonic-gateint wvline_set(WINDOW *, const cchar_t *, int); 917*7c478bd9Sstevel@tonic-gate 918*7c478bd9Sstevel@tonic-gate/* 919*7c478bd9Sstevel@tonic-gate * win_wch.c 920*7c478bd9Sstevel@tonic-gate */ 921*7c478bd9Sstevel@tonic-gateint win_wch(WINDOW *, cchar_t *); 922*7c478bd9Sstevel@tonic-gate 923*7c478bd9Sstevel@tonic-gate/* 924*7c478bd9Sstevel@tonic-gate * win_wchn.c 925*7c478bd9Sstevel@tonic-gate */ 926*7c478bd9Sstevel@tonic-gateint win_wchnstr(WINDOW *, cchar_t *, int); 927*7c478bd9Sstevel@tonic-gate 928*7c478bd9Sstevel@tonic-gate/* 929*7c478bd9Sstevel@tonic-gate * winch.c 930*7c478bd9Sstevel@tonic-gate */ 931*7c478bd9Sstevel@tonic-gatechtype winch(WINDOW *); 932*7c478bd9Sstevel@tonic-gate 933*7c478bd9Sstevel@tonic-gate/* 934*7c478bd9Sstevel@tonic-gate * winchn.c 935*7c478bd9Sstevel@tonic-gate */ 936*7c478bd9Sstevel@tonic-gateint winchnstr(WINDOW *, chtype *, int); 937*7c478bd9Sstevel@tonic-gate 938*7c478bd9Sstevel@tonic-gate/* 939*7c478bd9Sstevel@tonic-gate * winnstr.c 940*7c478bd9Sstevel@tonic-gate */ 941*7c478bd9Sstevel@tonic-gateint winnstr(WINDOW *, char *, int); 942*7c478bd9Sstevel@tonic-gate 943*7c478bd9Sstevel@tonic-gate/* 944*7c478bd9Sstevel@tonic-gate * winnwstr.c 945*7c478bd9Sstevel@tonic-gate */ 946*7c478bd9Sstevel@tonic-gateint winnwstr(WINDOW *, wchar_t *, int); 947*7c478bd9Sstevel@tonic-gate 948*7c478bd9Sstevel@tonic-gate/* 949*7c478bd9Sstevel@tonic-gate * wins_nws.c 950*7c478bd9Sstevel@tonic-gate */ 951*7c478bd9Sstevel@tonic-gateint wins_nwstr(WINDOW *, const wchar_t *, int); 952*7c478bd9Sstevel@tonic-gate 953*7c478bd9Sstevel@tonic-gate/* 954*7c478bd9Sstevel@tonic-gate * wins_wch.c 955*7c478bd9Sstevel@tonic-gate */ 956*7c478bd9Sstevel@tonic-gateint wins_wch(WINDOW *, const cchar_t *); 957*7c478bd9Sstevel@tonic-gate 958*7c478bd9Sstevel@tonic-gate/* 959*7c478bd9Sstevel@tonic-gate * winsch.c 960*7c478bd9Sstevel@tonic-gate */ 961*7c478bd9Sstevel@tonic-gateint winsch(WINDOW *, chtype); 962*7c478bd9Sstevel@tonic-gate 963*7c478bd9Sstevel@tonic-gate/* 964*7c478bd9Sstevel@tonic-gate * winsdel.c 965*7c478bd9Sstevel@tonic-gate */ 966*7c478bd9Sstevel@tonic-gateint winsdelln(WINDOW *, int); 967*7c478bd9Sstevel@tonic-gate 968*7c478bd9Sstevel@tonic-gate/* 969*7c478bd9Sstevel@tonic-gate * winsnstr.c 970*7c478bd9Sstevel@tonic-gate */ 971*7c478bd9Sstevel@tonic-gateint winsnstr(WINDOW *, const char *, int); 972*7c478bd9Sstevel@tonic-gate 973*7c478bd9Sstevel@tonic-gate/* 974*7c478bd9Sstevel@tonic-gate * wmove.c 975*7c478bd9Sstevel@tonic-gate */ 976*7c478bd9Sstevel@tonic-gateint wmove(WINDOW *, int, int); 977*7c478bd9Sstevel@tonic-gate 978*7c478bd9Sstevel@tonic-gate/* 979*7c478bd9Sstevel@tonic-gate * wredraw.c 980*7c478bd9Sstevel@tonic-gate */ 981*7c478bd9Sstevel@tonic-gateint wredrawln(WINDOW *, int, int); 982*7c478bd9Sstevel@tonic-gate 983*7c478bd9Sstevel@tonic-gate/* 984*7c478bd9Sstevel@tonic-gate * wrefresh.c 985*7c478bd9Sstevel@tonic-gate */ 986*7c478bd9Sstevel@tonic-gateint wrefresh(WINDOW *); 987*7c478bd9Sstevel@tonic-gateint wnoutrefresh(WINDOW *); 988*7c478bd9Sstevel@tonic-gate 989*7c478bd9Sstevel@tonic-gate/* 990*7c478bd9Sstevel@tonic-gate * wscrl.c 991*7c478bd9Sstevel@tonic-gate */ 992*7c478bd9Sstevel@tonic-gateint wscrl(WINDOW *, int); 993*7c478bd9Sstevel@tonic-gate 994*7c478bd9Sstevel@tonic-gate/* 995*7c478bd9Sstevel@tonic-gate * wscrreg.c 996*7c478bd9Sstevel@tonic-gate */ 997*7c478bd9Sstevel@tonic-gateint wsetscrreg(WINDOW *, int, int); 998*7c478bd9Sstevel@tonic-gate 999*7c478bd9Sstevel@tonic-gate/* 1000*7c478bd9Sstevel@tonic-gate * wsyncdn.c 1001*7c478bd9Sstevel@tonic-gate */ 1002*7c478bd9Sstevel@tonic-gatevoid wsyncdown(WINDOW *); 1003*7c478bd9Sstevel@tonic-gate 1004*7c478bd9Sstevel@tonic-gate/* 1005*7c478bd9Sstevel@tonic-gate * wsyncup.c 1006*7c478bd9Sstevel@tonic-gate */ 1007*7c478bd9Sstevel@tonic-gateint syncok(WINDOW *, bool); 1008*7c478bd9Sstevel@tonic-gatevoid wsyncup(WINDOW *); 1009*7c478bd9Sstevel@tonic-gatevoid wcursyncup(WINDOW *); 1010*7c478bd9Sstevel@tonic-gate 1011*7c478bd9Sstevel@tonic-gate/* 1012*7c478bd9Sstevel@tonic-gate * wtimeout.c 1013*7c478bd9Sstevel@tonic-gate */ 1014*7c478bd9Sstevel@tonic-gatevoid wtimeout(WINDOW *, int); 1015*7c478bd9Sstevel@tonic-gate 1016*7c478bd9Sstevel@tonic-gate/* 1017*7c478bd9Sstevel@tonic-gate * wtouchln.c 1018*7c478bd9Sstevel@tonic-gate */ 1019*7c478bd9Sstevel@tonic-gateint wtouchln(WINDOW *, int, int, int); 1020*7c478bd9Sstevel@tonic-gate 1021*7c478bd9Sstevel@tonic-gate/* 1022*7c478bd9Sstevel@tonic-gate * wunctrl.c 1023*7c478bd9Sstevel@tonic-gate */ 1024*7c478bd9Sstevel@tonic-gatewchar_t *wunctrl(cchar_t *); 1025