termios.4 (178981) | termios.4 (181905) |
---|---|
1.\" Copyright (c) 1991, 1992, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)termios.4 8.4 (Berkeley) 4/19/94 | 1.\" Copyright (c) 1991, 1992, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)termios.4 8.4 (Berkeley) 4/19/94 |
33.\" $FreeBSD: head/share/man/man4/termios.4 178981 2008-05-13 21:51:35Z remko $ | 33.\" $FreeBSD: head/share/man/man4/termios.4 181905 2008-08-20 08:31:58Z ed $ |
34.\" | 34.\" |
35.Dd May 13, 2008 | 35.Dd August 20, 2008 |
36.Dt TERMIOS 4 37.Os 38.Sh NAME 39.Nm termios 40.Nd general terminal line discipline 41.Sh SYNOPSIS 42.In termios.h 43.Sh DESCRIPTION --- 1024 unchanged lines hidden (view full) --- 1068.Fn open 1069is implementation defined. 1070.Ss Output Modes 1071Values of the 1072.Fa c_oflag 1073field describe the basic terminal output control, 1074and are composed of the following masks: 1075.Pp | 36.Dt TERMIOS 4 37.Os 38.Sh NAME 39.Nm termios 40.Nd general terminal line discipline 41.Sh SYNOPSIS 42.In termios.h 43.Sh DESCRIPTION --- 1024 unchanged lines hidden (view full) --- 1068.Fn open 1069is implementation defined. 1070.Ss Output Modes 1071Values of the 1072.Fa c_oflag 1073field describe the basic terminal output control, 1074and are composed of the following masks: 1075.Pp |
1076.Bl -tag -width OXTABS -offset indent -compact | 1076.Bl -tag -width ONOEOT -offset indent -compact |
1077.It Dv OPOST 1078/* enable following output processing */ 1079.It Dv ONLCR 1080/* map NL to CR-NL (ala 1081.Dv CRMOD ) 1082*/ 1083.It Dv OCRNL 1084/* map CR to NL */ | 1077.It Dv OPOST 1078/* enable following output processing */ 1079.It Dv ONLCR 1080/* map NL to CR-NL (ala 1081.Dv CRMOD ) 1082*/ 1083.It Dv OCRNL 1084/* map CR to NL */ |
1085.It Dv OXTABS | 1085.It Dv TABDLY 1086/* tab delay mask */ 1087.It Dv TAB0 1088/* no tab delay and expansion */ 1089.It Dv TAB3 |
1086/* expand tabs to spaces */ 1087.It Dv ONOEOT 1088/* discard 1089.Dv EOT Ns 's 1090.Ql \&^D 1091on output) */ 1092.It Dv ONOCR 1093/* do not transmit CRs on column 0 */ --- 9 unchanged lines hidden (view full) --- 1103If 1104.Dv ONLCR 1105is set, newlines are translated to carriage return, linefeeds. 1106.Pp 1107If 1108.Dv OCRNL 1109is set, carriage returns are translated to newlines. 1110.Pp | 1090/* expand tabs to spaces */ 1091.It Dv ONOEOT 1092/* discard 1093.Dv EOT Ns 's 1094.Ql \&^D 1095on output) */ 1096.It Dv ONOCR 1097/* do not transmit CRs on column 0 */ --- 9 unchanged lines hidden (view full) --- 1107If 1108.Dv ONLCR 1109is set, newlines are translated to carriage return, linefeeds. 1110.Pp 1111If 1112.Dv OCRNL 1113is set, carriage returns are translated to newlines. 1114.Pp |
1115The 1116.Dv TABDLY 1117bits specify the tab delay. 1118The 1119.Fa c_oflag 1120is masked with 1121.Dv TABDLY 1122and compared with the 1123values 1124.Dv TAB0 1125or 1126.Dv TAB3 . |
|
1111If | 1127If |
1112.Dv OXTABS | 1128.Dv TAB3 |
1113is set, tabs are expanded to the appropriate number of 1114spaces (assuming 8 column tab stops). 1115.Pp 1116If 1117.Dv ONOEOT 1118is set, 1119.Tn ASCII 1120.Dv EOT Ns 's --- 443 unchanged lines hidden --- | 1129is set, tabs are expanded to the appropriate number of 1130spaces (assuming 8 column tab stops). 1131.Pp 1132If 1133.Dv ONOEOT 1134is set, 1135.Tn ASCII 1136.Dv EOT Ns 's --- 443 unchanged lines hidden --- |