~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/termios.3

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
.\" 2006-12-28, mtk:
35
35
.\"     Added .SS headers to give some structure to this page; and a
36
36
.\"     small amount of reordering.
37
 
.\"     Added a section on canonical and non-canonical mode.
 
37
.\"     Added a section on canonical and noncanonical mode.
38
38
.\"     Enhanced the discussion of "raw" mode for cfmakeraw().
39
39
.\"     Document CMSPAR.
40
40
.\"
321
321
Ignore modem control lines.
322
322
.TP
323
323
.B LOBLK
324
 
(not in POSIX) Block output from a non-current shell layer.
 
324
(not in POSIX) Block output from a noncurrent shell layer.
325
325
For use by \fBshl\fP (shell layers).  (Not implemented on Linux.)
326
326
.TP
327
327
.B CIBAUD
522
522
is set, and then not passed as input.
523
523
.TP
524
524
.B VMIN
525
 
Minimum number of characters for non-canonical read.
 
525
Minimum number of characters for noncanonical read.
526
526
.TP
527
527
.B VEOL
528
528
(0, NUL)
532
532
is set.
533
533
.TP
534
534
.B VTIME
535
 
Timeout in deciseconds for non-canonical read.
 
535
Timeout in deciseconds for noncanonical read.
536
536
.TP
537
537
.B VEOL2
538
538
(not in POSIX; 0, NUL)
630
630
.BR VEOL ,
631
631
.BR VEOF ,
632
632
respectively.
633
 
In non-canonical mode the special character meaning is replaced
 
633
In noncanonical mode the special character meaning is replaced
634
634
by the timeout meaning.
635
635
For an explanation of
636
636
.B VMIN
637
637
and
638
638
.BR VTIME ,
639
639
see the description of
640
 
non-canonical mode below.
 
640
noncanonical mode below.
641
641
.SS "Retrieving and changing terminal settings"
642
642
.PP
643
643
.BR tcgetattr ()
666
666
.I fd
667
667
has been transmitted, and all input that has been received but not read
668
668
will be discarded before the change is made.
669
 
.SS "Canonical and non-canonical mode"
 
669
.SS "Canonical and noncanonical mode"
670
670
The setting of the
671
671
.B ICANON
672
672
canon flag in
674
674
determines whether the terminal is operating in canonical mode
675
675
.RB ( ICANON
676
676
set) or
677
 
non-canonical mode
 
677
noncanonical mode
678
678
.RB ( ICANON
679
679
unset).
680
680
By default,
703
703
and the remaining characters will be available for a future
704
704
.BR read (2).
705
705
.PP
706
 
In non-canonical mode input is available immediately (without
 
706
In noncanonical mode input is available immediately (without
707
707
the user having to type a line-delimiter character),
708
708
and line editing is disabled.
709
709
The settings of MIN
874
874
Normally, this will disconnect the line.
875
875
\fBCBAUDEX\fP is a mask
876
876
for the speeds beyond those defined in POSIX.1 (57600 and above).
877
 
Thus, \fBB57600\fP & \fBCBAUDEX\fP is non-zero.
 
877
Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero.
878
878
.LP
879
879
.BR cfgetispeed ()
880
880
returns the input baud rate stored in the \fItermios\fP structure.
935
935
.BR cfmakeraw ()
936
936
and
937
937
.BR cfsetspeed ()
938
 
are non-standard, but available on the BSDs.
 
938
are nonstandard, but available on the BSDs.
939
939
.SH NOTES
940
940
Unix V7 and several later systems have a list of baud rates
941
941
where after the fourteen values B0, ..., B9600 one finds the
942
942
two constants EXTA, EXTB ("External A" and "External B").
943
943
Many systems extend the list with much higher baud rates.
944
944
.LP
945
 
The effect of a non-zero \fIduration\fP with
 
945
The effect of a nonzero \fIduration\fP with
946
946
.BR tcsendbreak ()
947
947
varies.
948
948
SunOS specifies a break of
955
955
.IR duration .
956
956
Under Solaris and Unixware,
957
957
.BR tcsendbreak ()
958
 
with non-zero
 
958
with nonzero
959
959
.I duration
960
960
behaves like
961
961
.BR tcdrain ().
969
969
.BR tty_ioctl (4),
970
970
.BR setserial (8)
971
971
.SH COLOPHON
972
 
This page is part of release 3.23 of the Linux
 
972
This page is part of release 3.24 of the Linux
973
973
.I man-pages
974
974
project.
975
975
A description of the project,