dos 437 fonts and configs for viewing ANSI art in xterm
at master 34 lines 1.2 kB view raw view rendered
1### ansiterm 2 3Proper configurations for viewing ANSI art or telnetting/SSHing to BBSes in 4xterm and macOS Terminal.app. 5 6Includes `dos437`, a BDF pixel-for-pixel translation of the DOS 437 codepage 7font, with a converted TrueType version. 8 9![https://i.imgur.com/eUMMpQW.png](https://i.imgur.com/eUMMpQW.png) 10 11#### xterm 12 13Convert the BDF font to a PCF font (if necessary) and then install it: 14 15- `bdftopcf dos437.bdf > font/dos437.pcf` 16- `sudo cp font/dos437.pcf /usr/X11R6/lib/X11/fonts/misc/` 17- `cd /usr/X11R6/lib/X11/fonts/misc/; sudo mkfontdir` 18 19Then run `ansiterm.sh` to launch xterm with proper colors and the `dos437` 20font. For tiling window managers, make sure the resulting xterm window is 21exactly 80 characters wide. 22 23#### Terminal.app 24 25Install the TTF font (double-click it to open it in font book, and then click 26install) and then install the terminal settings profile by double clicking 27it. 28 29Verify that the font used is `dos437` in 8pt, antialias is off, the character 30encoding is "western (ascii)", and the terminal is 80x24. 31 32 33In either xterm or Terminal.app, ANSI art files should display properly with 34cat. BBSes should display fine through the standard telnet or SSH programs.