Cross-reference all of uart(4), tty(4) and termios(4)

Add a BUGS subsection about why, in the vain hope that somebody
improves the situation.
This commit is contained in:
Poul-Henning Kamp
2025-12-14 22:09:48 +00:00
parent 80726c2257
commit edd982b953
4 changed files with 37 additions and 3 deletions
+1
View File
@@ -809,6 +809,7 @@ MLINKS+=tap.4 if_tap.4 \
tap.4 if_vmnet.4 tap.4 if_vmnet.4
MLINKS+=tdfx.4 tdfx_linux.4 MLINKS+=tdfx.4 tdfx_linux.4
MLINKS+=ti.4 if_ti.4 MLINKS+=ti.4 if_ti.4
MLINKS+=tty.4 cua.4
MLINKS+=tun.4 if_tun.4 MLINKS+=tun.4 if_tun.4
MLINKS+=ure.4 if_ure.4 MLINKS+=ure.4 if_ure.4
MLINKS+=vge.4 if_vge.4 MLINKS+=vge.4 if_vge.4
+11
View File
@@ -1594,4 +1594,15 @@ the values in the header
.Xr tcsetattr 3 , .Xr tcsetattr 3 ,
.Xr tcsetsid 3 , .Xr tcsetsid 3 ,
.Xr tty 4 , .Xr tty 4 ,
.Xr uart 4 ,
.Xr stack 9 .Xr stack 9
.Sh BUGS
Before the Internet, serial ports were primarily used for inbound
connections from terminals, either directly or through modems, these
days serial ports are primarily used for outbound connections to
devices, an evolution which unfortunately has spread the relevant
documentation over three different manual pages:
.Xr termios 4 ,
.Xr uart 4 and
.Xr tty 4 .
+13 -3
View File
@@ -37,9 +37,9 @@
This section describes the interface to the terminal drivers This section describes the interface to the terminal drivers
in the system. in the system.
.Ss Terminal Special Files .Ss Terminal Special Files
Each hardware terminal port on the system usually has a terminal special device Each hardware terminal port on the system has several terminal special device
file associated with it in the directory ``/dev/'' (for files associated with it in the directory ``/dev/'' (for
example, ``/dev/tty03''). example, ``/dev/tty03'' and ``/dev/cua03'').
When a user logs into When a user logs into
the system on one of these hardware terminal ports, the system has already the system on one of these hardware terminal ports, the system has already
opened the associated device and prepared the line for normal interactive opened the associated device and prepared the line for normal interactive
@@ -375,6 +375,7 @@ variables.
.Xr pts 4 , .Xr pts 4 ,
.Xr pty 4 , .Xr pty 4 ,
.Xr termios 4 , .Xr termios 4 ,
.Xr uart 4 ,
.Xr getty 8 .Xr getty 8
.Sh HISTORY .Sh HISTORY
A console typewriter device A console typewriter device
@@ -383,3 +384,12 @@ and asynchronous communication interfaces
.Pa /dev/tty[0-5] .Pa /dev/tty[0-5]
first appeared in first appeared in
.At v1 . .At v1 .
.Sh BUGS
Before the Internet, serial ports were primarily used for inbound
connections from terminals, either directly or through modems, these
days serial ports are primarily used for outbound connections to
devices, an evolution which unfortunately has spread the relevant
documentation over three different manual pages:
.Xr termios 4 ,
.Xr uart 4 and
.Xr tty 4 .
+12
View File
@@ -377,6 +377,8 @@ COM2 instead of COM1 and set the baud rate to 115200.
.Xr cu 1 , .Xr cu 1 ,
.Xr puc 4 , .Xr puc 4 ,
.Xr scc 4 , .Xr scc 4 ,
.Xr termios 4 ,
.Xr tty 4 ,
.Xr ttys 5 .Xr ttys 5
.\" .\"
.Sh HISTORY .Sh HISTORY
@@ -389,3 +391,13 @@ The
.Nm .Nm
device driver and this manual page were written by device driver and this manual page were written by
.An Marcel Moolenaar Aq Mt marcel@xcllnt.net . .An Marcel Moolenaar Aq Mt marcel@xcllnt.net .
.Sh BUGS
Before the Internet, serial ports were primarily used for inbound
connections from terminals, either directly or through modems, these
days serial ports are primarily used for outbound connections to
devices, an evolution which unfortunately has spread the relevant
documentation over three different manual pages:
.Xr termios 4 ,
.Xr uart 4 and
.Xr tty 4 .