Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!jarthur!elroy.jpl.nasa.gov!ames!haven!grebyn!escom!al From: al@escom.com (Al Donaldson) Newsgroups: comp.os.minix Subject: Re: (New) kermit binary Keywords: redirect stty; comp.os.minix.binaries.discussion Message-ID: <528@escom.com> Date: 15 Mar 90 18:09:22 GMT References: <5739@star.cs.vu.nl>, <1749@crash.cts.com> Organization: ESCOM Corp., Oakton, VA Lines: 28 Recently Andy re-posted Charles Hedrick's 1.3 kermit binary for the new MINIX users who came to the party after kermit was originally posted and have been unable to build kermit from source (asld runs out of space). In article <1749@crash.cts.com>, Will Rose noted that the speed-setting code for the (new) kermit doesn't work (kermit *reports* a speed change - but nothing changes on the line). Bruce Evans explained that the 1.3 kermit speed setting is broken because 1.5 has a different ioctl interface. Consequently, the 1.3 kermit is stuck at DEF_BAUD == 1200. But all is not lost, and here comes the really neat part of Bruce's solution. Put the following command in /etc/rc to set the port speed BEFORE running kermit: stty 2400 < /dev/tty1 I connect tty1 to a Sun at 9600 and 1.3 kermit runs fine after stty 9600. So what if I can't change speed within kermit -- I just want to transfer bits as fast as possible.. This has also been educational for me; I'd never had occasion to redirect stty before and didn't know it would work. (Incidentally, there's a related discussion on comp.unix.wizards.) Hope this is useful to others. Thanks, Bruce, Al Donaldson