News for hackers. Stuff that matters.
Re:Show HN: A ncurses CRM system (and accounting) by jlebrech on Tuesday April 04, 2017 @07:08AM (#14031354)
I want to be able to create an ncurses app first and then have a renderer create a web app from the ncurses app.
Re:Show HN: A ncurses CRM system (and accounting) by powercf on Tuesday April 04, 2017 @01:12PM (#14035000)
I have used ncurses to build a simple backend interface, that I use for testing new features etc. The end result looks nice, and is functional, but ncurses the library is a pain. It feels like something that would not be written by a programmer today: C, manual pointer-management, the interface feels too low-level. I ended up writing a C++ wrapper around it, adding thread-safety, better scrolling and some convenience functions (the ncurses form library I believe was a particular pain).

What I would like is a high-quality redesign of ncurses with a modern C++ interface.

Re:Show HN: A ncurses CRM system (and accounting) by marssaxman on Tuesday April 04, 2017 @02:10PM (#14035619)
A modernized curses library with clean UTF-8 support would be really nice. There's no need to make it a drop-in system library replacement, either, so there's no need to maintain ABI compatibility, as ncurses does.
Re:Show HN: A ncurses CRM system (and accounting) by powercf on Tuesday April 04, 2017 @03:32PM (#14036376)
re. UTF-8 support: ncurses does include this, in libncursesw. It seems to work, although I haven't tried anything outside of Latin-1.
Re:Show HN: A ncurses CRM system (and accounting) by mingodad on Tuesday April 04, 2017 @06:31PM (#14037861)
Probably someone will remember this https://en.wikipedia.org/wiki/Turbo_Vision

Turbo Vision is a DOS-based character-mode text user interface (TUI) framework developed around 1990 by Borland for Pascal, and C++.

Re:Show HN: A ncurses CRM system (and accounting) by vog on Tuesday April 04, 2017 @07:20AM (#14031406)
Perhaps a more fruitful approach would be to generate both from a common abstraction. Otherwise, you either impose ncurses look&feel to the web (might look like a web terminal emulator), or you force the web into the terminal (might look like a text browser e.g. w3m, lynx, links, elinks)
Re:Show HN: A ncurses CRM system (and accounting) by jongold on Tuesday April 04, 2017 @12:23PM (#14034395)
Re:Show HN: A ncurses CRM system (and accounting) by jlebrech on Tuesday April 04, 2017 @11:57AM (#14034041)
you'd create a markup with component names, instead of html. so you'd have panel, button, divider, pane, window, menu, etc as tags. you can then render those using polymer or react etc. and none of it is polluted by garish html.