Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 exptools 1/6/84; site ihnss.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!ihnss!warren From: warren@ihnss.UUCP (Warren Montgomery) Newsgroups: net.unix Subject: Berkely unix (4.2) tty ioctl question Message-ID: <2233@ihnss.UUCP> Date: Tue, 18-Sep-84 12:26:29 EDT Article-I.D.: ihnss.2233 Posted: Tue Sep 18 12:26:29 1984 Date-Received: Tue, 25-Sep-84 03:16:08 EDT Organization: AT&T Bell Labs, Naperville, IL Lines: 24 I have an application where I want to change the "local characters" associated with a tty synchronously with output. (i.e., wait until the output queue is empty, and then make the change). I have asked several local experts, and alas nobody has a way of doing it. There seems to be no direct way (i.e. no ioctl that does just this), and no indirect way (no ioctl that just waits until output becomes quiescent and nothing else). This is such an obvious thing to want to do, I can't believe that it is really impossible. For people familiar with the AT&T unix tty system, what I want is the equivalent of the TCSETAW ioctl. Does anybody have any hints on how to do this? Is there any way just to wait until the output queue is empty and then issue the proper ioctl? If there is something that works for 4.2, does it work in any of the other berkeley variants? Thanks for any advice you can give. -- Warren Montgomery ihnss!warren IH (8-367) x2494