Subject: misc/1401: /ETC/termcap
To: None <gnats-bugs@NetBSD.ORG>
From: Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
List: netbsd-bugs
Date: 08/23/1995 07:12:22
>Number:         1401
>Category:       misc
>Synopsis:       /ETC/termcap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 18:35:02 1995
>Last-Modified:
>Originator:     Masanobu Saitoh, Masaru Oki (oki@fs.telcom.oki.co.jp)
>Organization:
>Release:        latest -current
>Environment:
System: NetBSD pfault.spa.is.uec.ac.jp 1.0A NetBSD 1.0A (ISYS) #8: Thu May 11 10:42:28 JST 1995 saitoh@pfault.spa.is.uec.ac.jp:/var/local/sup950505/src/sys/arch/i386/compile/ISYS i386


>Description:

	In many manpages, "/etc/termcap" is still written.
	These should fix to "/usr/share/misc/termcap"

>How-To-Repeat:
>Fix:
	Apply this patch.

--- src/lib/libterm/termcap.c.org	Wed Aug 23 06:37:26 1995
+++ src/lib/libterm/termcap.c	Wed Aug 23 06:39:16 1995
@@ -92,13 +92,13 @@
 	cp = getenv("TERMCAP");
 	/*
 	 * TERMCAP can have one of two things in it. It can be the
-	 * name of a file to use instead of /etc/termcap. In this
+	 * name of a file to use instead of /usr/share/misc/termcap. In this
 	 * case it better start with a "/". Or it can be an entry to
 	 * use so we don't have to read the file. In this case it
 	 * has to already have the newlines crunched out.  If TERMCAP
 	 * does not hold a file name then a path of names is searched
 	 * instead.  The path is found in the TERMPATH variable, or
-	 * becomes "$HOME/.termcap /etc/termcap" if no TERMPATH exists.
+	 * becomes "$HOME/.termcap /usr/share/misc/termcap" if no TERMPATH exists.
 	 */
 	if (!cp || *cp != '/') {	/* no TERMCAP or it holds an entry */
 		if ((termpath = getenv("TERMPATH")) != NULL)
--- src/games/rain/rain.6.org	Wed Aug 23 06:47:30 1995
+++ src/games/rain/rain.6	Wed Aug 23 06:47:55 1995
@@ -55,6 +55,6 @@
 environment variable must be set (and exported) to the type of the
 terminal being used.
 .Sh FILES
-.Pa /etc/termcap
+.Pa /usr/share/misc/termcap
 .Sh AUTHOR
 Eric P. Scott
--- src/usr.bin/ul/ul.1.org	Wed Aug 23 06:48:13 1995
+++ src/usr.bin/ul/ul.1	Wed Aug 23 06:49:02 1995
@@ -52,7 +52,7 @@
 by the environment variable
 .Ev TERM .
 The file
-.Pa /etc/termcap
+.Pa /usr/share/misc/termcap
 is read to determine the appropriate sequences for underlining.
 If the terminal is incapable of underlining, but is capable of
 a standout mode then that is used instead.
--- src/games/backgammon/backgammon/backgammon.6.org	Wed Aug 23 06:40:40 1995
+++ src/games/backgammon/backgammon/backgammon.6	Wed Aug 23 06:41:20 1995
@@ -85,7 +85,7 @@
 .It Fl t Ar term
 terminal is type
 .Ar term ,
-uses /etc/termcap
+uses /usr/share/misc/termcap
 .It Fl s Ar file
 recover previously saved game from
 .Ar file .
--- src/gnu/usr.bin/gzip/zmore.1.org	Wed Aug 23 06:42:24 1995
+++ src/gnu/usr.bin/gzip/zmore.1	Wed Aug 23 06:42:57 1995
@@ -28,7 +28,7 @@
 .PP
 .I Zmore
 looks in the file
-.I /etc/termcap
+.I /usr/share/misc/termcap
 to determine terminal characteristics,
 and to determine the default window size.
 On a terminal capable of displaying 24 lines,
--- src/share/man/man7/environ.7.org	Wed Aug 23 06:44:54 1995
+++ src/share/man/man7/environ.7	Wed Aug 23 06:45:21 1995
@@ -117,7 +117,7 @@
 is equivalent to a
 .Ev TERMPATH
 of
-.Dq Pa $HOME/.termcap:/etc/termcap .
+.Dq Pa $HOME/.termcap:/usr/share/misc/termcap .
 .Ev TERMPATH
 is ignored if
 .Ev TERMCAP
--- src/usr.bin/tn3270/mset/map3270.5.org	Wed Aug 23 06:45:50 1995
+++ src/usr.bin/tn3270/mset/map3270.5	Wed Aug 23 06:46:10 1995
@@ -68,7 +68,7 @@
 The file consists of entries for various keyboards.  The first part
 of an entry lists the names of the keyboards which use that entry.
 These names will often be the same as in
-.I /etc/termcap
+.I /usr/share/misc/termcap
 (see
 .IR termcap (5));
 however, note that often the terminals from various termcap entries will all

>Audit-Trail:
>Unformatted: