fsxNet Wiki

BBS Development & Resources

User Tools

Site Tools




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.txt · Last modified: 2017/03/27 14:39 by xqtr