From owner-freebsd-current@FreeBSD.ORG Wed May 27 14:46:30 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B69C2C0F for ; Wed, 27 May 2015 14:46:30 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 72A92A38 for ; Wed, 27 May 2015 14:46:29 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [93.104.0.49] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1YxcbB-0007xO-AI; Wed, 27 May 2015 16:46:25 +0200 Received: from localhost.my.domain (c720-r276659 [127.0.0.1]) by localhost.unixarea.de (8.14.9/8.14.9) with ESMTP id t4REkOtV001952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 27 May 2015 16:46:25 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.9/8.14.9/Submit) id t4REkOiW001951; Wed, 27 May 2015 16:46:24 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 27 May 2015 16:46:24 +0200 From: Matthias Apitz To: Ed Schouten Cc: FreeBSD Current Subject: Re: after login through serial line, open(2) on /dev/tty hangs Message-ID: <20150527144624.GA1882@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Ed Schouten , FreeBSD Current References: <20150527060113.GA2166@c720-r276659> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.0.49 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 27 May 2015 14:46:30 -0000 El día Wednesday, May 27, 2015 a las 11:57:56AM +0200, Ed Schouten escribió: > 2015-05-27 8:01 GMT+02:00 Matthias Apitz : > > The VT102 is connected through an USB-serial adapter and getty spawns > > nicely login: to /dev/cuaU0. > > /dev/cua* should be used to 'call out' on a TTY. They're not intended > to run gettys on. Please /dev/ttyU0 instead. :-) > > I suspect that opening /dev/tty blocks, for the reason that the > terminal you use doesn't provide any modem status lines. /dev/cua* > 'works' in your case, because those device nodes ignore modem status. > You can disable checking for this by using "3wire.9600" instead of > "std.9600" in /etc/ttys. See gettytab(5) for more details. > Thanks! it works with "3wire.9600" and ttyU0; this message was now written on the VT102 with mutt and vim :-) matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)