diff options
Diffstat (limited to 'lib/libcurses')
-rw-r--r-- | lib/libcurses/curses.h | 4 | ||||
-rw-r--r-- | lib/libcurses/term.7 | 12 | ||||
-rw-r--r-- | lib/libcurses/tic.h | 5 | ||||
-rw-r--r-- | lib/libcurses/tinfo/MKcaptab.awk | 9 |
4 files changed, 19 insertions, 11 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h index 10752d08753..319768892b2 100644 --- a/lib/libcurses/curses.h +++ b/lib/libcurses/curses.h @@ -1,4 +1,4 @@ -/* $OpenBSD: curses.h,v 1.15 1999/01/18 19:07:17 millert Exp $ */ +/* $OpenBSD: curses.h,v 1.16 1999/01/24 20:06:44 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -50,7 +50,7 @@ /* These are defined only in curses.h, and are used for conditional compiles */ #define NCURSES_VERSION_MAJOR 4 #define NCURSES_VERSION_MINOR 2 -#define NCURSES_VERSION_PATCH 990116 +#define NCURSES_VERSION_PATCH 990123 /* This is defined in more than one ncurses header, for identification */ #undef NCURSES_VERSION diff --git a/lib/libcurses/term.7 b/lib/libcurses/term.7 index fabb93ae2bc..d18899a89d6 100644 --- a/lib/libcurses/term.7 +++ b/lib/libcurses/term.7 @@ -1,3 +1,5 @@ +.\" $OpenBSD: term.7,v 1.2 1999/01/24 20:06:45 millert Exp $ +.\" .\"*************************************************************************** .\" Copyright (c) 1998 Free Software Foundation, Inc. * .\" * @@ -26,8 +28,8 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $From: term.7,v 1.10 1998/12/26 01:58:56 tom Exp $ -.\" $OpenBSD: term.7,v 1.1 1999/01/18 19:09:15 millert Exp $ +.\" $From: term.7,v 1.11 1999/01/24 02:35:14 Todd.Miller Exp $ +.\" $OpenBSD: term.7,v 1.2 1999/01/24 20:06:45 millert Exp $ .TH TERM 7 .ds n 5 .ds d /usr/share/terminfo @@ -65,7 +67,7 @@ custom entry incorporating options (such as visual bell or reverse-video) which you wish to override the system default type for your line. .PP Terminal type descriptions are stored as files of capability data underneath -\*d. To browse a list of all terminal names recognized by the system, do +\*d. To browse a list of all terminal names recognized by the system, do toe | more @@ -79,7 +81,7 @@ follows: where \fIentry-name\fR is the name of the type you wish to examine (and the name of its capability file the subdirectory of \*d named for its first letter). This command dumps a capability file in the text format described by -\fBterminfo\fR(\*n). +\fBterminfo\fR(\*n). .PP The first line of a \fBterminfo\fR(\*n) description gives the names by which terminfo knows a terminal, separated by `|' (pipe-bar) characters with the last @@ -170,7 +172,7 @@ Use visible bell (flash) rather than beep. -w Wide; terminal is in 132 column mode. .PP -Conventionally, if your terminal type is a variant intended to specify a +Conventionally, if your terminal type is a variant intended to specify a line height, that suffix should go first. So, for a hypothetical FuBarCo model 2317 terminal in 30-line mode with reverse video, best form would be \fBfubar-30-rv\fR (rather than, say, `fubar-rv-30'). diff --git a/lib/libcurses/tic.h b/lib/libcurses/tic.h index 4547129288b..25e059eeb63 100644 --- a/lib/libcurses/tic.h +++ b/lib/libcurses/tic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tic.h,v 1.2 1998/10/31 06:30:31 millert Exp $ */ +/* $OpenBSD: tic.h,v 1.3 1999/01/24 20:06:45 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -100,7 +100,7 @@ extern "C" { #define PRIVATE_INFO "%s/.terminfo" /* plug getenv("HOME") into %s */ #ifdef TRACE -#define DEBUG(n, a) if (_nc_tracing & (1 << (n - 1))) _tracef a +#define DEBUG(n, a) if (_nc_tracing & (1 << (n - 1))) _tracef a #else #define DEBUG(n, a) /*nothing*/ #endif @@ -168,6 +168,7 @@ extern const struct alias _nc_capalias_table[]; extern const struct alias _nc_infoalias_table[]; extern const struct name_table_entry *_nc_get_table(bool); +extern const struct name_table_entry * const *_nc_get_hash_table(bool); #define NOTFOUND ((struct name_table_entry *) 0) diff --git a/lib/libcurses/tinfo/MKcaptab.awk b/lib/libcurses/tinfo/MKcaptab.awk index 2ea3236af3b..8d9a41b4877 100644 --- a/lib/libcurses/tinfo/MKcaptab.awk +++ b/lib/libcurses/tinfo/MKcaptab.awk @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: MKcaptab.awk,v 1.1 1999/01/18 19:10:12 millert Exp $ -# $From: MKcaptab.awk,v 1.10 1997/09/11 17:40:46 tom Exp $ +# $OpenBSD: MKcaptab.awk,v 1.2 1999/01/24 20:06:47 millert Exp $ +# $From: MKcaptab.awk,v 1.11 1999/01/24 02:46:42 Jeffrey.C.Honig Exp $ AWK=${1-awk} DATA=${2-../include/Caps} @@ -63,4 +63,9 @@ const struct name_table_entry *_nc_get_table(bool termcap) { return termcap ? _nc_cap_table: _nc_info_table ; } + +const struct name_table_entry * const * _nc_get_hash_table(bool termcap) +{ + return termcap ? _nc_cap_hash_table: _nc_info_hash_table ; +} EOF |