glr@otca.oz (Gordon Rowell) (07/04/90)
In article <789@massey.ac.nz> GMoretti@massey.ac.nz (Giovanni Moretti) writes: I need a version of XMODEM that'll run on a Pyramid 9815. I've downloaded the version of XMODEM3.6 from comp.sources.unix and while it compiles and appears to run OK, binary file transfers with the pyramid sending don't work properly - the pyramid end keeps sending after it should have finished. I'm not a C guru (at all :-) and debugging protocols failures are hard at the best of times ... Can anyone provide me with a version of XMODEM that will run on a Pyramid? I think your problem is probably caused by the Pyramid intelligent serial ports. As I understand it, when getty sees a login it senses the line and downloads code to the serial port to handle the framing, etc. If you log in as 7 bits, even parity you will find the top bit always vanishes for 8 bit transfers. That then causes file transfers to look o.k. but be junk, or never complete. What I do is call up with 8 bit no parity, and type my username at the login: prompt. When the password: prompt comes up (garbled due to parity problems), switch your end to 7 bit even and you should then have no trouble. As you logged in with 8 bits, no parity the code downloaded will keep the high bit. Xmodem, Kermit, etc. can then happily turn the line around to allow 8 bit transfers and back when finished. If you log in with 7 bits, even parity you will not be able to set the line to send/accept all 8 bits. Can anyone from Pyramid a) confirm that my description is in fact what happens b) let me know that what I'm doing is necessary c) suggest another way? If this doesn't help, we have the source to Xmodem (version 3.4) which works on our Pyramid 9810. There are no pyramid specific sections is the code that I can see. Gordon -- Gordon Rowell ACSnet/Internet: glr@otc.oz.au R&D Contractor UUCP: {uunet,mcvax}!otc.oz!glr Network R&D Snail: GPO Box 7000, Sydney 2001, Australia |||| OTC || Phone: +61 2 287 5385 Fax: +61 2 287 4990