From 84a71406c46d5ec19b3fad03a6048267d694ccf9 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 7 Sep 2018 18:53:23 -0400 Subject: Add hnel.1 --- bin/hnel.1 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bin/hnel.1 diff --git a/bin/hnel.1 b/bin/hnel.1 new file mode 100644 index 00000000..42d160da --- /dev/null +++ b/bin/hnel.1 @@ -0,0 +1,30 @@ +.Dd $Mdocdate$ +.Dt HNEL 1 +.Os "Causal Agency" +.Sh NAME +.Nm hnel +.Nd PTY input remapper +.Sh SYNOPSIS +.Nm +.Ar string1 +.Ar string2 +.Ar "command ..." +.Sh DESCRIPTION +.Nm +runs the +.Ar command +in a new PTY, +remapping input characters in +.Ar string1 +to the corresponding characters in +.Ar string2 . +Type +.Ic ^S +to toggle remapping. +.Sh EXAMPLES +.Bd -literal +hnel '[]{}' '{}[]' vim +.Ed +.Sh SEE ALSO +.Xr tr 1 , +.Xr forkpty 3 -- cgit 1.4.1