mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2025-01-24 15:13:56 +08:00
ncurses 5.7 - patch 20100911
+ add manpages for summarizing public variables of curses-, terminfo- and form-libraries. + minor fixes to manpages for consistency (patch by Jason McIntyre). + modify tic's -I/-C dump to reformat acsc strings into canonical form (sorted, unique mapping) (cf: 971004). + add configure check for pthread_kill(), needed for some old platforms.
This commit is contained in:
parent
275aeb5889
commit
d448186ac2
3
MANIFEST
3
MANIFEST
@ -602,6 +602,7 @@
|
||||
./man/curs_touch.3x
|
||||
./man/curs_trace.3x
|
||||
./man/curs_util.3x
|
||||
./man/curs_variables.3x
|
||||
./man/curs_window.3x
|
||||
./man/default_colors.3x
|
||||
./man/define_key.3x
|
||||
@ -627,6 +628,7 @@
|
||||
./man/form_post.3x
|
||||
./man/form_requestname.3x
|
||||
./man/form_userptr.3x
|
||||
./man/form_variables.3x
|
||||
./man/form_win.3x
|
||||
./man/infocmp.1m
|
||||
./man/infotocap.1m
|
||||
@ -666,6 +668,7 @@
|
||||
./man/tabs.1
|
||||
./man/term.5
|
||||
./man/term.7
|
||||
./man/term_variables.3x
|
||||
./man/terminfo.head
|
||||
./man/terminfo.tail
|
||||
./man/tic.1m
|
||||
|
11
NEWS
11
NEWS
@ -25,7 +25,7 @@
|
||||
-- sale, use or other dealings in this Software without prior written --
|
||||
-- authorization. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: NEWS,v 1.1586 2010/09/04 21:13:55 tom Exp $
|
||||
-- $Id: NEWS,v 1.1590 2010/09/11 21:41:14 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
This is a log of changes that ncurses has gone through since Zeyd started
|
||||
@ -45,6 +45,15 @@ See the AUTHORS file for the corresponding full names.
|
||||
Changes through 1.9.9e did not credit all contributions;
|
||||
it is not possible to add this information.
|
||||
|
||||
20100911
|
||||
+ add manpages for summarizing public variables of curses-, terminfo-
|
||||
and form-libraries.
|
||||
+ minor fixes to manpages for consistency (patch by Jason McIntyre).
|
||||
+ modify tic's -I/-C dump to reformat acsc strings into canonical form
|
||||
(sorted, unique mapping) (cf: 971004).
|
||||
+ add configure check for pthread_kill(), needed for some old
|
||||
platforms.
|
||||
|
||||
20100904
|
||||
+ add configure option --without-tests, to suppress building test
|
||||
programs (request by Frederic L W Meunier).
|
||||
|
51
configure.in
51
configure.in
@ -28,14 +28,14 @@ dnl***************************************************************************
|
||||
dnl
|
||||
dnl Author: Thomas E. Dickey 1995-on
|
||||
dnl
|
||||
dnl $Id: configure.in,v 1.506 2010/09/04 21:49:28 tom Exp $
|
||||
dnl $Id: configure.in,v 1.507 2010/09/11 16:50:32 tom Exp $
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
dnl See http://invisible-island.net/autoconf/ for additional information.
|
||||
dnl
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_PREREQ(2.13.20020210)
|
||||
AC_REVISION($Revision: 1.506 $)
|
||||
AC_REVISION($Revision: 1.507 $)
|
||||
AC_INIT(ncurses/base/lib_initscr.c)
|
||||
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
|
||||
|
||||
@ -1090,30 +1090,33 @@ AC_SUBST(NCURSES_INTEROP_FUNCS)
|
||||
# the script-block --with-normal, etc.
|
||||
CF_WITH_PTHREAD
|
||||
|
||||
AC_MSG_CHECKING(if you want to allow EINTR in wgetch with pthreads)
|
||||
AC_ARG_ENABLE(pthreads-eintr,
|
||||
[ --enable-pthreads-eintr enable EINTR in wgetch with pthreads],
|
||||
[use_pthreads_eintr=$enableval],
|
||||
[use_pthreads_eintr=no])
|
||||
AC_MSG_RESULT($use_pthreads_eintr)
|
||||
if test $use_pthreads_eintr = yes ; then
|
||||
AC_DEFINE(USE_PTHREADS_EINTR)
|
||||
fi
|
||||
if test "x$with_pthread" != xno; then
|
||||
AC_CHECK_FUNC(pthread_kill,[
|
||||
AC_MSG_CHECKING(if you want to allow EINTR in wgetch with pthreads)
|
||||
AC_ARG_ENABLE(pthreads-eintr,
|
||||
[ --enable-pthreads-eintr enable EINTR in wgetch with pthreads],
|
||||
[use_pthreads_eintr=$enableval],
|
||||
[use_pthreads_eintr=no])
|
||||
AC_MSG_RESULT($use_pthreads_eintr)
|
||||
if test $use_pthreads_eintr = yes ; then
|
||||
AC_DEFINE(USE_PTHREADS_EINTR)
|
||||
fi])
|
||||
|
||||
AC_MSG_CHECKING(if you want to use weak-symbols for pthreads)
|
||||
AC_ARG_ENABLE(weak-symbols,
|
||||
[ --enable-weak-symbols enable weak-symbols for pthreads],
|
||||
[use_weak_symbols=$enableval],
|
||||
[use_weak_symbols=no])
|
||||
AC_MSG_RESULT($use_weak_symbols)
|
||||
if test "$use_weak_symbols" = yes ; then
|
||||
CF_WEAK_SYMBOLS
|
||||
else
|
||||
cf_cv_weak_symbols=no
|
||||
fi
|
||||
AC_MSG_CHECKING(if you want to use weak-symbols for pthreads)
|
||||
AC_ARG_ENABLE(weak-symbols,
|
||||
[ --enable-weak-symbols enable weak-symbols for pthreads],
|
||||
[use_weak_symbols=$enableval],
|
||||
[use_weak_symbols=no])
|
||||
AC_MSG_RESULT($use_weak_symbols)
|
||||
if test "$use_weak_symbols" = yes ; then
|
||||
CF_WEAK_SYMBOLS
|
||||
else
|
||||
cf_cv_weak_symbols=no
|
||||
fi
|
||||
|
||||
if test $cf_cv_weak_symbols = yes ; then
|
||||
AC_DEFINE(USE_WEAK_SYMBOLS)
|
||||
if test $cf_cv_weak_symbols = yes ; then
|
||||
AC_DEFINE(USE_WEAK_SYMBOLS)
|
||||
fi
|
||||
fi
|
||||
|
||||
PTHREAD=
|
||||
|
4
dist.mk
4
dist.mk
@ -25,7 +25,7 @@
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
# $Id: dist.mk,v 1.772 2010/09/04 16:03:54 tom Exp $
|
||||
# $Id: dist.mk,v 1.773 2010/09/11 14:06:59 tom Exp $
|
||||
# Makefile for creating ncurses distributions.
|
||||
#
|
||||
# This only needs to be used directly as a makefile by developers, but
|
||||
@ -37,7 +37,7 @@ SHELL = /bin/sh
|
||||
# These define the major/minor/patch versions of ncurses.
|
||||
NCURSES_MAJOR = 5
|
||||
NCURSES_MINOR = 7
|
||||
NCURSES_PATCH = 20100904
|
||||
NCURSES_PATCH = 20100911
|
||||
|
||||
# We don't append the patch to the version, since this only applies to releases
|
||||
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
|
||||
|
@ -26,20 +26,15 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_legacy.3x,v 1.2 2010/07/31 16:11:27 tom Exp $
|
||||
.\" $Id: curs_legacy.3x,v 1.3 2010/09/11 22:21:52 tom Exp $
|
||||
.TH curs_legacy 3X ""
|
||||
.SH NAME
|
||||
\fBgetbegx\fR,
|
||||
\fBgetbegy\fR,
|
||||
\fBgetcurx\fR,
|
||||
\fBgetcury\fR,
|
||||
\fBgetmaxx\fR,
|
||||
\fBgetmaxy\fR,
|
||||
\fBgetparx\fR,
|
||||
\fBgetpary\fR \- get \fBcurses\fR cursor and window coordinates
|
||||
get \fBcurses\fR cursor and window coordinates, attributes
|
||||
.SH SYNOPSIS
|
||||
\fB#include <curses.h>\fR
|
||||
.sp
|
||||
\fBint getattrs(WINDOW *win);\fR
|
||||
.br
|
||||
\fBint getbegx(WINDOW *win);\fR
|
||||
.br
|
||||
\fBint getbegy(WINDOW *win);\fR
|
||||
|
@ -26,13 +26,14 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_slk.3x,v 1.18 2010/07/31 14:43:29 tom Exp $
|
||||
.\" $Id: curs_slk.3x,v 1.19 2010/09/11 22:35:11 tom Exp $
|
||||
.TH curs_slk 3X ""
|
||||
.na
|
||||
.hy 0
|
||||
.SH NAME
|
||||
\fBslk_init\fR,
|
||||
\fBslk_set\fR,
|
||||
\fBslk_wset\fR,
|
||||
\fBslk_refresh\fR,
|
||||
\fBslk_noutrefresh\fR,
|
||||
\fBslk_label\fR,
|
||||
@ -86,6 +87,8 @@
|
||||
.br
|
||||
\fBint slk_color(short color_pair_number);\fR
|
||||
.br
|
||||
\fBint slk_wset (int labnum, const wchar_t *label, int fmt);\fR
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
The slk* functions manipulate the set of soft function-key labels that exist on
|
||||
many terminals.
|
||||
@ -126,7 +129,9 @@ but in addition an index line is generated, helping the user to
|
||||
identify the key numbers easily.
|
||||
.RE
|
||||
.PP
|
||||
The \fBslk_set\fR routine has three parameters:
|
||||
The \fBslk_set\fR routine
|
||||
(and the \fBslk_wset\fR routine for the wide-character library)
|
||||
has three parameters:
|
||||
.RS
|
||||
.TP 5
|
||||
.I labnum
|
||||
|
@ -26,16 +26,24 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_termcap.3x,v 1.23 2010/07/31 16:10:55 tom Exp $
|
||||
.\" $Id: curs_termcap.3x,v 1.24 2010/09/11 19:59:32 tom Exp $
|
||||
.TH curs_termcap 3X ""
|
||||
.na
|
||||
.hy 0
|
||||
.ds n 5
|
||||
.SH NAME
|
||||
\fBPC\fR,
|
||||
\fBUP\fR,
|
||||
\fBBC\fR,
|
||||
\fBospeed\fR,
|
||||
\fBtgetent\fR,
|
||||
\fBtgetflag\fR,
|
||||
\fBtgetnum\fR,
|
||||
\fBtgetstr\fR,
|
||||
\fBtgoto\fR,
|
||||
\fBtputs\fR \- direct \fBcurses\fR interface to the terminfo capability database
|
||||
.ad
|
||||
.hy
|
||||
.SH SYNOPSIS
|
||||
\fB#include <curses.h>\fR
|
||||
.br
|
||||
|
@ -26,7 +26,7 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_threads.3x,v 1.13 2010/07/31 16:10:55 tom Exp $
|
||||
.\" $Id: curs_threads.3x,v 1.15 2010/09/11 22:17:11 tom Exp $
|
||||
.TH curs_threads 3X ""
|
||||
.na
|
||||
.hy 0
|
||||
@ -39,8 +39,11 @@
|
||||
\fB#include <curses.h>\fR
|
||||
.sp
|
||||
\fBtypedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);\fR
|
||||
.br
|
||||
\fBtypedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);\fR
|
||||
.br
|
||||
\fBint get_escdelay(void);\fR
|
||||
.br
|
||||
\fBint set_escdelay(int size);\fR
|
||||
.br
|
||||
\fBint set_tabsize(int size);\fR
|
||||
@ -89,6 +92,8 @@ To modify them in any configuration,
|
||||
use the \fBset_escdelay\fP or \fBset_tabsize\fP functions.
|
||||
Other global variables are not modifiable.
|
||||
.PP
|
||||
The \fBget_escdelay\fP function returns the value for ESCDELAY.
|
||||
.PP
|
||||
The \fBuse_window\fP and \fBuse_screen\fP functions provide coarse
|
||||
granularity mutexes for their respective \fBWINDOW\fP and \fBSCREEN\fP
|
||||
parameters, and call a user-supplied function,
|
||||
|
@ -26,7 +26,7 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_util.3x,v 1.28 2010/07/31 16:10:55 tom Exp $
|
||||
.\" $Id: curs_util.3x,v 1.29 2010/09/11 18:13:16 Jason.McIntyre Exp $
|
||||
.TH curs_util 3X ""
|
||||
.na
|
||||
.hy 0
|
||||
@ -75,7 +75,7 @@ representation of the character \fIc\fR, ignoring attributes.
|
||||
Control characters are displayed in the \fB^\fR\fIX\fR notation.
|
||||
Printing characters are displayed as is.
|
||||
The corresponding \fBwunctrl\fR returns a printable representation of
|
||||
a wide-character.
|
||||
a wide character.
|
||||
.PP
|
||||
The \fBkeyname\fR routine returns a character string corresponding to the key \fIc\fR:
|
||||
.RS 3
|
||||
|
141
man/curs_variables.3x
Normal file
141
man/curs_variables.3x
Normal file
@ -0,0 +1,141 @@
|
||||
.\"***************************************************************************
|
||||
.\" Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
.\" *
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
.\" copy of this software and associated documentation files (the *
|
||||
.\" "Software"), to deal in the Software without restriction, including *
|
||||
.\" without limitation the rights to use, copy, modify, merge, publish, *
|
||||
.\" distribute, distribute with modifications, sublicense, and/or sell *
|
||||
.\" copies of the Software, and to permit persons to whom the Software is *
|
||||
.\" furnished to do so, subject to the following conditions: *
|
||||
.\" *
|
||||
.\" The above copyright notice and this permission notice shall be included *
|
||||
.\" in all copies or substantial portions of the Software. *
|
||||
.\" *
|
||||
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
.\" *
|
||||
.\" Except as contained in this notice, the name(s) of the above copyright *
|
||||
.\" holders shall not be used in advertising or otherwise to promote the *
|
||||
.\" sale, use or other dealings in this Software without prior written *
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_variables.3x,v 1.3 2010/09/11 20:16:49 tom Exp $
|
||||
.TH curs_variables 3X ""
|
||||
.de bP
|
||||
.IP \(bu 4
|
||||
..
|
||||
.ds n 5
|
||||
.na
|
||||
.hy 0
|
||||
.SH NAME
|
||||
\fBCOLORS\fR,
|
||||
\fBCOLOR_PAIRS\fR,
|
||||
\fBCOLS\fR,
|
||||
\fBESCDELAY\fR,
|
||||
\fBLINES\fR,
|
||||
\fBTABSIZE\fR,
|
||||
\fBcurscr\fR,
|
||||
\fBnewscr\fR,
|
||||
\fBstdscr\fR
|
||||
\- \fBcurses\fR global variables
|
||||
.ad
|
||||
.hy
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
\fB#include <curses.h>\fR
|
||||
.PP
|
||||
\fBint COLOR_PAIRS;\fR
|
||||
.br
|
||||
\fBint COLORS;\fR
|
||||
.br
|
||||
\fBint COLS;\fR
|
||||
.br
|
||||
\fBint ESCDELAY;\fR
|
||||
.br
|
||||
\fBint LINES;\fR
|
||||
.br
|
||||
\fBint TABSIZE;\fR
|
||||
.br
|
||||
\fBWINDOW * curscr;\fR
|
||||
.br
|
||||
\fBWINDOW * newscr;\fR
|
||||
.br
|
||||
\fBWINDOW * stdscr;\fR
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
This page summarizes variables provided by the \fBcurses\fP library.
|
||||
A more complete description is given in the \fBcurses\fP(3X) manual page.
|
||||
.PP
|
||||
Depending on the configuration, these may be actual variables,
|
||||
or macros (see \fBcurs_threads\fR(3X))
|
||||
which provide read-only access to \fIcurses\fP's state.
|
||||
In either case, applications should treat them as read-only to avoid
|
||||
confusing the library.
|
||||
.SS COLOR_PAIRS
|
||||
After initializing curses, this variable contains the number of color pairs
|
||||
which the terminal can support.
|
||||
Usually the number of color pairs will be the product \fBCOLORS\fP*\fBCOLORS\fP,
|
||||
however this is not always true:
|
||||
.bP
|
||||
a few terminals use HLS colors, which do not follow this rule
|
||||
.bP
|
||||
terminals supporting a large number of colors are limited by the number
|
||||
of color pairs that can be represented in a \fIsigned short\fP value.
|
||||
.SS COLORS
|
||||
After initializing curses, this variable contains the number of colors
|
||||
which the terminal can support.
|
||||
.SS COLS
|
||||
After initializing curses, this variable contains the width of the screen,
|
||||
i.e., the number of columns.
|
||||
.SS ESCDELAY
|
||||
This variable holds the number of milliseconds to wait after reading an
|
||||
escape character,
|
||||
to distinguish between an individual escape character entered on the
|
||||
keyboard from escape sequences sent by cursor- and function-keys
|
||||
(see curses(3X).
|
||||
.SS LINES
|
||||
After initializing curses, this variable contains the height of the screen,
|
||||
i.e., the number of lines.
|
||||
.SS TABSIZE
|
||||
This variable holds the number of columns used by the \fIcurses\fP library
|
||||
when converting a tab character to spaces as it adds the tab to a window
|
||||
(see curs_addch(3X).
|
||||
.SS The Current Screen
|
||||
This implementation of curses uses a special window \fBcurscr\fP to
|
||||
record its updates to the terminal screen.
|
||||
.SS The New Screen
|
||||
This implementation of curses uses a special window \fBnewscr\fP to
|
||||
hold updates to the terminal screen before applying them to \fBcurscr\fP.
|
||||
.SS The Standard Screen
|
||||
Upon initializing curses,
|
||||
a default window called \fBstdscr\fP,
|
||||
which is the size of the terminal screen, is created.
|
||||
Many curses functions use this window.
|
||||
.SH NOTES
|
||||
The curses library is initialized using either \fBinitscr\fR(3X),
|
||||
or \fBnewterm\fR(3X).
|
||||
.PP
|
||||
If \fBcurses\fP is configured to use separate curses/terminfo libraries,
|
||||
most of these variables reside in the curses library.
|
||||
.SH PORTABILITY
|
||||
ESCDELAY and TABSIZE are extensions,
|
||||
not provided in most other implementations of curses.
|
||||
.SH SEE ALSO
|
||||
\fBcurses\fR(3X),
|
||||
\fBcurs_threads\fR(3X),
|
||||
\fBterm_variables\fR(3X),
|
||||
\fBterminfo\fR(3X),
|
||||
\fBterminfo\fR(\*n).
|
||||
.\"#
|
||||
.\"# The following sets edit modes for GNU EMACS
|
||||
.\"# Local Variables:
|
||||
.\"# mode:nroff
|
||||
.\"# fill-column:79
|
||||
.\"# End:
|
@ -27,7 +27,7 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: form_field_buffer.3x,v 1.16 2010/07/31 16:09:36 tom Exp $
|
||||
.\" $Id: form_field_buffer.3x,v 1.17 2010/09/11 18:13:24 Jason.McIntyre Exp $
|
||||
.TH form_field_buffer 3X ""
|
||||
.SH NAME
|
||||
\fBform_field_buffer\fR \- field buffer control
|
||||
@ -122,7 +122,7 @@ descriptions of the entry points.
|
||||
.SH NOTES
|
||||
The header file \fB<form.h>\fR automatically includes the header file
|
||||
.PP
|
||||
When configured for wide-characters, \fBfield_buffer\fP returns a pointer
|
||||
When configured for wide characters, \fBfield_buffer\fP returns a pointer
|
||||
to temporary storage (allocated and freed by the library).
|
||||
The application should not attempt to modify the data.
|
||||
It will be freed on the next call to \fBfield_buffer\fP to return the
|
||||
|
88
man/form_variables.3x
Normal file
88
man/form_variables.3x
Normal file
@ -0,0 +1,88 @@
|
||||
.\"***************************************************************************
|
||||
.\" Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
.\" *
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
.\" copy of this software and associated documentation files (the *
|
||||
.\" "Software"), to deal in the Software without restriction, including *
|
||||
.\" without limitation the rights to use, copy, modify, merge, publish, *
|
||||
.\" distribute, distribute with modifications, sublicense, and/or sell *
|
||||
.\" copies of the Software, and to permit persons to whom the Software is *
|
||||
.\" furnished to do so, subject to the following conditions: *
|
||||
.\" *
|
||||
.\" The above copyright notice and this permission notice shall be included *
|
||||
.\" in all copies or substantial portions of the Software. *
|
||||
.\" *
|
||||
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
.\" *
|
||||
.\" Except as contained in this notice, the name(s) of the above copyright *
|
||||
.\" holders shall not be used in advertising or otherwise to promote the *
|
||||
.\" sale, use or other dealings in this Software without prior written *
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: form_variables.3x,v 1.1 2010/09/11 21:39:48 tom Exp $
|
||||
.TH form_variables 3X ""
|
||||
.ds n 5
|
||||
.na
|
||||
.hy 0
|
||||
.SH NAME
|
||||
TYPE_ALNUM
|
||||
TYPE_ALPHA
|
||||
TYPE_ENUM
|
||||
TYPE_INTEGER
|
||||
TYPE_IPV4
|
||||
TYPE_NUMERIC
|
||||
TYPE_REGEXP
|
||||
\- form system global variables
|
||||
.ad
|
||||
.hy
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
\fB#include <form.h>\fR
|
||||
.br
|
||||
.PP
|
||||
\fBFIELDTYPE * TYPE_ALNUM;\fR
|
||||
\fBFIELDTYPE * TYPE_ALPHA;\fR
|
||||
\fBFIELDTYPE * TYPE_ENUM;\fR
|
||||
\fBFIELDTYPE * TYPE_INTEGER;\fR
|
||||
\fBFIELDTYPE * TYPE_IPV4;\fR
|
||||
\fBFIELDTYPE * TYPE_NUMERIC;\fR
|
||||
\fBFIELDTYPE * TYPE_REGEXP;\fR
|
||||
.br
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
These are building blocks for the form library,
|
||||
defining fields that can be created using \fBset_fieldtype\fP(3X).
|
||||
Each provides functions for field- and character-validation,
|
||||
according to the given datatype.
|
||||
.SS TYPE_ALNUM
|
||||
This holds alphanumeric data.
|
||||
.SS TYPE_ALPHA
|
||||
This holds alphabetic data.
|
||||
.SS TYPE_ENUM
|
||||
This holds an enumerated type.
|
||||
.SS TYPE_INTEGER
|
||||
This holds a decimal integer.
|
||||
.SS TYPE_IPV4
|
||||
This holds an IPv4 internet address, e.g., "127.0.0.1".
|
||||
.SS TYPE_NUMERIC
|
||||
This holds a decimal number, with optional sign and decimal point.
|
||||
.SS TYPE_REGEXP
|
||||
This holds a regular expression.
|
||||
.SH PORTABILITY
|
||||
The \fBTYPE_IPV4\fP variable is an extension not provided by older
|
||||
implementations of the form library.
|
||||
.SH SEE ALSO
|
||||
\fBform\fR(3X).
|
||||
.\"#
|
||||
.\"# The following sets edit modes for GNU EMACS
|
||||
.\"# Local Variables:
|
||||
.\"# mode:nroff
|
||||
.\"# fill-column:79
|
||||
.\"# End:
|
@ -25,7 +25,7 @@
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
# $Id: man_db.renames,v 1.45 2010/03/06 22:21:42 tom Exp $
|
||||
# $Id: man_db.renames,v 1.46 2010/09/11 18:47:13 tom Exp $
|
||||
# Manual-page renamings for the man_db program
|
||||
#
|
||||
# Files:
|
||||
@ -89,6 +89,7 @@ curs_threads.3x threads.3ncurses
|
||||
curs_touch.3x touch.3ncurses
|
||||
curs_trace.3x trace.3ncurses
|
||||
curs_util.3x util.3ncurses
|
||||
curs_variables.3x curses_variables.3ncurses
|
||||
curs_window.3x window.3ncurses
|
||||
curses.3x ncurses.3ncurses
|
||||
default_colors.3x default_colors.3ncurses
|
||||
@ -115,6 +116,7 @@ form_page.3x page.3form
|
||||
form_post.3x post.3form
|
||||
form_requestname.3x requestname.3form
|
||||
form_userptr.3x userptr.3form
|
||||
form_variables.3x form_variables.3form
|
||||
form_win.3x win.3form
|
||||
infocmp.1m infocmp.1
|
||||
infotocap.1m infotocap.1
|
||||
@ -155,6 +157,7 @@ system.3s system.3
|
||||
tabs.1 tabs.1
|
||||
term.5 term.5
|
||||
term.7 term.7
|
||||
term_variables.3x terminfo_variables.3ncurses
|
||||
terminfo.5 terminfo.5
|
||||
terminfo.\\\*n terminfo.5
|
||||
tic.1m tic.1
|
||||
|
@ -27,7 +27,7 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: ncurses.3x,v 1.96 2010/07/31 15:55:04 tom Exp $
|
||||
.\" $Id: ncurses.3x,v 1.97 2010/09/11 20:54:13 tom Exp $
|
||||
.hy 0
|
||||
.TH ncurses 3X ""
|
||||
.ds n 5
|
||||
@ -246,7 +246,7 @@ Each cell (row and column) in a \fBWINDOW\fP is stored as a \fBchtype\fP.
|
||||
.TP 5
|
||||
ncursesw
|
||||
the so-called "wide" library, which handles multibyte characters
|
||||
(See the section on \fBALTERNATE CONFIGURATIONS\fP).
|
||||
(see the section on \fBALTERNATE CONFIGURATIONS\fP).
|
||||
The "wide" library includes all of the calls from the "normal" library.
|
||||
It adds about one third more calls using data types which store
|
||||
multibyte characters:
|
||||
|
159
man/term_variables.3x
Normal file
159
man/term_variables.3x
Normal file
@ -0,0 +1,159 @@
|
||||
.\"***************************************************************************
|
||||
.\" Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
.\" *
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
.\" copy of this software and associated documentation files (the *
|
||||
.\" "Software"), to deal in the Software without restriction, including *
|
||||
.\" without limitation the rights to use, copy, modify, merge, publish, *
|
||||
.\" distribute, distribute with modifications, sublicense, and/or sell *
|
||||
.\" copies of the Software, and to permit persons to whom the Software is *
|
||||
.\" furnished to do so, subject to the following conditions: *
|
||||
.\" *
|
||||
.\" The above copyright notice and this permission notice shall be included *
|
||||
.\" in all copies or substantial portions of the Software. *
|
||||
.\" *
|
||||
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
.\" *
|
||||
.\" Except as contained in this notice, the name(s) of the above copyright *
|
||||
.\" holders shall not be used in advertising or otherwise to promote the *
|
||||
.\" sale, use or other dealings in this Software without prior written *
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: term_variables.3x,v 1.1 2010/09/11 21:01:44 tom Exp $
|
||||
.TH term_variables 3X ""
|
||||
.ds n 5
|
||||
.na
|
||||
.hy 0
|
||||
.SH NAME
|
||||
\fBSP\fP,
|
||||
\fBacs_map\fP,
|
||||
\fBboolcodes\fP,
|
||||
\fBboolfnames\fP,
|
||||
\fBboolnames\fP,
|
||||
\fBcur_term\fP,
|
||||
\fBnumcodes\fP,
|
||||
\fBnumfnames\fP,
|
||||
\fBnumnames\fP,
|
||||
\fBstrcodes\fP,
|
||||
\fBstrfnames\fP,
|
||||
\fBstrnames\fP,
|
||||
\fBttytype\fP
|
||||
\- \fBcurses\fR terminfo global variables
|
||||
.ad
|
||||
.hy
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
\fB#include <curses.h>\fR
|
||||
.br
|
||||
\fB#include <term.h>\fR
|
||||
.PP
|
||||
\fBchtype acs_map[];\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * boolcodes;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * boolfnames;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * boolnames;\fR
|
||||
.br
|
||||
\fBTERMINAL * cur_term;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * numcodes;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * numfnames;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * numnames;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * strcodes;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * strfnames;\fR
|
||||
.br
|
||||
\fBNCURSES_CONST char * const * strnames;\fR
|
||||
.br
|
||||
\fBchar ttytype[];\fR
|
||||
.br
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
This page summarizes variables provided by the \fBcurses\fP library's
|
||||
low-level terminfo interface.
|
||||
A more complete description is given in the \fBcurs_terminfo\fP(3X) manual page.
|
||||
.PP
|
||||
Depending on the configuration, these may be actual variables,
|
||||
or macros (see \fBcurs_threads\fR(3X))
|
||||
which provide read-only access to \fIcurses\fP's state.
|
||||
In either case, applications should treat them as read-only to avoid
|
||||
confusing the library.
|
||||
.SS Alternate Character Set Mapping
|
||||
After initializing the curses or terminfo interfaces,
|
||||
the \fBacs_map\fP array holds information used to translate cells
|
||||
with the \fBA_ALTCHARSET\fP video attribute into line-drawing characters.
|
||||
.PP
|
||||
The encoding of the information in this array has changed periodically.
|
||||
Application developers need only know that it is used for the "ACS_"
|
||||
constants in <curses.h>.
|
||||
.PP
|
||||
The comparable data for the wide-character library is a private variable.
|
||||
.SS Current Terminal Data
|
||||
After initializing the curses or terminfo interfaces,
|
||||
the \fBcur_term\fP contains data describing the current terminal.
|
||||
This variable is also set as a side-effect of \fBset_term\fP(3X)
|
||||
and \fBdelscreen\fP(3X).
|
||||
.PP
|
||||
It is possible to save a value of \fBcur_term\fP for subsequent
|
||||
use as a parameter to \fBset_term\fP, for switching between screens.
|
||||
Alternatively, one can save the return value from \fBnewterm\fP
|
||||
or \fBsetupterm\fP to reuse in \fBset_term\fP.
|
||||
.SS Terminfo Names
|
||||
The \fBtic\fP(1) and \fBinfocmp\fP(1) programs use lookup tables for
|
||||
the long and short names of terminfo capabilities,
|
||||
as well as the corresponding names for termcap capabilities.
|
||||
These are available to other applications,
|
||||
though the hash-tables are not available.
|
||||
.PP
|
||||
The long terminfo capability names use a "l" (ell) in their names:
|
||||
boolfnames
|
||||
numfnames
|
||||
strfnames
|
||||
.PP
|
||||
These are the short names for terminfo capabilities:
|
||||
boolnames,
|
||||
numnames, and
|
||||
strnames.
|
||||
.PP
|
||||
These are the corresponding names used for termcap descriptions:
|
||||
boolcodes,
|
||||
numcodes, and
|
||||
strcodes.
|
||||
.SS Terminal Type
|
||||
On initialization of the curses or terminfo interfaces,
|
||||
\fBsetupterm\fP copies the terminal name to the array \fBttytype\fP.
|
||||
.SH NOTES
|
||||
The low-level terminfo interface is initialized using \fBsetupterm\fR(3X).
|
||||
The upper-level curses interface uses the low-level terminfo interface,
|
||||
internally.
|
||||
.SH PORTABILITY
|
||||
X/Open Curses does not describe any of these except for \fBcur_term\fP.
|
||||
(The inclusion of \fBcur_term\fP appears to be an oversight,
|
||||
since other comparable low-level information is omitted by X/Open).
|
||||
.PP
|
||||
Other implementations may have comparable variables.
|
||||
Some implementations provide the variables in their libraries,
|
||||
but omit them from the header files.
|
||||
.SH SEE ALSO
|
||||
\fBcurses\fR(3X),
|
||||
\fBcurs_terminfo\fR(3X),
|
||||
\fBcurs_threads\fR(3X),
|
||||
\fBterminfo\fR(3X),
|
||||
\fBterminfo\fR(\*n).
|
||||
.\"#
|
||||
.\"# The following sets edit modes for GNU EMACS
|
||||
.\"# Local Variables:
|
||||
.\"# mode:nroff
|
||||
.\"# fill-column:79
|
||||
.\"# End:
|
@ -6,8 +6,8 @@
|
||||
# Report bugs and new terminal descriptions to
|
||||
# bug-ncurses@gnu.org
|
||||
#
|
||||
# $Revision: 1.367 $
|
||||
# $Date: 2010/08/28 20:43:25 $
|
||||
# $Revision: 1.368 $
|
||||
# $Date: 2010/09/12 00:55:01 $
|
||||
#
|
||||
# The original header is preserved below for reference. It is noted that there
|
||||
# is a "newer" version which differs in some cosmetic details (but actually
|
||||
@ -740,7 +740,7 @@ st52|st52-m|at|at-m|atari|atari-m|atari_st|atarist-m|Atari ST,
|
||||
tw100|toswin vt100 window mgr,
|
||||
eo, mir, msgr, xon,
|
||||
colors#8, cols#80, it#8, lines#24, pairs#64, vt#3,
|
||||
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\,\,hhII00,
|
||||
acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G, blink=\E[5m, bold=\E[1m, civis=\Ef,
|
||||
clear=\E[2J\E[H, cnorm=\Ee, cr=^M, csr=\E[%i%p1%d;%p2%dr,
|
||||
cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB,
|
||||
@ -783,7 +783,7 @@ stv52|MiNT virtual console,
|
||||
stv52pc|MiNT virtual console with PC charset,
|
||||
am, msgr,
|
||||
cols#80, it#8, lines#30,
|
||||
acsc=`\177a\260f\370g\361j\331k\277l\332m\300n\305o\377p-q\304r-s_t+u+v+w+x\263y\363z\362{\343|\366}\234~\371.v-\^+\257\,\256h\261I\3740\333,
|
||||
acsc=+\257\,\256-\^.v0\333I\374`\177a\260f\370g\361h\261j\331k\277l\332m\300n\305o\377p-q\304r-s_t+u+v+w+x\263y\363z\362{\343|\366}\234~\371,
|
||||
bel=^G, blink=\Er, bold=\EyA, civis=\Ef, clear=\EE,
|
||||
cnorm=\E. \Ee, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
|
||||
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E.",
|
||||
@ -1081,7 +1081,7 @@ mach-color|Mach Console with ANSI color,
|
||||
hurd|The GNU Hurd console server,
|
||||
am, bce, bw, eo, km, mir, msgr, xon,
|
||||
colors#8, it#8, ncv#18, pairs#64,
|
||||
acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
|
||||
clear=\Ec, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
|
||||
cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
|
||||
@ -1150,7 +1150,7 @@ pmcons|pmconsole|PMAX console,
|
||||
scoansi-old|SCO Extended ANSI standard crt (5.0.5),
|
||||
OTbs, am, bce, eo, xon,
|
||||
colors#8, cols#80, it#8, lines#25, pairs#64,
|
||||
acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
|
||||
acsc=+/\,.-\230.\2310[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207,
|
||||
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
|
||||
civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C,
|
||||
cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B,
|
||||
@ -1585,7 +1585,7 @@ qnxt2|qnx 2.15 serial terminal,
|
||||
qansi-g|QNX ANSI,
|
||||
am, eslok, hs, xon,
|
||||
colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80,
|
||||
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~Oa,
|
||||
acsc=Oa``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
|
||||
clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M,
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
|
||||
@ -2061,7 +2061,7 @@ bsdos-ppc|PowerPC BSD/OS Console,
|
||||
vt52|dec vt52,
|
||||
OTbs,
|
||||
cols#80, it#8, lines#24,
|
||||
acsc=ffggolpnqprrss+h.k0a, bel=^G, clear=\EH\EJ, cr=^M,
|
||||
acsc=+h.k0affggolpnqprrss, bel=^G, clear=\EH\EJ, cr=^M,
|
||||
cub1=\ED, cud1=\EB, cuf1=\EC,
|
||||
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
|
||||
el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB,
|
||||
@ -4173,10 +4173,10 @@ rxvt-88color|rxvt 2.7.9 with xterm 88-colors,
|
||||
rxvt-xpm|rxvt terminal emulator (X Window System),
|
||||
use=rxvt,
|
||||
rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
|
||||
acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
|
||||
acsc=+\257\,\256-\^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
|
||||
use=rxvt,
|
||||
rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
|
||||
acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376,
|
||||
acsc=+\257\,\256-\^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376,
|
||||
use=rxvt-cygwin,
|
||||
|
||||
# This variant is supposed to work with rxvt 2.7.7 when compiled with
|
||||
@ -5815,7 +5815,7 @@ pcmw|PC running Microsoft Works,
|
||||
interix|opennt|opennt-25|ntconsole|ntconsole-25|OpenNT-term compatible with color,
|
||||
am, bw, msgr,
|
||||
colors#8, cols#80, lines#25, ncv#3, pairs#64,
|
||||
acsc=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\,\021+^P0\333p\304r\304y\363z\362{\343|\330}\234,
|
||||
acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
|
||||
bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[2J, cub=\E[%p1%dD,
|
||||
cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC,
|
||||
cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
|
||||
@ -8557,7 +8557,7 @@ wy100|wyse 100,
|
||||
wy120|wyse120|wy150|wyse150|Wyse 120/150,
|
||||
am, bw, hs, km, mc5i, mir, msgr, xon,
|
||||
cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
|
||||
acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
|
||||
cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
|
||||
@ -8636,7 +8636,7 @@ wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column
|
||||
wy60|wyse60|Wyse 60,
|
||||
am, bw, hs, km, mc5i, mir, msgr,
|
||||
cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45,
|
||||
acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>,
|
||||
cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
|
||||
@ -8805,7 +8805,7 @@ wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard),
|
||||
wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard),
|
||||
am, bw, hs, km, mc5i, mir, msgr, xon,
|
||||
cols#80, it#8, lines#25, wsl#46,
|
||||
acsc='x+y.wi~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
|
||||
acsc='x+y.w_vi~j(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G,
|
||||
blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032,
|
||||
cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K,
|
||||
@ -8857,7 +8857,7 @@ wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard),
|
||||
wy160|wyse160|Wyse 160,
|
||||
am, bw, hs, km, mc5i, mir, msgr,
|
||||
cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38,
|
||||
acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>,
|
||||
cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>,
|
||||
@ -9165,7 +9165,7 @@ wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols,
|
||||
wy325|wyse325|Wyse epc,
|
||||
am, bw, hs, mc5i, mir,
|
||||
cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45,
|
||||
acsc=+/\,.0[iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
acsc=+/\,.0[a2fxgqh1ihjYk?lZm@nEqDtCu4vAwBx3yszr{c~~,
|
||||
bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>,
|
||||
cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>,
|
||||
@ -15763,7 +15763,7 @@ ncr7901|ncr 7901 model,
|
||||
ndr9500|nd9500|Newbury Data 9500,
|
||||
am, bw, hs, mc5i, mir, msgr, ul, xon,
|
||||
cols#80, lines#24, wsl#79,
|
||||
acsc=qKnImAjDwNuLtMvOlBkCxJ, bel=^G, cbt=\EI, civis=\E.0,
|
||||
acsc=jDkClBmAnIqKtMuLvOwNxJ, bel=^G, cbt=\EI, civis=\E.0,
|
||||
clear=\E;, cnorm=\E.1, cr=^M, cub1=^H, cud1=^V, cuf1=^L,
|
||||
cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW,
|
||||
dim=\E), dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
|
||||
@ -17057,7 +17057,7 @@ nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset
|
||||
sgr0=\E[m\017, smacs=^N, use=nsterm+7,
|
||||
|
||||
nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset,
|
||||
acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377,
|
||||
acsc=+\335\,\334-\366.\3770#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245,
|
||||
enacs=\E(B\E)0, rmacs=^O,
|
||||
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
|
||||
sgr0=\E[m\017, smacs=^N, use=nsterm+7,
|
||||
@ -18883,7 +18883,7 @@ h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor,
|
||||
h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19,
|
||||
OTbs, am, eslok, hs, mir, msgr,
|
||||
cols#80, it#8, lines#24,
|
||||
acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{, bel=^G,
|
||||
acsc=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\^, bel=^G,
|
||||
clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC,
|
||||
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ex4,
|
||||
dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, ind=^J,
|
||||
@ -19021,7 +19021,7 @@ z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor,
|
||||
z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc,
|
||||
OTbs, OTpt, mir, msgr,
|
||||
OTkn#10, cols#80, it#8, lines#24,
|
||||
acsc=~\^x`qanbkcjdmelfgg+hai.kwsutvutvozs{,
|
||||
acsc=+h.kaiggjdkclfmenbozqas{tvutvuwsx`~\^,
|
||||
clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, cuf1=\EC,
|
||||
cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, cuu1=\EA,
|
||||
cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, ed=\EJ, el=\EK,
|
||||
@ -22275,6 +22275,9 @@ v3220|LANPAR Vision II model 3220/3221/3222,
|
||||
# * modify xnuppc entries for consistent sgr/sgr0 -TD
|
||||
# * add invis to tek4115 sgr -TD
|
||||
#
|
||||
# 2010-09-11
|
||||
# * reformat acsc strings to canonical format -TD
|
||||
#
|
||||
# The following sets edit modes for GNU EMACS.
|
||||
# Local Variables:
|
||||
# fill-prefix:"\t"
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include <dump_entry.h>
|
||||
#include <transform.h>
|
||||
|
||||
MODULE_ID("$Id: tic.c,v 1.142 2010/07/24 22:09:28 tom Exp $")
|
||||
MODULE_ID("$Id: tic.c,v 1.143 2010/09/11 17:56:42 tom Exp $")
|
||||
|
||||
const char *_nc_progname = "tic";
|
||||
|
||||
@ -764,6 +764,7 @@ main(int argc, char *argv[])
|
||||
put_translate(fgetc(tmp_fp));
|
||||
}
|
||||
|
||||
repair_acsc(&qp->tterm);
|
||||
dump_entry(&qp->tterm, suppress_untranslatable,
|
||||
limited, numbers, NULL);
|
||||
for (j = 0; j < (int) qp->nuses; j++)
|
||||
|
21
test/README
21
test/README
@ -25,7 +25,7 @@
|
||||
-- sale, use or other dealings in this Software without prior written --
|
||||
-- authorization. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: README,v 1.41 2009/09/12 23:17:29 tom Exp $
|
||||
-- $Id: README,v 1.42 2010/09/11 22:00:58 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
The programs in this directory are designed to test your newest toy :-)
|
||||
@ -218,7 +218,7 @@ ESCDELAY test: test_opaque
|
||||
LINES test: cardfile demo_defkey demo_keyok demo_menus demo_panels ditto echochar edit_field firework hanoi hashtest inch_wide inchs ins_wide inserts lrtest movewindow ncurses newdemo rain savescreen tclock test_add_wchstr test_addchstr test_addstr test_addwstr test_get_wstr test_getstr test_instr test_inwstr test_opaque testcurs view worm xmas
|
||||
PAIR_NUMBER test: ncurses
|
||||
PC lib: ncurses
|
||||
SP lib: menu
|
||||
SP lib: form
|
||||
TABSIZE test: test_opaque
|
||||
UP -
|
||||
acs_map test: gdc ins_wide inserts knight movewindow ncurses newdemo test_add_wchstr test_addchstr test_addstr test_addwstr testcurs
|
||||
@ -516,19 +516,19 @@ setupterm test: demo_termcap demo_terminfo dots progs: clear tabs tput tset
|
||||
slk_attr -
|
||||
slk_attr_off -
|
||||
slk_attr_on -
|
||||
slk_attr_set -
|
||||
slk_attr_set test: ncurses
|
||||
slk_attroff lib: ncurses
|
||||
slk_attron lib: ncurses
|
||||
slk_attrset -
|
||||
slk_attrset test: ncurses
|
||||
slk_clear test: ncurses
|
||||
slk_color test: ncurses
|
||||
slk_init test: ncurses
|
||||
slk_label test: ncurses
|
||||
slk_noutrefresh -
|
||||
slk_noutrefresh test: ncurses
|
||||
slk_refresh test: ncurses
|
||||
slk_restore test: ncurses
|
||||
slk_set test: ncurses
|
||||
slk_touch lib: ncurses
|
||||
slk_touch test: ncurses
|
||||
slk_wset test: ncurses
|
||||
standend test: blue gdc ncurses
|
||||
standout test: blue ncurses
|
||||
@ -552,6 +552,7 @@ tigetflag test: demo_terminfo progs: tput
|
||||
tigetnum test: demo_terminfo ncurses progs: tput
|
||||
tigetstr test: blue demo_defkey demo_terminfo foldkeys testcurs progs: tput
|
||||
timeout test: rain savescreen
|
||||
tiparm -
|
||||
touchline test: chgat clip_printw insdelln
|
||||
touchwin test: chgat clip_printw demo_menus edit_field filter firstlast inch_wide inchs ins_wide insdelln inserts movewindow ncurses redraw test_add_wchstr test_addchstr test_addstr test_addwstr test_get_wstr test_getstr test_instr test_inwstr test_opaque xmas
|
||||
tparm test: dots dots_mvcur progs: tabs tic tput
|
||||
@ -613,7 +614,7 @@ wdelch test: ncurses testcurs
|
||||
wdeleteln test: insdelln testcurs
|
||||
wecho_wchar lib: ncurses
|
||||
wechochar lib: ncurses
|
||||
wenclose lib: form
|
||||
wenclose test: ncurses
|
||||
werase test: cardfile demo_forms demo_menus demo_panels edit_field firstlast knight ncurses newdemo test_get_wstr test_getstr test_opaque testcurs xmas
|
||||
wget_wch test: ins_wide ncurses test_add_wchstr test_addwstr
|
||||
wget_wstr test: test_get_wstr
|
||||
@ -644,7 +645,7 @@ winsnstr test: inserts
|
||||
winsstr test: inserts
|
||||
winstr test: test_instr
|
||||
winwstr test: test_inwstr
|
||||
wmouse_trafo lib: form
|
||||
wmouse_trafo test: ncurses
|
||||
wmove test: chgat clip_printw demo_altkeys demo_defkey demo_keyok demo_menus demo_panels firstlast foldkeys inch_wide inchs ins_wide insdelln inserts knight movewindow ncurses newdemo redraw test_add_wchstr test_addchstr test_addstr test_addwstr test_get_wstr test_getstr test_instr test_inwstr test_opaque testcurs worm
|
||||
wnoutrefresh test: demo_menus ditto edit_field inch_wide inchs ins_wide inserts knight movewindow ncurses redraw test_add_wchstr test_addchstr test_addstr test_addwstr test_get_wstr test_getstr test_instr test_inwstr test_opaque
|
||||
wprintw test: chgat clip_printw demo_defkey demo_forms demo_keyok demo_menus demo_panels edit_field inch_wide inchs ins_wide insdelln inserts knight movewindow ncurses test_add_wchstr test_addchstr test_addstr test_addwstr test_get_wstr test_getstr test_instr test_inwstr test_opaque testcurs
|
||||
@ -654,8 +655,8 @@ wresize test: cardfile ncurses
|
||||
wscanw test: testcurs
|
||||
wscrl test: ncurses testcurs
|
||||
wsetscrreg test: ncurses testcurs
|
||||
wstandend test: test_opaque xmas
|
||||
wstandout test: test_opaque xmas
|
||||
wstandend test: ncurses test_opaque xmas
|
||||
wstandout test: ncurses test_opaque xmas
|
||||
wsyncdown test: movewindow
|
||||
wsyncup lib: form
|
||||
wtimeout test: ncurses
|
||||
|
Loading…
Reference in New Issue
Block a user