Code Monkey home page Code Monkey logo

showansi's Introduction

showansi

Little Qt-console program that shows CP437-ANSI files in your console.

What is this

I happened to get my hands on a collection of old text files containing ANSI graphics and CP437 characters, used in the 80s-90s for graphics on terminals and BBSes.

To view them on my linux system I typed:

    cat <file>

but the result was something like this:

cat visualization in bash

I have investigated the problem and realized that it was possible to make a simple converter to transform these files into a format that was interpretable by my console's bash. And so showansi was born.

Whith showansi you can convert old ANSI-CP437 files to Unicode chars and shows it in your bash console.

This is the same file converted by showansi:

showansi visualization in bash

Note that if the ANSI-CP437 file is animated, the animations are not lost and the bash console is able to display them correctly.

Dependencies

To compile and run showansi you need to have Qt libraries >= version 6 installed.

Compilation

Please go in program directory and type this in your bash console:

    qmake6
    make

Note: on some system, qmake6 is simply qmake.

To install showansi in the system, type:

    sudo cp showansi /usr/bin

Simple Test

Please go in program directory and type this in your bash console:

    ./showansi test1.ans

or

    ./showansi test2.ans

Enjoy!

showansi's People

Contributors

felmur avatar

Watchers

 avatar

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.