From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 7 Aug 1995 09:09:42 -0400 From: presotto@plan9.att.com presotto@plan9.att.com Subject: Serial port i/o, how? Topicbox-Message-UUID: 134ace76-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950807130942.bSAG7a-Ny31scAHkeuwGKGfDulfmCxs9XjPmOAmf-1k@z> Read: http://helix/magic/man2html/3/scc http://helix/magic/man2html/1/con You can set baud rates, etc., by echoing the right goo into the ctl file. For example: echo -n b19200 > /dev/eai0ctl sets eia0 to 19200 baud. Not all the controls are sticky in the Unix sense so you should do this while you have the /dev/eia0 open. ------ original message follows ------ >>From cse.psu.edu!9fans-outgoing-owner Sun Aug 6 16:25:01 EDT 1995 Received: by psuvax1.cse.psu.edu id <34152>; Fri, 4 Aug 1995 16:22:37 -0400 Received: from goonsquad.spies.com ([192.216.22.66]) by psuvax1.cse.psu.edu with SMTP id <34203>; Fri, 4 Aug 1995 15:32:45 -0400 Received: by goonsquad.spies.com (Smail3.1.29.1 #2) id m0seSKc-00024CC; Fri, 4 Aug 95 12:22 PDT Message-Id: From: ahm@goonsquad.spies.com (Andreas Meyer) Subject: Re: Serial port i/o, how? To: 9fans@cse.psu.edu Date: Fri, 4 Aug 1995 15:22:52 -0400 In-Reply-To: <95Aug3.200951edt.34067@psuvax1.cse.psu.edu> from "philw@plan9.att.com" at Aug 3, 95 08:07:41 pm Organization: The Internet Wiretap Content-Type: text Content-Length: 338 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans@cse.psu.edu philw@plan9.att.com writes: > >how do I access a serial port? > con -r /dev/eia0 When I do this, it just hangs. I'm using a hardware setup (null modem cable to another machine) which works in DOS. In another window, 'cat /dev/eia0ctl' returns: cts dsr ring dcd dtr rts Is there anything else I need to send to the control port? Andy