Bug 15876

Summary: [picobsd] PicoBSD message of the day problems
Product: Base System Reporter: peter.jeremy <peter.jeremy>
Component: miscAssignee: Edwin Groothuis <edwin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description peter.jeremy 2000-01-04 04:30:00 UTC
	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).

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).
How-To-Repeat: 
	Display /usr/src/release/picobsd/net/lang/motd.en on an
	xterm with black writing on a white background.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-08-24 12:30:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-small

Over to maintainer group.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-18 23:40:09 UTC
State Changed
From-To: open->patched

Fixed in HEAD 


Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-18 23:40:09 UTC
Responsible Changed
From-To: freebsd-embedded->edwin

I'll do the MFC .
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-06-19 08:18:55 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"
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2010-10-21 08:04:29 UTC
State Changed
From-To: patched->closed

Trickled down into stable/8