1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 11replace_doc_paths.dpatch by <hesso@pool.math.tu-berlin.de>
4
## DP: Fix the references to configuration and pipe paths to match the
5
## DP: locations Debian uses.
8
--- screen-4.0.3.orig/doc/screen.1 2007-07-23 23:15:03.000000000 +0200
9
+++ screen-4.0.3/doc/screen.1 2007-07-23 23:15:13.000000000 +0200
11
The above example would start the emacs editor (editing prog.c) and switch
14
-If \*Q/etc/utmp\*U is writable by
15
+If \*Q/var/run/utmp\*U is writable by
17
an appropriate record will be written to this file for each window, and
18
removed when the window is terminated.
20
The use of this option is discouraged.
23
-turns login mode on or off (for /etc/utmp updating).
24
+turns login mode on or off (for /var/run/utmp updating).
25
This can also be defined through the \*Qdeflogin\*U .screenrc command.
27
.BR \-ls " and " \-list
31
The \*Qsocket directory\*U defaults either to $HOME/.screen or simply to
32
-/tmp/screens or preferably to /usr/local/screens chosen at compile-time. If
33
+/tmp/screens or preferably to /var/run/screen chosen at compile-time. If
35
is installed setuid-root, then the administrator
40
is invoked, it executes initialization commands from the files
41
-\*Q/usr/local/etc/screenrc\*U and
42
+\*Q/etc/screenrc\*U and
43
\*Q.screenrc\*U in the user's home directory. These are the \*Qprogrammer's
44
defaults\*U that can be overridden in the following ways: for the
47
The echo command may be used to annoy
49
users with a 'message of the
50
-day'. Typically installed in a global /local/etc/screenrc.
51
+day'. Typically installed in a global /etc/screenrc.
52
The option \*Q-n\*U may be used to suppress the line feed.
54
Echo is also useful for online checking of environment variables.
55
@@ -4416,14 +4416,14 @@
57
distribution package for private and global initialization files.
59
-.IP /usr/local/etc/screenrc
62
initialization commands
65
-Read in after /usr/local/etc/screenrc
66
+Read in after /etc/screenrc
67
.IP $SCREENDIR/S-<login>
68
-.IP /local/screens/S-<login>
69
+.IP /var/run/screen/S-<login>
70
Socket directories (default)
71
.IP /usr/tmp/screens/S-<login>
72
Alternate socket directories.
76
Terminal capability databases
81
Program that locks a terminal.
83
must be installed as set-uid with owner root on most systems in order
84
to be able to correctly change the owner of the tty device file for
86
-Special permission may also be required to write the file \*Q/etc/utmp\*U.
87
+Special permission may also be required to write the file \*Q/var/run/utmp\*U.
89
-Entries in \*Q/etc/utmp\*U are not removed when
90
+Entries in \*Q/var/run/utmp\*U are not removed when
92
is killed with SIGKILL.
93
This will cause some programs (like "w" or "rwho")
94
--- screen-4.0.3.orig/doc/screen.texinfo 2007-07-23 23:15:06.000000000 +0200
95
+++ screen-4.0.3/doc/screen.texinfo 2007-07-23 23:15:14.000000000 +0200
97
variable) who will use it to create the new window. The above example would
98
start the @code{emacs} editor (editing @file{prog.c}) and switch to its window.
100
-If @file{/etc/utmp} is writable by @code{screen}, an appropriate record
101
+If @file{/var/run/utmp} is writable by @code{screen}, an appropriate record
102
will be written to this file for each window, and removed when the
103
window is closed. This is useful for working with @code{talk},
104
@code{script}, @code{shutdown}, @code{rsend}, @code{sccs} and other
109
-Turn login mode on or off (for @file{/etc/utmp} updating). This option
110
+Turn login mode on or off (for @file{/var/run/utmp} updating). This option
111
is equivalent to the @code{deflogin} command (@pxref{Login}).
113
@item -ls [@var{match}]
116
When @code{screen} is invoked, it executes initialization commands from
117
the files @file{.screenrc} in the user's home directory and
118
-@file{/usr/local/etc/screenrc}. These defaults can be overridden in the
119
+@file{/etc/screenrc}. These defaults can be overridden in the
121
For the global screenrc file @code{screen} searches for the environment
122
variable @code{$SYSSCREENRC} (this override feature may be disabled at
124
@item logfile @var{filename}
125
Place where to collect logfiles. @xref{Log}.
126
@item login [@var{state}]
127
-Log the window in @file{/etc/utmp}. @xref{Login}.
128
+Log the window in @file{/var/run/utmp}. @xref{Login}.
129
@item logtstamp [@var{state}]
130
Configure logfile time-stamps. @xref{Log}.
132
@@ -1900,7 +1900,7 @@
133
* Naming Windows:: Control the name of the window
134
* Console:: See the host's console messages
135
* Kill:: Destroy an unwanted window
136
-* Login:: Control @file{/etc/utmp} logging
137
+* Login:: Control @file{/var/run/utmp} logging
138
* Mode:: Control the file mode of the pty
139
* Monitor:: Watch for activity in a window
140
* Windows:: List the active windows
141
@@ -2109,7 +2109,7 @@
143
@deffn Command login [state]
145
-Adds or removes the entry in @file{/etc/utmp} for the current window.
146
+Adds or removes the entry in @file{/var/run/utmp} for the current window.
147
This controls whether or not the window is @dfn{logged in}. In addition
148
to this toggle, it is convenient to have ``log in'' and ``log out''
149
keys. For instance, @code{bind I login on} and @code{bind O
150
@@ -4962,17 +4962,17 @@
151
global initialization files.
153
@item @code{$SYSSCREENRC}
154
-@itemx /local/etc/screenrc
155
+@itemx /etc/screenrc
156
@code{screen} initialization commands
158
@item @code{$SCREENRC}
159
@itemx @code{$HOME}/.iscreenrc
160
@itemx @code{$HOME}/.screenrc
161
-Read in after /local/etc/screenrc
162
+Read in after /etc/screenrc
164
@item @code{$SCREENDIR}/S-@var{login}
166
-@item /local/screens/S-@var{login}
167
+@item /var/run/screen/S-@var{login}
168
Socket directories (default)
170
@item /usr/tmp/screens/S-@var{login}
171
@@ -4995,7 +4995,7 @@
173
Terminal capability databases
179
@item @code{$LOCKPRG}
180
@@ -5100,10 +5100,10 @@
181
in order to be able to
182
correctly change the owner of the tty device file for each window.
183
Special permission may also be required to write the file
185
+@file{/var/run/utmp}.
188
-Entries in @file{/etc/utmp} are not removed when @code{screen} is killed
189
+Entries in @file{/var/run/utmp} are not removed when @code{screen} is killed
190
with SIGKILL. This will cause some programs (like "w" or "rwho") to
191
advertise that a user is logged on who really isn't.
193
@@ -5184,7 +5184,7 @@
194
@cindex socket directory
196
The socket directory defaults either to @file{$HOME/.screen} or simply to
197
-@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at
198
+@file{/tmp/screens} or preferably to @file{/var/run/screen} chosen at
199
compile-time. If @code{screen} is installed
200
setuid root, then the administrator should compile screen with an
201
adequate (not NFS mounted) @code{SOCKDIR}. If @code{screen} is not