Coder Social home page Coder Social logo

vt52ish's Introduction

VT52ish

This is a pretty inaccurate emulator of a VT52. I'm sure it's missing several features. I mostly wanted to make TUI programs work using TERM=vt52. I got my information about VT52s from the terminfo database, Wikipedia, and this page. The emulator runs inside another terminal emulator using (N)Curses.

Building

This project requires a Curses library, a C99 compiler, and a POSIX environment. I couldn't make it completely POSIX-compliant due to a few necessary tty ioctls, but it probably works on many Unices. If you have the right environment, you can build it with make. The executable is called vt52ish.

Running

To run an interactive Bash shell, something like this will work:

./vt52ish env PS1='$ ' bash --norc --noprofile

You can nest the emulator an arbitrary number of times:

./vt52ish ./vt52ish ./vt52ish env PS1='$ ' bash --norc --noprofile

Most simple ncurses programs that don't require colors will probably work to some extent in this terminal.

Motivation

I wanted to make this mostly to try implementing a terminal emulator. I decided to emulate the VT52 because of the simplicity of its protocol.

vt52ish's People

Contributors

turkeymcmac avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

linuxha

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.