From owner-freebsd-hackers@freebsd.org Mon May 29 14:58:54 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 55F46D4E514 for ; Mon, 29 May 2017 14:58:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 304707CC75 for ; Mon, 29 May 2017 14:58:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2F7F6D4E513; Mon, 29 May 2017 14:58:54 +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 2F154D4E512 for ; Mon, 29 May 2017 14:58:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05C107CC74 for ; Mon, 29 May 2017 14:58:53 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x233.google.com with SMTP id a10so7750187itg.1 for ; Mon, 29 May 2017 07:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=6nuqCKebmhI407+fLZyDnvPO3/Q5E+6FFPzePUhaIx8=; b=kDOuwAtnlMXrdnriR+pt4lha24nGjjtWvVhHSqqfCp2YeCy/fuXDoIU1S2s9pf7Vjb 1xwcicYqN21Ao66IN5BRBUjNAaWYlkwQUuL39F16wb30wIflisoXZS1ILfPtTuHzUm2r xGEb02g5Ny3dVsvXE0U0dHQLMR5sOtJlfsLbuo9qSjrvMa8xuPfrdFkmNjh5LtDeCzV5 MYyYZ79Ooq0bQ0mZAwsG5V1OoWgo0uHG1/ZNifi3QlZuj4e5eORQSXtFuLHZOC9txp35 vGr79BtFn8ExIoXO1eaUKh3EWwKWGEKTxEWvCAjf2MAqByTESL6l30XnsPAcoLQjqzwQ jtig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=6nuqCKebmhI407+fLZyDnvPO3/Q5E+6FFPzePUhaIx8=; b=PQOLtkDDEnl2m3JA03VpV0tlqVQbY/+s+87ed52lKZX6zn4LblT1hLn9NDCIetAsT7 DmqLAJNVrVxvPEgbgkPO0hHwjf/osbBoYEdcQ5W3XfA0S5BxTRpE2w+u4VCOvX0jgLEo YZn5Wd+4d2BnMeIWBwaZ2pzZ1IDMXkke27BnBEMEtKnloYOFvY3bD5UVEE1n/+GmmD9J a67P957Ew8v3hHYfdvZYWELsPui8xH0GFQBn1XUDfgbQFECSaSGcpF0Qmzxgj1XC29Ae HlK7NEUP9HWS121HC2Nby3mquhu6tIGYQ+8KtQYtAQaKqwlENz6+P1bjjo6SuwY0x8SX fRig== X-Gm-Message-State: AODbwcA+xiXXEoNdaaZK0If8QhP+giWReIPU6CiuPdKufHQKO1t1fD6q h4LGNcbOt7RT6s5qefgubYToqmdUpQrm X-Received: by 10.36.83.145 with SMTP id n139mr14558590itb.0.1496069933143; Mon, 29 May 2017 07:58:53 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.192.69 with HTTP; Mon, 29 May 2017 07:58:52 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: References: <20170524085514.GA4210@brick> From: Warner Losh Date: Mon, 29 May 2017 08:58:52 -0600 X-Google-Sender-Auth: yg1TJCdWyN4DmBNacxJPWVJlgHk Message-ID: Subject: Re: Serial line terminal size. To: Ed Schouten Cc: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= , "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:58:54 -0000 On Mon, May 29, 2017 at 5:22 AM, Ed Schouten wrote: > Hi Edward, > > 2017-05-24 10:55 GMT+02:00 Edward Tomasz Napiera=C5=82a : > > 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? > No. It wouldn't. You couldn't turn it off then. Warner