[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch v3 0/2] Remove figlet from the source tree



On Tue, Nov 26, 2013 at 8:45 AM, Keir Fraser <keir.xen@xxxxxxxxx> wrote:
> On 25/11/2013 14:38, "Ian Jackson" <Ian.Jackson@xxxxxxxxxxxxx> wrote:
>
>> Ian Campbell writes ("Re: [Xen-devel] [Patch v3 0/2] Remove figlet from the
>> source tree"):
>>> It doesn't quite disappear it is just printed as normal ASCII text
>>> instead.
>>>
>>> We could include a static "Xen" banner figlet output and just print the
>>> version in normal ASCII text. Or we could check in the figlet banner and
>>> make it part of the release process to update it (liable to forgetting
>>> though, so I'm not in favour of this).
>>
>> I far prefer the approach in Andrew's patch.
>
> Personally I think we should just get rid of the banner entirely.

Aww. I was gonna submit a replacement shell one-liner, like this:

$ banner () { f=`mktemp`; for c in `echo -n "$1" | od -An -b`; do tail
-n+$(((0$c - 32) * $3 + $4)) $2 | head -n6 | cut -b2- | paste -d@ $f -
> $f.; mv $f{.,}; done; tr -d @ < $f | tr $ ' '; rm $f; }
$ banner "Xen 4.4-blah" xen/tools/figlet/xen.flf 6 16
__  __               _  _       _  _        _      _         _
\ \/ /  ___  _ __   | || |     | || |      | |__  | |  __ _ | |__
 \  /  / _ \| '_ \  | || |_    | || |_  __ | '_ \ | | / _` || '_ \
 /  \ |  __/| | | | |__   _| _ |__   _||__|| |_) || || (_| || | | |
/_/\_\ \___||_| |_|    |_|  (_)   |_|      |_.__/ |_| \__,_||_| |_|

- Matthew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.