diff options
author | assar <assar@FreeBSD.org> | 2001-03-04 06:04:50 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-03-04 06:04:50 +0000 |
commit | c78c138f0f1e0db42115c306e06a6c59f6d5b4bc (patch) | |
tree | a8c2687c4b1bd822502b1894633d12e6b935cec7 /share/man/man4/termios.4 | |
parent | 35583224c700ea795d0000e00b57a46e7f96d2fb (diff) | |
download | FreeBSD-src-c78c138f0f1e0db42115c306e06a6c59f6d5b4bc.zip FreeBSD-src-c78c138f0f1e0db42115c306e06a6c59f6d5b4bc.tar.gz |
implement OCRNL, ONOCR, and ONLRET
Obtained from: NetBSD
Diffstat (limited to 'share/man/man4/termios.4')
-rw-r--r-- | share/man/man4/termios.4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4 index 773ee24..3d8a534 100644 --- a/share/man/man4/termios.4 +++ b/share/man/man4/termios.4 @@ -994,6 +994,8 @@ and are composed of the following masks: /* map NL to CR-NL (ala .Dv CRMOD ) */ +.It Dv OCRNL +/* map CR to NL */ .It Dv OXTABS /* expand tabs to spaces */ .It Dv ONOEOT @@ -1001,6 +1003,10 @@ and are composed of the following masks: .Dv EOT Ns 's .Ql \&^D on output) */ +.It Dv ONOCR +/* do not transmit CRs on column 0 */ +.It Dv ONLRET +/* on the termianl NL performs the CR function */ .El .Pp If @@ -1013,6 +1019,10 @@ If is set, newlines are translated to carriage return, linefeeds. .Pp If +.Dv OCRNL +is set, carriage returns are translated to newlines. +.Pp +If .Dv OXTABS is set, tabs are expanded to the appropriate number of spaces (assuming 8 column tab stops). @@ -1023,6 +1033,15 @@ is set, .Tn ASCII .Dv EOT Ns 's are discarded on output. +.Pp +If +.Dv ONOCR +is set, no CR character is transmitted when at column 0 (first position). +.Pp +If +.Dv ONLRET +is set, the NL character is assumed to do the carriage-return function; +the column pointer will be set to 0. .Ss Control Modes Values of the .Fa c_cflag |