Giter VIP home page Giter VIP logo

ansiterm's Introduction

ansiterm

Proper configurations for viewing ANSI art or telnetting/SSHing to BBSes in xterm and macOS Terminal.app.

Includes dos437, a BDF pixel-for-pixel translation of the DOS 437 codepage font, with a converted TrueType version.

https://i.imgur.com/eUMMpQW.png

xterm

Convert the BDF font to a PCF font (if necessary) and then install it:

  • bdftopcf dos437.bdf > font/dos437.pcf
  • sudo cp font/dos437.pcf /usr/X11R6/lib/X11/fonts/misc/
  • cd /usr/X11R6/lib/X11/fonts/misc/; sudo mkfontdir

Then run ansiterm.sh to launch xterm with proper colors and the dos437 font. For tiling window managers, make sure the resulting xterm window is exactly 80 characters wide.

Terminal.app

Install the TTF font (double-click it to open it in font book, and then click install) and then install the terminal settings profile by double clicking it.

Verify that the font used is dos437 in 8pt, antialias is off, the character encoding is "western (ascii)", and the terminal is 80x24.

In either xterm or Terminal.app, ANSI art files should display properly with cat. BBSes should display fine through the standard telnet or SSH programs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.