summary refs log tree commit diff
path: root/bin/man1/hnel.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-17 14:50:03 -0500
committerJune McEnroe <june@causal.agency>2019-01-17 14:50:03 -0500
commitb9b601279510064203b83a6f0cdf107c0a7700cb (patch)
tree21d166a30d0870c619dc86c6b006b01019b3091a /bin/man1/hnel.1
parentDon't use string functions in ttpre (diff)
downloadsrc-b9b601279510064203b83a6f0cdf107c0a7700cb.tar.gz
src-b9b601279510064203b83a6f0cdf107c0a7700cb.zip
Reorganize bin and Makefile once again
Diffstat (limited to 'bin/man1/hnel.1')
-rw-r--r--bin/man1/hnel.133
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/man1/hnel.1 b/bin/man1/hnel.1
new file mode 100644
index 00000000..4dc4b9ea
--- /dev/null
+++ b/bin/man1/hnel.1
@@ -0,0 +1,33 @@
+.Dd September 7, 2018
+.Dt HNEL 1
+.Os
+.
+.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
+.Dl hnel '[]{}' '{}[]' vim
+.
+.Sh SEE ALSO
+.Xr tr 1 ,
+.Xr forkpty 3