aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sciteco.7.template
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-07 03:16:49 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-07 03:16:49 +0100
commitd107f8d1de766ca339f61a189bd01810af89986f (patch)
tree3297152f484603e40aed82e80fbee75db82f4991 /doc/sciteco.7.template
parent2789e5da50987b908a4aa5758a17c86570d94d63 (diff)
downloadsciteco-d107f8d1de766ca339f61a189bd01810af89986f.tar.gz
Curses UI: fixed translation of the backspace key
* for historic reasons, the backspace key can be transmitted as ^H by the terminal. Some terminal emulators might do that - these are fixed by this commit. * Use CTL_KEY('H') instead of standard C '\b' as the former is less ambiguous given the confusion around the backspace character.
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r--doc/sciteco.7.template6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index 662ef09..a9fbd03 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -109,11 +109,15 @@ A few keys with non-printable representation are translated to
control codes as well.
The most prominent is the Escape key - it is translated to
code 27.
-The Backspace key will be translated to code 8, and the Tab key
+The backspace key will always be translated to code 8, and the Tab key
to code 9.
Last but not least, the Return key is translated to the current
buffer's end of line sequence (linefeed, carriage return followed
by linefeed or just carriage return).
+Naturally, all of these control codes can also be typed using a
+Control-key combination (e.g. CTRL+I for the tab character) and
+there is often an equivalent typed with the caret character
+(e.g. \(lq^I\(rq).
.IP 4.
A selection of other keys without printable representation (called
function keys) are translated to user-definable character sequences.