pkgsrc/misc/screen/patches/patch-ap
reed cc7cd45463 This will install two screenrc examples (and changes name of one) and
fixes man page to point to them.

Update patch-ap for doc/screen.1 so the location of examples files
is corrected.

Now install both examples. Update PLISTs. Note that the
screenrc example is now called screenrc and etcscreenrc is
etcscreenrc (makes sense).

Mention both examples in MESSAGE.

Bump PKGREVISION.

This will solve problem for PR #32391.

Okayed by maintainer.
2005-12-28 17:53:24 +00:00

49 lines
1.7 KiB
Text

$NetBSD: patch-ap,v 1.2 2005/12/28 17:53:24 reed Exp $
--- doc/screen.1.orig 2003-12-05 05:51:57.000000000 -0800
+++ doc/screen.1 2005-12-27 13:54:30.000000000 -0800
@@ -581,7 +581,7 @@
.SH CUSTOMIZATION
The \*Qsocket directory\*U defaults either to $HOME/.screen or simply to
-/tmp/screens or preferably to /usr/local/screens chosen at compile-time. If
+/tmp/screens. This is chosen at compile-time. If
.I screen
is installed setuid-root, then the administrator
should compile
@@ -594,7 +594,7 @@
When
.I screen
is invoked, it executes initialization commands from the files
-\*Q/usr/local/etc/screenrc\*U and
+\*Q@PKG_SYSCONFDIR@/screenrc\*U and
\*Q.screenrc\*U in the user's home directory. These are the \*Qprogrammer's
defaults\*U that can be overridden in the following ways: for the
global screenrc file
@@ -624,7 +624,7 @@
protected from variable substitution.
.PP
Two configuration files are shipped as examples with your screen distribution:
-\*Qetc/screenrc\*U and \*Qetc/etcscreenrc\*U. They contain a number of
+\*Q@EXAMPLES@/screenrc\*U and \*Q@EXAMPLES@/etcscreenrc\*U. They contain a number of
useful examples for various commands.
.PP
Customization can also be done 'on-line'. To enter the command mode type
@@ -4416,14 +4416,14 @@
.I screen
distribution package for private and global initialization files.
.IP $SYSSCREENRC
-.IP /usr/local/etc/screenrc
+.IP @PKG_SYSCONFDIR@/screenrc
.I screen
initialization commands
.IP $SCREENRC
.IP $HOME/.screenrc
-Read in after /usr/local/etc/screenrc
+Read in after @PKG_SYSCONFDIR@/screenrc
.IP $SCREENDIR/S-<login>
-.IP /local/screens/S-<login>
+.IP /tmp/screens/S-<login>
Socket directories (default)
.IP /usr/tmp/screens/S-<login>
Alternate socket directories.