Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 15:21:46 +1100
From:      peter.jeremy@ALCATEL.COM.AU
To:        freefall-gnats@gsmx07.alcatel.com.au
Subject:   misc/15876: PicoBSD message of the day problems
Message-ID:  <00Jan4.152146est.40331@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help

>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;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?7R`@&ULS,6U<
M?B\;6S,W;0HM5V5L8V]M92!T;R!0:6-O0E-$(2`@("`@("`@("`@("`@("`@
M("`@(!M;,S)M+2T^/1M;-#%M/3T]&ULT,&T;6S,Q;5P;6S,W;0HM("`@("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@(!M;,S)M?GX;6S,W
M;2`@&ULS,6UD(&0;6S,W;0HM66]U(&-A;B!F:6YD(&$@<VAO<G0@9&5S8W)I
M<'1I;VX@;V8@=&AE("`@&ULS-6UP:6-O0E-$&ULS-VT**ST]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/0HK("`@
M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@(!M;-#`[,S=M
M("`@(!M;,S%M*5Q?*5P;6S,W;2`@&UMM"BM0:6-O0E-$($!615)`("A#=7-T
M;VTI("`@("`@("`@("`@("`@("`@&ULT,#LS-VT@("`@&ULS,6TH&ULS-SLQ
M;6\L;QM;,#LT,#LS,6TI&ULS-VT@(!M;;0HK("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@("`@("`@(!M;-#`[,S=M(!M;,S)M7U\@(!M;,S%M
M7'XO&ULS-VT@("`;6VT**U=E;&-O;64@=&\@4&EC;T)31"$@("`@("`@("`@
M("`@("`@("`@("`;6S0P.S,W;2`;6S,R;2TM/CT;6S0Q;3T]/1M;-#`[,S%M
M7!M;,S=M("`;6VT**R`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`;6S0P.S,W;2`;6S,R;7Y^&ULS-VT@(!M;,S%M9"!D&ULS-VT@
M("`;6VT**UEO=2!C86X@9FEN9"!A('-H;W)T(&1E<V-R:7!T:6]N(&]F('1H
M92`;6S0P.S,W;2`@(!M;,S5M<&EC;T)31!M;,S=M(!M;;0H@<WES=&5M(&EN
M(&9I;&4@+U)%041-12X@66]U(&-A;B!V:65W(&ET('5S:6YG"B`B;6]R92`O
+4D5!1$U%(BX*(`I-
`
end

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00Jan4.152146est.40331>