[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH] remove trailing empty spaces
From: |
René Genz |
Subject: |
[screen-devel] [PATCH] remove trailing empty spaces |
Date: |
Sun, 9 Aug 2020 22:22:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.9.0 |
---
incoming/howto/emulate_vims_help.txt | 8 +-
mktar.pl | 4 +-
src/.iscreenrc | 18 +-
src/ChangeLog | 30 +-
src/HACKING | 2 +-
src/INSTALL | 47 ++-
src/Makefile.in | 6 +-
src/NEWS.3.5 | 6 +-
src/NEWS.3.6 | 4 +-
src/README | 10 +-
src/acls.c | 34 +-
src/ansi.c | 2 +-
src/configure.ac | 2 +-
src/display.c | 2 +-
src/display.h | 4 +-
src/doc/FAQ | 82 ++--
src/doc/Makefile.in | 2 +-
src/doc/README.DOTSCREEN | 24 +-
src/doc/make.help | 8 +-
src/doc/screen.1 | 582 +++++++++++++--------------
src/doc/screen.texinfo | 386 +++++++++---------
src/etc/completer.zsh | 4 +-
src/etc/etcscreenrc | 4 +-
src/etc/mkinstalldirs | 4 +-
src/etc/newsyntax | 4 +-
src/etc/newsyntax38 | 12 +-
src/etc/toolcheck | 4 +-
src/list_license.c | 2 +-
src/process.c | 4 +-
src/socket.c | 8 +-
src/terminfo/checktc.c | 2 +-
src/terminfo/screeninfo.src | 6 +-
32 files changed, 658 insertions(+), 659 deletions(-)
diff --git a/incoming/howto/emulate_vims_help.txt
b/incoming/howto/emulate_vims_help.txt
index b7e3c3f..6f15df0 100644
--- a/incoming/howto/emulate_vims_help.txt
+++ b/incoming/howto/emulate_vims_help.txt
@@ -6,13 +6,13 @@ In article <20030406193514.4b43c6ba.mramos@adinet.com.uy>,
Marcelo Ramos wrote:
> Something interesting and useful developed with Miciah's help a few minutes
> ago in the #screen channel (irc.debian.org):
>
-> 1) Create a shell script "showman":
+> 1) Create a shell script "showman":
>
-> echo -n "What manpage?"; read X; man $X; screen -X eval 'focus bottom'
remove
+> echo -n "What manpage?"; read X; man $X; screen -X eval 'focus bottom'
remove
>
-> 2) Put the following in your.screenrc:
+> 2) Put the following in your.screenrc:
>
-> bindkey "^B" eval split "focus bottom" "screen /path/to/showman"
+> bindkey "^B" eval split "focus bottom" "screen /path/to/showman"
>
> 3) Now press ^B and enjoy :-)
>
diff --git a/mktar.pl b/mktar.pl
index 79b1731..9ad2d8e 100755
--- a/mktar.pl
+++ b/mktar.pl
@@ -1,5 +1,5 @@
#! /usr/bin/perl -w
-#
+#
# create a tar ball snapshot from cvs repository.
#
# 2005-12-15, jw
@@ -9,7 +9,7 @@ use Data::Dumper;
my $srcdir = 'src';
my $version_file = "$srcdir/patchlevel.h";
-my %symlinks =
+my %symlinks =
(
'FAQ' => 'doc/FAQ',
'doc/install.sh' => '../install.sh'
diff --git a/src/.iscreenrc b/src/.iscreenrc
index 802afbd..1cf5c23 100644
--- a/src/.iscreenrc
+++ b/src/.iscreenrc
@@ -1,7 +1,7 @@
#
-# A sample .screenrc which I use for everyday work.
+# A sample .screenrc which I use for everyday work.
#
-# some of the commands commented out here, have been moved to
+# some of the commands commented out here, have been moved to
# /local/etc/screenrc
#
# we want no password, right?
@@ -25,10 +25,10 @@ echo -n "booting screen"
#login on # "login", "nologin" don't work any longer, sorry 2.
echo -n "."
-# we have no termcap entry for screen on the target machine? Well then
+# we have no termcap entry for screen on the target machine? Well then
# we tell a lie.
term screen # would be the obvious default here.
-#term vt100 # screen will understand vt100 for 99%.
+#term vt100 # screen will understand vt100 for 99%.
# we want to survive hangups
# note that the default setting is off now!
@@ -48,7 +48,7 @@ echo -n "."
# ugly areas of bright background, if termcap is'nt perfectly sober.
# Give a little :ms@: in the termcap, this may help.
#
-# And who invented the initialisation for facit terminals? We tell him that
+# And who invented the initialisation for facit terminals? We tell him that
# we non't like smooth scroll, by specifying :ti=\E[?l:.
# \E[?3l 80 Zeichen
# \E[?3h 132 Zeichen
@@ -61,7 +61,7 @@ echo -n "."
# \E[K clear to end of line
# cs \E[%i%d;%dr for twist and xterm
# ms@ Move in Standout mode is NOT save.
-# WS our private variable, it declares that the terminal can
+# WS our private variable, it declares that the terminal can
# be resized by an escape-sequence
# The termcap statement takes 2 or three parameters. First parameter lists
# which TERMCAPs are affected by this statement. Second we specify changes
@@ -96,7 +96,7 @@ termcap icl*
G0:S0=\E$[start]:E0=\E%[end]:C0=j9k<l6m3n?q\:t7u=v;w>x5 GS=\E(0^O:G
# terminals catch them locally. Who can explain that to me?:
#flow on|off|auto [interrupt]
-# Long Lines get wrapped around (the back of your terminal). This is the
+# Long Lines get wrapped around (the back of your terminal). This is the
# default for vt100. But now programs make different asumptions about your
# terminal. You may find two linefeeds where you'd expect one, or you may
# be confronted with a truncated line. Currently there is no fix, but pressing
@@ -123,7 +123,7 @@ shellaka '> |tc'
# we create even local windows via rlogin. -> Et voila: a utmp-slot
# utmp-slots are strongly recomended to keep sccs and talk happy.
# (thus we have ^A# or. ^Ac for windowcreation with or without utmp-slot.)
-# but if we run suid-root, we produce all the rlogins with -ln,
+# but if we run suid-root, we produce all the rlogins with -ln,
# as nobody shall refer to these pty's.
bind '!' screen -ln -k faui41 rlogin faui41
bind '@' screen -ln -k vme2 rlogin faui4_vme2
@@ -165,5 +165,5 @@ echo -n "."
# different baud rate, etc. The next user will get standard settings
# as ^[c is a reset sequence.
#pow_detach_msg "" # is the default
-pow_detach_msg "c"
+pow_detach_msg "c"
echo "done."
diff --git a/src/ChangeLog b/src/ChangeLog
index 8872074..a126b42 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -144,7 +144,7 @@ Version 4.2.0 (17/04/2014):
This is a quick overview of screen's life story. But it is not up
to date. You'll find more details about the revision history in
-patchlevel.h and newer changes are only documented there.
+patchlevel.h and newer changes are only documented there.
31.7.93 -- 3.5.1
================
@@ -193,7 +193,7 @@ patchlevel.h and newer changes are only documented there.
* ChangeLog: replaces CHANGES and is in GNUish format.
-* Makefile (CFLAGS, M_CFLAGS, LIBS, OPTIONS): moved user config here,
+* Makefile (CFLAGS, M_CFLAGS, LIBS, OPTIONS): moved user config here,
merged all Makefiles, GNUified
* socket.c (FindSocket): ignoring bad files in $SCREENDIR
@@ -210,7 +210,7 @@ patchlevel.h and newer changes are only documented there.
3.2.3-3.2.7
===========
-* concept changes: Display structure, Multi attacher
+* concept changes: Display structure, Multi attacher
...
@@ -219,7 +219,7 @@ patchlevel.h and newer changes are only documented there.
* screen.c (main): -m option, "_M_ake always new session", ignore $STY
-* screen.c (main): -Ssessionname
+* screen.c (main): -Ssessionname
* fileio.c (RcLine): ^A:sessionname give your session a nicer name.
* screen.c (main): supporting detached startup via screen -d -m -Ssockname
@@ -237,7 +237,7 @@ patchlevel.h and newer changes are only documented there.
* screen.c (main): -v option prints version.
-* screen.c (MakeWindow): ^A:screen /dev/ttya opens a character device
+* screen.c (MakeWindow): ^A:screen /dev/ttya opens a character device
instead of forking ShellProg with a pty pair.
3.2.0
@@ -301,7 +301,7 @@ ScrollRegion() bug fixed which caused slow scrolling if AL
or DL was used.
Pyramid and Ultrix support added. (Tim and Larry)
-
+
ENVIRONMENT support.
/local/etc/screenrc checks for $SYSSCREENRC
$HOME/.screenrc checks for $ISCREENRC and $SCREENRC
@@ -312,7 +312,7 @@ screen 3.0 Patchlevel 6
=======================
.screenrc:
- screen now only opens the windows you explicitly ask for. if you
+ screen now only opens the windows you explicitly ask for. if you
specify none, you still get one window, of course.
screen 3.0. Patchlevel 5
@@ -328,14 +328,14 @@ changes to screen 3.0 patchlevel 4
markkeys "string"
allows to rebind the keys used in copy/history mode.
string is made up of pairs "<oldchar>=<newchar>" which are separated
- by a colon. Oldchar and newchar are either single ascii characters,
+ by a colon. Oldchar and newchar are either single ascii characters,
or the two character sequence ^x, where x is an ascii character, or
a 3 digit octal value prepended with '\'. the string "\040=.:^M=q"
rebinds '.' to set marks, and the return rey will abort copy mode.
set scrollback 100
resizes the scrollback history buffer to 100 lines. a default of 50
- is installed.
+ is installed.
A Howard Chu like scrollback history is installed. Many vi-like keys
are added to the copy mode. The '?' key reports on cursor position.
@@ -356,7 +356,7 @@ screen 3.0 Patchlevel 2
wayne patches cursor motion outside scrollregions.
-.screenrc
+.screenrc
monitor on|off
changes in Screen 3.0 Patchlevel 1
@@ -390,14 +390,14 @@ pow_detach_msg "text string"
commands like "login on" , "vbell off", ... affect the default for
windows to be created. But commands like "set login off" affect
the actual setting of this window. and not the default.
- such commands may be bound to keys. example:
+ such commands may be bound to keys. example:
bind 'O' set login off
is valid in your .screenrc as well as typed at the ':' prompt.
a bonus is ":set all" which is synonym to ":help".
At the Colon prompt also KeyNames can be entered, alothough that makes
not always sense.
-^A x uses a builtin lockprg, if
+^A x uses a builtin lockprg, if
a) we don't find our lockprg, or
b) user supplies us with the environmet variable LOCKPRG set to "builtin"
the builtin locks until your login password is typed. on systems using
@@ -440,7 +440,7 @@ markroutine: 'a' toggles append mode,
'^A :' allows .screenrc commands "online".
-screen now receives new $TERM from attacher, when it is reattached
+screen now receives new $TERM from attacher, when it is reattached
MakeClientSocket() fifo version does now test for access.
@@ -450,12 +450,12 @@ termcap's VB is used for vbell if available.
Attach() code rewritten:
screen now lists socket directory, if it does not find a suitable socket
- screen -d [host.tty] detaches a running screen.
+ screen -d [host.tty] detaches a running screen.
screen -[ls|list]
list all sockets that we find in our sockdir
-when the socket has been removed, send a SIGCHLD to the poor SCREEN
+when the socket has been removed, send a SIGCHLD to the poor SCREEN
process and it will try to recover. then try a 'screen -r' again.
all the socket stuff lives now in an extra file.
diff --git a/src/HACKING b/src/HACKING
index b78d40f..d058a3c 100644
--- a/src/HACKING
+++ b/src/HACKING
@@ -5,7 +5,7 @@ WIP notes on hacking the Screen source.
command to be evaluated; for every command `foo', there is an
integer value RC_FOO for use as nr's value to represent it. Find
the matching case label to follow procesing of the command.
-
+
The RC_FOO values are defined in comm.h, which is automatically
generated by comm.sh, based on the names of the commands
themselves (found in comm.c).
diff --git a/src/INSTALL b/src/INSTALL
index ddc8f2f..a6d18f9 100644
--- a/src/INSTALL
+++ b/src/INSTALL
@@ -4,8 +4,8 @@ Installation of screen 4.3.0
0.) This instruction is quite lengthy
-------------------------------------
... and there are still important items near the end. Start here:
-Unpack. Screen comes as a compressed tar archive. You need gzip to
-uncompress. And... well, you probably already managed that step,
+Unpack. Screen comes as a compressed tar archive. You need gzip to
+uncompress. And... well, you probably already managed that step,
when you are reading this.
For general documentation on the coding and usage standards this
@@ -21,7 +21,7 @@ This should be already done, so you can skip this step.
1.) configure & config.status
-----------------------------
Run ./configure. This should create a reasonable Makefile and a config.h file
-suited for your machine. Rename config.status to reflect the architecture
+suited for your machine. Rename config.status to reflect the architecture
(hostname) where it was built. To reconfigure quickly for that architecture
just run that config.status file.
If this process fails, try to find out what configure did do and what it
@@ -35,56 +35,55 @@ You will be prompted to run 'make' again, which will really
make screen.
2.) Makefile & config.h
-----------------------
Look through the Makefile & user configuration section in config.h and check
-pathnames. Change them to suit your installation requirements. Usually
-sysadmins discuss the location of SOCKDIR, whether it should be in /tmp or
+pathnames. Change them to suit your installation requirements. Usually
+sysadmins discuss the location of SOCKDIR, whether it should be in /tmp or
not. At least it must be on a filesystem that supports sockets/fifos.
-SOCKDIR must not point into an AFS (Andrew File System) mounted directory.
-If you are uncertain about your NFS implementation, use a UFS directory for
-SOCKDIR. Personally, I favour a users home directory and recommend the the
-/tmp/ area.
+SOCKDIR must not point into an AFS (Andrew File System) mounted directory.
+If you are uncertain about your NFS implementation, use a UFS directory for
+SOCKDIR. Personally, I favour a users home directory and recommend the the
+/tmp/ area.
The path for ETCSCREENRC may also need to be adapted.
-3.) how to actually compile
+3.) how to actually compile
---------------------------
Run 'make'. Screen should compile without too many warnings :)
The creation of term.h, comm.h, tty.c or osdef.h may fail on some machines
-for some odd reason. (E.g. the sed under SCO-unix is known to be
-case-insensitive and breaks term.h.) If so, please mail a short description
-of the problem to screen-devel@gnu.org and use the files ending in .dist
+for some odd reason. (E.g. the sed under SCO-unix is known to be
+case-insensitive and breaks term.h.) If so, please mail a short description
+of the problem to screen-devel@gnu.org and use the files ending in .dist
as a replacement (or in case of osdef.h retry with an empty file).
You can then try 'make install' (if you dare).
4.) where to install
--------------------
-You may well run screen from your private binary directory and with a
+You may well run screen from your private binary directory and with a
private socket directory like $HOME/.screen. But to have a full featured
screen and (from a users point of view) more secure pty's you should
consult a system administrator and discuss installing screen setuid-root
in some globally accessible directory like /usr/local/bin.
Consider this, when deciding whether you install screen setuid-root:
-- On some machines root privileges are required to open pty's.
+- On some machines root privileges are required to open pty's.
- Pty's should be owned by the user, so that she can do chmod to prevent
intruder attacks. The PTYs used by screen will remain world read-writable
if screen is not installed setuid-root.
- Some commands only work properly when the pty is owned by the user.
These include mesg and biff.
-- The ^At feature may need to lseek and read the kernel file to retrieve
- the load average.
+- The ^At feature may need to lseek and read the kernel file to retrieve
+ the load average.
- On most machines utmp slots can only be created/manipulated with root
privileges. Users will appear to be logged on the primary terminal
instead of the screen windows, if screen is not installed setuid-root.
- Multi-user screen sessions are only allowed when screen has a root-s-bit.
-- If screen sockets of multiple users are kept in one directory (e.g.
+- If screen sockets of multiple users are kept in one directory (e.g.
/tmp/screens), this directory must be world writable when screen is not
installed setuid-root. Any user can remove or abuse any socket then.
-
5.) doc/screen.1 & doc/screen.texinfo
-------------------------------------
The man page doc/screen.1 should go to /usr/local/man/man1, or some similar
directory. It should format nicely with nroff -man. If it does not, then
-try removing extra dots with: sed -e 's/^\.\././' < screen.1 | nroff -man
+try removing extra dots with: sed -e 's/^\.\././' < screen.1 | nroff -man
The info page doc/screen.texinfo contains basically the same information as
the man-page, we may have missed one or another thing in one of the files.
If so, mail me.
@@ -93,18 +92,18 @@ If so, mail me.
----------------------------------
The files screenrc and etc/etcscreenrc are instructive samples that
demonstrate what can/should be done from your private .screenrc and from
-$ETCSCREENRC -- do not just copy them. Read them. Look through the
-etcscreenrc file for system wide defaults that you like to set. e.g.
+$ETCSCREENRC -- do not just copy them. Read them. Look through the
+etcscreenrc file for system wide defaults that you like to set. e.g.
autodetach off, startup_message off, vbell on, ...
Since version 3.2.15 the screenrc file syntax changed slightly. All rc files
-from previous versions should be run through the 'newsyntax' script that comes
+from previous versions should be run through the 'newsyntax' script that comes
with this package.
If and only if you want to install screen as a console multiplexer, look
at the *.sample files and what 'make cscreen' suggests.
7.) terminfo/screeninfo.src & terminfo/screencap
------------------------------------------------
-Every now and then we update the termcap/terminfo entries for screen.
+Every now and then we update the termcap/terminfo entries for screen.
E.g. keycodes were added in 3.6.0 -- thus you check that your termcap/terminfo
database is up to date. See the README in the terminfo subdirectory.
diff --git a/src/Makefile.in b/src/Makefile.in
index 2d96983..f99286c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,5 +1,5 @@
#
-# Makefile template for screen
+# Makefile template for screen
#
# See machine dependant config.h for more configuration options.
#
@@ -7,7 +7,7 @@
srcdir = @srcdir@
VPATH = @srcdir@
-DESTDIR =
+DESTDIR =
# Where to install screen.
@@ -161,7 +161,7 @@ depend: depend.in
depend.in: $(CFILES) term.h
cp Makefile.in Makefile.in~
sed -e '/\#\#\# Dependencies/q' < Makefile.in > tmp_make
- for i in $(CFILES); do echo $$i; $(CPP_DEPEND) $$i >> tmp_make; done
+ for i in $(CFILES); do echo $$i; $(CPP_DEPEND) $$i >> tmp_make; done
mv tmp_make Makefile.in
###############################################################################
diff --git a/src/NEWS.3.5 b/src/NEWS.3.5
index 74bb7bf..dcefd22 100644
--- a/src/NEWS.3.5
+++ b/src/NEWS.3.5
@@ -63,7 +63,7 @@
this by prepending the socketname with 'screenuser/'.
Of course he must be in the access control list for a successful
attach (see the acladd/acldel command).
-
+
* Extension to the 'screen' command: You can now specify tty lines
instead of programs. This can be used for console management.
Added the command 'break' to send a break to the tty line.
@@ -80,7 +80,7 @@
This is useful if you want to start screen in your /etc/rc file
(e.g. as a console multiplexer)
-* Console grabbing added ('console on' command).
+* Console grabbing added ('console on' command).
* Windows can now be selected by akas, too. (Per default bound to the
>'< key.)
@@ -92,7 +92,7 @@
* Expansion of environment variables ($VAR) and terminal capabilities
($:TC:) in the screenrc files and detach messages.
Example: pow_detach_msg "Session of \$LOGNAME \$:cr:\$:nl:ended."
-
+
* New commands:
'hardcopydir' and 'logdir' to change the output directories,
'partial' and 'allpartial' to make screen only refresh the line
diff --git a/src/NEWS.3.6 b/src/NEWS.3.6
index 6d4360f..565f591 100644
--- a/src/NEWS.3.6
+++ b/src/NEWS.3.6
@@ -8,7 +8,7 @@
(function-) key. See the man page for more details (bindkey
command).
-* Status line support. Each window can have a different status line.
+* Status line support. Each window can have a different status line.
Use the ANSI APC string to set the status line, i.e.:
<ESC>_<status string><ESC>\
(For convenience the xterm sequence is also accepted.)
@@ -17,7 +17,7 @@
terminfo * '' ':hs:ts=\E_:fs=\E\\:ds=\E_\E\\:'
to your ~/.screenrc to make screen advertise the hardstatus
support.
-
+
* Zombie feature added. Windows now may generate a message (with a
timestamp) if they die and stay around until the user presses
a key.
diff --git a/src/README b/src/README
index 8ccf699..1cc01ad 100644
--- a/src/README
+++ b/src/README
@@ -7,7 +7,7 @@
Short introduction to screen (Version 4.3.0)
-Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to
+Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to
screen-devel@gnu.org
Screen provides you with an ANSI/vt100 terminal emulator, which can multiplex
@@ -36,13 +36,13 @@ possibly open more windows.
C-a l (redisplay) Redraw this window.
- C-a W (width) Toggle between 80 & 132 columns mode.
+ C-a W (width) Toggle between 80 & 132 columns mode.
C-a L (login) Try to toggle the window's utmp-slot.
C-a z (suspend) Suspend the whole screen session.
- C-a x (lockscreen) Execute /usr/bin/lock, $LOCKCMD or a
+ C-a x (lockscreen) Execute /usr/bin/lock, $LOCKCMD or a
built-in terminal lock.
C-a H (log) Log stdout of window n to screenlog.n.
@@ -59,7 +59,7 @@ possibly open more windows.
C-a d (detach) Detach screen. All processes continue
and may
spool output to their pty's, but screen
- disconnects from your terminal.
+ disconnects from your terminal.
C-a D D (pow_detach) Power detach. Disconnect like C-a d but also
kill the parent shell.
@@ -93,7 +93,7 @@ screen -wipe
DEAD sessions.
If sockets are missing, you may send a SIGCHLD to its 'SCREEN'
- process and the process will re-establish the socket (think of
+ process and the process will re-establish the socket (think of
someone cleaning /tmp thoroughly).
screen -h 200
diff --git a/src/acls.c b/src/acls.c
index de7321f..b8187d6 100644
--- a/src/acls.c
+++ b/src/acls.c
@@ -61,8 +61,8 @@ int maxusercount = 0; /* used in process.c:
RC_MONITOR, RC_SILENCE */
static AclBits userbits;
/*
- * rights a new unknown user will have on windows and cmds.
- * These are changed by a "umask ?-..." command:
+ * rights a new unknown user will have on windows and cmds.
+ * These are changed by a "umask ?-..." command:
*/
static char default_w_bit[ACL_BITS_PER_WIN] = {
1, /* EXEC */
@@ -176,7 +176,7 @@ int UserAdd(char *name, struct acluser **up)
/* (only if we generate commands dynamically) */
/*
for (int j = 0; j < ACL_BITS_PER_CMD; j++)
- if (GrowBitfield(&default_c_userbits[j], maxusercount, USER_CHUNK,
+ if (GrowBitfield(&default_c_userbits[j], maxusercount, USER_CHUNK,
default_c_bit[j]))
{
free((char *)*up); *up = NULL; return -1;
@@ -240,9 +240,9 @@ int UserAdd(char *name, struct acluser **up)
AclSetPerm(NULL, *up, "+x", "version");
}
- /*
+ /*
* Create his umask:
- * Give default_w_bit's for all users,
+ * Give default_w_bit's for all users,
* but allow himself everything on "his" windows.
*/
for (int j = 0; j < ACL_BITS_PER_WIN; j++) {
@@ -343,9 +343,9 @@ int UserFreeCopyBuffer(struct acluser *u)
}
/*
- * Traverses group nodes. It searches for a node that references user u.
- * If recursive is true, nodes found in the users are also searched using
- * depth first method. If none of the nodes references u, the address of
+ * Traverses group nodes. It searches for a node that references user u.
+ * If recursive is true, nodes found in the users are also searched using
+ * depth first method. If none of the nodes references u, the address of
* the last next pointer is returned. This address will contain NULL.
*/
static struct aclusergroup **FindGroupPtr(struct aclusergroup **gp, struct
acluser *u, int recursive)
@@ -362,9 +362,9 @@ static struct aclusergroup **FindGroupPtr(struct
aclusergroup **gp, struct aclus
return gp; /* *gp is NULL */
}
-/*
+/*
* Returns nonzero if failed or already linked.
- * Both users are created on demand.
+ * Both users are created on demand.
* Cyclic links are prevented.
*/
int AclLinkUser(char *from, char *to)
@@ -499,8 +499,8 @@ void FreeWindowAcl(Window *w)
/* if mode starts with '-' we remove the users exec bit for cmd */
/*
- * NOTE: before you make this function look the same as
- * AclSetPermWin, try to merge both functions.
+ * NOTE: before you make this function look the same as
+ * AclSetPermWin, try to merge both functions.
*/
static int AclSetPermCmd(struct acluser *u, char *mode, struct comm *cmd)
{
@@ -591,7 +591,7 @@ static int AclSetPermWin(struct acluser *uu, struct acluser
*u, char *mode, Wind
}
}
if (uu && u->u_name[0] == '?' && u->u_name[1] == '\0') {
- /*
+ /*
* It is Mr. '?', the unknown user. He deserves special
treatment as
* he defines the defaults. Sorry, this is global, not per user.
*/
@@ -601,7 +601,7 @@ static int AclSetPermWin(struct acluser *uu, struct acluser
*u, char *mode, Wind
} else {
/*
* Hack. I do not want to duplicate all the above code
for
- * AclSetPermCmd. This asumes that there are not more
bits
+ * AclSetPermCmd. This asumes that there are not more
bits
* per cmd than per win.
*/
for (bit = 0; bit < ACL_BITS_PER_CMD; bit++)
@@ -612,7 +612,7 @@ static int AclSetPermWin(struct acluser *uu, struct acluser
*u, char *mode, Wind
return 0;
}
-/*
+/*
* String is broken down into comand and window names, mode applies
* A command name matches first, so do not use these as window names.
* uu should be NULL, except if you want to change his umask.
@@ -661,7 +661,7 @@ int AclSetPerm(struct acluser *uu, struct acluser *u, char
*mode, char *s)
return 0;
}
-/*
+/*
* Generic ACL Manager:
*
* This handles acladd and aclchg identical.
@@ -767,7 +767,7 @@ int UsersAcl(struct acluser *uu, int argc, char **argv)
/*
* Preprocess argments, so that umask can be set with UsersAcl
- *
+ *
* all current users umask ±rwxn
* one specific user umask user1±rwxn
* several users umask user1,user2,...±rwxn
diff --git a/src/ansi.c b/src/ansi.c
index 9ee4ffa..68106fe 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -1729,7 +1729,7 @@ static void SelectRendition(Window *win)
}
continue;
}
- /* truecolor (24bit) colour space; example escape
\e[48;5;12;13;14m
+ /* truecolor (24bit) colour space; example escape
\e[48;5;12;13;14m
* where 12;13;14 are rgb values */
if ((j == 38 || j == 48) && i + 4 < win->w_NumArgs &&
win->w_args[i + 1] == 2) {
uint8_t r, g, b;
diff --git a/src/configure.ac b/src/configure.ac
index 05b9c39..5a2e4fd 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -4,7 +4,7 @@ AC_PREREQ(2.60)
AC_CONFIG_HEADERS([config.h])
-AC_DEFINE_UNQUOTED([VERSION_MAJOR],
+AC_DEFINE_UNQUOTED([VERSION_MAJOR],
[`echo $PACKAGE_VERSION | cut -d . -f 1`],
[Major version of GNU screen])
AC_DEFINE_UNQUOTED([VERSION_MINOR],
diff --git a/src/display.c b/src/display.c
index 0ec6c33..bada6f1 100644
--- a/src/display.c
+++ b/src/display.c
@@ -1273,7 +1273,7 @@ int color256to88(int color)
/*
* SetColor - Sets foreground and background color
* 0x00000000 <- default color ("transparent")
- * one note here that "null" variable is pointer to array of 0 and that's
one of reasons to use it this way
+ * one note here that "null" variable is pointer to array of 0 and that's
one of reasons to use it this way
* 0x0100000x <- 16 base color
* 0x020000xx <- 256 color
* 0x04xxxxxx <- truecolor
diff --git a/src/display.h b/src/display.h
index 531b9c8..de59407 100644
--- a/src/display.h
+++ b/src/display.h
@@ -134,8 +134,8 @@ struct Display {
int d_status_buflen; /* last message buffer len */
int d_status_lastx; /* position of the cursor */
int d_status_lasty; /* before status was displayed */
- int d_status_obuflen; /* saved obuflen */
- int d_status_obuffree; /* saved obuffree */
+ int d_status_obuflen; /* saved obuflen */
+ int d_status_obuffree; /* saved obuffree */
int d_status_obufpos; /* end of status position in obuf */
Event d_statusev; /* timeout event */
Event d_hstatusev; /* hstatus changed event */
diff --git a/src/doc/FAQ b/src/doc/FAQ
index 07af9a5..829cbd2 100644
--- a/src/doc/FAQ
+++ b/src/doc/FAQ
@@ -5,42 +5,42 @@
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-Q: Why is it impossible to download a file with Kermit/sz/rz when
+Q: Why is it impossible to download a file with Kermit/sz/rz when
screen is running? Do I need to set some special variables?
-
+
A: Screen always interprets control-sequences sent by the
applications and translates/optimizes them for the current
terminal type. Screen always parses the user input for its
escape character (CTRL-A). Both are basic screen features and
cannot be switched off. Even if it were possible to switch
screen into a completely transparent mode, you could never switch
- between windows, while kermit/sz/rz is downloading a file. You
- must wait til the end as kermit/sz/rz will not transmit your
- input during a file transfer and as kermit/sz/rz would be very
+ between windows, while kermit/sz/rz is downloading a file. You
+ must wait til the end as kermit/sz/rz will not transmit your
+ input during a file transfer and as kermit/sz/rz would be very
confused if screen switched away the window containing the
- other kermit/sz/rz. Simply detach your screen session for each
- file transfer and start the transfer program only from the shell
- where you started screen.
+ other kermit/sz/rz. Simply detach your screen session for each
+ file transfer and start the transfer program only from the shell
+ where you started screen.
Q: I am using screen with a YYY terminal, which supports the XXX
- graphic language. I am very happy with it, except one thing: I
+ graphic language. I am very happy with it, except one thing: I
cannot render graphics into screen windows.
-
+
A: You are out of luck there. Screen provides a fixed set of escape
sequences in order to make it possible to switch terminal types.
Screen has to know exactly what the escape sequences do to the
- terminal because it must hold an image in memory. Otherwise
- screen could not restore the image if you switch to another
+ terminal because it must hold an image in memory. Otherwise
+ screen could not restore the image if you switch to another
window. Because of this you have to change screens escape
- sequence parser (ansi.c) to pass the XXX graphics sequences to
+ sequence parser (ansi.c) to pass the XXX graphics sequences to
the terminal. Of course the graphics will be lost if you switch
- to another window. Screen will only honour graphics sequences
+ to another window. Screen will only honour graphics sequences
that are demanded by an overwhelming majority.
Q: For some unknown reason, the fifo in /tmp/screens/S-myname is
gone, and i can't resume my screen session. Is there a way to
recreate the fifo?
-
+
A: Screen checks the fifo/socket whenever it receives a SIGCHLD
signal. If missing, the fifo/socket is recreated then. If screen
is running non set-uid the user can issue a 'kill -CHLD
@@ -58,15 +58,15 @@ A: Screen checks the fifo/socket whenever it receives
a SIGCHLD
Q: When you start "screen" a page of text comes up to start you
off. Is there a way to get rid of this text as a command line
- argument or by using a switch of some sort.
-
+ argument or by using a switch of some sort.
+
A: Just put the following line in your ~/.screenrc:
startup_message off
Many peole ask this, although it is in the man page, too :-)
Q: Start "screen emacs" and run emacs function suspend-emacs
- (ctrl-z). The window containing emacs vanishes.
-
+ (ctrl-z). The window containing emacs vanishes.
+
A: This is a known bug. Unfortunatly there is no easy fix
because this is specified in the POSIX standard. When a new
window is created Screen opens up a new session because the
@@ -81,16 +81,16 @@ A: This is a known bug. Unfortunatly there is no
easy fix
one left to continue the process. Even if screen would
try to restart the program, that would be after it received the
KILL signal which cannot be caught or ignored.
-
+
tromey@klab.caltech.edu (Tom Tromey): I've noticed this exact
same problem. I put this in my .emacs file. It seems to work:
-
+
;; If running under screen, disable C-z.
(if (and (getenv "STY") (not window-system))
(global-unset-key "\C-z"))
Q: Screen gets the terminal size wrong and messes up.
-
+
A: Before you start screen: Check with 'stty -a' what the terminal
driver thinks about rows and columns. Check the environment
variables LINES and COLUMNS. Then from within screen check with
@@ -109,7 +109,7 @@ A: Before you start screen: Check with 'stty -a' what
the terminal
Q: Screen messes up the terminal output when I use my favourite ap-
plication. Setting the terminal size does not help.
-
+
A: Probably you got the termcap/terminfo entries wrong. Fixing this
is a three stage procedure. First, find out if terminfo or
termcap is used. If your system only has /etc/termcap,
@@ -155,7 +155,7 @@ A: Probably you got the termcap/terminfo entries wrong.
Fixing this
without calling the supervisor to change the database.
Q: I cannot configure screen. Sed does not work.
-
+
A: The regular expressions used in our configure scrip are too
complicated for GNU sed version 2.03. In this regard it is bug
compatible with Ultrix 3.1 "sed": GNU sed version 2.03 dumps
@@ -165,7 +165,7 @@ A: The regular expressions used in our configure
scrip are too
Q: When reattaching a session from a different Workstation, the
DISPLAY environment variable should be updated. Even ``CTLR-A
: setenv DISPLAY newhost:0'' does not work as expected.
-
+
A: Under unix every process has its own environment. The environ-
ment of the SCREEN process can be changed with the `setenv' com-
mand. This however cannot affect the environment of the
@@ -176,29 +176,29 @@ A: Under unix every process has its own environment.
The environ-
Q: About once every 5 times I ran the program, rather than getting
a "screen," I got someone elses IRC output/input.
-
+
A: What probably happened is that an IRC process was left running on
a pseudo tty in such a way that the kernel thought the tty was
available for reallocation. You can fix this behaviour by
applying the SunOS 4.1.x tty jumbo patch (100513-04).
-
+
Q: Screen compiled on SunOS 5.3 cannot reattach a detached session.
-
-A: You are using /usr/ucb/cc, this compiler is wrong. Actually it
+
+A: You are using /usr/ucb/cc, this compiler is wrong. Actually it
links with a C-library that mis-interprets dirent. Try again
with /opt/SUNWspro/bin/cc!
Q: The "talk" command does not work when Screen is active.
-
+
A: Talk and several other programs rely on entries in the Utmp-
- Database (/etc/utmp). On some systems this Database is world
- writable, on others it is not. If it is not, screen must be
+ Database (/etc/utmp). On some systems this Database is world
+ writable, on others it is not. If it is not, screen must be
installed with the appropriate permissions (user or group s-bit)
just like any program that uses PTYs (rlogin, xterm, ...). When
screen cannot write to utmp, you will see messages on you display
- which do not belong to any screen window.
+ which do not belong to any screen window.
When screen can update utmp, it is not guaranteed that it does as
- you expect. First this depends on the config.h file defining
+ you expect. First this depends on the config.h file defining
ENABLE_UTMP, LOGINDEFAULT, and perhaps CAREFULUTMP. Second it
depends on the screenrc files (system wide and per user), if utmp
entries are done. Third, you can control whether windows are
@@ -206,28 +206,28 @@ A: Talk and several other programs rely on entries
in the Utmp-
Q: Seteuid() does not work as expected in AIX. Attempting a multi-
user-attach results in a screen-panic: "seteuid: not owner".
-
+
A: This is not a screen problem. According to Kay Nettle
(pkn@cs.utexas.edu) you need the AIX patch PTF 423674.
-Q: When I type cd directory (any directory or just blank) from
+Q: When I type cd directory (any directory or just blank) from
within one of the windows in screen, the whole thing just freezes
up.
-
+
A: You display the current working directory in xterm's title bar,
This may be caused by hardcoded ESC-sequences in the shell prompt
- or in an cd alias. In Xterm the coding is
- ESC ] n ; string_to_display ^G
+ or in an cd alias. In Xterm the coding is
+ ESC ] n ; string_to_display ^G
where n = 1, 2, 3 selects the location of the displayed string.
Screen misinterprets this as the ansi operating system comment
sequence:
- ESC ] osc_string
+ ESC ] osc_string
and waits (according to ansi) for the string terminator
ESC \
Screen versions after 3.5.12 may provide a workaround.
Q: Mesg or biff cannot be turned on or off while running screen.
-
+
A: Screen failed to change the owner of the pty it uses. You need to
install screen setuid-root. See the file INSTALL for details.
diff --git a/src/doc/Makefile.in b/src/doc/Makefile.in
index f7c7db7..a5fb8c8 100644
--- a/src/doc/Makefile.in
+++ b/src/doc/Makefile.in
@@ -3,7 +3,7 @@
srcdir = @srcdir@
VPATH = @srcdir@
-DESTDIR =
+DESTDIR =
prefix = @prefix@
datarootdir = @datarootdir@
diff --git a/src/doc/README.DOTSCREEN b/src/doc/README.DOTSCREEN
index f17fa37..ba3a925 100644
--- a/src/doc/README.DOTSCREEN
+++ b/src/doc/README.DOTSCREEN
@@ -19,7 +19,7 @@ Status: RO
Hallo,
- leider war readme file fuer dotscreen nicht in unserem dotscreen-Packet,
+ leider war readme file fuer dotscreen nicht in unserem dotscreen-Packet,
deshalb schicke ich es Euch nachtraeglich. Nachdem Ihr unseren packet
getestet habt, koennen wir Euch anrufen und vielleicht mehr ueber die
Einzelnheiten sprechen, ob wir unsere Weiterentwicklung koordinieren
@@ -42,7 +42,7 @@ Quick introduction to dotscreen
1. Introduction
-===============
+===============
Dotscreen, is a system which allow a person direct access to unix via
a braille display. The emphasis is on direct, because the braille
@@ -106,20 +106,20 @@ bd_scroll on/off # enables/disables scrolling
bd_skip on/off # skip/don't skip balnk lines
bd_width <integer-value> # number of braille cells that user want to use,
# this value is always <= total number of cells
-bd_ncrc <interger-value> # number of cells displayed on the right side
- # of physical cursor (default = 1)
-bd_info <integer-value> # displays braille/screen cursor position
- # depending on its value, (no info: 0, only
+bd_ncrc <interger-value> # number of cells displayed on the right side
+ # of physical cursor (default = 1)
+bd_info <integer-value> # displays braille/screen cursor position
+ # depending on its value, (no info: 0, only
# bc-info: 1, only sc-info: 2, bc- and sc-info: 3
bd_port <serial-device> # serial port which braille display is connected
to
-bd_braille_table <bl-table> # braille table to be used. German, US and GS
+bd_braille_table <bl-table> # braille table to be used. German, US and GS
# braille tables are provided
-bd_type <braille-display-type>
- # braille display type being used
+bd_type <braille-display-type>
+ # braille display type being used
Note: currently valid value for some parameters:
-bd_type:
- 1. navigator_40
+bd_type:
+ 1. navigator_40
2. powerbraille_40.
bd_braille_table:
@@ -138,7 +138,7 @@ As mentioned above, currently Dotscreen works with
Telesensory braille
displays the PowerBraille and the Navigator because Telesensory has
given us the information needed to program their braille display. We
plan to add support for other braille displays when and if we get the
-requisite information from the braille display manufacturer.
+requisite information from the braille display manufacturer.
Also some things such as cursor navigation from the braille display
have not been implemented. If you find a feature missing that
you wish to have, please contact us.
diff --git a/src/doc/make.help b/src/doc/make.help
index 5871773..584a98c 100644
--- a/src/doc/make.help
+++ b/src/doc/make.help
@@ -8,11 +8,11 @@
### If you choose to compile with the tried and true:
#CC= cc
#CFLAGS= -O
-#CFLAGS= -g
+#CFLAGS= -g
### gcc specific CFLAGS:
#CC= gcc
# If your system include files are bad, don't use -Wall
-#CFLAGS= -O6 -g #-Wall
+#CFLAGS= -O6 -g #-Wall
#CFLAGS = -g -fstrength-reduce -fcombine-regs -finline-functions #-Wall
### On some machines special CFLAGS are required:
@@ -25,8 +25,8 @@
# -fomit-frame-pointer -finline-functions -bsd # NeXT
#M_CFLAGS= -qlanglvl=ansi # RS6000/AIX
#M_CFLAGS= -qlanglvl=ansi -D_AIX32 # RS6000/AIX 3.2
-#M_CFLAGS= -ansi # sgi/IRIX 3.x ansi
-#M_CFLAGS= -xansi # sgi/IRIX 4.x ext ansi
+#M_CFLAGS= -ansi # sgi/IRIX 3.x ansi
+#M_CFLAGS= -xansi # sgi/IRIX 4.x ext ansi
#M_CFLAGS= -YBSD # Ultrix 4.x
#M_CFLAGS= -DSVR4=1 # Bob Kline rvk@blink.att.com 80386 Unix SVR4.0
#M_CFLAGS= -D_CX_UX # Ken Beal kbeal@amber.ssd.csd.harris.com Harris CX/UX
diff --git a/src/doc/screen.1 b/src/doc/screen.1
index ecd5632..5448ffb 100644
--- a/src/doc/screen.1
+++ b/src/doc/screen.1
@@ -51,8 +51,8 @@ windows, turn output logging on and off, copy-and-paste text
between
windows, view the scrollback history, switch between windows
in whatever manner you wish, etc. All windows run their programs completely
independent of each other. Programs continue to run when their window
-is currently not visible and even when the whole
-.I screen
+is currently not visible and even when the whole
+.I screen
session is detached from the user's terminal. When a program terminates,
.I screen
(per default) kills the window that contained it.
@@ -71,10 +71,10 @@ The command character and all the key bindings can be fully
customized
to be anything you like, though they are always two characters in length.
.PP
.I Screen
-does not understand the prefix \*QC-\*U to mean control, although this
notation is
-used in this manual for readability.
+does not understand the prefix \*QC-\*U to mean control, although this
notation is
+used in this manual for readability.
Please use the caret notation (\*Q^A\*U instead of \*QC-a\*U) as arguments
-to e.g. the
+to e.g. the
.I escape
command or the \fI-e\fP option.
.I Screen
@@ -140,7 +140,7 @@ optimal update of the screen in all circumstances. Most
terminals
nowadays have \*Qmagic\*U margins (automatic margins plus usable last
column). This is the VT100 style type and perfectly suited for
.IR screen .
-If all you've got is a \*Qtrue\*U auto-margin terminal
+If all you've got is a \*Qtrue\*U auto-margin terminal
.I screen
will be content to use it, but updating a character put into the last
position on the screen may not be possible until the screen scrolls or
@@ -238,7 +238,7 @@ This can also be defined through the \*Qdeflogin\*U
.screenrc command.
.BR \-ls " [" \fImatch ]
.PD 0
.TP 5
-.BR \-list " [" \fImatch ]
+.BR \-list " [" \fImatch ]
.PD
does not start
.IR screen ,
@@ -248,15 +248,15 @@ strings identifying your
.I screen
sessions.
Sessions marked `detached' can be resumed with \*Qscreen \-r\*U. Those marked
-`attached' are running and have a controlling terminal. If the session runs in
+`attached' are running and have a controlling terminal. If the session runs in
multiuser mode, it is marked `multi'. Sessions marked as `unreachable' either
live on a different host or are `dead'.
An unreachable session is considered dead, when its name
matches either the name of the local host, or the specified parameter, if any.
See the \fB-r\fP flag for a description how to construct matches.
-Sessions marked as `dead' should be thoroughly checked and removed.
-Ask your system administrator if you are not sure. Remove sessions with the
-\fB-wipe\fP option.
+Sessions marked as `dead' should be thoroughly checked and removed.
+Ask your system administrator if you are not sure. Remove sessions with the
+\fB-wipe\fP option.
.TP 5
.B \-L
tells
@@ -304,13 +304,13 @@ will create a new window. The command will not be
executed if the specified window could not be found.
.TP 5
.B \-q
-Suppress printing of error messages. In combination with \*Q-ls\*U the exit
-value is as follows: 9 indicates a directory without sessions. 10
-indicates a directory with running but not attachable sessions. 11 (or more)
+Suppress printing of error messages. In combination with \*Q-ls\*U the exit
+value is as follows: 9 indicates a directory without sessions. 10
+indicates a directory with running but not attachable sessions. 11 (or more)
indicates 1 (or more) usable sessions.
-In combination with \*Q-r\*U the exit value is as follows: 10 indicates that
-there is no session to resume. 12 (or more) indicates that there are 2 (or
-more) sessions to resume and you should specify which one to choose.
+In combination with \*Q-r\*U the exit value is as follows: 10 indicates that
+there is no session to resume. 12 (or more) indicates that there are 2 (or
+more) sessions to resume and you should specify which one to choose.
In all other cases \*Q-q\*U has no effect.
.TP 5
.B \-Q
@@ -362,7 +362,7 @@ had not been specified. The option is set by default if
is run as a login-shell (actually screen uses \*Q\-xRR\*U in that case).
For combinations with the \fB\-d\fP/\fB\-D\fP option see there.
.TP 5
-.BI "\-s " program
+.BI "\-s " program
sets the default shell to the program specified, instead of the value
in the environment variable $SHELL (or \*Q/bin/sh\*U if not defined).
This can also be defined through the \*Qshell\*U .screenrc command.
@@ -393,7 +393,7 @@ Print version number.
.BR \-wipe " [" \fImatch ]
does the same as \*Qscreen \-ls\*U, but removes destroyed sessions instead of
marking them as `dead'.
-An unreachable session is considered dead, when its name matches either
+An unreachable session is considered dead, when its name matches either
the name of the local host, or the explicitly given parameter, if any.
See the \fB-r\fP flag for a description how to construct matches.
.TP 5
@@ -402,7 +402,7 @@ Attach to a not detached
.I screen
session. (Multi display mode).
.I Screen
-refuses to attach from within itself.
+refuses to attach from within itself.
But when cascading multiple screens, loops are not detected; take care.
.TP 5
.B \-X
@@ -732,7 +732,7 @@ C-a C-],
C-a ]
T};(paste .);T{
Write the contents of the paste buffer to the stdin queue of the
-current window.
+current window.
T}
_
T{
@@ -793,7 +793,7 @@ is invoked, it executes initialization commands from the
files
\*Q/usr/local/etc/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
+global screenrc file
.I screen
searches for the environment variable $SYSTEM_SCREENRC (this override feature
may be disabled at compile-time). The user specific
@@ -811,9 +811,9 @@ A command's arguments are separated by tabs or spaces, and
may be
surrounded by single or double quotes.
A `#' turns the rest of the line into a comment, except in quotes.
Unintelligible lines are warned about and ignored.
-Commands may contain references to environment variables. The
-syntax is the shell-like "$VAR " or "${VAR}". Note that this causes
-incompatibility with previous
+Commands may contain references to environment variables. The
+syntax is the shell-like "$VAR " or "${VAR}". Note that this causes
+incompatibility with previous
.I screen
versions, as now the '$'-character has to be protected with '\e' if no
variable substitution shall be performed. A string in single-quotes is also
@@ -842,7 +842,7 @@ executed. To add a user with restricted access, use the
`aclchg' command below.
If an optional second parameter is supplied, it should be a crypted password
for the named user(s). `Addacl' is a synonym to `acladd'.
Multi user mode only.
-.RE
+.RE
.TP
.BI aclchg " usernames permbits list"
.TP
@@ -852,20 +852,20 @@ Multi user mode only.
Change permissions for a comma separated list of users. Permission bits are
represented as `r', `w' and `x'. Prefixing `+' grants the permission, `\-'
removes it. The third parameter is a comma separated list of commands and/or
-windows (specified either by number or title). The special list `#' refers to
+windows (specified either by number or title). The special list `#' refers to
all windows, `?' to all commands. if \fIusernames\fP consists of a single `*',
all known users are affected.
.PP
A command can be executed when the user has the `x' bit for it.
The user can type input to a window when he has its `w' bit set and no other
-user obtains a writelock for this window.
-Other bits are currently ignored.
+user obtains a writelock for this window.
+Other bits are currently ignored.
To withdraw the writelock from another user in window 2:
`aclchg \fIusername\fP \-w+w 2'.
To allow read-only access to the session: `aclchg \fIusername\fP
\-w \&"#\&"'. As soon as a user's name is known to
-.I screen
-he can attach to the session and (per default) has full permissions for all
+.I screen
+he can attach to the session and (per default) has full permissions for all
command and windows. Execution permission for the acl commands, `at' and others
should also be removed or the user may be able to regain write permission.
Rights of the special username
@@ -888,7 +888,7 @@ Multi user mode only.
.BI aclgrp " username " \fR[\fP groupname \fR]\fP
.RS 0
.PP
-Creates groups of users that share common access rights. The name of the
+Creates groups of users that share common access rights. The name of the
group is the username of the group leader. Each member of the group inherits
the permissions that are granted to the group leader. That means, if a user
fails an access check, another check is made for the group leader.
@@ -906,13 +906,13 @@ This specifies the access other users have to windows
that will be created by
the caller of the command.
.I Users
may be no, one or a comma separated list of known usernames. If no users are
-specified, a list of all currently known users is assumed.
+specified, a list of all currently known users is assumed.
.I Bits
-is any combination of access control bits allowed defined with the
+is any combination of access control bits allowed defined with the
\*Qaclchg\*U command. The special username \*Q?\*U predefines the access
that not yet known users will be granted to any window initially.
-The special username \*Q??\*U predefines the access that not yet known
-users are granted to any command.
+The special username \*Q??\*U predefines the access that not yet known
+users are granted to any command.
Rights of the special username
.B nobody
cannot be changed (see the \*Qsu\*U command).
@@ -943,7 +943,7 @@ by use of the \*Qmonitor\*U command (C-a M).
.RS 0
.PP
If set to on, only the current cursor line is refreshed on window change.
-This affects all windows and is useful for slow terminal lines. The
+This affects all windows and is useful for slow terminal lines. The
previous setting of full/partial refresh for each window is restored
with \*Qallpartial off\*U. This is a global flag that immediately takes effect
on all windows overriding the \*Qpartial\*U settings. It does not change the
@@ -962,31 +962,31 @@ just like in xterm. Initial setting is `off'.
.PP
Execute a command at other displays or windows as if it had been entered there.
\*QAt\*U changes the context (the `current window' or `current display'
-setting) of the command. If the first parameter describes a
-non-unique context, the command will be executed multiple times. If the first
+setting) of the command. If the first parameter describes a
+non-unique context, the command will be executed multiple times. If the first
parameter is of the form `\fIidentifier\fP*' then identifier is matched against
-user names. The command is executed once for each display of the selected
-user(s). If the first parameter is of the form `\fIidentifier\fP%' identifier
-is matched against displays. Displays are named after the ttys they
+user names. The command is executed once for each display of the selected
+user(s). If the first parameter is of the form `\fIidentifier\fP%' identifier
+is matched against displays. Displays are named after the ttys they
attach. The prefix `/dev/' or `/dev/tty' may be omitted from the identifier.
-If \fIidentifier\fP has a `#' or nothing appended it is matched against
-window numbers and titles. Omitting an identifier in front of the `#', `*' or
+If \fIidentifier\fP has a `#' or nothing appended it is matched against
+window numbers and titles. Omitting an identifier in front of the `#', `*' or
`%'-character selects all users, displays or windows because a prefix-match is
performed. Note that on the affected display(s) a short message will describe
what happened. Permission is checked for initiator of the \*Qat\*U command,
not for the owners of the affected display(s).
Note that the '#' character works as a comment introducer when it is preceded
by
-whitespace. This can be escaped by prefixing a '\e'.
+whitespace. This can be escaped by prefixing a '\e'.
Permission is checked for the initiator of the \*Qat\*U command, not for the
owners of the affected display(s).
.PP
-Caveat:
-When matching against windows, the command is executed at least
+Caveat:
+When matching against windows, the command is executed at least
once per window. Commands that change the internal arrangement of windows
(like \*Qother\*U) may be called again. In shared windows the command will
be repeated for each attached display. Beware, when issuing toggle commands
like \*Qlogin\*U!
-Some commands (e.g. \*Qprocess\*U) require that
+Some commands (e.g. \*Qprocess\*U) require that
a display is associated with the target windows. These commands may not work
correctly under \*Qat\*U looping over windows.
.RE
@@ -1026,13 +1026,13 @@ Make bright colored text also bold.
.BR "autodetach on" | off
.RS 0
.PP
-Sets whether
+Sets whether
.I screen
will automatically detach upon hangup, which
saves all your running programs until they are resumed with a
.B "screen \-r"
command.
-When turned off, a hangup signal will terminate
+When turned off, a hangup signal will terminate
.I screen
and all the processes it contains. Autodetach is on by default.
.RE
@@ -1141,7 +1141,7 @@ Some examples:
would bind the space key to the command that displays a list
of windows (so that the command usually invoked by \*QC-a C-w\*U
would also be available as \*QC-a space\*U). The next three lines
-remove the default kill binding from \*QC-a C-k\*U and \*QC-a k\*U.
+remove the default kill binding from \*QC-a C-k\*U and \*QC-a k\*U.
\*QC-a K\*U is then bound to the kill command. Then it
binds \*QC-f\*U to the command \*Qcreate a window with a TELNET
connection to foobar\*U, and bind \*Qescape\*U to the command
@@ -1255,7 +1255,7 @@ escape (besides ^A).
.PP
Send a break signal for \fIduration\fP*0.25 seconds to this window.
For non-Posix systems the time interval may be rounded up to full seconds.
-Most useful if a character device is attached to the window rather than
+Most useful if a character device is attached to the window rather than
a shell process (See also chapter \*QWINDOW TYPES\*U). The maximum duration of
a break signal is limited to 15 seconds.
.RE
@@ -1264,7 +1264,7 @@ a break signal is limited to 15 seconds.
.RS 0
.PP
Activate the screen blanker. First the screen is cleared. If no blanker
-program is defined, the cursor is turned off, otherwise, the
+program is defined, the cursor is turned off, otherwise, the
program is started and it's output is written to the screen.
The screen blanker is killed with the first keypress, the read key
is discarded.
@@ -1295,9 +1295,9 @@ current window.
.RS 0
.PP
Change the filename used for reading and writing with the paste buffer.
-If the optional argument to the \*Qbufferfile\*U command is omitted,
+If the optional argument to the \*Qbufferfile\*U command is omitted,
the default setting (\*Q/tmp/screen\-exchange\*U) is reactivated.
-The following example will paste the system's password file into
+The following example will paste the system's password file into
the
.I screen
window (using the paste buffer, where a copy remains):
@@ -1327,7 +1327,7 @@ Change c1 code processing. \*QC1 on\*U tells screen to
treat
the input characters between 128 and 159 as control functions.
Such an 8-bit code is normally the same as ESC followed by the
corresponding 7-bit code. The default setting is to process c1
-codes and can be changed with the \*Qdefc1\*U command.
+codes and can be changed with the \*Qdefc1\*U command.
Users with fonts that have usable characters in the
c1 positions may want to turn this off.
.RE
@@ -1352,7 +1352,7 @@ a default of `%3n %t'.
You can mix both forms by providing a string as an additional argument.
.P
You can have the caption displayed either at the top or bottom of the window.
-The default is
+The default is
.BR bottom .
.RE
.TP
@@ -1416,14 +1416,14 @@ Reorders window on window list, removing number gaps
between them.
.IR "\fBcolon " [ prefix ]
.RS 0
.PP
-Allows you to enter \*Q.screenrc\*U command lines. Useful
-for on-the-fly modification of key bindings,
+Allows you to enter \*Q.screenrc\*U command lines. Useful
+for on-the-fly modification of key bindings,
specific window creation and changing settings. Note that the \*Qset\*U
-keyword no longer exists! Usually commands affect the current window rather
+keyword no longer exists! Usually commands affect the current window rather
than default settings for future windows. Change defaults with commands
starting with 'def...'.
.PP
-If you consider this as the `Ex command mode' of
+If you consider this as the `Ex command mode' of
.IR screen ,
you may regard \*QC-a esc\*U (copy mode) as its `Vi command mode'.
.RE
@@ -1496,7 +1496,7 @@ _
_
\fBH\fP, \fBM\fP and \fBL\fP@T{
move the cursor to the leftmost column
-of the top, center or bottom line of the window.
+of the top, center or bottom line of the window.
T}
_
\fB|\fP@moves to the specified absolute column.
@@ -1533,8 +1533,8 @@ while preserving the cursor position.
T}
_
\fBC-u\fP and \fBC-d\fP@T{
-scroll the display up/down by the specified amount of
-lines while preserving the cursor position. (Default: half screen-full).
+scroll the display up/down by the specified amount of
+lines while preserving the cursor position. (Default: half screen-full).
T}
_
\fBC-b\fP and \fBC-f\fP@scroll the display up/down a full screen.
@@ -1551,7 +1551,7 @@ for a full emacs-style keymap, as this involves
multi-character codes.
.PP
Some keys are defined to do mark and replace operations.
.PP
-The copy range is specified by setting two marks. The text between these marks
+The copy range is specified by setting two marks. The text between these marks
will be highlighted. Press:
.IP
\fBspace\fP or \fBenter\fP to set the first or second mark
@@ -1559,16 +1559,16 @@ respectively. If \fBmousetrack\fP is set to `on', marks
can also be set using
\fPleft mouse click\fP.
.PP
.IP
-\fBY\fP and \fBy\fP used to mark one whole line or to mark from
+\fBY\fP and \fBy\fP used to mark one whole line or to mark from
start of line.
.IP
-\fBW\fP marks exactly one word.
+\fBW\fP marks exactly one word.
.PP
-Any of these commands can be prefixed with a repeat count number by pressing
-digits
+Any of these commands can be prefixed with a repeat count number by pressing
+digits
.IP
\fB0\fP..\fB9\fP which
-is taken as a repeat count.
+is taken as a repeat count.
.PP
Example: \*QC-a C-[ H 10 j 5 Y\*U will copy lines
11 to 15 into the paste buffer.
@@ -1578,7 +1578,7 @@ The folllowing search keys are defined:
\fB/\fP \fIVi\fP-like search forward.
.IP
\fB?\fP \fIVi\fP-like search backward.
-.IP
+.IP
\fBC-a s\fP \fIEmacs\fP style incremental search forward.
.IP
\fBC-r\fP \fIEmacs\fP style reverse i-search.
@@ -1597,7 +1597,7 @@ does. Press: \fBc\fP or \fBC\fP to set the left or right
margin
respectively. If no repeat count is given, both default to the current
cursor position.
.PP
-Example: Try this on a rather full text screen:
+Example: Try this on a rather full text screen:
.sp 1
.RS
\*QC-a [ M 20 l SPACE c 10 l 5 j C SPACE\*U.
@@ -1620,9 +1620,9 @@ whitespace and comma separated lines. Note that you can
prepend the newline
character with a carriage return character, by issuing a \*Qcrlf on\*U.
.PP
\fBv\fP or \fBV\fP is for all the
-.I vi
+.I vi
users with \*Q:set numbers\*U \- it toggles the left margin between column 9
-and 1. Press
+and 1. Press
.PP
\fBa\fP before the final space key to toggle in append mode. Thus
the contents of the paste buffer will not be overwritten, but is appended to.
@@ -1631,9 +1631,9 @@ the contents of the paste buffer will not be overwritten,
but is appended to.
.PP
\fB>\fP sets the (second) mark and writes the contents of the paste buffer to
the screen-exchange file (/tmp/screen\-exchange per default) once copy-mode is
-finished.
+finished.
.PP
-This example demonstrates how to dump the whole scrollback buffer
+This example demonstrates how to dump the whole scrollback buffer
to that file: \*QC-A [ g SPACE G $ >\*U.
.PP
\fBC-g\fP gives information about the current line and column.
@@ -1658,7 +1658,7 @@ No longer exists, use \*Qreadreg\*U instead.
.RS 0
.PP
This affects the copying of text regions with the `C-a [' command. If it is set
-to `on', lines will be separated by the two character sequence `CR' - `LF'.
+to `on', lines will be separated by the two character sequence `CR' - `LF'.
Otherwise (default) only `LF' is used.
When no parameter is given, the state is toggled.
.RE
@@ -1689,14 +1689,14 @@ windows is changed. Initial setting is `off'.
.RS 0
.PP
Choose one of the available methods of generating a break signal for
-terminal devices. The preferred methods are
+terminal devices. The preferred methods are
.IR tcsendbreak " and " TIOCSBRK .
-The third,
-.IR TCSBRK ,
-blocks the complete
+The third,
+.IR TCSBRK ,
+blocks the complete
.I screen
session for the duration
-of the break, but it may be the only way to generate long breaks.
+of the break, but it may be the only way to generate long breaks.
.IR Tcsendbreak " and " TIOCSBRK
may or may not produce long breaks with spikes (e.g. 4 per
second). This is not only system-dependent, this also differs between
@@ -1723,7 +1723,7 @@ section.
.BI "defescape " xy
.RS 0
.PP
-Set the default command characters. This is equivalent to the
+Set the default command characters. This is equivalent to the
\*Qescape\*U except that it is useful multiuser sessions only. In a
multiuser session \*Qescape\*U changes the command character of the
calling user, where \*Qdefescape\*U changes the default command
@@ -1733,12 +1733,12 @@ characters for users that will be added later.
.BR "defflow " on | off | "auto " [ interrupt ]
.RS 0
.PP
-Same as the \fBflow\fP command except that the default setting for new windows
+Same as the \fBflow\fP command except that the default setting for new windows
is changed. Initial setting is `auto'.
Specifying \*Qdefflow auto interrupt\*U is the same as the command-line options
.B \-fa
and
-.BR \-i .
+.BR \-i .
.RE
.TP
.BR "defgr on" | off
@@ -1777,14 +1777,14 @@ terminal.
.BR "deflog on" | off
.RS 0
.PP
-Same as the \fBlog\fP command except that the default setting for new windows
+Same as the \fBlog\fP command except that the default setting for new windows
is changed. Initial setting is `off'.
.RE
.TP
.BR "deflogin on" | off
.RS 0
.PP
-Same as the \fBlogin\fP command except that the default setting for new
windows
+Same as the \fBlogin\fP command except that the default setting for new windows
is changed. This is initialized with `on' as distributed (see config.h.in).
.RE
.TP
@@ -1799,7 +1799,7 @@ When no \*Qdefmode\*U command is given, mode 0622 is used.
.BR "defmonitor on" | off
.RS 0
.PP
-Same as the \fBmonitor\fP command except that the default setting for new
+Same as the \fBmonitor\fP command except that the default setting for new
windows is changed. Initial setting is `off'.
.RE
.TP
@@ -1828,7 +1828,7 @@ want to have a dependency on the terminal type.
.BI "defscrollback " num
.RS 0
.PP
-Same as the \fBscrollback\fP command except that the default setting for new
+Same as the \fBscrollback\fP command except that the default setting for new
windows is changed. Initial setting is 100.
.RE
.TP
@@ -1863,22 +1863,22 @@ windows is changed. Initial setting is `on' if screen
was started with
.BR "defwrap on" | off
.RS 0
.PP
-Same as the \fBwrap\fP command except that the default setting for new
-windows is changed. Initially line-wrap is on and can be toggled with the
+Same as the \fBwrap\fP command except that the default setting for new
+windows is changed. Initially line-wrap is on and can be toggled with the
\*Qwrap\*U command (\*QC-a r\*U) or by means of "C-a : wrap on|off".
.RE
.TP
.BR "defwritelock on" | off | auto
.RS 0
.PP
-Same as the \fBwritelock\fP command except that the default setting for new
+Same as the \fBwritelock\fP command except that the default setting for new
windows is changed. Initially writelocks will off.
.RE
.TP
.BR "detach " [ \-h ]
.RS 0
.PP
-Detach the
+Detach the
.I screen
session (disconnect it from the terminal and put it into the background).
This returns you to the shell where you invoked
@@ -2020,17 +2020,17 @@ if a zero value is provided for the
.RS 0
.PP
Write the termcap entry for the virtual terminal optimized for the currently
-active window to the file \*Q.termcap\*U in the user's
-\*Q$HOME/.screen\*U directory (or wherever
+active window to the file \*Q.termcap\*U in the user's
+\*Q$HOME/.screen\*U directory (or wherever
.I screen
stores its sockets. See the \*QFILES\*U section below).
This termcap entry is identical to the value of the environment variable
$TERMCAP that is set up by
.I screen
for each window. For terminfo based systems you will need to run a converter
-like
+like
.IR captoinfo
-and then compile the entry with
+and then compile the entry with
.IR tic .
.RE
.TP
@@ -2044,10 +2044,10 @@ when seeing proper escape sequence. See also "TITLES
(naming windows)" section.
.BR "echo " [ \-n ] " \fImessage\fP"
.RS 0
.PP
-The echo command may be used to annoy
+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 /local/etc/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.
@@ -2056,8 +2056,8 @@ Echo is also useful for online checking of environment
variables.
.BI "encoding " "enc " \fR[\fP enc \fR]\fP
.RS 0
.PP
-Tell
-.I screen
+Tell
+.I screen
how to interpret the input/output. The first argument
sets the encoding of the current window. Each window can emulate
a different encoding. The optional second parameter overwrites
@@ -2097,10 +2097,10 @@ Parses and executes each argument as separate command.
.IR "\fBexec\fP " [[ fdpat ] "newcommand " [ "args ..." ]]
.RS 0
.PP
-Run a unix subprocess (specified by an executable path \fInewcommand\fP and
its
-optional arguments) in the current window. The flow of data between
-newcommands stdin/stdout/stderr, the process originally started in the window
-(let us call it "application-process") and screen itself (window) is
+Run a unix subprocess (specified by an executable path \fInewcommand\fP and its
+optional arguments) in the current window. The flow of data between
+newcommands stdin/stdout/stderr, the process originally started in the window
+(let us call it "application-process") and screen itself (window) is
controlled by the file descriptor pattern fdpat.
This pattern is basically a three character sequence representing stdin, stdout
and stderr of newcommand. A dot (.) connects the file descriptor
@@ -2109,9 +2109,9 @@ to
An exclamation mark (!) causes the file
descriptor to be connected to the application-process. A colon (:) combines
both.
-User input will go to newcommand unless newcommand receives the
-application-process'
-output (fdpats first character is `!' or `:') or a pipe symbol (|) is added
+User input will go to newcommand unless newcommand receives the
+application-process'
+output (fdpats first character is `!' or `:') or a pipe symbol (|) is added
(as a fourth character) to the end of fdpat.
.PP
Invoking `exec' without arguments shows name and arguments of the currently
@@ -2144,7 +2144,7 @@ exec /bin/sh
.TP
!/bin/sh
.sp
-Creates another shell in the same window, while the original shell is still
+Creates another shell in the same window, while the original shell is still
running. Output of both shells is displayed and user input is sent to the new
/bin/sh.
.TP
@@ -2154,7 +2154,7 @@ exec ! stty 19200
.TP
!!stty 19200
.sp 1
-Set the speed of the window's tty. If your stty command operates on stdout,
+Set the speed of the window's tty. If your stty command operates on stdout,
then add another `!'.
.TP
exec !..| less
@@ -2162,14 +2162,14 @@ exec !..| less
|less
.sp 1
This adds a pager to the window output. The special character `|' is needed to
-give the user control over the pager although it gets its input from the
+give the user control over the pager although it gets its input from the
window's process. This works, because
.I less
listens on stderr (a behavior that
.I screen
-would not expect without the `|')
-when its stdin is not a tty.
-.I Less
+would not expect without the `|')
+when its stdin is not a tty.
+.I Less
versions newer than 177 fail miserably here; good old
.I pg
still works.
@@ -2197,9 +2197,9 @@ automatically if the window is displayed more than once.
.RS 0
.PP
Sets the flow-control mode for this window.
-Without parameters it cycles the current window's flow-control setting from
+Without parameters it cycles the current window's flow-control setting from
"automatic" to "on" to "off".
-See the discussion on \*QFLOW-CONTROL\*U later on in this document for full
+See the discussion on \*QFLOW-CONTROL\*U later on in this document for full
details and note, that this is subject to change in future releases.
Default is set by `defflow'.
.RE
@@ -2288,7 +2288,7 @@ current group is displayed.
.PP
Writes out the currently displayed image to the file \fIfile\fP,
or, if no filename is specified, to \fIhardcopy.n\fP in the
-default directory, where \fIn\fP is the number of the current window.
+default directory, where \fIn\fP is the number of the current window.
This either appends or overwrites the file if it exists. See below.
If the option \fB\-h\fP is specified, dump also the contents of the
scrollback buffer.
@@ -2297,9 +2297,9 @@ scrollback buffer.
.BR "hardcopy_append on" | off
.RS 0
.PP
-If set to "on",
+If set to "on",
.I screen
-will append to the "hardcopy.n" files created by the command \*QC-a h\*U,
+will append to the "hardcopy.n" files created by the command \*QC-a h\*U,
otherwise these files are overwritten each time.
Default is `off'.
.RE
@@ -2329,22 +2329,22 @@ flag is set to `off', these messages
are overlaid in reverse video mode at the display line. The default
setting is `on'.
.P
-The second form tells
-.I screen
+The second form tells
+.I screen
what to do if the terminal doesn't
have a hardstatus line (i.e. the termcap/terminfo capabilities
"hs", "ts", "fs" and "ds" are not set).
-When \*Qfirstline/lastline\*U is used,
-.I screen
+When \*Qfirstline/lastline\*U is used,
+.I screen
will reserve the first/last line of the display for
-the hardstatus. \*Qmessage\*U uses
+the hardstatus. \*Qmessage\*U uses
.I screen's
message mechanism and
-\*Qignore\*U tells
-.I screen
+\*Qignore\*U tells
+.I screen
never to display the hardstatus.
-If you prepend the word \*Qalways\*U to the type (e.g., \*Qalwayslastline\*U),
-.I screen
+If you prepend the word \*Qalways\*U to the type (e.g., \*Qalwayslastline\*U),
+.I screen
will use the type even if the terminal supports a hardstatus.
.P
The third form specifies the contents of the hardstatus line. '%h' is
@@ -2377,9 +2377,9 @@ vice versa.
.BR help [ \fIclass\fP ]
.RS 0
.PP
-Not really a online help, but
-displays a help
-.I screen
+Not really a online help, but
+displays a help
+.I screen
showing you all the key bindings.
The first pages list all the internal commands followed by their current
bindings.
@@ -2394,16 +2394,16 @@ See also \*QDEFAULT KEY BINDINGS\*U section.
.RS 0
.PP
Usually users work with a shell that allows easy access to previous commands.
-For example csh has the command \*Q!!\*U to repeat the last command executed.
+For example csh has the command \*Q!!\*U to repeat the last command executed.
.I Screen
allows you to have a primitive way of re-calling \*Qthe command that
started ...\*U: You just type the first letter of that command, then hit
`C-a {' and
.I screen
-tries to find a previous line that matches with the `prompt character'
+tries to find a previous line that matches with the `prompt character'
to the left of the cursor. This line is pasted into this window's input queue.
Thus you have a crude command history (made up by the visible window and its
-scrollback buffer).
+scrollback buffer).
.RE
.TP
.BI "hstatus " status
@@ -2435,7 +2435,7 @@ Tell screen to ignore the case of characters in searches.
Default is
.PP
Uses the message line to display some information about the current window:
the cursor position in the form \*Q(column,row)\*U starting with \*Q(1,1)\*U,
-the terminal width and height plus the size of the scrollback buffer in lines,
+the terminal width and height plus the size of the scrollback buffer in lines,
like in \*Q(80,24)+50\*U, the current state of window XON/XOFF flow control
is shown like this (See also section FLOW CONTROL):
.TS
@@ -2450,8 +2450,8 @@ l l.
.TE
The current line wrap setting (`+wrap' indicates enabled, `\-wrap' not) is
-also shown. The flags `ins', `org', `app', `log', `mon' or `nored' are
-displayed when the window is in insert mode, origin mode,
+also shown. The flags `ins', `org', `app', `log', `mon' or `nored' are
+displayed when the window is in insert mode, origin mode,
application-keypad mode, has output logging,
activity monitoring or partial redraw enabled.
@@ -2480,15 +2480,15 @@ No longer exists, use \*Qpaste\*U instead.
Kill current window.
.PP
If there is an `exec' command running then it is killed. Otherwise the process
-(shell) running in the window receives a HANGUP condition,
-the window structure is removed and
-.I screen
+(shell) running in the window receives a HANGUP condition,
+the window structure is removed and
+.I screen
(your display) switches to another
-window. When the last window is destroyed,
+window. When the last window is destroyed,
.I screen
exits.
-After a kill
-.I screen
+After a kill
+.I screen
switches to the previously displayed window.
.PP
Note:
@@ -2503,7 +2503,7 @@ escape key or to rebind kill to \*QC-a K\*U.
.RS 0
.PP
Redisplay the last contents of the message/status line.
-Useful if you're typing when a message appears, because the message goes
+Useful if you're typing when a message appears, because the message goes
away when you press a key (unless your terminal has a hardware status line).
Refer to the commands \*Qmsgwait\*U and \*Qmsgminwait\*U for fine tuning.
.RE
@@ -2621,7 +2621,7 @@ current status is displayed on the message line.
.BR "layout dump " [\fIfilename\fP]
.RS 0
.PP
-Write to a file the order of splits made in the current layout. This
+Write to a file the order of splits made in the current layout. This
is useful to recreate the order of your regions used in your current
layout. Only the current layout is recorded. While the order of the
regions are recorded, the sizes of those regions and which windows
@@ -2642,7 +2642,7 @@ will save or append the layout to the user's
\fI.screenrc\fP file.
.PP
Display the disclaimer page. This is done whenever
.I screen
-is started without options, which should be often enough. See also
+is started without options, which should be often enough. See also
the \*Qstartup_message\*U command.
.RE
.TP
@@ -2652,14 +2652,14 @@ the \*Qstartup_message\*U command.
Lock this display.
Call a screenlock program (/local/bin/lck or /usr/bin/lock or a builtin if no
other is available). Screen does not accept any command keys until this program
-terminates. Meanwhile processes in the windows may continue, as the windows
+terminates. Meanwhile processes in the windows may continue, as the windows
are in the `detached' state. The screenlock program may be changed through the
-environment variable $LOCKPRG (which must be set in the shell from which
+environment variable $LOCKPRG (which must be set in the shell from which
.I screen
is started) and is executed with the user's uid and gid.
.PP
-Warning:
-When you leave other shells unlocked and you have no password set on
+Warning:
+When you leave other shells unlocked and you have no password set on
.IR screen ,
the lock is void: One could easily re-attach from an unlocked
shell. This feature should rather be called `lockterminal'.
@@ -2668,12 +2668,12 @@ shell. This feature should rather be called
`lockterminal'.
.BR "log " [ on | off ]
.RS 0
.PP
-Start/stop writing output of the current window to a file
-\*Qscreenlog.\fIn\fP\*U in the window's default directory, where \fIn\fP
+Start/stop writing output of the current window to a file
+\*Qscreenlog.\fIn\fP\*U in the window's default directory, where \fIn\fP
is the number of the current window. This filename can be changed with
the `logfile' command. If no parameter is given, the state
-of logging is toggled. The session log is appended to the previous contents
-of the file if it already exists. The current contents and the contents
+of logging is toggled. The session log is appended to the previous contents
+of the file if it already exists. The current contents and the contents
of the scrollback history are not included in the session log.
Default is `off'.
.RE
@@ -2699,11 +2699,11 @@ When no parameter is given, the login state of the
window is toggled.
Additionally to that toggle, it is convenient having a `log in' and a `log out'
key. E.\|g. `bind I login on' and `bind O login off' will map these
keys to be C-a I and C-a O.
-The default setting (in config.h.in) should be \*Qon\*U for a
+The default setting (in config.h.in) should be \*Qon\*U for a
.I screen
that runs under suid-root.
-Use the \*Qdeflogin\*U command to change the default login state for new
-windows. Both commands are only present when
+Use the \*Qdeflogin\*U command to change the default login state for new
+windows. Both commands are only present when
.I screen
has been compiled with utmp support.
.RE
@@ -2716,11 +2716,11 @@ has been compiled with utmp support.
.RS 0
.RI [ string ]
.PP
-This command controls logfile time-stamp mechanism of
+This command controls logfile time-stamp mechanism of
.I screen.
If
-time-stamps are turned \*Qon\*U,
-.I screen
+time-stamps are turned \*Qon\*U,
+.I screen
adds a string containing
the current time to the logfile after two minutes of inactivity.
When output continues and more than another two minutes have passed,
@@ -2734,8 +2734,8 @@ default).
.B mapdefault
.RS 0
.PP
-Tell
-.I screen
+Tell
+.I screen
that the next input character should only be looked up
in the default bindkey table. See also \*Qbindkey\*U.
.RE
@@ -2762,7 +2762,7 @@ See also \*Qbindkey\*U.
.PP
This is a method of changing the keymap used for copy/history mode.
The string is made up of \fIoldchar\fP=\fInewchar\fP pairs which are
-separated by `:'. Example: The string \*QB=^B:F=^F\*U will change the
+separated by `:'. Example: The string \*QB=^B:F=^F\*U will change the
keys `C-b' and `C-f' to the vi style binding (scroll up/down fill page).
This happens to be the default binding for `B' and `F'.
The command \*Qmarkkeys h=^B:l=^F:$=^E\*U would set the mode for an emacs-style
@@ -2771,7 +2771,7 @@ If your terminal sends characters, that cause you to
abort copy mode,
then this command may help by binding these characters to do nothing.
The no-op character is `@' and is used like this: \*Qmarkkeys
@=L=H\*U if you do not want to use the `H' or `L' commands any longer.
-As shown in this example, multiple keys can be assigned to one function in a
+As shown in this example, multiple keys can be assigned to one function in a
single statement.
.RE
.TP
@@ -2816,16 +2816,16 @@ is determined by the \*Qdefmousetrack\*U command.
.BI "msgminwait " sec
.RS 0
.PP
-Defines the time
-.I screen
-delays a new message when one message is currently displayed.
+Defines the time
+.I screen
+delays a new message when one message is currently displayed.
The default is 1 second.
.RE
.TP
.BI "msgwait " sec
.RS 0
.PP
-Defines the time a message is displayed if
+Defines the time a message is displayed if
.I screen
is not disturbed by other activity. The default is 5 seconds.
.RE
@@ -2837,9 +2837,9 @@ Switch between singleuser and multiuser mode. Standard
.I screen
operation is singleuser. In multiuser mode the commands `acladd',
`aclchg', `aclgrp' and `acldel'
-can be used to enable (and disable) other users accessing this
+can be used to enable (and disable) other users accessing this
.I screen
-session.
+session.
.RE
.TP
.BR "nethack on" | off
@@ -2852,11 +2852,11 @@ nethack-style messages which will often blur the facts
a little, but are
much funnier to read. Anyway, standard messages often tend to be unclear as
well.
.br
-This option is only
+This option is only
available if
.I screen
was compiled with the NETHACK flag defined. The
-default setting is then determined by the presence of the environment
+default setting is then determined by the presence of the environment
variable $NETHACKOPTIONS and the file ~/.nethackrc - if either one is present,
the default is \fBon\fP.
.RE
@@ -2868,7 +2868,7 @@ Switch to the next window.
This command can be used repeatedly to cycle through the list of windows.
.RE
.PP
-.B nonblock
+.B nonblock
.RB [ on | off | \fInumsecs ]
.RS 0
.PP
@@ -2887,7 +2887,7 @@ the display and redisplay the updated window contents.
.BR "number " [[+|\-] \fIn ]
.RS 0
.PP
-Change the current window's number. If the given number \fIn\fP is already
+Change the current window's number. If the given number \fIn\fP is already
used by another window, both windows exchange their numbers. If no argument is
specified, the current window number (and title) is shown. Using `+' or `\-'
will change the window's number by the relative amount specified.
@@ -2922,7 +2922,7 @@ Switch to the window displayed previously. If this window
does no longer exist,
Defines whether the display should be refreshed (as with \fIredisplay\fP) after
switching to the current window. This command only affects the current window.
To immediately affect all windows use the \fIallpartial\fP command.
-Default is `off', of course. This default is fixed, as there is currently no
+Default is `off', of course. This default is fixed, as there is currently no
\fIdefpartial\fP command.
.RE
.TP
@@ -2949,28 +2949,28 @@ Default is `none', this disables password checking.
.PP
Write the (concatenated) contents of the specified registers to the stdin queue
of the current window. The register '.' is treated as the
-paste buffer. If no parameter is given the user is prompted for a single
+paste buffer. If no parameter is given the user is prompted for a single
register to paste.
-The paste buffer can be filled with the \fIcopy\fP, \fIhistory\fP and
-\fIreadbuf\fP commands.
-Other registers can be filled with the \fIregister\fP, \fIreadreg\fP and
+The paste buffer can be filled with the \fIcopy\fP, \fIhistory\fP and
+\fIreadbuf\fP commands.
+Other registers can be filled with the \fIregister\fP, \fIreadreg\fP and
\fIpaste\fP commands.
If \fIpaste\fP is called with a second argument, the contents of the specified
-registers is pasted into the named destination register rather than
+registers is pasted into the named destination register rather than
the window. If '.' is used as the second argument, the displays paste buffer is
the destination.
-Note, that \*Qpaste\*U uses a wide variety of resources: Whenever a second
+Note, that \*Qpaste\*U uses a wide variety of resources: Whenever a second
argument is specified no current window is needed. When the source
specification
-only contains registers (not the paste buffer) then there need not be a
current
-display (terminal attached), as the registers are a global resource. The
+only contains registers (not the paste buffer) then there need not be a current
+display (terminal attached), as the registers are a global resource. The
paste buffer exists once for every user.
.RE
.TP
.BR "pastefont " [ on | off ]
.RS 0
.PP
-Tell
-.I screen
+Tell
+.I screen
to include font information in the paste buffer. The
default is not to do so. This command is especially useful for
multi character fonts like kanji.
@@ -2985,11 +2985,11 @@ Reopen the window's terminal line and send a break
condition. See `break'.
.B pow_detach
.RS 0
.PP
-Power detach.
+Power detach.
Mainly the same as \fIdetach\fP, but also sends a HANGUP signal to
the parent process of
.IR screen .
-CAUTION: This will result in a logout, when
+CAUTION: This will result in a logout, when
.I screen
was started from your login-shell.
.RE
@@ -2998,8 +2998,8 @@ was started from your login-shell.
.RS 0
.PP
The \fImessage\fP specified here is output whenever a `Power detach' was
-performed. It may be used as a replacement for a logout message or to reset
-baud rate, etc.
+performed. It may be used as a replacement for a logout message or to reset
+baud rate, etc.
Without parameter, the current message is shown.
.RE
.TP
@@ -3015,8 +3015,8 @@ This command can be used repeatedly to cycle through the
list of windows.
.PP
If
.I cmd
-is not an empty string,
-.I screen
+is not an empty string,
+.I screen
will not use the terminal capabilities
\*Qpo/pf\*U if it detects an ansi print sequence
.BR "ESC [ 5 i" ,
@@ -3037,7 +3037,7 @@ access to your terminal, they will be able to fire off
print commands.
.BR process " [" \fIkey ]
.RS 0
.PP
-Stuff the contents of the specified register into
+Stuff the contents of the specified register into
.IR screen 's
input queue. If no argument is given you are prompted for a
register name. The text is parsed as if it had been typed in from the user's
@@ -3069,13 +3069,13 @@ See also \*Qbufferfile\*U command.
.PP
Does one of two things, dependent on number of arguments: with zero or one
arguments it duplicates the paste buffer contents into the register specified
-or entered at the prompt. With two arguments it reads the contents of the
named
+or entered at the prompt. With two arguments it reads the contents of the named
file into the register, just as \fIreadbuf\fP reads the screen-exchange file
into the paste buffer.
You can tell screen the encoding of the file via the \fB\-e\fP option.
-The following example will paste the system's password file into
-the
-.I screen
+The following example will paste the system's password file into
+the
+.I screen
window (using register p, where a copy remains):
.PP
.nf
@@ -3108,8 +3108,8 @@ Kill the current region. This is a no-op if there is only
one region.
.B "removebuf"
.RS 0
.PP
-Unlinks the screen-exchange file used by the commands \*Qwritebuf\*U and
-\*Qreadbuf\*U.
+Unlinks the screen-exchange file used by the commands \*Qwritebuf\*U and
+\*Qreadbuf\*U.
.RE
.TP
.B "rendition bell" | monitor | silence | so " \fIattr\fR " \fR[\fP
\fIcolor\fP \fR]\fP
@@ -3123,7 +3123,7 @@ The default for monitor is currently \*Q=b \*U (bold,
active colors), for bell \
.TP
.B "reset"
.RS 0
-.PP
+.PP
Reset the virtual terminal to its \*Qpower-on\*U values. Useful when strange
settings (like scroll regions or graphics character set) are left over from
an application.
@@ -3135,7 +3135,7 @@ an application.
.IR n "[%]"
.RB | = | max | min | _ | 0 ]
.RS 0
-.PP
+.PP
Resize the current region. The space will be removed from or added to
the surrounding regions depending on the order of the splits.
The available options for resizing are `-h'(horizontal),
@@ -3209,7 +3209,7 @@ the window number \fIn\fP is assigned to the newly
created window
If a command is specified after \*Qscreen\*U, this command (with the given
arguments) is started in the window; otherwise, a shell is created.
If \fB//group\fP is supplied, a container-type window is created in
-which other windows may be created inside it.
+which other windows may be created inside it.
.PP
Thus, if your \*Q.screenrc\*U contains the lines
.sp
@@ -3222,11 +3222,11 @@ Thus, if your \*Q.screenrc\*U contains the lines
.I screen
creates a shell window (in window #1) and a window with a TELNET connection
to the machine foobar (with no flow-control using the title \*Qfoobar\*U
-in window #2) and will write a logfile (\*Qscreenlog.2\*U) of the telnet
+in window #2) and will write a logfile (\*Qscreenlog.2\*U) of the telnet
session.
Note, that unlike previous versions of
.I screen
-no additional default window is created when \*Qscreen\*U commands are
+no additional default window is created when \*Qscreen\*U commands are
included in your \*Q.screenrc\*U file. When the initialization is completed,
.I screen
switches to the last window specified in your .screenrc file or, if none,
@@ -3239,7 +3239,7 @@ See also chapter \*QWINDOW TYPES\*U.
.B "scrollback \fP\fInum\fP"
.RS 0
.PP
-Set the size of the scrollback buffer for the current windows to \fInum\fP
+Set the size of the scrollback buffer for the current windows to \fInum\fP
lines. The default scrollback is 100 lines.
See also the \*Qdefscrollback\*U command and use \*Qinfo\*U to view the
current setting. To access and use the contents in the scrollback buffer,
@@ -3252,7 +3252,7 @@ use the \*Qcopy\*U command.
Switch to the window identified by \fIWindowID\fP.
This can be a prefix of a window title (alphanumeric window name) or a
window number.
-The parameter is optional and if omitted, you get prompted for an identifier.
+The parameter is optional and if omitted, you get prompted for an identifier.
When a new window is established, the first available number
is assigned to this window.
Thus, the first window can be activated by \*Qselect 0\*U.
@@ -3268,7 +3268,7 @@ latter is useful if used with screen's \*Q\-X\*U option.
.PP
Rename the current session. Note, that for \*Qscreen \-list\*U the
name shows up with the process-id prepended. If the argument \*Qname\*U
-is omitted, the name of this session is displayed. Caution: The $STY
+is omitted, the name of this session is displayed. Caution: The $STY
environment variables will still reflect the old name in pre-existing
shells. This may result in confusion. Use of this command is generally
discouraged. Use the \*Q\-S\*U command-line option if you want to
@@ -3302,7 +3302,7 @@ only in rare circumstances.
Set the command to be used to create a new shell.
This overrides the value of the environment variable $SHELL.
This is useful if you'd like to run a tty-enhancer which is expecting to
-execute the program specified in $SHELL.
+execute the program specified in $SHELL.
If the command begins with a '\-' character, the shell will be started as a
login-shell. Typical shells do only minimal initialization when not started as
a login-shell.
E.g. Bash will not read your \*Q~/.bashrc\*U unless it is a login-shell.
@@ -3324,7 +3324,7 @@ Toggles silence monitoring of windows.
When silence is turned on and an affected window is switched into the
background, you will receive the silence notification message in the
status line after a specified period of inactivity (silence). The default
-timeout can be changed with the `silencewait' command or by specifying a
+timeout can be changed with the `silencewait' command or by specifying a
number of seconds instead of `on' or `off'.
Silence is initially off for all windows.
.RE
@@ -3347,14 +3347,14 @@ It may be used to give users a chance to read the
messages output by \*Qecho\*U.
.B "slowpaste \fImsec\fP"
.RS 0
.PP
-Define the speed at which text is inserted into the current window by the
-paste ("C-a ]") command.
+Define the speed at which text is inserted into the current window by the
+paste ("C-a ]") command.
If the slowpaste value is nonzero text is written character by character.
.I screen
-will make a pause of \fImsec\fP milliseconds after each single character write
-to allow the application to process its input. Only use slowpaste if your
-underlying system exposes flow control problems while pasting large amounts of
-text.
+will make a pause of \fImsec\fP milliseconds after each single character write
+to allow the application to process its input. Only use slowpaste if your
+underlying system exposes flow control problems while pasting large amounts of
+text.
.RE
.TP
.B sort
@@ -3443,10 +3443,10 @@ bindings. See also \*Qbindkey\*U.
Substitute the user of a display. The command prompts for all parameters that
are omitted. If passwords are specified as parameters, they have to be
specified un-crypted. The first password is matched against the systems
-passwd database, the second password is matched against the
+passwd database, the second password is matched against the
.I screen
password as set with the commands \*Qacladd\*U or \*Qpassword\*U.
-\*QSu\*U may be useful for the
+\*QSu\*U may be useful for the
.I screen
administrator to test multiuser setups.
.\" XXX removed in 3.8.0 XXX
@@ -3464,7 +3464,7 @@ These are \*Qdetach\*U, \*Qlicense\*U, \*Qversion\*U,
\*Qhelp\*U and
.PP
Suspend
.IR screen .
-The windows are in the `detached' state, while
+The windows are in the `detached' state, while
.I screen
is suspended. This feature relies on the shell being able to do job control.
.RE
@@ -3474,10 +3474,10 @@ is suspended. This feature relies on the shell being
able to do job control.
.PP
In each window's environment
.I screen
-opens, the $TERM variable is set to \*Qscreen\*U by default.
+opens, the $TERM variable is set to \*Qscreen\*U by default.
But when no description for \*Qscreen\*U is installed in the local termcap
or terminfo data base, you set $TERM to \- say \-
-\*Qvt100\*U. This won't do much harm, as
+\*Qvt100\*U. This won't do much harm, as
.I screen
is VT100/ANSI compatible.
The use of the \*Qterm\*U command is discouraged for non-default purpose.
@@ -3497,15 +3497,15 @@ Use this command to modify your terminal's termcap
entry without going
through all the hassles involved in creating a custom termcap entry.
Plus, you can optionally customize the termcap generated for the windows.
You have to place these commands in one of the screenrc startup files, as
-they are meaningless once the terminal emulator is booted.
+they are meaningless once the terminal emulator is booted.
.PP
If your system uses the terminfo database rather than termcap,
-.I screen
+.I screen
will understand the `terminfo' command, which has the same effects as the
`termcap' command. Two separate commands are provided, as there are subtle
syntactic differences, e.g. when parameter interpolation (using `%') is
required. Note that termcap names of the capabilities have to be used
-with the `terminfo' command.
+with the `terminfo' command.
.PP
In many cases, where the arguments are valid in both terminfo and termcap
syntax, you can use the command `termcapinfo', which is just a shorthand
@@ -3586,7 +3586,7 @@ man page for more information on termcap definitions.
.BR "title " [ \fIwindowtitle ]
.RS 0
.PP
-Set the name of the current window to \fIwindowtitle\fP. If no name is
+Set the name of the current window to \fIwindowtitle\fP. If no name is
specified,
.I screen
prompts for one. This command was known as `aka' in previous
@@ -3634,13 +3634,13 @@ window.
.RS 0
.PP
Sets the visual bell setting for this window. Omitting the parameter
-toggles the setting. If vbell is switched on, but your terminal does not
+toggles the setting. If vbell is switched on, but your terminal does not
support a visual bell, a `vbell-message' is displayed in the status line when
the bell character (^G) is received.
-Visual bell support of a terminal is defined by the termcap variable `vb'
-(terminfo: 'flash').
+Visual bell support of a terminal is defined by the termcap variable `vb'
+(terminfo: 'flash').
.PP
-Per default, vbell is off, thus the audible bell is used.
+Per default, vbell is off, thus the audible bell is used.
See also `bell_msg'.
.RE
.TP
@@ -3648,7 +3648,7 @@ See also `bell_msg'.
.RS 0
.PP
Sets the visual bell message. \fImessage\fP is printed to the status line if
-the window receives a bell character (^G), vbell is set to \*Qon\*U, but the
+the window receives a bell character (^G), vbell is set to \*Qon\*U, but the
terminal does not support a visual bell.
The default message is \*QWuff, Wuff!!\*U.
Without a parameter, the current message is shown.
@@ -3657,7 +3657,7 @@ Without a parameter, the current message is shown.
.BI "vbellwait " sec
.RS 0
.PP
-Define a delay in seconds after each display of
+Define a delay in seconds after each display of
.IR screen 's
visual bell message. The default is 1 second.
.RE
@@ -3686,8 +3686,8 @@ status line.
.BR "width " [ \-w | \-d "] [" "\fIcols\fR " [ \fIlines\fR ]]
.RS 0
.PP
-Toggle the window width between 80 and 132 columns or set it to \fIcols\fP
-columns if an argument is specified.
+Toggle the window width between 80 and 132 columns or set it to \fIcols\fP
+columns if an argument is specified.
This requires a capable terminal and the termcap entries \*QZ0\*U and \*QZ1\*U.
See the \*Qtermcap\*U command for more information. You can also specify
a new height if you want to change both values.
@@ -3709,7 +3709,7 @@ vice versa.
Display all windows in a table for visual window selection.
If screen was in a window group, screen will
back out of the group and then display the windows in that group.
-If the
+If the
.B \-b
option is given, screen will switch to the blank window before
presenting the list, so that the current window is also selectable.
@@ -3797,7 +3797,7 @@ all the windows that are \*Qlogged in\*U are marked with
a `$';
a background window that has received a bell is marked with a `!';
a background window that is being monitored and has had activity occur
is marked with an `@';
-a window which has output logging turned on is marked with `(L)';
+a window which has output logging turned on is marked with `(L)';
windows occupied by other users are marked with `&';
windows in the zombie state are marked with `Z'.
If this list is too long to fit on the terminal's status line only the
@@ -3838,7 +3838,7 @@ the same window at once. Per default, writelock is in
`auto' mode and
grants exclusive input permission to the user who is the first to switch
to the particular window. When he leaves the window, other users may obtain
the writelock (automatically). The writelock of the current window is disabled
-by the command \*Qwritelock off\*U. If the user issues the command
+by the command \*Qwritelock off\*U. If the user issues the command
\*Qwritelock on\*U he keeps the exclusive write permission while switching
to other windows.
.RE
@@ -3878,24 +3878,24 @@ Note also that this is an experimental feature.
.RS 0
.PP
Per default
-.I screen
+.I screen
windows are removed from the window list as soon as
-the windows process (e.g. shell) exits. When a string of two keys is
+the windows process (e.g. shell) exits. When a string of two keys is
specified to the zombie command, `dead' windows will remain in the list.
-The \fBkill\fP command may be used to remove such a window. Pressing the
-first key in the dead window has the same effect. When pressing the second
-key,
-.I screen
-will attempt to resurrect the window. The process that was
+The \fBkill\fP command may be used to remove such a window. Pressing the
+first key in the dead window has the same effect. When pressing the second
+key,
+.I screen
+will attempt to resurrect the window. The process that was
initially running in the window will be launched again. Calling \fBzombie\fP
-without parameters will clear the zombie setting, thus making windows
disappear
+without parameters will clear the zombie setting, thus making windows disappear
when their process exits.
-As the zombie-setting is manipulated globally for all windows, this command
+As the zombie-setting is manipulated globally for all windows, this command
should probably be called \fBdefzombie\fP, but it isn't.
Optionally you can put the word \*Qonerror\*U after the keys. This will cause
screen
-to monitor exit status of the process running in the window. If it exits
normally ('0'),
+to monitor exit status of the process running in the window. If it exits
normally ('0'),
the window disappears. Any other exit value causes the window to become a
zombie.
.RE
.TP
@@ -3935,28 +3935,28 @@ where '<esc>' is an \fIescape\fP, '^' is a literal
up-arrow,
and '\e\e' turns into a single backslash.
.SH "WINDOW TYPES"
-Screen provides three different window types. New windows are created with
+Screen provides three different window types. New windows are created with
.IR screen 's
.B screen
command (see also the entry in chapter \*QCUSTOMIZATION\*U). The first
-parameter to the
+parameter to the
.B screen
command defines which type of window is created. The different window types are
all special cases of the normal type. They have been added in order
-to allow
-.I screen
+to allow
+.I screen
to be used efficiently as a console multiplexer with 100 or more windows.
.IP \(bu 3
The normal window contains a shell (default, if no parameter is given) or any
-other system command that could be executed from a shell (e.g.
+other system command that could be executed from a shell (e.g.
.BR slogin ,
etc...)
.IP \(bu
If a tty (character special device) name (e.g. \*Q/dev/ttya\*U)
is specified as the first parameter, then the window is directly connected to
-this device.
+this device.
This window type is similar to \*Qscreen cu \-l /dev/ttya\*U.
Read and write access is required on the device node, an exclusive open is
attempted on the node to mark the connection line as busy.
@@ -3979,27 +3979,27 @@ options cause the terminal driver to make up the
parameter values of the
connection. These values are system dependent and may be in defaults or values
saved from a previous connection.
.PP
-For tty windows, the
+For tty windows, the
.B info
command shows some of the modem control lines
in the status line. These may include `RTS', `CTS', 'DTR', `DSR', `CD' and
more.
This depends on the available ioctl()'s and system header files as well as the
-on the physical capabilities of the serial board.
+on the physical capabilities of the serial board.
Signals that are logical low (inactive) have their name preceded by
an exclamation mark (!), otherwise the signal is logical high (active).
Signals not supported by the hardware but available to the ioctl() interface
-are usually shown low.
+are usually shown low.
.PP
-When the CLOCAL status bit is true, the whole set of modem signals is placed
+When the CLOCAL status bit is true, the whole set of modem signals is placed
inside curly braces ({ and }).
-When the CRTSCTS or TIOCSOFTCAR bit is set, the signals `CTS' or `CD'
-are shown in parenthesis, respectively.
+When the CRTSCTS or TIOCSOFTCAR bit is set, the signals `CTS' or `CD'
+are shown in parenthesis, respectively.
.PP
For tty windows, the command
.B break
causes the Data transmission line (TxD) to go low for a specified period of
time. This is expected to be interpreted as break signal on the other side.
-No data is sent and no modem control line is changed when a
+No data is sent and no modem control line is changed when a
.B break
is issued.
.RE
@@ -4013,7 +4013,7 @@ host and use the telnet protocol to communicate with that
server.
For telnet windows, the command
.B info
shows details about the connection in square brackets ([ and ]) at the end of
-the status line.
+the status line.
.RS
.IP b
BINARY. The connection is in binary mode.
@@ -4118,8 +4118,8 @@ attribute/color modifier string terminated by the next
\*Q}\*U
Substitute with the output of a 'backtick' command. The length
qualifier is misused to identify one of the commands.
.P
-The 'c' and 'C' escape may be qualified with a '0' to make
-.I screen
+The 'c' and 'C' escape may be qualified with a '0' to make
+.I screen
use zero instead of space as fill character. The '0' qualifier
also makes the '=' escape use absolute positions. The 'n' and '='
escapes understand
@@ -4294,7 +4294,7 @@ The former can be output from an application to control
the window's name
under software control, and the latter will prompt for a name when typed.
You can also bind pre-defined names to keys with the \*Qtitle\*U command
to set things quickly without prompting. Changing title by this escape sequence
-can be controlled by \fBdefdynamictitle\fP and \fBdynamictitle\fP commands.
+can be controlled by \fBdefdynamictitle\fP and \fBdynamictitle\fP commands.
.PP
Finally,
.I screen
@@ -4402,7 +4402,7 @@ PROMPT_COMMAND='printf "\e033k\e033\e134"'
.SH "THE VIRTUAL TERMINAL"
-Each window in a
+Each window in a
.I screen
session emulates a VT100 terminal, with some extra functions added. The
VT100 emulator is hard-coded, no other terminal types can be emulated.
@@ -4426,10 +4426,10 @@ But if you do a
rlogin on another machine or your machine supports only
terminfo this method fails. Because of this,
.I screen
-offers a way to deal with these cases.
+offers a way to deal with these cases.
Here is how it works:
.PP
-When
+When
.I screen
tries to figure out a terminal name for itself,
it first looks
@@ -4482,7 +4482,7 @@ window's $TERMCAP variable.
This can either be the full terminal definition, or a filename where the
terminal \*Qscreen\*U (and/or \*Qscreen\-w\*U) is defined.
.PP
-Note that
+Note that
.I screen
honors the \*Qterminfo\*U .screenrc command if the system uses the
terminfo database rather than termcap.
@@ -4505,9 +4505,9 @@ When the `G0' capability is present,
.I screen
evaluates the capabilities
`S0', `E0', and `C0' if present. `S0' is the sequence the terminal uses
-to enable and start the graphics character set rather than \fISI\fP.
+to enable and start the graphics character set rather than \fISI\fP.
`E0' is the corresponding replacement for \fISO\fP. `C0' gives a character
-by character translation string that is used during semi-graphics mode. This
+by character translation string that is used during semi-graphics mode. This
string is built like the `acsc' terminfo capability.
.PP
When the `po' and `pf' capabilities are present in the terminal's
@@ -4520,7 +4520,7 @@ other windows are still active (the printer port is
enabled
and disabled again for each chunk of output).
As a side-effect, programs running in different windows can
send output to the printer simultaneously.
-Data sent to the printer is not displayed in the window. The
+Data sent to the printer is not displayed in the window. The
.I info
command displays a line starting `PRIN' while the printer is active.
.PP
@@ -4528,8 +4528,8 @@ command displays a line starting `PRIN' while the printer
is active.
maintains a hardstatus line for every window. If a window
gets selected, the display's hardstatus will be updated to match
the window's hardstatus line. If the display has no hardstatus
-the line will be displayed as a standard
-.I screen
+the line will be displayed as a standard
+.I screen
message.
The hardstatus line can be changed with the ANSI Application
Program Command (APC): \*QESC_<string>ESC\e\*U. As a convenience
@@ -4541,7 +4541,7 @@ variable of the virtual terminal if they can be
efficiently
implemented by the physical terminal.
For instance, `dl' (delete line) is only put into the $TERMCAP
variable if the terminal supports either delete line itself or
-scrolling regions. Note that this may provoke confusion, when
+scrolling regions. Note that this may provoke confusion, when
the session is reattached on a different terminal, as the value
of $TERMCAP cannot be modified by parent processes.
.PP
@@ -4922,7 +4922,7 @@ Send Cursor Position Report
.SH "INPUT TRANSLATION"
-In order to do a full VT100 emulation
+In order to do a full VT100 emulation
.I screen
has to detect
that a sequence of characters in the input stream was generated
@@ -4992,7 +4992,7 @@ Keypad enter fe \e015 \e033OM
.SH SPECIAL TERMINAL CAPABILITIES
The following table describes all terminal capabilities
-that are recognized by
+that are recognized by
.I screen
and are not in the termcap(5) manual.
You can place these capabilities in your termcap entries (in
@@ -5004,7 +5004,7 @@ these capabilities in the terminfo database.
.TP 13
.BI LP " (bool)"
Terminal has VT100 style margins (`magic margins'). Note that
-this capability is obsolete because
+this capability is obsolete because
.I screen
uses the standard 'xn' instead.
.TP 13
@@ -5094,12 +5094,12 @@ Syntax:
The things in braces may be repeated any number of times.
-A \fI<charset-mapping>\fP tells
+A \fI<charset-mapping>\fP tells
.I screen
how to map characters
in font \fI<designator>\fP ('B': Ascii, 'A': UK, 'K': German, etc.)
to strings. Every \fI<mapping>\fP describes to what string a single
-character will be translated. A template mechanism is used, as
+character will be translated. A template mechanism is used, as
most of the time the codes have a lot in common (for example
strings to switch to and from another charset). Each occurrence
of '%' in \fI<template>\fP gets substituted with the \fI<template-arg>\fP
@@ -5124,7 +5124,7 @@ create a single '\e'.
Another extension was added to allow more emulation: If a mapping
translates the unquoted '%' char, it will be sent to the terminal
-whenever
+whenever
.I screen
switches to the corresponding \fI<designator>\fP. In this
special case the template is assumed to be just '%' because
@@ -5136,7 +5136,7 @@ This example shows one use of the extension:
termcap xterm 'XC=K%,%\eE(B,[\e304,\e\e\e\e\e326,]\e334'
Here, a part of the German ('K') charset is emulated on an xterm.
-If
+If
.I screen
has to change to the 'K' charset, '\eE(B' will be sent
to the terminal, i.e. the ASCII charset is used instead. The
@@ -5149,7 +5149,7 @@ to '\e304', '\e' to '\e326', and ']' to '\e334'.
Number of columns on the terminal (overrides termcap entry).
.IP HOME
Directory in which to look for .screenrc.
-.IP LINES
+.IP LINES
Number of lines on the terminal (overrides termcap entry).
.IP LOCKPRG
Screen lock program.
@@ -5181,7 +5181,7 @@ Window number of a window (at creation time).
.PD 0
.IP .../screen-4.?.??/etc/screenrc 34
.IP .../screen-4.?.??/etc/etcscreenrc
-Examples in the
+Examples in the
.I screen
distribution package for private and global initialization files.
.IP $SYSTEM_SCREENRC
@@ -5305,13 +5305,13 @@ Pablo Averbuj <pablo@averbuj.com>.
This is version 4.3.1. Its roots are a merge of a custom version
2.3PR7 by Wayne Davison
and several enhancements to Oliver Laumann's version 2.0. Note that all
versions
-numbered 2.x are copyright by Oliver Laumann.
+numbered 2.x are copyright by Oliver Laumann.
.SH AVAILABILITY
-The latest official release of
+The latest official release of
.I screen
-available via anonymous ftp from ftp.gnu.org/gnu/screen/ or any other
-.I GNU
+available via anonymous ftp from ftp.gnu.org/gnu/screen/ or any other
+.I GNU
distribution site. The home site of
.I screen
is savannah.gnu.org/projects/screen/. If you want to help, send a note to
@@ -5325,12 +5325,12 @@ correctly (they are ignored). `xn' is treated as a
magic-margin
indicator.
.IP \(bu
.I Screen
-has no clue about double-high or double-wide characters.
-But this is the only area where
+has no clue about double-high or double-wide characters.
+But this is the only area where
.I vttest
is allowed to fail.
.IP \(bu
-It is not possible to change the environment variable $TERMCAP when
+It is not possible to change the environment variable $TERMCAP when
reattaching under a different terminal type.
.IP \(bu
The support of terminfo based systems is very limited. Adding extra
@@ -5354,11 +5354,11 @@ to advertise that a user is logged on who really isn't.
.I Screen
may give a strange warning when your tty has no utmp entry.
.IP \(bu
-When the modem line was hung up,
+When the modem line was hung up,
.I screen
may not automatically detach (or quit)
-unless the device driver is configured to send a HANGUP signal.
-To detach a
+unless the device driver is configured to send a HANGUP signal.
+To detach a
.I screen
session use the \-D or \-d command line option.
.IP \(bu
@@ -5367,7 +5367,7 @@ session without asking.
.IP \(bu
Both \*Qbreaktype\*U and \*Qdefbreaktype\*U change the break generating
method used by all terminal devices. The first should change a window
-specific setting, where the latter should change only the default for new
+specific setting, where the latter should change only the default for new
windows.
.IP \(bu
When attaching to a multiuser session, the user's .screenrc file is not
diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo
index 18689a1..c0d15ba 100644
--- a/src/doc/screen.texinfo
+++ b/src/doc/screen.texinfo
@@ -129,7 +129,7 @@ and ISO 2022 standards (e.g. insert/delete line and support
for multiple
character sets). There is a scrollback history buffer for each virtual
terminal and a copy-and-paste mechanism that allows the user to move
text regions between windows.
-
+
When @code{screen} is called, it creates a single window with a shell in
it (or the specified command) and then gets out of your way so that you
can use the program as you normally would. Then, at any time, you can
@@ -167,8 +167,8 @@ creates a new window running a shell and switches to that
window
immediately, regardless of the state of the process running in the
current window. Similarly, you can create a new window with a custom
command in it by first binding the command to a keystroke (in your
-@file{.screenrc} file or at the @kbd{C-a :} command line) and then using it
-just like the @kbd{C-a c} command. In addition, new windows can be created by
+@file{.screenrc} file or at the @kbd{C-a :} command line) and then using it
+just like the @kbd{C-a c} command. In addition, new windows can be created by
running a command like:
@example
@@ -179,7 +179,7 @@ screen emacs prog.c
from a shell prompt within a previously created window. This will not
run another copy of @code{screen}, but will instead supply the command
name and its arguments to the window manager (specified in the $STY environment
-variable) who will use it to create the new window. The above example would
+variable) who will use it to create the new window. The above example would
start the @code{emacs} editor (editing @file{prog.c}) and switch to its window.
- Note that you cannot transport environment variables from
the invoking shell to the application (emacs in this case), because it is
@@ -258,25 +258,25 @@ Do not start @code{screen}, but instead detach a
@code{screen} session
running elsewhere (@pxref{Detach}). @samp{-d} has the same effect as
typing @kbd{C-a d} from the controlling terminal for the session.
@samp{-D} is the equivalent to the power detach key. If no session can
-be detached, this option is ignored. In combination with the
+be detached, this option is ignored. In combination with the
@code{-r}/@code{-R} option more powerful effects can be achieved:
@table @code
@item -d -r
Reattach a session and if necessary detach it first.
-@item -d -R
+@item -d -R
Reattach a session and if necessary detach or even create it first.
-@item -d -RR
+@item -d -RR
Reattach a session and if necessary detach or create it.
Use the first session if more than one session is available.
-@item -D -r
+@item -D -r
Reattach a session. If necessary detach and logout remotely first.
-@item -D -R
-Attach here and now. In detail this means: If a session is running,
+@item -D -R
+Attach here and now. In detail this means: If a session is running,
then reattach. If necessary detach and logout remotely first. If it
was not running create it and notify the user.
This is the author's favorite.
-@item -D -RR
+@item -D -RR
Attach here and now. Whatever that means, just do it.
@end table
@@ -292,7 +292,7 @@ sets the default command character. In a multiuser session
all users
added will start off with this command character. But when attaching
to an already running session, this option only changes the command
character of the attaching user.
-This option is equivalent to the commands @code{defescape} or
+This option is equivalent to the commands @code{defescape} or
@code{escape} respectively. (@pxref{Command Character}).
@item -f
@@ -325,11 +325,11 @@ identification strings (usually of the form
@var{pid.tty.host};
with @code{screen -r}. Those marked @samp{attached} are running and
have a controlling terminal. If the session runs in multiuser mode,
it is marked @samp{multi}. Sessions marked as @samp{unreachable} either
-live on a different host or are dead.
+live on a different host or are dead.
An unreachable session is considered dead, when its name matches either the
name of the local host, or the specified parameter, if any.
See the @code{-r} flag for a description how to construct matches.
-Sessions marked as @samp{dead} should be thoroughly checked and removed.
+Sessions marked as @samp{dead} should be thoroughly checked and removed.
Ask your system administrator if you are not sure.
Remove sessions with the @samp{-wipe} option.
@@ -360,7 +360,7 @@ a new process. The command exits if the session terminates.
@item -O
Select a more optimal output mode for your terminal rather than true VT100
emulation (only affects auto-margin terminals without @samp{LP}). This
-can also be set in your @file{.screenrc} by specifying @samp{OP} in the
+can also be set in your @file{.screenrc} by specifying @samp{OP} in the
@code{termcap} command.
@item -p @var{name_or_number}|-|=|+
@@ -373,13 +373,13 @@ create new window. The command will not be executed if
the specified
window could not be found.
@item -q
-Suppress printing of error messages. In combination with @samp{-ls} the exit
-value is set as follows: 9 indicates a directory without sessions. 10
-indicates a directory with running but not attachable sessions. 11 (or more)
+Suppress printing of error messages. In combination with @samp{-ls} the exit
+value is set as follows: 9 indicates a directory without sessions. 10
+indicates a directory with running but not attachable sessions. 11 (or more)
indicates 1 (or more) usable sessions.
-In combination with @samp{-r} the exit value is as follows: 10 indicates that
-there is no session to resume. 12 (or more) indicates that there are 2 (or
-more) sessions to resume and you should specify which one to choose.
+In combination with @samp{-r} the exit value is as follows: 10 indicates that
+there is no session to resume. 12 (or more) indicates that there are 2 (or
+more) sessions to resume and you should specify which one to choose.
In all other cases @samp{-q} has no effect.
@item -Q
@@ -402,7 +402,7 @@ The commands that can be queried now are:
@item -r [@var{pid.sessionname}]
@itemx -r @var{sessionowner}/[@var{pid.sessionname}]
Resume a detached @code{screen} session. No other options (except
-combinations with @samp{-d} or @samp{-D}) may be specified, though
+combinations with @samp{-d} or @samp{-D}) may be specified, though
the session name
(@pxref{Session Name}) may be needed to distinguish between multiple
detached @code{screen} sessions.
@@ -421,7 +421,7 @@ session exists, start a new session using the specified
options, just as
if @samp{-R} had not been specified. This option is set by default if
screen is run as a login-shell (actually screen uses @samp{-xRR} in
that case).
-For combinations with the
+For combinations with the
@samp{-D}/@samp{-d} option see there.
@item -s @var{program}
@@ -456,15 +456,15 @@ Print the version number.
@item -wipe [@var{match}]
List available screens like @code{screen -ls}, but remove destroyed
-sessions instead of marking them as @samp{dead}.
-An unreachable session is considered dead, when its name matches either
+sessions instead of marking them as @samp{dead}.
+An unreachable session is considered dead, when its name matches either
the name of the local host, or the explicitly given parameter, if any.
See the @code{-r} flag for a description how to construct matches.
@item -x
Attach to a session which is already attached elsewhere (multi-display
-mode).
-@code{Screen} refuses to attach from within itself.
+mode).
+@code{Screen} refuses to attach from within itself.
But when cascading multiple screens, loops are not detected; take care.
@@ -497,12 +497,12 @@ to be executed at startup, or on the fly using the
@code{colon} command.
@cindex screenrc
When @code{screen} is invoked, it executes initialization commands from
the files @file{.screenrc} in the user's home directory and
-@file{/usr/local/etc/screenrc}. These defaults can be overridden in the
+@file{/usr/local/etc/screenrc}. These defaults can be overridden in the
following ways:
For the global screenrc file @code{screen} searches for the environment
variable @code{$SYSTEM_SCREENRC} (this override feature may be disabled at
compile-time). The user specific screenrc file is
-searched for in @code{$SCREENRC}, then
+searched for in @code{$SCREENRC}, then
@file{@code{$HOME}/.screenrc}. The command line option @samp{-c}
specifies which file to use (@pxref{Invoking Screen}. Commands in these
files are used to set options, bind commands to keys, and to
@@ -515,7 +515,7 @@ Unintelligible lines are warned about and ignored.
Commands may contain
references to environment variables. The syntax is the shell-like
@code{$VAR} or @code{$@{VAR@}}. Note that this causes incompatibility
with previous @code{screen} versions, as now the '$'-character has to be
-protected with '\' if no variable substitution is intended. A string in
+protected with '\' if no variable substitution is intended. A string in
single-quotes is also protected from variable substitution.
Two configuration files are shipped as examples with your screen
@@ -544,7 +544,7 @@ Customization can also be done online, with this command:
@kindex :
@deffn Command colon
-(@kbd{C-a :})@*
+(@kbd{C-a :})@*
Allows you to enter @file{.screenrc} command lines. Useful for
on-the-fly modification of key bindings, specific window creation and
changing settings. Note that the @code{set} keyword no longer exists,
@@ -616,14 +616,14 @@ Switch the input focus to the next region.
@xref{Regions}.
@item @kbd{C-a C-a}
(other)@*
-Toggle to the window displayed previously. If this window does no
+Toggle to the window displayed previously. If this window does no
longer exist, @code{other} has the same effect as @code{next}.
@xref{Selecting}.
@item @kbd{C-a a}
(meta)@*
Send the command character (C-a) to window. See @code{escape} command.
-@xref{Command Character}.
+@xref{Command Character}.
@item @kbd{C-a A}
(title)@*
@@ -679,7 +679,7 @@ Write a hardcopy of the current window to the file
``hardcopy.@var{n}''.
@xref{Hardcopy}.
@item @kbd{C-a H}
-(log)@*
+(log)@*
Toggle logging of the current window to the file ``screenlog.@var{n}''.
@xref{Log}.
@@ -793,7 +793,7 @@ Suspend @code{screen}. @xref{Suspend}.
@item @kbd{C-a Z}
(reset)@*
-Reset the virtual terminal to its ``power-on'' values.
+Reset the virtual terminal to its ``power-on'' values.
@xref{Reset}.
@item @kbd{C-a .}
@@ -862,7 +862,7 @@ Show the listing of attached displays. @xref{Displays}.
@node Command Summary, , Default Key Bindings, Commands
@section Command Summary
-@cindex command summary
+@cindex command summary
@table @code
@item acladd @var{usernames}
@@ -1301,8 +1301,8 @@ affect all the windows you create interactively.
Establish a new window. The flow-control options (@samp{-f}, @samp{-fn}
and @samp{-fa}), title option (@samp{-t}), login options
(@samp{-l} and @samp{-ln}) , terminal type option (@samp{-T @var{term}}),
-the all-capability-flag (@samp{-a}) and scrollback option
-(@samp{-h @var{num}}) may be specified with each command.
+the all-capability-flag (@samp{-a}) and scrollback option
+(@samp{-h @var{num}}) may be specified with each command.
The option (@samp{-M}) turns monitoring on for this window.
The option (@samp{-L}) turns output logging on for this window.
If an optional number @var{n} in the range 0@dots{}MAXWIN-1 is given,
@@ -1359,7 +1359,7 @@ Unset an environment variable.
Set the command to be used to create a new shell. This overrides the
value of the environment variable @code{$SHELL}. This is useful if
you'd like to run a tty-enhancer which is expecting to execute the
-program specified in @code{$SHELL}.
+program specified in @code{$SHELL}.
If the command begins with a @samp{-} character, the shell will be started as a
login-shell. Typical shells do only minimal initialization when not started as
a login-shell.
E.g. Bash will not read your @file{~/.bashrc} unless it is a login-shell.
@@ -1439,13 +1439,13 @@ For tty windows, the @code{info} command shows some of
the modem
control lines in the status line.
These may include @samp{RTS}, @samp{CTS}, @samp{DTR}, @samp{CD} and
more. This depends rather on on the available @code{ioctl()}'s and system
-header files than on the physical capabilities of the serial board.
-The name of a logical low (inactive) signal is preceded by an
+header files than on the physical capabilities of the serial board.
+The name of a logical low (inactive) signal is preceded by an
exclamation mark (@samp{!}), otherwise the signal is logical high (active).
Unsupported but shown signals are usually shown low.
-When the @code{CLOCAL} status bit is true, the whole set of modem signals is
+When the @code{CLOCAL} status bit is true, the whole set of modem signals is
placed inside curly braces (@samp{@{} and @samp{@}}).
-When the @code{CRTSCTS} or @code{TIOCSOFTCAR} bit is true, the signals
+When the @code{CRTSCTS} or @code{TIOCSOFTCAR} bit is true, the signals
@samp{CTS} or @samp{CD} are shown in parenthesis, respectively.
For tty windows, the command @code{break} causes the Data transmission
@@ -1495,12 +1495,12 @@ For telnet windows, the command @code{break} sends the
telnet code
Screen provides a method for grouping windows together. Windows can be
organized in a hierarchical fashion, resembling a tree structure. New
screens are created using the @code{screen} command while new groups
-are created using @code{screen //group}. @xref{Screen Command}.
+are created using @code{screen //group}. @xref{Screen Command}.
Once a new group is created, it will act as a container for windows
and even other groups. When a group is selected, you will see the
output of the @code{windowlist} command, allowing you to select a
-window inside. If there are no windows inside a group, use the
+window inside. If there are no windows inside a group, use the
@code{screen} command to create one. Once inside a group, using the
commands @code{next} and @code{prev} will switch between windows only
in that group. Using the @code{windowlist} command will give you the
@@ -1514,7 +1514,7 @@ the destination group. Without specifying a group, the
title of the
current group is displayed.
@end deffn
-Using groups in combination with layouts will help create a
+Using groups in combination with layouts will help create a
multi-desktop experience. One group can be assigned for each
layout made. Windows can be made, split, and organized within each
group as desired. Afterwhich, switching between groups can be as easy
@@ -1570,7 +1570,7 @@ Switch to the parent window.
(@kbd{C-a C-a})@*
Switch to the last window displayed. Note that this command
defaults to the command character typed twice, unless overridden.
-For instance, if you use the option @samp{-e]x},
+For instance, if you use the option @samp{-e]x},
this command becomes @kbd{]]} (@pxref{Command Character}).
@end deffn
@@ -1581,7 +1581,7 @@ this command becomes @kbd{]]} (@pxref{Command Character}).
@deffn Command select [n @var{|-|.}]
(@kbd{C-a @var{n}}, @kbd{C-a '})@*
Switch to the window with the number @var{n}.
-If no window number is specified, you get prompted for an
+If no window number is specified, you get prompted for an
identifier. This can be a window name (title) or a number.
When a new window is established, the lowest available number
is assigned to this window.
@@ -1756,7 +1756,7 @@ logout if @code{screen} was started from your login-shell.
@deffn Command pow_detach_msg [message]
(none)@*
The @var{message} specified here is output whenever a power detach is
-performed. It may be used as a replacement for a logout message or to reset
+performed. It may be used as a replacement for a logout message or to reset
baud rate, etc.
Without a parameter, the current message is shown.
@end deffn
@@ -1783,12 +1783,12 @@ unlocked shell. This feature should rather be called
@node Multiuser Session, Session Name, Lock, Session Management
@section Multiuser Session
-@cindex multiuser session
+@cindex multiuser session
These commands allow other users to gain access to one single @code{screen}
-session. When attaching to a multiuser @code{screen} the sessionname is
+session. When attaching to a multiuser @code{screen} the sessionname is
specified as @code{username/sessionname} to the @code{-S} command line option.
-@code{Screen} must be compiled with multiuser support to enable features
+@code{Screen} must be compiled with multiuser support to enable features
described here.
@menu
@@ -1808,10 +1808,10 @@ described here.
@subsection Multiuser
@deffn Command multiuser @var{state}
(none)@*
-Switch between single-user and multi-user mode. Standard screen operation is
-single-user. In multi-user mode the commands @code{acladd}, @code{aclchg} and
-@code{acldel} can be used to enable (and disable) other users accessing this
-@code{screen}.
+Switch between single-user and multi-user mode. Standard screen operation is
+single-user. In multi-user mode the commands @code{acladd}, @code{aclchg} and
+@code{acldel} can be used to enable (and disable) other users accessing this
+@code{screen}.
@end deffn
@node Acladd, Aclchg, Multiuser, Multiuser Session
@@ -1819,11 +1819,11 @@ single-user. In multi-user mode the commands
@code{acladd}, @code{aclchg} and
@deffn Command acladd @var{usernames}
@deffnx Command addacl @var{usernames}
(none)@*
-Enable users to fully access this screen session. @var{Usernames} can be one
+Enable users to fully access this screen session. @var{Usernames} can be one
user or a comma separated list of users. This command enables to attach to
the @code{screen} session and performs the equivalent of
@code{aclchg @var{usernames} +rwx "#?"}. To add a user with restricted access,
-use the @code{aclchg} command below.
+use the @code{aclchg} command below.
@code{Addacl} is a synonym to @code{acladd}.
Multi-user mode only.
@end deffn
@@ -1833,22 +1833,22 @@ Multi-user mode only.
@deffn Command aclchg @var{usernames permbits list}
@deffnx Command chacl @var{usernames permbits list}
(none)@*
-Change permissions for a comma separated list of users.
-Permission bits are represented as @samp{r}, @samp{w} and @samp{x}.
-Prefixing @samp{+} grants the permission, @samp{-} removes it. The third
-parameter is a comma separated list of commands or windows (specified either
-by number or title). The special list @samp{#} refers to all windows, @samp{?}
-to all commands. If @var{usernames} consists of a single @samp{*}, all
-known users are affected.
+Change permissions for a comma separated list of users.
+Permission bits are represented as @samp{r}, @samp{w} and @samp{x}.
+Prefixing @samp{+} grants the permission, @samp{-} removes it. The third
+parameter is a comma separated list of commands or windows (specified either
+by number or title). The special list @samp{#} refers to all windows, @samp{?}
+to all commands. If @var{usernames} consists of a single @samp{*}, all
+known users are affected.
A command can be executed when the user has the @samp{x} bit for it. The user
can type input to a window when he has its @samp{w} bit set and no other
user obtains a writelock for this window. Other bits are currently ignored.
To withdraw the writelock from another user in e.g. window 2:
-@samp{aclchg @var{username} -w+w 2}. To allow read-only access
-to the session: @samp{aclchg @var{username} -w "#"}. As soon as a user's name
-is known to screen, he can attach to the session and (per default) has full
-permissions for all command and windows. Execution permission for the acl
-commands, @code{at} and others should also be removed or the user may be able
+@samp{aclchg @var{username} -w+w 2}. To allow read-only access
+to the session: @samp{aclchg @var{username} -w "#"}. As soon as a user's name
+is known to screen, he can attach to the session and (per default) has full
+permissions for all command and windows. Execution permission for the acl
+commands, @code{at} and others should also be removed or the user may be able
to regain write permission.
@code{Chacl} is a synonym to @code{aclchg}.
Multi-user mode only.
@@ -2285,13 +2285,13 @@ Note that there are several subcommands to
@code{layout}.
@deffn Command layout @code{new} [title]
(none)@*
-Create a new layout. The screen will change to one whole region
-and be switched to the blank window. From here, you build the
-regions and the windows they show as you desire. The new layout
-will be numbered with the smallest available integer, starting
-with zero. You can optionally give a title to your new layout.
-Otherwise, it will have a default title of @code{layout}. You
-can always change the title later by using the command
+Create a new layout. The screen will change to one whole region
+and be switched to the blank window. From here, you build the
+regions and the windows they show as you desire. The new layout
+will be numbered with the smallest available integer, starting
+with zero. You can optionally give a title to your new layout.
+Otherwise, it will have a default title of @code{layout}. You
+can always change the title later by using the command
@code{layout title}.
@end deffn
@@ -2450,7 +2450,7 @@ name when typed. You can also bind predefined names to
keys with the
@kindex A
@deffn Command title [windowtitle]
(@kbd{C-a A})@*
-Set the name of the current window to @var{windowtitle}. If no name is
+Set the name of the current window to @var{windowtitle}. If no name is
specified, screen prompts for one.
@end deffn
@@ -2591,12 +2591,12 @@ output. This command is only available if the host
supports the ioctl
(@kbd{C-a k}, @kbd{C-a C-k})@*
Kill the current window.@*
If there is an @code{exec} command running (@pxref{Exec}) then it is killed.
-Otherwise the process (e.g. shell) running in the window receives a
-@code{HANGUP} condition,
+Otherwise the process (e.g. shell) running in the window receives a
+@code{HANGUP} condition,
the window structure is removed and screen (your display) switches to another
window. When the last window is destroyed, @code{screen} exits.
After a kill screen switches to the previously displayed window.
-@*
+@*
@emph{Caution}: @code{emacs} users may find themselves killing their
@code{emacs} session when trying to delete the current line. For this
reason, it is probably wise to use a different command character
@@ -2621,7 +2621,7 @@ compile time (@pxref{Installation}). Both commands are
only present when
Adds or removes the entry in @file{/etc/utmp} for the current window.
This controls whether or not the window is @dfn{logged in}. In addition
to this toggle, it is convenient to have ``log in'' and ``log out''
-keys. For instance, @code{bind I login on} and @code{bind O
+keys. For instance, @code{bind I login on} and @code{bind O
login off} will map these keys to be @kbd{C-a I} and @kbd{C-a O}
(@pxref{Key Binding}).
@end deffn
@@ -2632,7 +2632,7 @@ login off} will map these keys to be @kbd{C-a I} and
@kbd{C-a O}
(none)@*
The mode of each newly allocated pseudo-tty is set to @var{mode}.
@var{mode} is an octal number as used by chmod(1). Defaults to 0622 for
-windows which are logged in, 0600 for others (e.g. when @code{-ln} was
+windows which are logged in, 0600 for others (e.g. when @code{-ln} was
specified for creation, @pxref{Screen Command}).
@end deffn
@@ -2677,7 +2677,7 @@ the window-status display (@pxref{Windows}). Monitoring
defaults to
@kindex _
@deffn Command silence [@var{state}|@var{sec}]
(@kbd{C-a _})@*
-Toggles silence monitoring of windows. When silence is turned on and an
+Toggles silence monitoring of windows. When silence is turned on and an
affected window is switched into the background, you will receive the
silence notification message in the status line after a specified period
of inactivity (silence). The default timeout can be changed with the
@@ -2705,18 +2705,18 @@ before displaying a message. Default is 30 seconds.
(@kbd{C-a w}, @kbd{C-a C-w})@*
Uses the message line to display a list of all the windows. Each
window is listed by number with the name of the program running in the
-window (or its title).
+window (or its title).
The current window is marked with a @samp{*};
-the previous window is marked with a @samp{-};
+the previous window is marked with a @samp{-};
all the windows that are logged in are marked with a @samp{$} (@pxref{Login});
a background window that has received a bell is marked with a @samp{!};
-a background window that is being monitored and has had activity occur is
+a background window that is being monitored and has had activity occur is
marked with an @samp{@@} (@pxref{Monitor});
a window which has output logging turned on is marked with @samp{(L)};
windows occupied by other users are marked with @samp{&}
or @samp{&&} if the window is shared by other users;
-windows in the zombie state are marked with @samp{Z}.
+windows in the zombie state are marked with @samp{Z}.
If this list is too long to fit on the terminal's status line only the
portion around the current window is displayed.
@@ -2771,7 +2771,7 @@ or @var{off}, the current state is displayed. The default
state
is determined by the @code{defmousetrack} command.
@end deffn
-@deffn Command defmousetrack @code{on|off}
+@deffn Command defmousetrack @code{on|off}
(none)@*
This command determines the default state of the @code{mousetrack}
command, currently defaulting of @var{off}.
@@ -2782,7 +2782,7 @@ command, currently defaulting of @var{off}.
Each window in a @code{screen} session emulates a VT100 terminal, with
some extra functions added. The VT100 emulator is hard-coded, no other
-terminal types can be emulated.
+terminal types can be emulated.
The commands described here modify the terminal emulation.
@menu
@@ -3029,7 +3029,7 @@ Keypad enter fe stuff \015
@section Digraph
@kindex C-v
-@deffn Command digraph [preset [unicode-value]]
+@deffn Command digraph [preset [unicode-value]]
(@kbd{C-a C-v})@*
This command prompts the user for a digraph sequence. The next
two characters typed are looked up in a builtin table and the
@@ -3221,7 +3221,7 @@ The following table is the builtin sequences.
'"', '|' 246 ö U+00F6
'"', '@}' 252 ü U+00FC
'"', '~' 223 ß U+00DF
-@end example
+@end example
@end deffn
@@ -3250,11 +3250,11 @@ Without a parameter, the current message is shown.
@kindex C-g
@deffn Command vbell [state]
(@kbd{C-a C-g})@*
-Sets or toggles the visual bell setting for the current window. If
+Sets or toggles the visual bell setting for the current window. If
@code{vbell} is switched to @samp{on}, but your
terminal does not support a visual bell, the visual bell message is
-displayed in the status line when the bell character is received.
-Visual bell support of a terminal is
+displayed in the status line when the bell character is received.
+Visual bell support of a terminal is
defined by the termcap variable @code{vb}. @xref{Bell},
for more information on visual bells.
The equivalent terminfo capability is @code{flash}.
@@ -3294,7 +3294,7 @@ Clears the screen and saves its contents to the
scrollback buffer.
Uses the message line to display some information about the current
window: the cursor position in the form @samp{(@var{column},@var{row})}
starting with @samp{(1,1)}, the terminal width and height plus the size
-of the scrollback buffer in lines, like in @samp{(80,24)+50},
+of the scrollback buffer in lines, like in @samp{(80,24)+50},
the current state of window XON/XOFF flow control is shown like this
(@pxref{Flow Control}):
@example
@@ -3312,10 +3312,10 @@ not) is also shown. The flags @samp{ins}, @samp{org},
@samp{app}, @samp{log},
origin mode, application-keypad mode, has output logging,
activity monitoring or partial redraw enabled.
-The currently active
+The currently active
character set (@samp{G0}, @samp{G1}, @samp{G2}, or @samp{G3}), and in
square brackets the terminal character sets that are currently
-designated as @samp{G0} through @samp{G3}.
+designated as @samp{G0} through @samp{G3}.
If the window is in UTF-8 mode, the string @samp{UTF-8} is shown instead.
Additional modes depending on the type of the window are displayed at
the end of the status line (@pxref{Window Types}).
@@ -3338,11 +3338,11 @@ why features like color or the alternate charset don't
work.
@deffn Command allpartial state
(none)@*
If set to on, only the current cursor line is refreshed on window change.
-This affects all windows and is useful for slow terminal lines. The
+This affects all windows and is useful for slow terminal lines. The
previous setting of full/partial refresh for each window is restored
with @code{allpartial off}. This is a global flag that immediately takes effect
-on all windows overriding the @code{partial} settings. It does not change the
-default redraw behavior of newly created windows.
+on all windows overriding the @code{partial} settings. It does not change the
+default redraw behavior of newly created windows.
@end deffn
@deffn Command altscreen state
@@ -3356,8 +3356,8 @@ just like in xterm. Initial setting is @samp{off}.
Defines whether the display should be refreshed (as with
@code{redisplay}) after switching to the current window. This command
only affects the current window. To immediately affect all windows use the
-@code{allpartial} command. Default is @samp{off}, of course. This default is
-fixed, as there is currently no @code{defpartial} command.
+@code{allpartial} command. Default is @samp{off}, of course. This default is
+fixed, as there is currently no @code{defpartial} command.
@end deffn
@kindex l
@@ -3385,8 +3385,8 @@ previous line. Default is @samp{on}. Without any
options, the state of
@deffn Command defwrap state
(none) @*
-Same as the @code{wrap} command except that the default setting for new
-windows is changed. Initially line-wrap is on and can be toggled with the
+Same as the @code{wrap} command except that the default setting for new
+windows is changed. Initially line-wrap is on and can be toggled with the
@code{wrap} command (@kbd{C-a r}) or by means of "C-a : wrap on|off".
@end deffn
@@ -3428,10 +3428,10 @@ argument is given it toggles between 24 and 42 lines
display.
(none)@*
Change c1 code processing. @samp{c1 on} tells screen to treat
the input characters between 128 and 159 as control functions.
-Such an 8-bit code is normally the same as ESC followed by the
-corresponding 7-bit code. The default setting is to process c1
+Such an 8-bit code is normally the same as ESC followed by the
+corresponding 7-bit code. The default setting is to process c1
codes and can be changed with the @samp{defc1} command.
-Users with fonts that have usable characters in the
+Users with fonts that have usable characters in the
c1 positions may want to turn this off.
@end deffn
@@ -3638,7 +3638,7 @@ users.
If your terminal sends characters, that cause you to abort copy mode,
then this command may help by binding these characters to do nothing.
The no-op character is `@@' and is used like this: @code{markkeys @@=L=H}
-if you do not want to use the `H' or `L' commands any longer.
+if you do not want to use the `H' or `L' commands any longer.
As shown in this example, multiple keys can be assigned to one function
in a single statement.
@end deffn
@@ -3667,7 +3667,7 @@ or previous line.
@noindent
@kbd{H}, @kbd{M} and @kbd{L} move the cursor to the leftmost column
-of the top, center or bottom line of the window.
+of the top, center or bottom line of the window.
@noindent
@kbd{|} moves to the specified absolute column.
@@ -3677,7 +3677,7 @@ of the top, center or bottom line of the window.
@noindent
@kbd{G} or @kbd{end} moves to the specified absolute line (default: end of
buffer).
-
+
@noindent
@kbd{%} jumps to the specified percentage of the buffer.
@@ -3687,19 +3687,19 @@ or last non-whitespace character on the line.
@noindent
@kbd{w}, @kbd{b}, and @kbd{e} move the cursor word by word.
-
+
@noindent
@kbd{B}, @kbd{E} move the cursor WORD by WORD (as in vi).
@noindent
-@kbd{f}/@kbd{F}, @kbd{t}/@kbd{T} move the cursor forward/backward to the
-next occurence of the target. (eg, '3fy' will move the cursor to the 3rd
+@kbd{f}/@kbd{F}, @kbd{t}/@kbd{T} move the cursor forward/backward to the
+next occurence of the target. (eg, '3fy' will move the cursor to the 3rd
'y' to the right.)
@noindent
@kbd{;} and @kbd{,} Repeat the last f/F/t/T command in the same/opposite
direction.
-@noindent
+@noindent
@kbd{C-e} and @kbd{C-y} scroll the display up/down by one line
while preserving the cursor position.
@@ -3727,12 +3727,12 @@ If @code{mousetrack} is set to @code{on}, marks can
also be set using
@kbd{left mouse click}.
@noindent
-@kbd{Y} and @kbd{y} can be used to mark one whole line or to mark from
+@kbd{Y} and @kbd{y} can be used to mark one whole line or to mark from
start of line.
@noindent
-@kbd{W} marks exactly one word.
-
+@kbd{W} marks exactly one word.
+
@node Repeat count, Searching, Marking, Copy
@subsection Repeat Count
@@ -3782,7 +3782,7 @@ but @code{screen} does. Press:
@noindent
@kbd{c} or @kbd{C} to set the left or right margin respectively. If no
repeat count is given, both default to the current cursor position.@*
-Example: Try this on a rather full text screen:
+Example: Try this on a rather full text screen:
@example
@kbd{C-a [ M 20 l SPACE c 10 l 5 j C SPACE}.
@end example
@@ -3822,7 +3822,7 @@ the contents of the paste buffer will not be overwritten,
but appended to.
to the screen-exchange file (@file{/tmp/screen-exchange} per default)
once copy-mode is finished. @xref{Screen Exchange}.@*
This example demonstrates how to dump the
-whole scrollback buffer to that file:
+whole scrollback buffer to that file:
@example
@kbd{C-a [ g SPACE G $ >}.
@end example
@@ -3851,18 +3851,18 @@ All keys not described here exit copy mode.
@kindex C-]
@deffn Command paste [registers [destination]]
(@kbd{C-a ]}, @kbd{C-a C-]})@*
-Write the (concatenated) contents of the specified registers to the stdin
+Write the (concatenated) contents of the specified registers to the stdin
stream of the current window. The register @samp{.} is treated as the
-paste buffer. If no parameter is specified the user is prompted to enter a
-single register. The paste buffer can be filled with the
+paste buffer. If no parameter is specified the user is prompted to enter a
+single register. The paste buffer can be filled with the
@code{copy}, @code{history} and @code{readbuf} commands.
Other registers can be filled with the @code{register}, @code{readreg} and
@code{paste} commands.
If @code{paste} is called with a second argument, the contents of the specified
registers is pasted into the named destination register rather than
-the window. If @samp{.} is used as the second argument, the display's paste
+the window. If @samp{.} is used as the second argument, the display's paste
buffer is the destination.
-Note, that @code{paste} uses a wide variety of resources: Usually both, a
+Note, that @code{paste} uses a wide variety of resources: Usually both, a
current window and a current display are required. But whenever a second
argument is specified no current window is needed. When the source
specification
only contains registers (not the paste buffer) then there need not be a current
@@ -3888,13 +3888,13 @@ multi character fonts like kanji.
@deffn Command slowpaste msec
@deffnx Command defslowpaste msec
(none)@*
-Define the speed text is inserted in the current window by the @code{paste}
-command. If the slowpaste value is nonzero text is written character by
+Define the speed text is inserted in the current window by the @code{paste}
+command. If the slowpaste value is nonzero text is written character by
character.
@code{screen} will pause for @var{msec} milliseconds after each write
-to allow the application to process the input. only use @code{slowpaste} if
-your underlying system exposes flow control problems while pasting large
-amounts of text.
+to allow the application to process the input. only use @code{slowpaste} if
+your underlying system exposes flow control problems while pasting large
+amounts of text.
@code{defslowpaste} specifies the default for new windows.
@end deffn
@@ -3950,7 +3950,7 @@ The encoding of the string can be specified via the
@code{-e} option.
Change the filename used for reading and writing with the paste buffer.
If the @var{exchange-file} parameter is omitted, @code{screen} reverts
to the default of @file{/tmp/screen-exchange}. The following example
-will paste the system's password file into the screen window (using the
+will paste the system's password file into the screen window (using the
paste buffer, where a copy remains):
@example
@@ -4019,26 +4019,26 @@ Use with care!
@section Exec
@deffn Command exec [[@var{fdpat}] @var{newcommand} [@var{args} ... ]]
(none)@*
-Run a unix subprocess (specified by an executable path @var{newcommand} and
+Run a unix subprocess (specified by an executable path @var{newcommand} and
its optional arguments) in the current window. The flow of data between
-newcommands stdin/stdout/stderr, the process originally started (let us call
it
-"application-process") and
+newcommands stdin/stdout/stderr, the process originally started (let us call it
+"application-process") and
screen itself (window) is controlled by the file descriptor pattern
@var{fdpat}.
This pattern is basically a three character sequence representing stdin, stdout
and stderr of newcommand. A dot (@code{.}) connects the file descriptor
to screen. An exclamation mark (@code{!}) causes the file descriptor to be
connected to the application-process. A colon (@code{:}) combines both.
@*
-User input will go to newcommand unless newcommand receives the
+User input will go to newcommand unless newcommand receives the
application-process'
output (@var{fdpat}s first character is @samp{!} or @samp{:}) or a pipe symbol
(@samp{|}) is added to the end of @var{fdpat}.
@*
Invoking @code{exec} without arguments shows name and arguments of the
currently
-running subprocess in this window. Only one subprocess can be running per
+running subprocess in this window. Only one subprocess can be running per
window.
@*
-When a subprocess is running the @code{kill} command will affect it instead of
+When a subprocess is running the @code{kill} command will affect it instead of
the windows process. Only one subprocess a time can be running in each window.
@*
Refer to the postscript file @file{doc/fdpat.ps} for a confusing
@@ -4051,18 +4051,18 @@ side.
@node Using Exec, , Exec, Subprocess Execution
@section Using Exec
-@noindent
+@noindent
Abbreviations:
@itemize @bullet
@item
Whitespace between the word @samp{exec} and @var{fdpat} and the command name
-can be omitted.
+can be omitted.
@item
-Trailing dots and a @var{fdpat} consisting only of dots can be omitted.
+Trailing dots and a @var{fdpat} consisting only of dots can be omitted.
-@item
+@item
A simple @samp{|} is synonymous for the @samp{!..|} pattern.
@item
@@ -4072,7 +4072,7 @@ The word @samp{exec} can be omitted when the @samp{|}
abbreviation is used.
The word @samp{exec} can always be replaced by leading @samp{!}.
@end itemize
-@noindent
+@noindent
Examples:
@table @code
@@ -4080,7 +4080,7 @@ Examples:
@itemx exec /bin/sh
@itemx exec ... /bin/sh
All of the above are equivalent.
-Creates another shell in the same window, while the original shell is still
+Creates another shell in the same window, while the original shell is still
running. Output of both shells is displayed and user input is sent to the new
@file{/bin/sh}.
@@ -4095,10 +4095,10 @@ is directly connected to a serial line that needs to be
configured.
@item |less
@itemx exec !..| less
Both are equivalent.
-This adds a pager to the window output. The special character @samp{|} is
-needed to give the user control over the pager although it gets its input from
-the window's process. This works, because @samp{less} listens on stderr
-(a behavior that @code{screen} would not expect without the @samp{|})
+This adds a pager to the window output. The special character @samp{|} is
+needed to give the user control over the pager although it gets its input from
+the window's process. This works, because @samp{less} listens on stderr
+(a behavior that @code{screen} would not expect without the @samp{|})
when its stdin is not a tty. @code{Less} versions newer than 177 fail miserably
here; good old @code{pg} still works.
@@ -4205,7 +4205,7 @@ makes @kbd{C-a - 0} select window 10, @kbd{C-a - 1}
window 11, etc.
(none)@*
Set the command character to @var{x} and the character generating a
literal command character (by triggering the @code{meta} command)
-to @var{y} (similar to the @samp{-e} option).
+to @var{y} (similar to the @samp{-e} option).
Each argument is either a single character, a two-character
sequence of the form @samp{^x} (meaning @kbd{C-x}), a backslash followed
by an octal number (specifying the ASCII code of the character), or a
@@ -4216,10 +4216,10 @@ one of the authors.
@deffn Command defescape xy
(none)@*
-Set the default command characters. This is equivalent to the command
-@code{escape} except that it is useful for multiuser sessions only.
+Set the default command characters. This is equivalent to the command
+@code{escape} except that it is useful for multiuser sessions only.
In a multiuser session
-@code{escape} changes the command character of the calling user, where
+@code{escape} changes the command character of the calling user, where
@code{defescape} changes the default command characters for users that
will be added later.
@end deffn
@@ -4288,7 +4288,7 @@ used.
@samp{cmd} can be any of screen's commands with an arbitrary
number of @samp{args}. If @samp{cmd} is omitted the key-binding is
-removed from the table.
+removed from the table.
@end deffn
@node Bindkey Examples, Bindkey Control,Bindkey, Key Binding
@@ -4500,7 +4500,7 @@ disabled. If this entry is installed on your machines
you are able to
do a rlogin and still keep the correct termcap/terminfo entry. The
terminal name is put in the @code{$TERM} variable of all new windows.
@code{screen} also sets the @code{$TERMCAP} variable reflecting the
-capabilities of the virtual terminal emulated.
+capabilities of the virtual terminal emulated.
Furthermore, the variable @code{$WINDOW} is set to the window number of each
window.
@@ -4592,7 +4592,7 @@ to run a converter like @code{captoinfo} and then compile
the entry with
Use this command to modify your terminal's termcap entry without going
through all the hassles involved in creating a custom termcap entry.
Plus, you can optionally customize the termcap generated for the
-windows.
+windows.
You have to place these commands in one of the screenrc startup files, as they
are meaningless once the terminal emulator is booted.
@@ -4683,7 +4683,7 @@ for more information on termcap definitions.
@node Special Capabilities, Autonuke, Termcap Examples, Termcap
@section Special Terminal Capabilities
@cindex terminal capabilities
-@cindex capabilities
+@cindex capabilities
The following table describes all terminal capabilities that are
recognized by @code{screen} and are not in the termcap manual
(@pxref{Termcap}).
@@ -4695,7 +4695,7 @@ often not possible to place these capabilities in the
terminfo database.
@item LP
(bool)@*
Terminal has VT100 style margins (`magic margins'). Note that
-this capability is obsolete --- @code{screen} now uses the standard
+this capability is obsolete --- @code{screen} now uses the standard
@samp{xn} instead.
@item Z0
@@ -4803,7 +4803,7 @@ This property is set per display, not per window.
@deffn Command defautonuke @var{state}
(none)@*
Same as the @code{autonuke} command except that the default setting for
-new displays is also changed. Initial setting is @code{off}.
+new displays is also changed. Initial setting is @code{off}.
Note that you can use the special @code{AN} terminal capability if you
want to have a terminal type dependent setting.
@end deffn
@@ -4814,7 +4814,7 @@ want to have a terminal type dependent setting.
(none)@*
If the output buffer contains more bytes than the specified limit, no
more data will be read from the windows. The default value is 256. If
-you have a fast display (like @code{xterm}), you can set it to some
+you have a fast display (like @code{xterm}), you can set it to some
higher value. If no argument is specified, the current setting is displayed.
This property is set per display, not per window.
@end deffn
@@ -4849,10 +4849,10 @@ A @var{<charset-mapping>} tells screen how to map
characters
in font @var{<designator>} (@samp{B}: Ascii, @samp{A}: UK,
@samp{K}: german, etc.)
to strings. Every @var{<mapping>} describes to what string a single
-character will be translated. A template mechanism is used, as
+character will be translated. A template mechanism is used, as
most of the time the codes have a lot in common (for example
strings to switch to and from another charset). Each occurrence
-of @samp{%} in @var{<template>} gets substituted with the
+of @samp{%} in @var{<template>} gets substituted with the
@var{template-arg}
specified together with the character. If your strings are not
similar at all, then use @samp{%} as a template and place the full
@@ -5091,9 +5091,9 @@ This section describes commands which are only useful in
the
@deffn Command echo [@samp{-n}] message
(none)@*
The echo command may be used to annoy @code{screen} users with a
-'message of the day'. Typically installed in a global screenrc.
+'message of the day'. Typically installed in a global screenrc.
The option @samp{-n} may be used to suppress the line feed.
-See also @code{sleep}.
+See also @code{sleep}.
Echo is also useful for online checking of environment variables.
@end deffn
@@ -5152,7 +5152,7 @@ categories.
Execute a command at other displays or windows as if it had been entered there.
@code{At} changes the context (the `current window' or `current display'
setting) of the command. If the first parameter describes a non-unique context,
-the command will be executed multiple times. If the first parameter is of the
+the command will be executed multiple times. If the first parameter is of the
form @samp{@var{identifier}*} then identifier is matched against user names.
The command is executed once for each display of the selected user(s).
If the first parameter is of the form @samp{@var{identifier}%} identifier is
@@ -5162,14 +5162,14 @@ If @var{identifier} has a @code{#} or nothing appended
it is matched against
window numbers and titles. Omitting an identifier in front of the @code{#},
@code{*} or @code{%} character selects all users, displays or windows because
a prefix-match is performed. Note that on the affected display(s) a short
-message will describe what happened.
-Note that the @code{#} character works as a comment introducer when it is
-preceded by whitespace. This can be escaped by prefixing @code{#} with a
-@code{\}.
+message will describe what happened.
+Note that the @code{#} character works as a comment introducer when it is
+preceded by whitespace. This can be escaped by prefixing @code{#} with a
+@code{\}.
Permission is checked for the initiator of the @code{at} command, not for the
owners of the affected display(s).
-Caveat:
-When matching against windows, the command is executed at least
+Caveat:
+When matching against windows, the command is executed at least
once per window. Commands that change the internal arrangement of windows
(like @code{other}) may be called again. In shared windows the command will
be repeated for each attached display. Beware, when issuing toggle commands
@@ -5211,7 +5211,7 @@ current window.
@deffn Command defbreaktype [tcsendbreak|TIOCSBRK|TCSBRK]
(none)@*
Choose one of the available methods of generating a break signal for
-terminal devices opened afterwards. The preferred methods are
+terminal devices opened afterwards. The preferred methods are
@code{tcsendbreak} and
@code{TIOCSBRK}. The third, @code{TCSBRK}, blocks the complete @code{screen}
session for the duration of the break, but it may be the only way to
@@ -5259,12 +5259,12 @@ started without options, which should be often enough.
Tell screen how to deal with user interfaces (displays) that cease to
accept output. This can happen if a user presses ^S or a TCP/modem
connection gets cut but no hangup is received. If nonblock is
-@code{off} (this is the default) screen waits until the display
+@code{off} (this is the default) screen waits until the display
restarts to accept the output. If nonblock is @code{on}, screen
waits until the timeout is reached (@code{on} is treated as 1s). If the
display still doesn't receive characters, screen will consider
it ``blocked'' and stop sending characters to it. If at
-some time it restarts to accept characters, screen will unblock
+some time it restarts to accept characters, screen will unblock
the display and redisplay the updated window contents.
@end deffn
@@ -5312,12 +5312,12 @@ windows process (e.g. shell) exits. When a string of
two keys is
specified to the zombie command, `dead' windows will remain in the list.
The @code{kill} command may be used to remove the window. Pressing the first
key
in the dead window has the same effect. Pressing the second key, however,
-screen will attempt to resurrect the window. The process that was initially
+screen will attempt to resurrect the window. The process that was initially
running in the window will be launched again. Calling @code{zombie} without
parameters will clear the zombie setting, thus making windows disappear when
the process terminates.
-As the zombie setting is affected globally for all windows, this command
+As the zombie setting is affected globally for all windows, this command
should probably be called @code{defzombie}, but it isn't.
Optionally you can put the word @code{onerror} after the keys. This will
@@ -5364,7 +5364,7 @@ for silence @samp{=u}.
@section Sorendition
@deffn Command sorendition [@var{attr} [@var{color}]]
(none)@*
-This command has been deprecated. Use @code{rendition so} instead.
+This command has been deprecated. Use @code{rendition so} instead.
@end deffn
@node Attrcolor, Setsid, Sorendition, Miscellaneous
@@ -5381,7 +5381,7 @@ the modifier. @code{Screen} understands two
pseudo-attributes, @code{i}
stands for high-intensity foreground color and @code{I} for
high-intensity background color.
-@noindent
+@noindent
Examples:
@table @code
@item attrcolor b "R"
@@ -5419,7 +5419,7 @@ Parses and executes each argument as separate command.
@section Maxwin
@deffn Command maxwin @var{n}
(none)@*
-Set the maximum window number screen will create. Doesn't affect
+Set the maximum window number screen will create. Doesn't affect
already existing windows. The number can be increased only when there are no
existing windows.
@end deffn
@@ -5437,7 +5437,7 @@ of seconds the output is considered valid. After this
time, the
command is run again if a corresponding string escape is encountered.
The @var{autorefresh} parameter triggers an
automatic refresh for caption and hardstatus strings after the
-specified number of seconds. Only the last line of output is used
+specified number of seconds. Only the last line of output is used
for substitution.
If both the @var{lifespan} and the @var{autorefresh} parameters
@@ -5447,7 +5447,7 @@ In this case, the command is executed right away and
screen stores
the last line of output. If a new line gets printed screen will
automatically refresh the hardstatus or the captions.
-The second form of the command deletes the backtick command
+The second form of the command deletes the backtick command
with the numerical id @var{id}.
@end deffn
@@ -5611,7 +5611,7 @@ An attribute/color modifier is used to change the
attributes or the
color settings. Its format
is @samp{[attribute modifier] [color description]}. The attribute modifier
must be prefixed by a change type indicator if it can be confused with
-a color description. The following change types are known:
+a color description. The following change types are known:
@table @code
@item +
add the specified set to the current attributes
@@ -5623,7 +5623,7 @@ invert the set in the current attributes
change the current attributes to the specified set
@end table
The attribute set can either be specified as a hexadecimal number or
-a combination of the following letters:
+a combination of the following letters:
@table @code
@item d
dim
@@ -5888,7 +5888,7 @@ found a bug not mentioned here.
are ignored). @samp{xn} is treated as a magic-margin indicator.
@item
-@code{screen} has no clue about double-high or double-wide characters.
+@code{screen} has no clue about double-high or double-wide characters.
But this is the only area where @code{vttest} is allowed to fail.
@item
@@ -5920,11 +5920,11 @@ entry.
@item
When the modem line was hung up, @code{screen} may not automatically detach
-(or quit) unless the device driver sends a HANGUP signal. To detach such a
+(or quit) unless the device driver sends a HANGUP signal. To detach such a
@code{screen} session use the -D or -d command line option.
@item
-If a password is set, the command line options -d and -D still detach a
+If a password is set, the command line options -d and -D still detach a
session without asking.
@item
@@ -5935,8 +5935,8 @@ windows.
@item
When attaching to a multiuser session, the user's @file{.screenrc} file is not
-sourced. Each users personal settings have to be included in the
-@file{.screenrc} file from which the session is booted, or have to be
+sourced. Each users personal settings have to be included in the
+@file{.screenrc} file from which the session is booted, or have to be
changed manually.
@item
@@ -5963,7 +5963,7 @@ bug.
The latest official release of @code{screen} available via anonymous
ftp from @samp{prep.ai.mit.edu}, @samp{nic.funet.fi} or any other
-@code{GNU} distribution site. The home site of
+@code{GNU} distribution site. The home site of
@code{screen} is @samp{ftp.uni-erlangen.de
(131.188.3.71)}, in the directory @file{pub/utilities/screen}.
The subdirectory @samp{private} contains the latest beta testing release.
@@ -5986,8 +5986,8 @@ does not include these features of 4.2 and 4.3 BSD UNIX.
@section Socket Directory
@cindex socket directory
-The socket directory defaults either to @file{$HOME/.screen} or simply to
-@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at
+The socket directory defaults either to @file{$HOME/.screen} or simply to
+@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at
compile-time. If @code{screen} is installed
setuid root, then the administrator should compile screen with an
adequate (not NFS mounted) @code{SOCKDIR}. If @code{screen} is not
@@ -6000,8 +6000,8 @@ environment variable @code{$SCREENDIR}.
To compile and install screen:
-The @code{screen} package comes with a @code{GNU Autoconf} configuration
-script. Before you compile the package run
+The @code{screen} package comes with a @code{GNU Autoconf} configuration
+script. Before you compile the package run
@center @code{sh ./configure}
@@ -6010,8 +6010,8 @@ If @code{configure} fails for some reason, then look at
the examples and
comments found in the @file{Makefile.in} and @file{config.h.in} templates.
Rename @file{config.status} to @file{config.status.@var{machine}} when
you want to keep configuration data for multiple architectures. Running
-@code{sh ./config.status.@var{machine}} recreates your configuration
-significantly faster than rerunning @code{configure}.
+@code{sh ./config.status.@var{machine}} recreates your configuration
+significantly faster than rerunning @code{configure}.
@*
Read through the "User Configuration" section of @file{config.h}, and verify
that it suits your needs.
diff --git a/src/etc/completer.zsh b/src/etc/completer.zsh
index 1d9e928..94f40b6 100644
--- a/src/etc/completer.zsh
+++ b/src/etc/completer.zsh
@@ -1,4 +1,4 @@
-#compdef screen
+#compdef screen
#Generated by
# help2simple.pl -c screen -p -f
# simple2long.xsl
@@ -50,4 +50,4 @@ case $state in
_wanted files expl 'screen process' _path_files -W screendir
;;
esac
-
+
diff --git a/src/etc/etcscreenrc b/src/etc/etcscreenrc
index a51d64a..fdacd93 100644
--- a/src/etc/etcscreenrc
+++ b/src/etc/etcscreenrc
@@ -19,7 +19,7 @@ vbell_msg " Wuff ---- Wuff!! "
# all termcap entries are now duplicated as terminfo entries.
# only difference should be the slightly modified syntax, and check for
# terminfo entries, that are already corected in the database.
-#
+#
# G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
# WS this sequence resizes our window.
# cs this sequence changes the scrollregion
@@ -66,7 +66,7 @@ termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
#
-# Do not use xterms alternate window buffer.
+# Do not use xterms alternate window buffer.
# This one would not add lines to the scrollback buffer.
termcap xterm|xterms|xs ti=\E7\E[?47l
terminfo xterm|xterms|xs ti=\E7\E[?47l
diff --git a/src/etc/mkinstalldirs b/src/etc/mkinstalldirs
index 0e29377..70965d7 100755
--- a/src/etc/mkinstalldirs
+++ b/src/etc/mkinstalldirs
@@ -1,5 +1,5 @@
#!/bin/sh
-# Make directory hierarchy.
+# Make directory hierarchy.
# Written by Noah Friedman <friedman@prep.ai.mit.edu>
# Public domain.
@@ -9,7 +9,7 @@ IFS="${IFS-${defaultIFS}}"
errstatus=0
-for file in ${1+"$@"} ; do
+for file in ${1+"$@"} ; do
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
diff --git a/src/etc/newsyntax b/src/etc/newsyntax
index 6b5bb03..6ecbffd 100755
--- a/src/etc/newsyntax
+++ b/src/etc/newsyntax
@@ -2,7 +2,7 @@
#
# newsyntax -- update a screenrc file from 3.2 to 3.3 syntax
#
-# please check all comments after running this script and watch out
+# please check all comments after running this script and watch out
# for funny passages.
#
if [ $# != 1 ]; then
@@ -10,7 +10,7 @@ if [ $# != 1 ]; then
exit 1;
fi
-#Ultrix 4.2 /bin/sh does not handle "read a < $1"
+#Ultrix 4.2 /bin/sh does not handle "read a < $1"
#Dean Gaudet <dgaudet@watdragon.uwaterloo.ca>
exec < $1
read a
diff --git a/src/etc/newsyntax38 b/src/etc/newsyntax38
index b22850d..d54cd09 100755
--- a/src/etc/newsyntax38
+++ b/src/etc/newsyntax38
@@ -3,12 +3,12 @@
# newsyntax38 -- update a screenrc file from 3.3 to 3.8 syntax
#
# Please bring your scripts up to syntax level 3.3 before running this script.
-# Please check all comments after running this script and watch out
+# Please check all comments after running this script and watch out
# for funny passages.
#
# * aka and shellaka are replaced by title and shelltitle.
-#
-# * Pairs of termcap and terminfo commands are folded into a single
+#
+# * Pairs of termcap and terminfo commands are folded into a single
# termcapinfo command where possible.
#
# * trailing blanks are zapped. Unintentionally.
@@ -23,7 +23,7 @@ if [ $# != 1 ]; then
exit 1;
fi
-#Ultrix 4.2 /bin/sh does not handle "read a < $1"
+#Ultrix 4.2 /bin/sh does not handle "read a < $1"
#Dean Gaudet <dgaudet@watdragon.uwaterloo.ca>
exec < $1
read a
@@ -41,7 +41,7 @@ echo "# Do not remove the above line. This screen rc file was
updated" >> $1
echo "# by the newsyntax script." >> $1
# termcap and terminfo lines can only be folded when there is no parameter
-# expansion in the codes. Parameters are denoted differently in
+# expansion in the codes. Parameters are denoted differently in
# termcap and termcap syntax. Everything else is identical, I assume.
# Thus codes not containing '%' can be savely folded.
@@ -53,7 +53,7 @@ sed < $1.old > $1.dups \
-e 's/\\/\\\\/g'
# Oh, my bourne shell seems to gobble backslashes while reading.
-# Thus the sed above duplicates them in advance.
+# Thus the sed above duplicates them in advance.
# Hope this is not just another silly bash featureism.
# It still zaps trailing blanks. I do not know why. But that is nice.
diff --git a/src/etc/toolcheck b/src/etc/toolcheck
index 1b8ee39..6ca1680 100755
--- a/src/etc/toolcheck
+++ b/src/etc/toolcheck
@@ -29,9 +29,9 @@ case "$reply" in
retval=1;
;;
GNU\ sed\ version\ 2.05|GNU\ sed\ version\ 2.03\ kevin)
- echo "- sed is '$reply' - good.";
+ echo "- sed is '$reply' - good.";
;;
- GNU*) echo "- sed is '$reply'.";
+ GNU*) echo "- sed is '$reply'.";
;;
*) ;;
esac
diff --git a/src/list_license.c b/src/list_license.c
index d1299e1..317f14a 100644
--- a/src/list_license.c
+++ b/src/list_license.c
@@ -126,7 +126,7 @@ static int gl_License_rebuild(ListData *ldata)
char *lastspace = NULL;
if (flayer->l_width < 40 || flayer->l_height < 5)
- return -1;
+ return -1;
for (char *c = license; *c != 0; c++) {
if (linelen == 0)
diff --git a/src/process.c b/src/process.c
index c3dcdfc..ba551cf 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2028,8 +2028,8 @@ static void DoCommandWritelock(struct action *act)
return;
fore->w_wlock = b ? WLOCK_ON : WLOCK_OFF;
}
- /*
- * user may have permission to change the writelock setting,
+ /*
+ * user may have permission to change the writelock setting,
* but he may never aquire the lock himself without write
permission
*/
if (!AclCheckPermWin(D_user, ACL_WRITE, fore))
diff --git a/src/socket.c b/src/socket.c
index 7ba231a..58c7214 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -1150,12 +1150,12 @@ static bool CheckPassword(const char *password) {
int pam_ret;
char *tty_name;
- reply = (struct pam_response *)malloc(sizeof(struct pam_response));
+ reply = (struct pam_response *)malloc(sizeof(struct pam_response));
- reply[0].resp = strdup(password);
- reply[0].resp_retcode = 0;
+ reply[0].resp = strdup(password);
+ reply[0].resp_retcode = 0;
- pamc.conv = &screen_conv;
+ pamc.conv = &screen_conv;
pamc.appdata_ptr = (void *)reply;
pam_ret= pam_start("screen", ppp->pw_name, &pamc, &pamh);
if (pam_ret!= PAM_SUCCESS) {
diff --git a/src/terminfo/checktc.c b/src/terminfo/checktc.c
index ccc9485..51e51e2 100644
--- a/src/terminfo/checktc.c
+++ b/src/terminfo/checktc.c
@@ -37,7 +37,7 @@ main()
fprintf(stderr, "cm capability required\n");
exit(1);
}
-
+
if ((s = getenv("COLUMNS")))
CO = atoi(s);
if ((s = getenv("LINES")))
diff --git a/src/terminfo/screeninfo.src b/src/terminfo/screeninfo.src
index c5f254a..92e1816 100644
--- a/src/terminfo/screeninfo.src
+++ b/src/terminfo/screeninfo.src
@@ -18,7 +18,7 @@ screen|VT 100/ANSI X3.64 virtual terminal,
rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
- smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
@@ -42,7 +42,7 @@ screen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
- smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
@@ -66,7 +66,7 @@ screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus
line,
rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
- smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
tsl=\E_, fsl=\E\\, dsl=\E_\E\\,
civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
--
2.28.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [PATCH] remove trailing empty spaces,
René Genz <=