Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The Unix banner
program outputs a large ASCII art version of the text that is supplied
to it as its program arguments. One use of the command is to create
highly visible separator pages for print jobs. Each argument is
truncated at 10 characters and printed on a "line" of its own. To print
multiple words on a single line, they must therefore be passed as a
single argument, which is done from the shell by escaping or quoting the
words as appropriate. A related, and more flexible, program is FIGlet,
which can display text in different fonts and orientations. The way that
the program is implemented internally is error-prone and antiquated. The
character fonts used are hardwired into the program code itself, as
statically initialized data structures. Two data structures are used.
The first is a data table comprising a sequence of printing instructions
that encode the bitmap for each character. The second is an index into
that table that indicates, for each character code, where the printing
instructions for that character begin and end.