Subject: Re: defaults for tty open
To: None <tech-kern@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: tech-kern
Date: 02/02/1996 17:54:05
In article <199602021234.HAA15171@pain.lcs.mit.edu> mycroft@NetBSD.ORG (Charles M. Hannum) writes:
>
>   You mean, like the SunOS printcap entry that lets you specify stty-like
>   settings (but doesn't actually _invoke_ stty)?
>
>Seems like there should be a library routine to parse stty flags,
>probably in libtuil...


libedit has this in tty.c; you can steal the code from there. It is specific
to the library itself, but it can be generalized. Then I can steal it back :-)

christos