Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!decvax!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.sources.bugs Subject: uupc for MS-DOS problem Message-ID: <339@gsg.UUCP> Date: Sat, 5-Sep-87 11:12:07 EDT Article-I.D.: gsg.339 Posted: Sat Sep 5 11:12:07 1987 Date-Received: Sun, 6-Sep-87 05:56:40 EDT Lines: 33 Keywords: uupc MS-DOS uucp comm Has anyone built UUPC/PCMAIL under MS-DOS? I tried to install UUPC posted to the net on my PC (MS-DOS 3.2), it took me a while but I finally got it built. However, it will not talk to the COM1 port. After traced thru the calls I found out the following in file ulib.c: /* openline - open the serial port for I/O */ openline(name, baud) char *name, *baud; { int i; sscanf(name, "COM%d", &i); <---- why take the addr of i? select_port(i); <---- use i without knowing its content? save_com(); install_com(); sscanf(baud, "%d", &i); <---- addr of i becomes the baud rate?? open_com(i, 'D', 'N', STOPBIT, 'D'); dtr_on(); return(0); } /*openline*/ Did I get a bad transmission? If not, I wonder if this code has been tested before released to USENET. Is there any update after the 1st release? -- ---------------------------------------------------------------------- Paul Lew {olivea,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 51 Main Street, Salem, NH 03079 (603) 893-1000