HACKER Q&A
📣 eimrine

Which is the simplest terminal emulator able to run Vim?


I would like to experiment with this kind of GUI terminal emulator software also known as console. I would like to get started with that one which consists as little code as possible with heavy preference to those ones implemented with C programming language and equipped with a good documentation.


  👤 nextos Accepted Answer ✓

👤 jonjacky
Maybe kragen's admu, part of his BubbleOS suite:

https://gitlab.com/kragen/bubbleos

He writes:

An ADM-3A terminal emulator called admu, which works well enough to run vim, screen, or tmux in. It displays using Yeso [the BubbleOS GUI system], but the terminal emulation component is separable from Yeso, and is under 600 bytes of machine code — under 400 bytes on ARM with Thumb2. Because the ADM-3A is supported by terminfo and termcap, most Unix terminal handling works on it, except for color.

I recall reading that the original vi was developed on an ADM-3A.