From gnats@@FreeBSD.org Fri Mar 22 12:25:06 2013 Date: Fri, 22 Mar 2013 11:20:01 GMT Message-Id: <201303221120.r2MBK15e037453@@freefall.freebsd.org> To: User & From: FreeBSD-gnats-submit@@FreeBSD.org Subject: Re: bin/177229: /etc/motd overflows 24 lines after login from live media Reply-To: FreeBSD-gnats-submit@@FreeBSD.org, freebsd-bugs@@FreeBSD.org In-Reply-To: Your message of Fri, 22 Mar 2013 12:10:07 +0100 (CET) <201303221110.r2MBA7LM002389@@blak.js.berklix.net> Thank you very much for your problem report. It has the internal identification `bin/177229'. The individual assigned to look at your report is: freebsd-bugs. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=177229 >Category: bin >Responsible: freebsd-bugs >Synopsis: /etc/motd overflows 24 lines after login from live media >Arrival-Date: Fri Mar 22 11:20:01 UTC 2013 ------------ From: Julian H. Stacey Date: Fri, 22 Mar 2013 12:10:07 +0100 (CET) Subject: /etc/motd overflows 24 lines after login from live media Send-pr version: 3.113 Number: 177229 Category: bin Synopsis: /etc/motd overflows 24 lines after login from live media Severity: non-critical Priority: low Responsible: freebsd-bugs State: open Class: change-request Arrival-Date: Fri Mar 22 11:20:01 UTC 2013 Closed-Date: Last-Modified: Originator: Julian H. Stacey Release: FreeBSD 9.1-RELEASE amd64 Organization http://www.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/