blob: 42d160da81651f67b59673f97368e7d2727a56ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|