summaryrefslogtreecommitdiff
path: root/misc/screen/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-12-23 13:13:02 +0000
committergrant <grant@pkgsrc.org>2002-12-23 13:13:02 +0000
commitdc6db4c806fa6f319bd067b8ea009cb054461ef7 (patch)
tree7b3f202e475863629b26b3f2bb2b90058bc98705 /misc/screen/patches
parent42603d27ce7bfdd5259271a0680a5f2cfc6531a2 (diff)
downloadpkgsrc-dc6db4c806fa6f319bd067b8ea009cb054461ef7.tar.gz
Fix paths in man page and example screenrc (for pkgsrc).
Diffstat (limited to 'misc/screen/patches')
-rw-r--r--misc/screen/patches/patch-ao12
-rw-r--r--misc/screen/patches/patch-ap40
2 files changed, 52 insertions, 0 deletions
diff --git a/misc/screen/patches/patch-ao b/misc/screen/patches/patch-ao
new file mode 100644
index 00000000000..f110168332a
--- /dev/null
+++ b/misc/screen/patches/patch-ao
@@ -0,0 +1,12 @@
+$NetBSD: patch-ao,v 1.1 2002/12/23 13:13:04 grant Exp $
+
+--- etc/etcscreenrc.orig Sun Apr 29 01:25:34 2001
++++ etc/etcscreenrc
+@@ -1,6 +1,6 @@
+ #
+ # This is an example for the global screenrc file.
+-# You may want to install this file as /usr/local/etc/screenrc.
++# You may want to install this file as @PKG_SYSCONFDIR@/screenrc.
+ # Check config.h for the exact location.
+ #
+ # Flaws of termcap and standard settings are done here.
diff --git a/misc/screen/patches/patch-ap b/misc/screen/patches/patch-ap
new file mode 100644
index 00000000000..5bcc655b0af
--- /dev/null
+++ b/misc/screen/patches/patch-ap
@@ -0,0 +1,40 @@
+$NetBSD: patch-ap,v 1.1 2002/12/23 13:13:05 grant Exp $
+
+--- doc/screen.1.orig Thu Sep 5 22:08:06 2002
++++ doc/screen.1
+@@ -576,7 +576,7 @@ Show a listing of all currently attached
+
+ .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
+@@ -589,7 +589,7 @@ in the environment variable $SCREENDIR.
+ 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
+@@ -4298,14 +4298,14 @@ Examples in the
+ .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.