Index: doc/screen.1 --- doc/screen.1.orig +++ doc/screen.1 @@ -100,7 +100,7 @@ to its window. - Note that you cannot transport enviro the invoking shell to the application (emacs in this case), because it is forked from the parent screen process, not from the invoking shell. .PP -If \*Q/etc/utmp\*U is writable by +If \*Q/var/run/utmp\*U is writable by .IR screen , an appropriate record will be written to this file for each window, and removed when the window is terminated. @@ -229,7 +229,7 @@ See the \*Qdefflow\*U .screenrc command for details. The use of this option is discouraged. .TP 5 .BR \-l " and " \-ln -turns login mode on or off (for /etc/utmp updating). +turns login mode on or off (for /var/run/utmp updating). This can also be defined through the \*Qdeflogin\*U .screenrc command. .TP 5 .BR \-ls " [" \fImatch ] @@ -780,7 +780,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${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 @@ -2050,7 +2050,7 @@ when seeing proper escape sequence. See also "TITLES ( The echo command may be used to annoy .I screen users with a 'message of the -day'. Typically installed in a global /local/etc/screenrc. +day'. Typically installed in a global ${SYSCONFDIR}/screenrc. The option \*Q\-n\*U may be used to suppress the line feed. See also \*Qsleep\*U. Echo is also useful for online checking of environment variables. @@ -5212,12 +5212,12 @@ Examples in the .I screen distribution package for private and global initialization files. .IP $SYSSCREENRC -.IP /usr/local/etc/screenrc +.IP ${SYSCONFDIR}/screenrc .I screen initialization commands .IP $SCREENRC .IP $HOME/.screenrc -Read in after /usr/local/etc/screenrc +Read in after ${SYSCONFDIR}/screenrc .IP $SCREENDIR/S\- .IP /local/screens/S\- Socket directories (default) @@ -5238,7 +5238,7 @@ Output log files created by the log function or .IP /etc/termcap Terminal capability databases -.IP /etc/utmp +.IP /var/run/utmp Login records .IP $LOCKPRG Program that locks a terminal. @@ -5365,9 +5365,9 @@ does not make use of hardware tabs. must be installed as set-uid with owner root on most systems in order to be able to correctly change the owner of the tty device file for each window. -Special permission may also be required to write the file \*Q/etc/utmp\*U. +Special permission may also be required to write the file \*Q/var/run/utmp\*U. .IP \(bu -Entries in \*Q/etc/utmp\*U are not removed when +Entries in \*Q/var/run/utmp\*U are not removed when .I screen is killed with SIGKILL. This will cause some programs (like "w" or "rwho")