~dannf/ubuntu/saucy/screen/lp1213278-from-debian

« back to all changes in this revision

Viewing changes to doc/screen.1

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 17:36:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20071023173630-6q4agogsxuzujhwd
Tags: 4.0.3-7ubuntu1
* Merge with Debian; remaining Ubuntu changes:
  - 07_norootpassword.dpatch: When locking a root-owned screen, check that
    root has a password set. If not, ask for an unlocking key. (LP#6760)
  - debian/preinst: Remove obsolete init script 'screen' on
    upgrades. The script is called 'screen-cleanup' in Debian and thus
    should be called the same in Ubuntu to avoid a permanent and pointless
    delta. This needs to be kept until after the next LTS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
The above example would start the emacs editor (editing prog.c) and switch
100
100
to its window.
101
101
.PP
102
 
If \*Q/var/run/utmp\*U is writable by
 
102
If \*Q/etc/utmp\*U is writable by
103
103
.IR screen ,
104
104
an appropriate record will be written to this file for each window, and
105
105
removed when the window is terminated.
228
228
The use of this option is discouraged.
229
229
.TP 5
230
230
.BR \-l " and " \-ln
231
 
turns login mode on or off (for /var/run/utmp updating).
 
231
turns login mode on or off (for /etc/utmp updating).
232
232
This can also be defined through the \*Qdeflogin\*U .screenrc command.
233
233
.TP 5
234
234
.BR \-ls " and " \-list
581
581
 
582
582
.SH CUSTOMIZATION
583
583
The \*Qsocket directory\*U defaults either to $HOME/.screen or simply to
584
 
/tmp/screens or preferably to /var/run/screen chosen at compile-time. If
 
584
/tmp/screens or preferably to /usr/local/screens chosen at compile-time. If
585
585
.I screen
586
586
is installed setuid-root, then the administrator
587
587
should compile
594
594
When
595
595
.I screen
596
596
is invoked, it executes initialization commands from the files
597
 
\*Q/etc/screenrc\*U and
 
597
\*Q/usr/local/etc/screenrc\*U and
598
598
\*Q.screenrc\*U in the user's home directory. These are the \*Qprogrammer's
599
599
defaults\*U that can be overridden in the following ways: for the
600
600
global screenrc file 
1669
1669
The echo command may be used to annoy 
1670
1670
.I screen
1671
1671
users with a 'message of the
1672
 
day'. Typically installed in a global /etc/screenrc. 
 
1672
day'. Typically installed in a global /local/etc/screenrc. 
1673
1673
The option \*Q-n\*U may be used to suppress the line feed.
1674
1674
See also \*Qsleep\*U.
1675
1675
Echo is also useful for online checking of environment variables.
4416
4416
.I screen
4417
4417
distribution package for private and global initialization files.
4418
4418
.IP $SYSSCREENRC 
4419
 
.IP /etc/screenrc
 
4419
.IP /usr/local/etc/screenrc
4420
4420
.I screen
4421
4421
initialization commands
4422
4422
.IP $SCREENRC
4423
4423
.IP $HOME/.screenrc
4424
 
Read in after /etc/screenrc
 
4424
Read in after /usr/local/etc/screenrc
4425
4425
.IP $SCREENDIR/S-<login>
4426
 
.IP /var/run/screen/S-<login>
 
4426
.IP /local/screens/S-<login>
4427
4427
Socket directories (default)
4428
4428
.IP /usr/tmp/screens/S-<login>
4429
4429
Alternate socket directories.
4442
4442
or
4443
4443
.IP /etc/termcap
4444
4444
Terminal capability databases
4445
 
.IP /var/run/utmp
 
4445
.IP /etc/utmp
4446
4446
Login records
4447
4447
.IP $LOCKPRG
4448
4448
Program that locks a terminal.
4555
4555
must be installed as set-uid with owner root on most systems in order
4556
4556
to be able to correctly change the owner of the tty device file for
4557
4557
each window.
4558
 
Special permission may also be required to write the file \*Q/var/run/utmp\*U.
 
4558
Special permission may also be required to write the file \*Q/etc/utmp\*U.
4559
4559
.IP \(bu
4560
 
Entries in \*Q/var/run/utmp\*U are not removed when
 
4560
Entries in \*Q/etc/utmp\*U are not removed when
4561
4561
.I screen
4562
4562
is killed with SIGKILL.
4563
4563
This will cause some programs (like "w" or "rwho")