summaryrefslogtreecommitdiff
path: root/debian/patches/46fix-keybinding-typo-in-manpage.patch
blob: 3513776118063080d33126547c9feb70f1641400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
The manpage for Screen says that you should use C-a C-\ to quit screen, while
it is in fact C-a \ (Closes: #630535)

There's also one case where C-a h is documented instead of C-a C-h (aka
backspace) (Closes: #541793)

Index: screen/doc/screen.1
===================================================================
--- screen.orig/doc/screen.1	2011-10-08 19:58:19.000000000 +0200
+++ screen/doc/screen.1	2011-10-08 19:59:19.000000000 +0200
@@ -512,7 +512,7 @@
 Show the number (and title) of the current window.
 .IP "\fBC-a backspace\fP"
 .PD 0
-.IP "\fBC-a h\fP"
+.IP "\fBC-a C-h\fP"
 .IP "\fBC-a p\fP"
 .IP "\fBC-a C-p\fP	(prev)"
 .PD
@@ -578,7 +578,7 @@
 Write out a \*Q.termcap\*U file.
 .IP "\fBC-a ?\fP	(help)"
 Show key bindings.
-.IP "\fBC-a C-\e\fP	(quit)"
+.IP "\fBC-a \e\fP	(quit)"
 Kill all windows and terminate
 .IR screen .
 .IP "\fBC-a :\fP	(colon)"
Index: screen/doc/screen.texinfo
===================================================================
--- screen.orig/doc/screen.texinfo	2011-10-08 19:58:19.000000000 +0200
+++ screen/doc/screen.texinfo	2011-10-08 19:59:19.000000000 +0200
@@ -791,7 +791,7 @@
 (help)@*
 Show key bindings.  @xref{Help}.
 
-@item @kbd{C-a C-\}
+@item @kbd{C-a \}
 (quit)@*
 Kill all windows and terminate @code{screen}.  @xref{Quit}.
 
@@ -2031,13 +2031,10 @@
 
 @node Quit,  , Suspend, Session Management
 @section Quit
-@kindex C-\
+@kindex \
 @deffn Command quit
-(@kbd{C-a C-\})@*
-Kill all windows and terminate @code{screen}.  Note that on VT100-style
-terminals the keys @kbd{C-4} and @kbd{C-\} are identical.  So be careful
-not to type @kbd{C-a C-4} when selecting window no. 4.  Use the empty
-bind command (as in @code{bind "^\"}) to remove a key binding
+(@kbd{C-a \})@*
+Kill all windows and terminate @code{screen}.
 (@pxref{Key Binding}).
 @end deffn