Christian Burger
2863c8ae16
Basic pseudo terminal capabilities in an ncurses window provided. Can run at least `nano`, `top` and `sudo`. Probably a lot more. No colors, yet.
585 B
585 B
Description
WARNING: This is a prototype. Things will probably break; in spectacular ways.
NCursesPtyWindow
provides a pseudo terminal in a ncurses window.
Building
Requires:
- GCC 9.3 (C++17)
- ncurses 6.2
- libvterm (0.1.2-2; r740 at https://bazaar.launchpad.net/~libvterm/libvterm/trunk/revision/740)
- libmsgsl-dev 2.1.0-1 (Microsoft C++ Guidelines Support Library)
Running
Though this is a library, there is a demo application. It starts the currently
running shell (or /bin/bash
if SHELL
environment variable is not set) and
runs it in a ncurses window.