From owner-freebsd-current@FreeBSD.ORG Thu May 20 22:57:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 910C716A4CE for ; Thu, 20 May 2004 22:57:39 -0700 (PDT) Received: from mail11.svc.cra.dublin.eircom.net (mail11.svc.cra.dublin.eircom.net [159.134.118.27]) by mx1.FreeBSD.org (Postfix) with SMTP id E378A43D2F for ; Thu, 20 May 2004 22:57:38 -0700 (PDT) (envelope-from steve@sohara.org) Received: (qmail 50211 messnum 15257088 invoked from network[159.134.254.245/159-134-254-245.as1.nas.naas.eircom.net]); 21 May 2004 05:57:27 -0000 Received: from 159-134-254-245.as1.nas.naas.eircom.net (HELO localhost) (159.134.254.245) by mail11.svc.cra.dublin.eircom.net (qp 50211) with SMTP; 21 May 2004 05:57:27 -0000 Date: Fri, 21 May 2004 06:57:20 +0100 From: Steve O'Hara-Smith To: anton@nikiforov.ru Message-Id: <20040521065720.70fbe0f2.steve@sohara.org> In-Reply-To: <40AD03D7.30309@nikiforov.ru> References: <40AD03D7.30309@nikiforov.ru> X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX,Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Programming SIO X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 05:57:39 -0000 On Thu, 20 May 2004 23:15:35 +0400 Anton Nikiforov wrote: AN> Dear All, AN> could someone help me with subj. AN> I started to program the async port and do need to open it for reading AN> AN> in 9600,7,N,1 mode. AN> stty -f /dev/ttyd0 cs7 Try stty -f /dev/ttyld0 cs7 - the stty you tried will set the mode and then it will reset to the lock state next time the port is opened, running stty on the lock device will change the lock state. -- C:>WIN | Solar Thermal Systems The computer obeys and wins. | http://www.soleire.com/ You lose and Bill collects. | Directable Mirror Arrays | http://www.sohara.org/