From owner-freebsd-hackers@freebsd.org Mon May 29 14:20:12 2017 Return-Path: Delivered-To: freebsd-hackers@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 A295FD27415 for ; Mon, 29 May 2017 14:20:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC717B6A4 for ; Mon, 29 May 2017 14:20:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8730BD27413; Mon, 29 May 2017 14:20:12 +0000 (UTC) Delivered-To: hackers@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 86AA0D27412 for ; Mon, 29 May 2017 14:20:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1C5257B6A3 for ; Mon, 29 May 2017 14:20:11 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: c42e0453-4479-11e7-b96e-2378c10e3beb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id c42e0453-4479-11e7-b96e-2378c10e3beb; Mon, 29 May 2017 14:19:04 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v4TEItOn001209; Mon, 29 May 2017 08:18:55 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1496067535.95269.1.camel@freebsd.org> Subject: Re: Serial line terminal size. From: Ian Lepore To: Ed Schouten , Edward Tomasz =?iso-8859-2?Q?Napiera=B3a?= Cc: hackers@freebsd.org Date: Mon, 29 May 2017 08:18:55 -0600 In-Reply-To: References: <20170524085514.GA4210@brick> Content-Type: text/plain; charset="iso-8859-2" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2017 14:20:12 -0000 On Mon, 2017-05-29 at 13:22 +0200, Ed Schouten wrote: > Hi Edward, > > 2017-05-24 10:55 GMT+02:00 Edward Tomasz Napierała >: > > > > There's a problem with serial consoles - after logging in, the > > terminal > > size is not set, ie it looks like this (notice the "0 rows; 0 > > columns;"): > Wouldn't it make more sense for getty to set this up properly, as > opposed to putting it in all of the shell rc files? > I was thinking exactly the same thing a few days ago, but then I looked at the source code to getty and kinda backed away slowly and quietly, as one might do with any sleeping monster. -- Ian