summaryrefslogtreecommitdiff
path: root/misc/screen/patches/patch-ap
blob: c47056155332d3ef20a9cc98763c3ac97d526b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
$NetBSD: patch-ap,v 1.10 2020/03/24 07:04:37 rillig Exp $

Replace configurable paths with tags.

--- doc/screen.1.orig	2017-07-10 19:26:25.000000000 +0000
+++ doc/screen.1	2017-07-18 22:44:38.000000000 +0000
@@ -712,7 +712,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
@@ -725,7 +725,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 
@@ -755,7 +755,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
@@ -5017,14 +5017,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.