Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!mimsy!mojo!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.unix.questions Subject: Re: stty -g output mapping to stty -a output Message-ID: Date: 7 Jun 91 00:22:41 GMT References: <27123@adm.brl.mil> Sender: news@eng.umd.edu (C-News) Organization: Project GLUE, University of Maryland Lines: 10 In-Reply-To: dpv@spao.ao.gov's message of 5 Jun 91 16:52:40 GMT > 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