egray@fthood.UUCP (02/15/87)
I'll throw my two cents in... The umodem and the xmodem that was recently posted to the net are both designed to run in the 'host mode'. That is to say, you would use your favorite PC with your favorite terminal emulation program to call a Unix based system and use umodem/xmodem. In this case, the software on your PC would be in the 'terminal mode' and the u/xmodem on the Unix system would be in the 'host mode'. You cannot envoke u/xmodem in the 'terminal mode'. This means that the 'cu' program on your Unix system cannot use an escape sequence to u/xmodem and be expected to work. The only real solution is to use another terminal emulation program on your Unix based system that has the 'terminal mode' xmodem protocol built in. I have written a version of the old CP/M MDM740 program that I use in place of 'cu'. It allows xmodem (checksum and CRC) in the terminal mode. It's available for the asking... The only caveat is that I wrote this code many years ago (when I had a CP/M system) and the code shows my programming immaturity. Also, its written for SVR2 (lots of System V terminal mode stuff). Emmet P. Gray US Army, HQ III Corps & Fort Hood ...!ihnp4!uiucuxc!fthood!egray Attn: AFZF-DE-ENV Directorate of Engineering & Housing Environmental Management Office Fort Hood, TX 76544-5057