fsxNet Wiki

BBS Development & Resources

User Tools

Site Tools


ansi:tutorials

This is an old revision of the document!


Tutorials

Other

Setting Up Linux For ANSI Viewing

To properly view ANSI Art in a Linux Terminal App, like Gnome-Terminal or lx-terminal, we must do some customization. First of all download a proper font like the Classic Console Font. Place the font inside your font directory. For Ubuntu users, its the .fonts directory, inside their home folder. Open your Terminal Application and go to Preferences. Choose the Classic Console Font and apply changes.

To enable ANSI colors, give the following command in the terminal. It will return an empty line.

echo -e "\e(U\e[0m"

Basically, thats all. Test it with the simple command cat. For example:

cat myansifile.ans

You should see beautiful ANSI Art…

ansi/tutorials.1490625560.txt.gz · Last modified: 2018/03/29 01:58 (external edit)