git: dloader: First step in improving looks of boot menu

John Marino marino at crater.dragonflybsd.org
Fri Nov 28 16:05:54 PST 2014


commit a031988aa7e2e5fef9bac344a5affaf31205c214
Author: John Marino <draco at marino.st>
Date:   Fri Nov 28 23:07:46 2014 +0100

    dloader: First step in improving looks of boot menu
    
    The boot menu essentially hasn't changed since it was converted to C
    a few years ago.  The line between Fred and menu always bugged me, but I
    suppose some people like it.  I added a new loader option called
    "fred_separated" that is off by default, but if set on in loader.conf,
    it will bring back the line.  When the line isn't present, Fred shifts
    over by two characters which makes him centered.
    
    While here, improve the colorization of Fred.  Colorization is not turned
    on by default.  Before that can happen, adequate detection for a serial
    console must be added to avoid using ansi color codes on it.
    
    Since Fred has always been depicted as a red DragonFly with red wings, he
    has been given bright red wings against a darker red body, and eyes have
    changed from green yellow.  His shape has been tweaked as well.  His
    scorpion stinger was sanded down to a small point and his mosquito beak
    was made shorter so his head looks more like a DragonFly.  His thorax was
    improved with curly brackets.
    
    The original look can be restored by putting this in /boot/loader.conf:
      fred_separated="YES"
    
    Approved by: Positive feedback on IRC channel

Summary of changes:
 sys/boot/dloader/cmds.c      | 69 +++++++++++++++++++++++++-------------------
 sys/boot/dloader/loader.conf |  1 +
 2 files changed, 40 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a031988aa7e2e5fef9bac344a5affaf31205c214


-- 
DragonFly BSD source repository


More information about the Commits mailing list