From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 22 11:20:03 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0D47D736 for ; Fri, 22 Mar 2013 11:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E3449D7D for ; Fri, 22 Mar 2013 11:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2MBK20v037459 for ; Fri, 22 Mar 2013 11:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2MBK2EN037458; Fri, 22 Mar 2013 11:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 22 Mar 2013 11:20:02 GMT Resent-Message-Id: <201303221120.r2MBK2EN037458@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, User & Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C4E9F5C for ; Fri, 22 Mar 2013 11:10:49 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id F3630CC7 for ; Fri, 22 Mar 2013 11:10:48 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBE49A.dip.t-dialin.net [93.203.228.154]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r2MB9n0o073384; Fri, 22 Mar 2013 12:09:49 +0100 (CET) (envelope-from jhs@berklix.com) Received: from blak.js.berklix.net (blak.js.berklix.net [192.168.91.66]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r2MBAWv4085792; Fri, 22 Mar 2013 12:10:33 +0100 (CET) (envelope-from jhs@blak.js.berklix.net) Received: from blak.js.berklix.net (localhost [127.0.0.1]) by blak.js.berklix.net (8.14.5/8.14.5) with ESMTP id r2MBAJM6002390; Fri, 22 Mar 2013 12:10:26 +0100 (CET) (envelope-from jhs@blak.js.berklix.net) Received: (from jhs@localhost) by blak.js.berklix.net (8.14.5/8.14.5/Submit) id r2MBA7LM002389; Fri, 22 Mar 2013 12:10:07 +0100 (CET) (envelope-from jhs) Message-Id: <201303221110.r2MBA7LM002389@blak.js.berklix.net> Date: Fri, 22 Mar 2013 12:10:07 +0100 (CET) From: Julian Stacey To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/177229: /etc/motd overflows 24 lines after login from live media Cc: Julian Stacey X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: User & List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 11:20:03 -0000 >Number: 177229 >Category: bin >Synopsis: /etc/motd overflows 24 lines after login from live media >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 22 11:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Julian Stacey >Release: FreeBSD 9.1-RELEASE amd64 >Organization: http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen. >Environment: System: FreeBSD blak.js.berklix.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue Feb 26 15:21:57 CET 2013 jhs@lapr.js.berklix.net:/sys/amd64/compile/BLAK.small amd64 >Description: /etc/motd overflows 24 lines after login from live media >How-To-Repeat: Boot off live media or simulate with: cp /usr/src/etc/motd /etc/motd xterm -geometry 80x24 rlogin localhost >Fix: Discard all blank lines (except first, needed for script). Whoever bloated this file, probably in a long xterm, forgot - 80x24 boot terminals, - emitting surplus blank lines prevents seeing: - trailing errors/info from boot sequence, - version from top line, confirming which system/ media version we'd booted Strip junk blank lines. While there also shrink flabby verbose text throughout, eg Old: If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. New: If unfamiliar with directories type: man hier. More examples: /please take the output/take the output/ /email it/mail it/ /to the questions@FreeBSD.org mailing list/to list questions@FreeBSD.org/ /If you are not familiar with manual pages/If not familiar with manual/ /Welcome to FreeBSD!/Welcome to FreeBSD! From /etc/motd/ >Release-Note: >Audit-Trail: >Unformatted: