summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 18:53:23 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 18:53:23 -0400
commit00fc5e76d83c131821a9bdbad0286140424e2fe8 (patch)
tree5d464510cbc4210759667c8dc07af1cecd8f8596
parentLink man pages in ~/.local (diff)
downloadsrc-00fc5e76d83c131821a9bdbad0286140424e2fe8.tar.gz
src-00fc5e76d83c131821a9bdbad0286140424e2fe8.zip
Add hnel.1
Diffstat (limited to '')
-rw-r--r--bin/hnel.130
1 files changed, 30 insertions, 0 deletions
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