From fdb338fe12da6b21b6a7aa8c1090621a359dd9c7 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 7 Jul 2021 20:30:46 +0200 Subject: Allow binding to custom key sequences And document this feature in the manual page. --- sdn.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sdn.1') 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 , -- cgit v1.2.3-70-g09d2