summary refs log tree commit diff
diff options
context:
space:
mode:
-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