From owner-freebsd-virtualization@freebsd.org Sun Jun 28 18:01:56 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3737998FF06 for ; Sun, 28 Jun 2015 18:01:56 +0000 (UTC) (envelope-from peterg@ptree32.com.au) Received: from alto.onthenet.com.au (alto2.onthenet.com.au [203.13.68.14]) by mx1.freebsd.org (Postfix) with ESMTP id EADEF26BB for ; Sun, 28 Jun 2015 18:01:55 +0000 (UTC) (envelope-from peterg@ptree32.com.au) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTP id DF4FD12616 for ; Mon, 29 Jun 2015 04:01:47 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D889E28095B for ; Mon, 29 Jun 2015 04:01:47 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YnYq9WiGDKfV for ; Mon, 29 Jun 2015 04:01:47 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id DFEBB280904; Mon, 29 Jun 2015 04:01:44 +1000 (AEST) Message-ID: <55903687.1070601@ptree32.com.au> Date: Sun, 28 Jun 2015 11:01:43 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: John-Mark Gurney CC: freebsd-virtualization@freebsd.org Subject: Re: weird console issue w/ bhyve... References: <20150628162059.GU96349@funkthat.com> In-Reply-To: <20150628162059.GU96349@funkthat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 18:01:56 -0000 Hi John-Mark, > more and less work perfectly fine when I first login from the console.. > Sometimes due to terminal issues, the cursor gets "stuck" at the bottom > on the screen... If I run the rest command, more and less "break" in > that they do not output... It appears that they are waiting on open > of the tty... > > # less /etc/motd > load: 0.89 cmd: less 674 [ttydcd] 0.96r 0.00u 0.00s 0% 2528k > load: 0.89 cmd: less 674 [ttydcd] 1.14r 0.00u 0.00s 0% 2528k > > # more /etc/motd > load: 0.16 cmd: more 677 [ttydcd] 1.34r 0.00u 0.00s 0% 2528k > load: 0.16 cmd: more 677 [ttydcd] 2.82r 0.00u 0.00s 0% 2528k > load: 0.16 cmd: more 677 [ttydcd] 3.20r 0.00u 0.00s 0% 2528k > > Ideas? /usr/bin/reset clears the clocal flag. That can be reenabled with 'stty clocal'. The bhyve 16550 emulation doesn't nail up DCD so modem control has to be disabled in software (i.e. by setting clocal). Perhaps this should be changed so the default is to have DCD always 1 unless specified otherwise. later, Peter.