mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update man page and bash completion
This commit is contained in:
parent
7d5e25d368
commit
b7cdbec8e2
2 changed files with 8 additions and 8 deletions
14
man/tio.1
14
man/tio.1
|
|
@ -1,4 +1,4 @@
|
||||||
.TH "tio" "1" "November 2017"
|
.TH "tio" "1" "April 2018"
|
||||||
|
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
tio \- a simple TTY terminal I/O application
|
tio \- a simple TTY terminal I/O application
|
||||||
|
|
@ -63,20 +63,20 @@ Map (replace, translate) special characters on input or output. The following ma
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
.TP 12n
|
.TP 12n
|
||||||
|
.IP "\fBICRNL"
|
||||||
|
Map CR to NL on input (unless IGNCR is set).
|
||||||
|
.IP "\fBIGNCR"
|
||||||
|
Ignore CR on input.
|
||||||
.IP "\fBINLCR"
|
.IP "\fBINLCR"
|
||||||
Map NL to CR on input.
|
Map NL to CR on input.
|
||||||
.IP "\fBINLCRNL"
|
.IP "\fBINLCRNL"
|
||||||
Map NL to CR-NL on input.
|
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 "\fBONLCRNL"
|
|
||||||
Map NL to CR-NL on output.
|
|
||||||
.IP "\fBOCRNL"
|
.IP "\fBOCRNL"
|
||||||
Map CR to NL on output.
|
Map CR to NL on output.
|
||||||
.IP "\fBODELBS"
|
.IP "\fBODELBS"
|
||||||
Map DEL to BS on output.
|
Map DEL to BS on output.
|
||||||
|
.IP "\fBONLCRNL"
|
||||||
|
Map NL to CR-NL on output.
|
||||||
.P
|
.P
|
||||||
If defining more than one flag, the flags must be comma separated.
|
If defining more than one flag, the flags must be comma separated.
|
||||||
.RE
|
.RE
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ _tio()
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-m | --map)
|
-m | --map)
|
||||||
COMPREPLY=( $(compgen -W "INLCR IGNCR ICRNL ONLCR OCRNL" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-v | --version)
|
-v | --version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue