Comment by πŸ’Ž istvan

Re: "Lagrange v1.18: TUI and Misfin Development of version 1.18…"

In: s/Lagrange

Nulled out the clock. Made it along the chain to process.c, which blows up because there is no spawn.h in the system.

Seems to be a known problem on 10.4. A number of MacPorts are broke because of no spawn.h.

Commented out the include, then made start_process return iFalse (good enough for Android)….

Then it built harfbuzz even though I told it not to. And then it started building SDL even though I told it to build TUI.

Nuked the mouse wheel controls but hit a wall at SDL_CreateRGBSurfaceWithFormatFrom(). The needs SDL 2.0.5+ and I’m capped at 2.0.3.

Did I screw up my cmake line? Why is it even trying to build this when I wanted to try ncurses.

πŸ’Ž istvan

2024-09-20 Β· 2 years ago

4 Later Comments ↓

πŸ’Ž istvan Β· 2024-09-20 at 23:32:

Fixed it. Cmake decided to not respect a single variable set from the command line. Edited the options in the cache file and rebuilt. Finally got onto the TUI path.

Had to patch most of the files to remove all middle scroll wheel functionality because that’s not available in SDL 2.0.3. Finally compiled everything.

… And then linking failed with every single symbol missing. Guessing pkg-config isn’t playing nicely with cmake to add all the linking paths.

I’ve had enough pain for one day. May give it another shot next week. Guessing Unicode is going to ah e some serious problems even if I get it going since I’m missing ncursesw.

πŸŒ† skyjake [OP/mod...] Β· 2024-09-21 at 10:59:

clagrange does not display proper output unless the compilation flags use -O1 (or sometimes -O2). It is perhaps due to undefined behavior _somewhere_

I managed to track this down pretty easily. Turns out, there was an ill-advised cast and dereferencing of a value in the function that copies the text canvas to the screen.

πŸŒ† skyjake [OP/mod...] Β· 2024-09-25 at 04:06:

β€” Lagrange F-Droid Repo

☯️ johano · 2024-10-09 at 00:12:

I probably missed it somewhere, but how can I make the new misfin features work with my gembox at hashnix.club?

Original Post

πŸŒ’ s/Lagrange

πŸŒ† skyjake: [mod...]

β€” Lagrange v1.18: TUI and Misfin

Development of version 1.18 has been a slow burn. Over the past year, I've been putting finishing touches on the Curses-based TUI variant and adding support for new Gemini-adjacent protocols. A number of bugs were fixed as well, and I've made several minor improvements in the user interface. What's new? Curses-based TUI (clagrange) as an alternative to the graphical interface. Support for Misfin: mail...

clagrange (80x25) on macOS, showing BBS front page

πŸ’¬ 15 comments Β· 3 likes Β· 2024-09-20 Β· 2 years ago Β· #release