Showing posts with label ascii. Show all posts
Showing posts with label ascii. Show all posts

Feb 1, 2022

Introducing PyFiglet

PyFiglet is a full port of FIGlet (http://www.figlet.org/) into pure python. It takes ASCII text and renders it in ASCII art fonts (like the title above, which is the 'block' font).

Below is the simple one-liner to export all the fonts pyfiglet supporting into a file (for reference later).

$ pyfiglet -l

$ for FONTS in `pyfiglet -l`; do echo $FONTS >> fonts ; pyfiglet $FONTS -f $FONTS >> fonts ; done;


Aug 5, 2010

ASCII Art in BackTrack

Someone asks me how do I create the ascii art for my /etc/motd and /etc/issue. Easy:
$ echo -e Google\\nBackTrack\\npentester > motd
$ figlet -cf smslant < motd >> /etc/motd
$ figlet -cf smslant MySeq >> /etc/issue