Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!vrdxhq!dgis!viusys!dmh From: dmh@viusys.UUCP (David M. Heisler) Newsgroups: comp.unix.questions Subject: IOCTL flushing input buffer queues Message-ID: <222@viusys.UUCP> Date: Tue, 9-Jun-87 16:38:46 EDT Article-I.D.: viusys.222 Posted: Tue Jun 9 16:38:46 1987 Date-Received: Fri, 12-Jun-87 04:59:31 EDT Distribution: na Organization: Unisys, Vienna, VA Lines: 16 Keywords: IOCTL When using KERMIT, 4C(040) 30 Sep 1986, to transfer an ascii file from a PC to a Unisys 5000/80, Kermit transfers anywhere from 0K to 10K bytes of my file. I have traced the problem to line 92 of the file "ckcfn2.c" of the Kermit source code, where a call to the Kermit function "ttflui()" is made. This function flushes the input buffer queues. The function "ttflui()" is defined starting on line 856 of the file "ckutio.c" of the Kermit source code. What appears to be happening is that when "ttflui()" makes its call to "ioctl()" to flush the input queue he never returns. Again this will happen anywhere between 0K and 10K bytes of data. If I comment out the flush in the file ckcfn2.c the problem disappears. If anyone has an answer, or even a suggestion, your response would be greatly appreciated. viusys!dm