From owner-freebsd-questions Tue Jan 30 03:18:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA05923 for questions-outgoing; Tue, 30 Jan 1996 03:18:35 -0800 (PST) Received: from lackowa.pap.waw.pl (lackowa.pap.waw.pl [194.92.35.33]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA05879 for ; Tue, 30 Jan 1996 03:18:15 -0800 (PST) Received: from cergowa.pap.waw.pl (cergowa [194.92.35.52]) by lackowa.pap.waw.pl (8.6.9/8.6.9) with ESMTP id MAA20170; Tue, 30 Jan 1996 12:13:45 +0100 From: Jaroslaw Bazydlo Received: (jarekb@localhost) by cergowa.pap.waw.pl (8.6.9/8.6.9) id MAA02841; Tue, 30 Jan 1996 12:15:00 +0100 Message-Id: <199601301115.MAA02841@cergowa.pap.waw.pl> Subject: How to make CUAA0 work with 8N1 settings! To: freebsd-questions@freebsd.org Date: Tue, 30 Jan 1996 12:14:59 +0100 (MET) Cc: jarekb@pap.waw.pl (Jaroslaw Bazydlo) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Hey, I've got terrible problem with setting up /dev/cuaa0. I have simple app that is listening to COM port and saving into disk file. Off course in a future i'll expand it to smth else. When I had a direct connection there was no problems. Everything worked just fine. A few days ago I connected my port with a modem (Shrack MDS-25) but what I got on a screen is just a kind of mess. This is my Init Script for the /dev/cuaa0: #!/bin/sh for i in $* do comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 stty ; eol2 = ; erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ; stop = ^S; susp = ^Z; time = 0; werase = ^W; green:~/src/papreceiver-0.01 {96} /sbin/dmesg | grep sio sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16450 sio1 at 0x2f8-0x2ff irq 5 on isa sio1: type 16550A sio2 not found at 0x3e8 sio3 not found at 0x2e8 green:~/src/papreceiver-0.01 {97} ./paprec WARNING: New logfile name is /home/staff/jarekb/src/papreceiver-0.01/.receiver/wtorek/1.txt a( :5T2R- ^^^^^ Here is some kind of mess instead of plain TXT file. WHAT DID I DO WRONG ???? I check the line under DOS and TELIX and there was no problems with reading files. Greets J.Bazydlo -- _ ____ ____ | | __ _| _ \ __ _/ ___| POLISH PRESS AGENCY - Warsaw _ | |/ _` | |_) / _` \___ \ email: ............... jarekb@pap.waw.pl | |_| | Jaroslaw Bazydlo __) | irc: McJARAS ...... on: #Polska #Gandalf \___/ \__,_|_| \_\__,_|____/. home-page: http://www.pap.waw.pl/~jarekb