Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libcurses/curses_private.h,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libcurses/curses_private.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12 retrieving revision 1.16 diff -u -p -r1.12 -r1.16 --- src/lib/libcurses/curses_private.h 2000/12/22 17:07:13 1.12 +++ src/lib/libcurses/curses_private.h 2001/06/13 10:45:57 1.16 @@ -1,4 +1,4 @@ -/* $NetBSD: curses_private.h,v 1.12 2000/12/22 17:07:13 jdc Exp $ */ +/* $NetBSD: curses_private.h,v 1.16 2001/06/13 10:45:57 wiz Exp $ */ /*- * Copyright (c) 1998-2000 Brett Lymn @@ -13,7 +13,7 @@ * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. The name of the author may not be used to endorse or promote products - * derived from this software withough specific prior written permission + * derived from this software without specific prior written permission * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -85,6 +85,7 @@ struct __window { /* Window structure. attr_t wattr; /* Character attributes */ wchar_t bch; /* Background character */ attr_t battr; /* Background attributes */ + int scr_t, scr_b; /* Scrolling region top, bottom */ }; /* Set of attributes unset by 'me' - 'mb', 'md', 'mh', 'mk', 'mp' and 'mr'. */ @@ -104,32 +105,6 @@ extern char __UPPERCASE; /* Terminal i extern int My_term; /* Use Def_term regardless. */ extern const char *Def_term; /* Default terminal type. */ -/* Termcap capabilities. */ -extern char __tc_am, __tc_bs, __tc_cc, __tc_da, __tc_eo, - __tc_hc, __tc_hl, __tc_in, __tc_mi, __tc_ms, - __tc_nc, __tc_ns, __tc_os, __tc_ul, __tc_ut, - __tc_xb, __tc_xn, __tc_xt, __tc_xs, __tc_xx; -extern char __CA; -extern int __tc_pa, __tc_Co, __tc_NC; -extern char *__tc_ac, *__tc_AB, *__tc_ae, *__tc_AF, *__tc_AL, - *__tc_al, *__tc_as, *__tc_bc, *__tc_bl, *__tc_bt, - *__tc_cd, *__tc_ce, *__tc_cl, *__tc_cm, *__tc_cr, - *__tc_cs, *__tc_dc, *__tc_DL, *__tc_dl, *__tc_dm, - *__tc_DO, *__tc_do, *__tc_eA, *__tc_ed, *__tc_ei, - *__tc_ho, *__tc_Ic, *__tc_ic, *__tc_im, *__tc_Ip, - *__tc_ip, *__tc_k0, *__tc_k1, *__tc_k2, *__tc_k3, - *__tc_k4, *__tc_k5, *__tc_k6, *__tc_k7, *__tc_k8, - *__tc_k9, *__tc_kd, *__tc_ke, *__tc_kh, *__tc_kl, - *__tc_kr, *__tc_ks, *__tc_ku, *__tc_LE, *__tc_ll, - *__tc_ma, *__tc_mb, *__tc_md, *__tc_me, *__tc_mh, - *__tc_mk, *__tc_mm, *__tc_mo, *__tc_mp, *__tc_mr, - *__tc_nd, *__tc_nl, *__tc_oc, *__tc_op, - *__tc_rc, *__tc_RI, *__tc_Sb, *__tc_sc, *__tc_se, - *__tc_SF, *__tc_Sf, *__tc_sf, *__tc_so, *__tc_sp, - *__tc_SR, *__tc_sr, *__tc_ta, *__tc_te, *__tc_ti, - *__tc_uc, *__tc_ue, *__tc_UP, *__tc_up, *__tc_us, - *__tc_vb, *__tc_ve, *__tc_vi, *__tc_vs; - /* Private functions. */ #ifdef DEBUG void __CTRACE(const char *fmt, ...); @@ -164,6 +139,7 @@ int __touchwin(WINDOW *win); char *__tscroll(const char *cap, int n1, int n2); void __unsetattr(int); int __waddch(WINDOW *win, __LDATA *dp); +int __wgetnstr(WINDOW *, char *, int); /* Private #defines. */ #define min(a,b) (a < b ? a : b)