Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/termcap Move the termcap man page and capabilities to ...



details:   https://anonhg.NetBSD.org/src/rev/8489f5dfea29
branches:  trunk
changeset: 761222:8489f5dfea29
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Jan 21 07:59:05 2011 +0000

description:
Move the termcap man page and capabilities to the Attic as we have been
using terminfo now for quite some time.

diffstat:

 share/termcap/Makefile    |     25 -
 share/termcap/README      |     60 -
 share/termcap/termcap.5   |   1905 ------
 share/termcap/termcap.src |  13145 --------------------------------------------
 4 files changed, 0 insertions(+), 15135 deletions(-)

diffs (truncated from 15151 to 300 lines):

diff -r bf6a9569cdbe -r 8489f5dfea29 share/termcap/Makefile
--- a/share/termcap/Makefile    Fri Jan 21 07:55:12 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#      $NetBSD: Makefile,v 1.30 2010/01/16 15:34:23 roy Exp $
-#      from: @(#)Makefile      8.1 (Berkeley) 6/8/93
-
-MAN=   termcap.5
-
-CLEANFILES= termcap.db
-realall: termcap.db
-FILES=termcap.db termcap.src
-FILESNAME_termcap.src=termcap
-FILESDIR=${BINDIR}/misc
-
-.include <bsd.endian.mk>
-.if ${TARGET_ENDIANNESS} == "1234"
-CAP_MKDB_ENDIAN=       -l
-.elif ${TARGET_ENDIANNESS} == "4321"
-CAP_MKDB_ENDIAN=       -b
-.else
-CAP_MKDB_ENDIAN=
-.endif
-
-termcap.db: termcap.src
-       ${_MKTARGET_CREATE}
-       ${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f termcap ${.ALLSRC}
-
-.include <bsd.prog.mk>
diff -r bf6a9569cdbe -r 8489f5dfea29 share/termcap/README
--- a/share/termcap/README      Fri Jan 21 07:55:12 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-#      $NetBSD: README,v 1.3 1999/09/06 20:28:19 perry Exp $
-#      from @(#)README 8.1 (Berkeley) 6/8/93
-
-<< 12 May 1983 >>
-To install this directory on your system:
-
-First determine a list of "common terminals" for your system.  This list
-will probably be small, and can be empty if you like, but you should
-probably put your own terminal in it.
-
-Second, edit the editor script "reorder" to use this list instead of the
-list built in to it.  The changes will be evident from looking at the
-script.  Notice that the script contains the terminals in order from least
-common to most common, since the move commands will move them to the front
-in that order, the effect will be to put the most common at the front of
-termcap since that's moved last.  The s.* terminals are specials, and
-although they don't have to go to the front, they are probably quite
-common and really should go near the front.
-
-Third, if you are not a super user and cannot create the directory
-/usr/lib/tabset, make a corresponding directory somewhere you can and add
-a line to reorder to globally change all /usr/lib/tabset's to your own
-path name.  This change is better than just changing the termcap.src file
-because it makes it easier to diff it from newer distributed versions.
-Try to keep the source as is whenever possible, and put mungings into
-reorder.
-
-Now you can run "make install" which will create an /etc/termcap. Again,
-if you aren't a super user change the cp command to put it where you can.
-In this case you will have to redefine E_TERMCAP in "local/uparm.h", which
-will probably be in subdirectories with the other UCB software.
-
-
-Finally, if you make additions or fixes to termcap, please mail a note
-explaining what you did with the fixed termcap entry (not the whole file,
-please!) to me at one of the addresses below, so it can be incorporated
-back into the original source.  I will normally include anything unless
-there is a good reason not to, but I reserve the right to redo it differently.
-
-       uunet!ucbvax!termcap                    (uucp)
-       termcap%cs.berkeley.edu@localhost                       (Internet)
-
-<< 14 October 1987 >>
-It is probably easiest to make local termcap changes in separate
-files, eg /usr/local/etc/termcap, and encourage people to put
-
-       setenv TERMPATH ~/.termcap:/usr/local/etc/termcap:/etc/termcap 
-
-in their shell startup files.  This way local system-wide changes can be
-isolated in /usr/local/etc/termcap and user changes in ~/.termcap, all
-without consuming lots of disk or requiring re-integration of local
-changes when system termcap files change.
-
-       John Kunze
-       termcap%cs.berkeley.edu@localhost
-
-<< 1 January 1997 >>
-
-Maintenance has been taken over by Eric Raymond <terminfo%ccil.org@localhost>.
-E-mail changes there. See http://www.ccil.org/terminfo/
diff -r bf6a9569cdbe -r 8489f5dfea29 share/termcap/termcap.5
--- a/share/termcap/termcap.5   Fri Jan 21 07:55:12 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1905 +0,0 @@
-.\"    $NetBSD: termcap.5,v 1.35 2009/08/15 14:18:05 joerg Exp $
-.\"
-.\" Copyright (c) 1985, 1991, 1993, 1994
-.\"    The Regents of the University of California.  All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\" 3. Neither the name of the University nor the names of its contributors
-.\"    may be used to endorse or promote products derived from this software
-.\"    without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\"     from: @(#)termcap.5    8.3 (Berkeley) 4/16/94
-.\"
-.Dd January 27, 2003
-.Dt TERMCAP 5
-.Os
-.Sh NAME
-.Nm termcap
-.Nd terminal capability data base
-.Sh SYNOPSIS
-.Nm termcap
-.Sh DESCRIPTION
-The
-.Nm
-file is a database describing terminals, used, for example, by
-.Xr \&vi 1
-and
-.Xr curses 3 .
-Terminals are described in
-.Nm
-by giving a set of capabilities that they have and by describing
-how operations are performed.
-Padding requirements and initialization sequences
-are included in
-.Nm .
-.Pp
-Entries in
-.Nm
-consist of a number of `:'-separated fields.
-The first entry for each terminal gives the names that are known for the
-terminal, separated by `|' characters.
-The first name given is the most common abbreviation for the terminal.
-The last name given should be a long name fully identifying the terminal,
-and all others are understood as synonyms for the terminal name.
-All names but the last should be in lower case and contain no blanks;
-the last name may well contain upper case characters and blanks for
-readability.
-.Pp
-Terminal names (except for the last, verbose entry)
-should be chosen using the following conventions.
-The particular piece of hardware making up the terminal
-should have a root name chosen, thus
-.Dq hp2621
-This name should not contain hyphens.
-Modes that the hardware can be in
-or user preferences
-should be indicated by appending a hyphen and an indicator of the mode.
-Therefore, a
-.Dq vt100
-in 132-column mode would be
-.Dq vt100-w .
-The following suffixes should be used where possible:
-.Pp
-.Bl -column indent "With automatic margins (usually default)xx"
-.It Sy Suffix  Meaning Example
-.It -w Wide mode (more than 80 columns)        vt100-w
-.It -am        With automatic margins (usually default)        vt100-am
-.It -nam       Without automatic margins       vt100-nam
-.It \- Ns Ar n Ta No "Number of lines on screen        aaa-60"
-.It -na        No arrow keys (leave them in local)     concept100-na
-.It \- Ns Ar \&np Ta No "Number of pages of memory     concept100-4p"
-.It -rv        Reverse video   concept100-rv
-.El
-.Sh CAPABILITIES
-The characters in the
-.Em Notes
-function
-field in the table have the following meanings
-(more than one may apply to a capability):
-.Pp
-.Bd -unfilled -offset indent
-N      indicates numeric parameter(s)
-P      indicates that padding may be specified
-*      indicates that padding may be based on the number of lines affected
-o      indicates capability is obsolete
-.Ed
-.Pp
-.Dq Obsolete
-capabilities have no
-.Em terminfo
-equivalents,
-since they were considered useless,
-or are subsumed by other capabilities.
-New software should not rely on them at all.
-.Pp
-.Bl -column indent indent indent
-.It Sy Name    Type    Notes   Description
-.It "!1        str             Sent by shifted save key."
-.It "!2        str             Sent by shifted suspend key."
-.It "!3        str             Sent by shifted undo key."
-.It "#1        str             Sent by shifted help key."
-.It "#2        str             Sent by shifted home key."
-.It "#3        str             Sent by shifted input key."
-.It "#4        str             Sent by shifted left-arrow key."
-.It "%0        str             Sent by redo key."
-.It "%1        str             Sent by help key."
-.It "%2        str             Sent by mark key."
-.It "%3        str             Sent by message key."
-.It "%4        str             Sent by move key."
-.It "%5        str             Sent by next-object key."
-.It "%6        str             Sent by open key."
-.It "%7        str             Sent by options key."
-.It "%8        str             Sent by previous-object key."
-.It "%9        str             Sent by print or copy key."
-.It "%a        str             Sent by shifted message key."
-.It "%b        str             Sent by shifted move key."
-.It "%c        str             Sent by shifted next key."
-.It "%d        str             Sent by shifted options key."
-.It "%e        str             Sent by shifted prev key."
-.It "%f        str             Sent by shifted print key."
-.It "%g        str             Sent by shifted redo key."
-.It "%h        str             Sent by shifted replace key."
-.It "%i        str             Sent by shifted right-arrow key."
-.It "%j        str             Sent by shifted resume key."
-.It "\*[Am]0   str             Sent by shifted cancel key."
-.It "\*[Am]1   str             Sent by ref(erence) key."
-.It "\*[Am]2   str             Sent by refresh key."
-.It "\*[Am]3   str             Sent by replace key."
-.It "\*[Am]4   str             Sent by restart key."
-.It "\*[Am]5   str             Sent by resume key."
-.It "\*[Am]6   str             Sent by save key."
-.It "\*[Am]7   str             Sent by suspend key."
-.It "\*[Am]8   str             Sent by undo key."
-.It "\*[Am]9   str             Sent by shifted begin key."
-.It "*0        str             Sent by shifted find key."
-.It "*1        str             Sent by shifted command key."
-.It "*2        str             Sent by shifted copy key."
-.It "*3        str             Sent by shifted create key."
-.It "*4        str             Sent by shifted delete-character key."
-.It "*5        str             Sent by shifted delete-line key."
-.It "*6        str             Sent by shifted select key."
-.It "*7        str             Sent by shifted end key."
-.It "*8        str             Sent by shifted clear-to-end-of-line key."
-.It "*9        str             Sent by shifted exit key."
-.It "@0        str             Sent by find key."
-.It "@1        str             Sent by begin key."
-.It "@2        str             Sent by cancel key."
-.It "@3        str             Sent by close key."
-.It "@4        str             Sent by command key."
-.It "@5        str             Sent by copy key."
-.It "@6        str             Sent by create key."
-.It "@7        str             Sent by end key."
-.It "@8        str             Sent by enter key."
-.It "@9        str             Sent by exit key."
-.It "AB        str             Set background color to #1 using ANSI escape."
-.It "ac        str             Alternative (graphic) character set pairs."
-.It "ae        str     (P)     End alternative character set."
-.It AL str     (NP*)   Add"
-.Em n
-new blank lines
-.It "AF        str             Set foreground color to #1 using ANSI escape."
-.It "al        str     (P*)    Add new blank line."
-.It "am        bool            Terminal has automatic margins."
-.It "as        str     (P)     Start alternative character set."
-.It "bc        str     (o)     Backspace if not"
-.Sy \&^H .
-.It "bl        str     (P)     Audible signal (bell)."
-.It "bs        bool    (o)     Terminal can backspace with"
-.Sy \&^H .
-.It "bt        str     (P)     Back tab."
-.It "bw        bool    " Ta Sy \&le
-(backspace) wraps from column 0 to last column.
-.It "CC        str             Terminal settable command character in prototype."
-.It "cc        bool            Terminal can re-define existing color."
-.It "cd        str     (P*)    Clear to end of display."
-.It "ce        str     (P)     Clear to end of line."
-.It "ch        str     (NP)    Set cursor column (horizontal position)."
-.It "cl        str     (P*)    Clear screen and home cursor."
-.It "CM        str     (NP)    Memory-relative cursor addressing."
-.It "cm        str     (NP)    Screen-relative cursor motion."
-.It "Co        num             Maximum number of colors on the screen."
-.It "co        num             Number of columns in a line (See"
-.Sx BUGS
-section below).
-.It "cr        str     (P)     Carriage return."



Home | Main Index | Thread Index | Old Index