:: krowemoh

Thursday | 27 MAR 2025
Posts Links Other About Now

previous
next

VTM

2025-03-07

VTM is a text based desktop environment. I'm not sure why or what I would use it for but it is certainly cool.

https://github.com/directvt/vtm

Due to the binaries resulting in a floating point error that seg faults, I compiled vtm from source.

I also had to make some tweaks to get the code to compile.

git clone https://github.com/directvt/vtm.git
cmake . -B bin
cmake --build bin
./bin/vtm

The build step had the following error:

/vtm/src/netxs/apps/tile.hpp:339:40: error: expected primary-expression before '>' token 
339 |                     ->plugin<pro::focus>(pro::focus::mode::focusable)

There were a few of these lines. I had to add template before the plugins and that seems to have solved the issue. I don't know enough C++ to know why but it worked.

->template plugin<pro::focus>(pro::focus::mode::focusable)

vtm was pretty cool after it started running. I was able to run it from the browser using ttyd as well which was cool. It looks like you can do some really cool stuff using the terminal.

This means that these functions should be available to BASIC as well as I imagine most of it is done through ANSI escape codes. Maybe anyway.