Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utcsrgv.UUCP Path: utzoo!utcsrgv!mason From: mason@utcsrgv.UUCP (Dave Mason) Newsgroups: net.unix-wizards Subject: Re: ioctl(~CRMOD) mungs last character in queue Message-ID: <3920@utcsrgv.UUCP> Date: Sat, 14-Apr-84 10:58:57 EST Article-I.D.: utcsrgv.3920 Posted: Sat Apr 14 10:58:57 1984 Date-Received: Sat, 14-Apr-84 11:46:01 EST References: <2417@watcgl.UUCP> Organization: University of Toronto/Ryerson Polytechnic Institute Lines: 9 The obvious thing to do is for the "wait for output to drain" part of ioctl to output a (maybe 2) null characters before it starts waiting..that way you can be sure the real data has gone by the time you mess with the UART. -- Usenet: {dalcs dciem garfield musocs qucis sask titan trigraph ubc-vision utzoo watmath allegra cornell decvax decwrl ihnp4 uw-beaver} !utcsrgv!mason Dave Mason, U. Toronto CSRG CSNET: mason@Toronto ARPA: mason%Toronto@CSNet-Relay