1 diff -urN screen-3.9.15.org/doc/screen.texinfo screen-3.9.15/doc/screen.texinfo
2 --- screen-3.9.15.org/doc/screen.texinfo Tue Mar 25 19:06:38 2003
3 +++ screen-3.9.15/doc/screen.texinfo Tue Mar 25 19:10:27 2003
6 @setfilename screen.info
7 @settitle Screen User's Manual
8 -@dircategory General Commands
10 @setchapternewpage odd
16 +@dircategory Shell utilities:
18 -* Screen: (screen). Full-screen window manager.
19 +* Screen: (screen). Full-screen window manager
24 @c For examples, use a literal escape in info.
27 variable) who will use it to create the new window. The above example would
28 start the @code{emacs} editor (editing @file{prog.c}) and switch to its window.
30 -If @file{/etc/utmp} is writable by @code{screen}, an appropriate record
31 +If @file{/var/run/utmp} is writable by @code{screen}, an appropriate record
32 will be written to this file for each window, and removed when the
33 window is closed. This is useful for working with @code{talk},
34 @code{script}, @code{shutdown}, @code{rsend}, @code{sccs} and other
37 When @code{screen} is invoked, it executes initialization commands from
38 the files @file{.screenrc} in the user's home directory and
39 -@file{/usr/local/etc/screenrc}. These defaults can be overridden in the
40 +@file{/etc/screenrc}. These defaults can be overridden in the
42 For the global screenrc file @code{screen} searches for the environment
43 variable @code{$SYSSCREENRC} (this override feature may be disabled at
45 Place, where to dump hardcopy files. @xref{Hardcopy}.
46 @item hardstatus [@var{state}]
47 Use the hardware status line. @xref{Hardware Status Line}.
48 -@item height [@var{lines} [@var{cols}]]
49 +@item ns_regheight [@var{lines} [@var{cols}]]
50 Set display height. @xref{Window Size}.
51 @item help [-c @var{class}]
52 Display current key bindings. @xref{Help}.
54 @item logfile @var{filename}
55 Place where to collect logfiles. @xref{Log}.
56 @item login [@var{state}]
57 -Log the window in @file{/etc/utmp}. @xref{Login}.
58 +Log the window in @file{/var/run/utmp}. @xref{Login}.
59 @item logtstamp [@var{state}]
60 Configure logfile time-stamps. @xref{Log}.
62 @@ -1542,13 +1546,12 @@
64 @deffn Command lockscreen
65 (@kbd{C-a x}, @kbd{C-a C-x})@*
66 -Call a screenlock program (@file{/local/bin/lck} or @file{/usr/bin/lock}
67 -or a builtin, if no other is available). Screen does not accept any
68 -command keys until this program terminates. Meanwhile processes in the
69 -windows may continue, as the windows are in the detached state.
70 -The screenlock program may be changed through the environment variable
71 -@code{$LOCKPRG} (which must be set in the shell from which @code{screen}
72 -is started) and is executed with the user's uid and gid.
73 +Call a screenlock program (@file{/usr/bin/lck} or a builtin, if no other is
74 +available). Screen does not accept any command keys until this program
75 +terminates. Meanwhile processes in the windows may continue, as the windows
76 +are in the detached state. The screenlock program may be changed through the
77 +environment variable @code{$LOCKPRG} (which must be set in the shell from
78 +which @code{screen} is started) and is executed with the user's uid and gid.
80 Warning: When you leave other shells unlocked and have no password set
81 on @code{screen}, the lock is void: One could easily re-attach from an
83 * Naming Windows:: Control the name of the window
84 * Console:: See the host's console messages
85 * Kill:: Destroy an unwanted window
86 -* Login:: Control @file{/etc/utmp} logging
87 +* Login:: Control @file{/var/run/utmp} logging
88 * Mode:: Control the file mode of the pty
89 * Monitor:: Watch for activity in a window
90 * Windows:: List the active windows
93 @deffn Command login [state]
95 -Adds or removes the entry in @file{/etc/utmp} for the current window.
96 +Adds or removes the entry in @file{/var/run/utmp} for the current window.
97 This controls whether or not the window is @dfn{logged in}. In addition
98 to this toggle, it is convenient to have ``log in'' and ``log out''
99 keys. For instance, @code{bind I login on} and @code{bind O
100 @@ -4879,22 +4882,19 @@
101 global initialization files.
103 @item @code{$SYSSCREENRC}
104 -@itemx /local/etc/screenrc
105 +@itemx /etc/screenrc
106 @code{screen} initialization commands
108 @item @code{$SCREENRC}
109 @itemx @code{$HOME}/.iscreenrc
110 @itemx @code{$HOME}/.screenrc
111 -Read in after /local/etc/screenrc
112 +Read in after /etc/screenrc
114 @item @code{$SCREENDIR}/S-@var{login}
116 -@item /local/screens/S-@var{login}
117 +@item /tmp/screens/S-@var{login}
118 Socket directories (default)
120 -@item /usr/tmp/screens/S-@var{login}
121 -Alternate socket directories.
123 @item @var{socket directory}/.termcap
124 Written by the @code{dumptermcap} command
126 @@ -4912,7 +4912,7 @@
128 Terminal capability databases
134 @item @code{$LOCKPRG}
135 @@ -5017,10 +5017,10 @@
136 in order to be able to
137 correctly change the owner of the tty device file for each window.
138 Special permission may also be required to write the file
140 +@file{/var/run/utmp}.
143 -Entries in @file{/etc/utmp} are not removed when @code{screen} is killed
144 +Entries in @file{/var/run/utmp} are not removed when @code{screen} is killed
145 with SIGKILL. This will cause some programs (like "w" or "rwho") to
146 advertise that a user is logged on who really isn't.
148 @@ -5101,8 +5101,7 @@
149 @cindex socket directory
151 The socket directory defaults either to @file{$HOME/.screen} or simply to
152 -@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at
153 -compile-time. If @code{screen} is installed
154 +@file{/tmp/screens} chosen at compile-time. If @code{screen} is installed
155 setuid root, then the administrator should compile screen with an
156 adequate (not NFS mounted) @code{SOCKDIR}. If @code{screen} is not
157 running setuid-root, the user can specify any mode 700 directory in the