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

« back to all changes in this revision

Viewing changes to debian/patches/18manpage_maxwin_limit.dpatch

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
--- 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
 
11
@@ -2540,9 +2540,9 @@
 
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
 
24
@@ -2588,7 +2588,7 @@
 
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
 
35
@@ -1166,9 +1166,9 @@
 
36
 
 
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).
 
44
 
 
45
 @menu
 
46
 * Chdir::                       Change the working directory for new windows.
 
47
@@ -1210,7 +1210,7 @@
 
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