display a large ascii letters on terminal with figlet

March 27th, 2007 mysurface Posted in figlet, figlist, Misc | Hits: 24820 | 5 Comments »

figlet is a handy tool used to beautify your display in virtual terminal, it display large letter which make up by ascii codes.

figlet hi mysurface
 _     _                                   __
| |__ (_)  _ __ ___  _   _ ___ _   _ _ __ / _| __ _  ___ ___
| '_ \| | | '_ ` _ \| | | / __| | | | '__| |_ / _` |/ __/ _ \
| | | | | | | | | | | |_| \__ \ |_| | |  |  _| (_| | (_|  __/
|_| |_|_| |_| |_| |_|\__, |___/\__,_|_|  |_|  \__,_|\___\___|
                     |___/

It probably looks awkward here, but it will display nicely with font monospace, which I have it set with gnome-terminal.

You can download more fonts for figlet, It usually store all the figlet fonts at /usr/share/figlet. Download more fonts at FIGlet Fonts Library

To list all the fonts available for figlet, use figlist, it list both font files and control files.

figlist

Control file is a file containing a list of commands that figlet executes each time it reads a character. These commands can map certain input characters to other characters. It probably changing certain ascii codes make the letters looks better or the way the control file specified.

To use the font, specified -f

figlet -f digital hi mysurface

To use the control file, specified -C. With upper, it turns all letters to uppercase

figlet -C upper hi mysurface

By default, the width of figlet is been set to 80, therefore some phase longer than 80 actual characters will be wrap to next line. If you have wider terminal, you can specified with width with -w.

figlet -w 120 -C upper -f lean hi mysurface

It does have simple alignment options ( -l for left, -c for center and -r for right)

figlet -c -w 120 -C upper -f lean hi mysurface

Thanks to Debian package of the Day.

5 Responses to “display a large ascii letters on terminal with figlet”

  1. this is cool http://photo2text.com

  2. F*cking Awesome.

  3. [...] ?????????Figlet??BBS?????????????????????Web??????????Figlet?????????????????????man figlet??????????????????? Figlet ← Amazon???Kindle DX Graphite(DXG) 3G?????????3G??????????? Leave a comment ?0 Comments. /* */ [...]

  4. [...] ?????????Figlet??BBS?????????????????????Web??????????Figlet?????????????????????man figlet??????????????????? Figlet ← Amazon???Kindle DX Graphite(DXG) 3G?????????3G??????????? ??Linux_Logo???SSH??????? → Leave a comment ?0 Comments. /* */ [...]

  5. Hi there I am so happy I found your website, I really found you by mistake, while
    I was browsing on Digg for something else, Nonetheless I am here now
    and would just like to say thank you for a remarkable post and a all round interesting blog (I also love
    the theme/design), I don’t have time to read through it all at the
    minute but I have book-marked it and also added your RSS feeds, so when I have time I will
    be back to read a lot more, Please do keep up the excellent jo.

Leave a Reply