1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 18manpage_maxwin_limit.dpatch by <hesso@pool.math.tu-berlin.de>
4
## DP: The builtin 'screen' command can directly reference window IDs
5
## DP: up to MAXWIN, not only {0-9}. Additionally mention Debian's
6
## DP: MAXWIN default in the man and info pages.
9
--- screen-4.0.3.orig/doc/screen.1 2007-09-22 13:19:33.000000000 +0200
10
+++ screen-4.0.3/doc/screen.1 2007-09-22 13:19:58.000000000 +0200
12
and scrollback option (\fB-h\fP <num>) may be specified with each command.
13
The option (\fB-M\fP) turns monitoring on for this window.
14
The option (\fB-L\fP) turns output logging on for this window.
15
-If an optional number \fIn\fP in the range 0..9 is given, the window
16
-number \fIn\fP is assigned to the newly created window (or, if this
17
-number is already in-use, the next available number).
18
+If an optional number \fIn\fP in the range 0..MAXWIN-1 is given,
19
+the window number \fIn\fP is assigned to the newly created window
20
+(or, if this number is already in-use, the next available number).
21
If a command is specified after \*Qscreen\*U, this command (with the given
22
arguments) is started in the window; otherwise, a shell is created.
23
Thus, if your \*Q.screenrc\*U contains the lines
25
is assigned to this window.
26
Thus, the first window can be activated by \*Qselect 0\*U.
27
The number of windows is limited at compile-time by the MAXWIN
28
-configuration parameter.
29
+configuration parameter (which defaults to 40 in Debian).
30
There are two special WindowIDs, \*Q-\*U selects the
31
internal blank window and \*Q.\*U selects the current window. The
32
latter is useful if used with screen's \*Q-X\*U option.
33
--- screen-4.0.3.orig/doc/screen.texinfo 2007-09-22 13:19:37.000000000 +0200
34
+++ screen-4.0.3/doc/screen.texinfo 2007-09-22 13:20:05.000000000 +0200
37
This section describes the commands for creating a new window for
38
running programs. When a new window is created, the first available
39
-number from the range 0@dots{}9 is assigned to it.
40
+number is assigned to it.
41
The number of windows is limited at compile-time by the MAXWIN
42
-configuration parameter.
43
+configuration parameter (which defaults to 40 in Debian).
46
* Chdir:: Change the working directory for new windows.
48
(@samp{-h @var{num}}) may be specified with each command.
49
The option (@samp{-M}) turns monitoring on for this window.
50
The option (@samp{-L}) turns output logging on for this window.
51
-If an optional number @var{n} in the range 0@dots{}9 is given,
52
+If an optional number @var{n} in the range 0@dots{}MAXWIN-1 is given,
53
the window number @var{n} is assigned to the newly created window (or,
54
if this number is already in-use, the next available number). If a
55
command is specified after @code{screen}, this command (with the given