From jeremyp@gsmx07.alcatel.com.au  Mon Jan  3 20:29:06 2000
Return-Path: <jeremyp@gsmx07.alcatel.com.au>
Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10])
	by hub.freebsd.org (Postfix) with ESMTP id 3559814DB4
	for <FreeBSD-gnats-submit@FreeBSD.ORG>; 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
Sender: jeremyp@gsmx07.alcatel.com.au
To: freefall-gnats@gsmx07.alcatel.com.au
Subject: PicoBSD message of the day problems
X-Send-Pr-Version: 3.2

>Number:         15876
>Category:       misc
>Synopsis:       [picobsd] PicoBSD message of the day problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan  3 20:30:00 PST 2000
>Closed-Date:    Thu Oct 21 07:04:44 UTC 2010
>Last-Modified:  Thu Oct 21 07:04:44 UTC 2010
>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 @@
-==================================================
-                                           [31m)\_)\[37m
-PicoBSD @VER@ (NET)                         [31m([37m[1mo,o[m[31m)[37m
-                                        [32m__  [31m\~/[37m
-Welcome to PicoBSD!                     [32m-->=[41m===[40m[31m\[37m
-                                        [32m~~[37m  [31md d[37m
-You can find a short description of the   [35mpicoBSD[37m
+===================================================
+                                        [40;37m    [31m)\_)\[37m  [m
+PicoBSD @VER@ (Custom)                  [40;37m    [31m([37;1mo,o[0;40;31m)[37m  [m
+                                        [40;37m [32m__  [31m\~/[37m   [m
+Welcome to PicoBSD!                     [40;37m [32m-->=[41m===[40;31m\[37m  [m
+                                        [40;37m [32m~~[37m  [31md d[37m   [m
+You can find a short description of the [40;37m   [35mpicoBSD[37m [m
 system in file /README. You can view it using
 "more /README".
 
begin 644 motd.diff
M9&EF9B`M=7(@;F5T+VQA;F<O;6]T9"YE;B!C=7-T;VTO;&%N9R]M;W1D+F5N
M"BTM+2!N970O;&%N9R]M;W1D+F5N"49R:2!&96(@(#4@,C,Z,3DZ,S$@,3DY
M.0HK*RL@8W5S=&]M+VQA;F<O;6]T9"YE;@E&<FD@4V5P(#$W(#`X.C,V.C(X
M(#$Y.3D*0$`@+3$L,3`@*S$L,3`@0$`*+3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]"BT@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@&ULS,6TI7%\I7!M;,S=M
M"BU0:6-O0E-$($!615)`("A.150I("`@("`@("`@("`@("`@("`@("`@("`@
M(!M;,S%M*!M;,S=M&ULQ;6\L;QM;;1M;,S%M*1M;,S=M"BT@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@&ULS,FU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B;6]R92`O
+4D5!1$U%(BX*(`I-
`
end

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-small 
Responsible-Changed-By: johan 
Responsible-Changed-When: Thu Aug 24 04:30:51 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer group. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15876 
State-Changed-From-To: open->patched 
State-Changed-By: edwin 
State-Changed-When: Thu Jun 18 22:40:09 UTC 2009 
State-Changed-Why:  
Fixed in HEAD 


Responsible-Changed-From-To: freebsd-embedded->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jun 18 22:40:09 UTC 2009 
Responsible-Changed-Why:  
I'll do the MFC . 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15876 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/15876: commit references a PR
Date: Fri, 19 Jun 2009 07:18:55 +0000 (UTC)

 Author: edwin
 Date: Fri Jun 19 07:18:45 2009
 New Revision: 194474
 URL: http://svn.freebsd.org/changeset/base/194474
 
 Log:
   The "original" PR said that there were two issues with the motd
   (Eyes of the daemon not synced and the motd not displayed properly
   on black-on-white screens): The first one was not valid anymore
   since the text and logo were swapped already, the second one is
   fixed by resetting the whole colourscheme instead of only the
   background colour.
   
   (also removed svn:keywords from motd since it doesn't have the
    string $FreeBSD$ in it)
   
   PR:		misc/15876
   Submitted by:	peter.jeremy@ALCATEL.COM.AU
   MFC after:	1 week
 
 Modified:
   head/release/picobsd/mfs_tree/etc/motd   (contents, props changed)
 
 Modified: head/release/picobsd/mfs_tree/etc/motd
 ==============================================================================
 --- head/release/picobsd/mfs_tree/etc/motd	Fri Jun 19 05:18:43 2009	(r194473)
 +++ head/release/picobsd/mfs_tree/etc/motd	Fri Jun 19 07:18:45 2009	(r194474)
 @@ -3,7 +3,7 @@
       [31m)\_)\[37m    Welcome to PicoBSD
       [31m([37m[1mo,o[m[31m)[37m
    [32m__  [31m\~/[37m
 -  [32m-->=[41m===[40m[31m\[37m
 +  [32m-->=[41m===[0m[31m\[37m
    [32m~~[37m  [31md d[37m
  
  ==============================================================
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: edwin 
State-Changed-When: Thu Oct 21 07:04:29 UTC 2010 
State-Changed-Why:  
Trickled down into stable/8 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15876 
>Unformatted:
