summaryrefslogtreecommitdiff
path: root/sdn.1
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-07-07 20:30:46 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-07-07 21:21:32 +0200
commitfdb338fe12da6b21b6a7aa8c1090621a359dd9c7 (patch)
tree566577d22eb78d206a5cb3ffac5c0e475a4727b1 /sdn.1
parent9056ef41946dca407015ec45505e99d3542e82d1 (diff)
downloadsdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.tar.gz
sdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.tar.xz
sdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.zip
Allow binding to custom key sequences
And document this feature in the manual page.
Diffstat (limited to 'sdn.1')
-rw-r--r--sdn.114
1 files changed, 14 insertions, 0 deletions
diff --git a/sdn.1 b/sdn.1
index 07da89e..097a5de 100644
--- a/sdn.1
+++ b/sdn.1
@@ -98,6 +98,20 @@ normal h parent
normal l choose
normal M-f4 quit
.Ed
+.Pp
+Midnight Commander binds the same traversal actions to sequences normally
+unknown to ncurses, due to them being missing from terminfo.
+You'll need to define them manually to match your terminal.
+For rxvt, that would be:
+.Bd -literal -offset indent
+define C-ppage ^[[5^
+define C-npage ^[[6^
+normal C-ppage parent
+normal C-npage choose
+.Ed
+.Pp
+Escape characters must be inserted verbatim, e.g., by pressing C-v ESC in vi,
+or C-q ESC in Emacs.
.Ss Pa look
Terminal attributes are accepted in a format similar to that of
.Xr git-config 1 ,