Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site fthood Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!fthood!egray From: egray@fthood Newsgroups: net.unix-wizards Subject: Re: \"UC.C\" command problem Message-ID: <1700003@fthood> Date: Fri, 31-Jan-86 09:30:00 EST Article-I.D.: fthood.1700003 Posted: Fri Jan 31 09:30:00 1986 Date-Received: Wed, 5-Feb-86 04:57:17 EST References: <2023@brl-tgr.ARPA> Lines: 34 Nf-ID: #R:brl-tgr.ARPA:2023:fthood:1700003:000:1574 Nf-From: fthood!egray Jan 31 08:30:00 1986 > We have recently installed the "uc" command on a VAX 11/780 running > BRL VAX UNIX. We have encountered several tranmission errors. When > trying to send a file it hangs up always on the 18th block. When > trying to receive a file, it does not appear to start. > ... > Thank you > Laurie I have never heard of the 'uc' command and don't even know what it is... But becuase of your excellent observations, I know what the problem is! The transmission block numbers are being sent allong with each block of data. These would probably start at 1 (or perhaps 0) and increase as the blocks are sent. After the 18th block is sent, character 19 is sent as the block number. This character is the XOFF character that would instruct the listener to wait until a XON character is sent. This is more than likely what is happening... Now, to solve the problem: Find the part of the code that resets the communication line. This would either be a 'ioctl' call or a 'setty' call. Change the communication protocol to the 'raw' mode (the mode that ignores XOFF and XON). There are several ways of doing this depending on which flavor of unix you are using. You will find a write-up in the manual sections tty(4) or termio(7) depending again on the flavor of unix. PS: If you have a uucp address, indicate it in your note. That way other uucp domain sites can respond directly to you by mail. Emmet P. Gray US Army, HQ III Corps & Ft. Hood ..!ihnp4!uiucdcs!uiucuxc!fthood!egray Attn: AFZF-DE-EMO DEH, Environmental Management Office Fort Hood, TX 76544-5057