From owner-freebsd-bugs Mon Jan 3 20:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D617714DEE for ; Mon, 3 Jan 2000 20:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA80288; Mon, 3 Jan 2000 20:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 3559814DB4 for ; Mon, 3 Jan 2000 20:29:03 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40331>; Tue, 4 Jan 2000 15:21:46 +1100 Message-Id: <00Jan4.152146est.40331@border.alcanet.com.au> Date: Tue, 4 Jan 2000 15:21:46 +1100 From: peter.jeremy@ALCATEL.COM.AU To: freefall-gnats@gsmx07.alcatel.com.au X-Send-Pr-Version: 3.2 Subject: misc/15876: PicoBSD message of the day problems Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15876 >Category: misc >Synopsis: PicoBSD message of the day problems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 3 20:30:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 4.0-CURRENT i386 >Organization: Alcatel Australia Limited >Environment: Found in -stable (VER 0.445). Also present in -current >Description: The PicoBSD message-of-the-day (/etc/motd) is aligned assuming a 4-character version, but the current version has 5 characters, causing the daemon's eyes to be 1 column to the right. In addition, whilst the daemon picture looks good with white-on- block writing (which is the console default), it contains incorrect colour changes for black-on-white displays (eg most xterms). >How-To-Repeat: Display /usr/src/release/picobsd/net/lang/motd.en on an xterm with black writing on a white background. >Fix: I'm not sure how to change motd so that different version lengths are correctly handled (tabs may be an option here), but the following will correctly handle different background and foreground colours. (Also appended uuencoded since it includes raw ESC characters). diff -ur net/lang/motd.en custom/lang/motd.en --- net/lang/motd.en Fri Feb 5 23:19:31 1999 +++ custom/lang/motd.en Fri Sep 17 08:36:28 1999 @@ -1,10 +1,10 @@ -================================================== - )\_)\ -PicoBSD @VER@ (NET) (o,o) - __ \~/ -Welcome to PicoBSD! -->====\ - ~~ d d -You can find a short description of the picoBSD +=================================================== +  )\_)\  +PicoBSD @VER@ (Custom)  (o,o)  +  __ \~/  +Welcome to PicoBSD!  -->====\  +  ~~ d d  +You can find a short description of the  picoBSD  system in file /README. You can view it using "more /README". begin 644 motd.diff M9&EF9B`M=7(@;F5T+VQA;FRelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message