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
commit84a71406c46d5ec19b3fad03a6048267d694ccf9 (patch)
treefbe688dfe92eef07234f416ee22a3316131ef091
parentLink man pages in ~/.local (diff)
downloadsrc-84a71406c46d5ec19b3fad03a6048267d694ccf9.tar.gz
src-84a71406c46d5ec19b3fad03a6048267d694ccf9.zip
Add hnel.1
-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