mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add mapping flags INLCRNL and ODELBS
The following new mapping flags are added: INLCRNL: Map NL to CR-NL on input. ODELBS: Map DEL to BS on output. Flags requested and tested by Jan Ciger (janoc).
This commit is contained in:
parent
60cbc5b368
commit
77c19ff152
3 changed files with 29 additions and 6 deletions
|
|
@ -62,17 +62,21 @@ Log to file.
|
|||
Map (replace, translate) special characters on input or output. The following mapping flags are supported:
|
||||
|
||||
.RS
|
||||
.TP 8n
|
||||
.TP 12n
|
||||
.IP "\fBINLCR"
|
||||
Map NL to CR on input.
|
||||
.IP "\fBINLCRNL"
|
||||
Map NL to CR-NL on input.
|
||||
.IP "\fBIGNCR"
|
||||
Ignore CR on input.
|
||||
.IP "\fBICRNL"
|
||||
Map CR to NL on input (unless IGNCR is set).
|
||||
.IP "\fBONLCR"
|
||||
.IP "\fBONLCRNL"
|
||||
Map NL to CR-NL on output.
|
||||
.IP "\fBOCRNL"
|
||||
Map CR to NL on output.
|
||||
.IP "\fBODELBS"
|
||||
Map DEL to BS on output.
|
||||
.P
|
||||
If defining more than one flag, the flags must be comma separated.
|
||||
.RE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue