Date : Wed, 22 Feb 1984 11:24:45 EST (Wed)
From : Mike Ciaraldi <ciaraldi@Rochester.ARPA>
Subject: Uc.c
I have been using umodem.c (version 3.6) for
Unix to CP/M file transfers, and wanted to upgrade to
uc.c, since it has CRC checksumming.
I fetched it from SIMTEL, and it compiled OK, but when I run
it I immediately get a segmentation fault, before it even
prints the sing-on message (the printf is the FIRST executable
statement!).
I contacted Rick Conn and he said he wrote this for System V.
We are running BSD 4.1c (soon to convert to 4.2).
For comparison, umodem has conditional-compile flags for
JHU (Johns Hopkins), VER7 (Version 7, also good for Berkeley),
and SYS3 (for System III, and V also, I suppose).
Does anyone know how to fix up uc.c? The differences on
umodem have to do with how you tell the system to kill echo,
go to 8-bit transmission, etc. But all these calls are
after the printf, so why don't we even see the sign-on message?
(last-minute thought: maybe the output buffer is not
getting flushed).
I suppose I could hack up uc.c and put in the same things umodem
has, but if someone else has already done it, I would
appreciate a copy. Also, it should be added to the archives.
Mike Ciaraldi
ciaraldi@rochester