summaryrefslogtreecommitdiff
path: root/misc/screen/patches/patch-ap
blob: f3a4cd9e5ed51ee8f587ec49baf0c9d8b2318273 (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
52
53
54
55
56
57
58
$NetBSD: patch-ap,v 1.7 2016/06/20 16:04:44 ryoon Exp $

Replace configurable paths with tags.

BE CAREFUL IF YOU WANT TO REGENERATE THIS PATCH!
YOU MUST RUN DIFF BEFORE SUBSTITUTIONS!

% make clean && make extract && make pre-patch && make do-patch

RUNNING "make patch" TAKES YOU TOO FAR.

--- doc/screen.1.orig	2016-06-19 19:41:03.000000000 +0000
+++ doc/screen.1
@@ -636,7 +636,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
@@ -649,7 +649,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/usr/pkg/etc/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 
@@ -679,7 +679,7 @@ variable substitution shall be performed
 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/usr/pkg/share/examples/screen/screenrc\*U and \*Q/usr/pkg/share/examples/screen/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
@@ -4903,14 +4903,14 @@ Examples in the 
 .I screen
 distribution package for private and global initialization files.
 .IP $SYSSCREENRC 
-.IP /usr/local/etc/screenrc
+.IP /usr/pkg/etc/screenrc
 .I screen
 initialization commands
 .IP $SCREENRC
 .IP $HOME/.screenrc
-Read in after /usr/local/etc/screenrc
+Read in after /usr/pkg/etc/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.