stty -g output mapping to stty -a output

David J. MacKenzie djm at eng.umd.edu
Fri Jun 7 10:22:41 AEST 1991


> how I can map a string like "526:1805:4bd:3b:7f:1c:8:18:4:0:0:0:0:0" to
> the appropriate flags (i.e. -parenb, -brkint, etc.) listed in TFM,
> or is that not how the stty -g works?

stty -g is just a hex dump of the current values of the tty's `struct
termio[s]' members, in order, omitting c_line.  Separated by colons,
of course.

--
David J. MacKenzie <djm at eng.umd.edu> <djm at ai.mit.edu>



More information about the Comp.unix.questions mailing list