https://github.com/TurkeyMcMac/vt52ish Skip to content Sign up Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Project management - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] [search-key] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up Sign up {{ message }} TurkeyMcMac / vt52ish * Notifications * Star 0 * Fork 0 A rough/partial emulator of a VT-52 running inside Curses. MIT License 0 stars 0 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights main Switch branches/tags [ ] Branches Tags Nothing to show {{ refName }} default View all branches Nothing to show {{ refName }} default View all tags 1 branch 0 tags Go to file Code Clone HTTPS GitHub CLI [https://github.com/T] Use Git or checkout with SVN using the web URL. [gh repo clone Turkey] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio If nothing happens, download the GitHub extension for Visual Studio and try again. Go back Latest commit @TurkeyMcMac TurkeyMcMac Fix window I/O ... e84fa34 Apr 17, 2021 Fix window I/O This fixes cursor positioning in PDCurses. It also fixes an issue where the first received character was rendered as a space. The wrefresh() call is now unneeded since wgetch() does a refresh. e84fa34 Git stats * 23 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time src Fix window I/O Apr 17, 2021 .gitignore Name project Apr 16, 2021 LICENSE Add a license Apr 17, 2021 Makefile Fix window I/O Apr 17, 2021 README.md Add a README Apr 17, 2021 View code VT52ish Building Running Motivation README.md 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. About A rough/partial emulator of a VT-52 running inside Curses. Topics ncurses vt52 terminal-emulator Resources Readme License MIT License Languages * C 98.5% * Makefile 1.5% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.