diff options
Diffstat (limited to 'sys/modules/netgraph/tty/ng_tty.8')
-rw-r--r-- | sys/modules/netgraph/tty/ng_tty.8 | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/sys/modules/netgraph/tty/ng_tty.8 b/sys/modules/netgraph/tty/ng_tty.8 index c3f0aa5..de4a4c2 100644 --- a/sys/modules/netgraph/tty/ng_tty.8 +++ b/sys/modules/netgraph/tty/ng_tty.8 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_TTY 8 -.Os FreeBSD 4.0 +.Os FreeBSD .Sh NAME .Nm ng_tty .Nd netgraph node type that is also a line discipline @@ -52,7 +52,7 @@ node type is both a netgraph node type and a line discipline. A new node is created when the corresponding line discipline, .Dv NETGRAPHDISC , is registered on a tty device (see -.Xr tty 4 ")." +.Xr tty 4 ) . .Pp The node has a single hook called .Dv hook . @@ -65,7 +65,9 @@ While the line discipline is installed on a tty, the normal read and write operations are unavailable, returning .Er EIO . .Pp -The node supports an optional ``hot character.'' If set to non-zero, incoming +The node supports an optional +.Dq hot character . +If set to non-zero, incoming data from the tty device is queued until this character is seen. This avoids sending lots of mbufs containing a small number of bytes, but introduces potentially infinite latency. @@ -114,11 +116,12 @@ The control message is not valid, and always returns the error .Er EOPNOTSUPP . .Sh BUGS -The serial driver code also has a notion of a ``hot character.'' +The serial driver code also has a notion of a +.Dq hot character . Unfortunately, this value is statically defined in terms of the line discipline and cannot be changed. Therefore, if a hot character other than 0x7e (the default) is set for the -.Nm tty +.Nm node, the node has no way to convey this information to the serial driver, and sub-optimal performance may result. .Sh SEE ALSO @@ -127,5 +130,10 @@ serial driver, and sub-optimal performance may result. .Xr tty 4 , .Xr ng_async 8 , .Xr ngctl 8 . -.Sh AUTHOR -Archie Cobbs <archie@whistle.com> +.Sh HISTORY +The +.Nm +node type was implemented in +.Fx 4.0 . +.Sh AUTHORS +.An Archie Cobbs Aq archie@whistle.com |