~ubuntu-branches/ubuntu/trusty/screen/trusty-backports

« back to all changes in this revision

Viewing changes to debian/patches/18manpage_maxwin_limit.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-06-12 19:33:30 UTC
  • mfrom: (1.1.13 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080612193330-1tt3qhpxonbgdmq2
Tags: 4.0.3-11
* Unbreak <End> and <^A Bksp> using a patch from Loïc Minier
  (thanks!) - introduced as new 45suppress_remap.dpatch.
  Closes: #484647.
* Bump Standards version to 3.8.0. No changes necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 18manpage_maxwin_limit.dpatch by  <hesso@pool.math.tu-berlin.de>
 
3
##
 
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.
 
7
 
 
8
@DPATCH@
 
9
diff -Naur screen-4.0.3.orig/doc/screen.1 screen-4.0.3/doc/screen.1
 
10
--- screen-4.0.3.orig/doc/screen.1      2008-06-01 23:44:57.000000000 +0200
 
11
+++ screen-4.0.3/doc/screen.1   2008-06-01 23:44:57.000000000 +0200
 
12
@@ -2545,9 +2545,9 @@
 
13
 and scrollback option (\fB-h\fP <num>) may be specified with each command. 
 
14
 The option (\fB-M\fP) turns monitoring on for this window.
 
15
 The option (\fB-L\fP) turns output logging on for this window.
 
16
-If an optional number \fIn\fP in the range 0..9 is given, the window
 
17
-number \fIn\fP is assigned to the newly created window (or, if this
 
18
-number is already in-use, the next available number).
 
19
+If an optional number \fIn\fP in the range 0..MAXWIN-1 is given,
 
20
+the window number \fIn\fP is assigned to the newly created window
 
21
+(or, if this number is already in-use, the next available number).
 
22
 If a command is specified after \*Qscreen\*U, this command (with the given
 
23
 arguments) is started in the window; otherwise, a shell is created.
 
24
 Thus, if your \*Q.screenrc\*U contains the lines
 
25
@@ -2593,7 +2593,7 @@
 
26
 is assigned to this window.
 
27
 Thus, the first window can be activated by \*Qselect 0\*U.
 
28
 The number of windows is limited at compile-time by the MAXWIN
 
29
-configuration parameter.
 
30
+configuration parameter (which defaults to 40 in Debian).
 
31
 There are two special WindowIDs, \*Q-\*U selects the
 
32
 internal blank window and \*Q.\*U selects the current window. The
 
33
 latter is useful if used with screen's \*Q-X\*U option.
 
34
diff -Naur screen-4.0.3.orig/doc/screen.texinfo screen-4.0.3/doc/screen.texinfo
 
35
--- screen-4.0.3.orig/doc/screen.texinfo        2008-06-01 23:44:57.000000000 +0200
 
36
+++ screen-4.0.3/doc/screen.texinfo     2008-06-01 23:44:57.000000000 +0200
 
37
@@ -1168,9 +1168,9 @@
 
38
 
 
39
 This section describes the commands for creating a new window for
 
40
 running programs.  When a new window is created, the first available
 
41
-number from the range 0@dots{}9 is assigned to it.
 
42
+number is assigned to it.
 
43
 The number of windows is limited at compile-time by the MAXWIN
 
44
-configuration parameter.
 
45
+configuration parameter (which defaults to 40 in Debian).
 
46
 
 
47
 @menu
 
48
 * Chdir::                       Change the working directory for new windows.
 
49
@@ -1212,7 +1212,7 @@
 
50
 (@samp{-h @var{num}}) may be specified with each command. 
 
51
 The option (@samp{-M}) turns monitoring on for this window.
 
52
 The option (@samp{-L}) turns output logging on for this window.
 
53
-If an optional number @var{n} in the range 0@dots{}9 is given,
 
54
+If an optional number @var{n} in the range 0@dots{}MAXWIN-1 is given,
 
55
 the window number @var{n} is assigned to the newly created window (or,
 
56
 if this number is already in-use, the next available number).  If a
 
57
 command is specified after @code{screen}, this command (with the given