]> git.pld-linux.org Git - packages/screen.git/blob - screen-info.patch
up to 4.9.1 (fixes CVE-2023-24626)
[packages/screen.git] / screen-info.patch
1 --- screen-4.7.0/doc/screen.texinfo.orig        2019-10-02 00:07:59.000000000 +0200
2 +++ screen-4.7.0/doc/screen.texinfo     2019-11-12 21:00:02.497808741 +0100
3 @@ -4,14 +4,14 @@
4  @documentencoding ISO-8859-15
5  @setfilename screen.info
6  @settitle Screen User's Manual
7 -@dircategory General Commands
8 +@dircategory Shell utilities:
9  @finalout
10  @setchapternewpage odd
11  @c %**end of header
12  @set version 4.9.1
13  
14  @direntry
15 -* Screen: (screen).             Full-screen window manager.
16 +* Screen: (screen).                    Full-screen window manager
17  @end direntry
18  
19  @c For examples, use a literal escape in info.
20 @@ -185,7 +185,7 @@
21  the invoking shell to the application (emacs in this case), because it is
22  forked from the parent screen process, not from the invoking shell.
23  
24 -If @file{/etc/utmp} is writable by @code{screen}, an appropriate record
25 +If @file{/var/run/utmp} is writable by @code{screen}, an appropriate record
26  will be written to this file for each window, and removed when the
27  window is closed.  This is useful for working with @code{talk},
28  @code{script}, @code{shutdown}, @code{rsend}, @code{sccs} and other
29 @@ -497,7 +497,7 @@
30  @cindex screenrc
31  When @code{screen} is invoked, it executes initialization commands from
32  the files @file{.screenrc} in the user's home directory and
33 -@file{/usr/local/etc/screenrc}.  These defaults can be overridden in the 
34 +@file{/etc/screenrc}.  These defaults can be overridden in the 
35  following ways:
36  For the global screenrc file @code{screen} searches for the environment
37  variable @code{$SYSSCREENRC} (this override feature may be disabled at
38 @@ -1036,7 +1036,7 @@
39  Place, where to dump hardcopy files.  @xref{Hardcopy}.
40  @item hardstatus [@var{state}]
41  Use the hardware status line.  @xref{Hardware Status Line}.
42 -@item height [@var{lines} [@var{cols}]]
43 +@item ns_regheight [@var{lines} [@var{cols}]]
44  Set display height.  @xref{Window Size}.
45  @item help [-c @var{class}]
46  Display current key bindings.  @xref{Help}.
47 @@ -1089,7 +1089,7 @@
48  @item logfile @var{filename}
49  Place where to collect logfiles.  @xref{Log}.
50  @item login [@var{state}]
51 -Log the window in @file{/etc/utmp}.  @xref{Login}.
52 +Log the window in @file{/var/run/utmp}.  @xref{Login}.
53  @item logtstamp [@var{state}]
54  Configure logfile time-stamps.  @xref{Log}.
55  @item mapdefault
56 @@ -2405,7 +2404,7 @@
57  * Naming Windows::             Control the name of the window
58  * Console::                    See the host's console messages
59  * Kill::                        Destroy an unwanted window
60 -* Login::                       Control @file{/etc/utmp} logging
61 +* Login::                       Control @file{/var/run/utmp} logging
62  * Mode::                        Control the file mode of the pty
63  * Monitor::                     Watch for activity or inactivity in a window
64  * Windows::                    List the active windows
65 @@ -2614,7 +2613,7 @@
66  @kindex L
67  @deffn Command login [state]
68  (@kbd{C-a L})@*
69 -Adds or removes the entry in @file{/etc/utmp} for the current window.
70 +Adds or removes the entry in @file{/var/run/utmp} for the current window.
71  This controls whether or not the window is @dfn{logged in}.  In addition
72  to this toggle, it is convenient to have ``log in'' and ``log out''
73  keys.  For instance, @code{bind I login on} and @code{bind O 
74 @@ -5802,22 +5801,19 @@
75  global initialization files.
76  
77  @item @code{$SYSSCREENRC}
78 -@itemx /local/etc/screenrc
79 +@itemx /etc/screenrc
80  @code{screen} initialization commands
81  
82  @item @code{$SCREENRC}
83  @itemx @code{$HOME}/.iscreenrc
84  @itemx @code{$HOME}/.screenrc
85 -Read in after /local/etc/screenrc
86 +Read in after /etc/screenrc
87  
88  @item @code{$SCREENDIR}/S-@var{login}
89  
90 -@item /local/screens/S-@var{login}
91 +@item /tmp/screens/S-@var{login}
92  Socket directories (default)
93  
94 -@item /usr/tmp/screens/S-@var{login}
95 -Alternate socket directories.
96 -
97  @item @var{socket directory}/.termcap
98  Written by the @code{dumptermcap} command
99  
100 @@ -5835,7 +5831,7 @@
101  @itemx /etc/termcap
102  Terminal capability databases
103  
104 -@item /etc/utmp
105 +@item /var/run/utmp
106  Login records
107  
108  @item @code{$LOCKPRG}
109 @@ -5860,10 +5856,10 @@
110  ============
111  
112  @verbatim
113 -     Maarten ter Huurne <maarten@treewalker.org>,
114 -     Jussi Kukkonen <jussi.kukkonen@intel.com>,
115 -     Thomas Renninger <treen@suse.com>,
116 -     Axel Beckert <abe@deuxchevaux.org>,
117 +     Maarten ter Huurne <maarten@@treewalker.org>,
118 +     Jussi Kukkonen <jussi.kukkonen@@intel.com>,
119 +     Thomas Renninger <treen@@suse.com>,
120 +     Axel Beckert <abe@@deuxchevaux.org>,
121       Ken Beal <kbeal@@amber.ssd.csd.harris.com>,
122       Rudolf Koenig <rfkoenig@@informatik.uni-erlangen.de>,
123       Toerless Eckert <eckert@@informatik.uni-erlangen.de>,
124 @@ -5947,10 +5943,10 @@
125  in order to be able to
126  correctly change the owner of the tty device file for each window.
127  Special permission may also be required to write the file
128 -@file{/etc/utmp}.
129 +@file{/var/run/utmp}.
130  
131  @item
132 -Entries in @file{/etc/utmp} are not removed when @code{screen} is killed
133 +Entries in @file{/var/run/utmp} are not removed when @code{screen} is killed
134  with SIGKILL.  This will cause some programs (like "w" or "rwho") to
135  advertise that a user is logged on who really isn't.
136  
137 @@ -6030,8 +6026,7 @@
138  @cindex socket directory
139  
140  The socket directory defaults either to @file{$HOME/.screen} or simply to 
141 -@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at 
142 -compile-time. If @code{screen} is installed
143 +@file{/tmp/screens} chosen at compile-time. If @code{screen} is installed
144  setuid root, then the administrator should compile screen with an
145  adequate (not NFS mounted) @code{SOCKDIR}. If @code{screen} is not
146  running setuid-root, the user can specify any mode 700 directory in the
This page took 0.079662 seconds and 3 git commands to generate.