Live data from Hacker News

Writing Programs with Ncurses

invisible-island.net

1–10 of 93 posts

Re: Writing Programs with Ncurses

#2
While discussing ncurses, has anyone ever seen any attempt to make accessible interfaces?

Nowadays when making a quick interface I tend to use a web-based interface -- while they are much heavier it's fairly easy to make fully blind accessible interfaces, I (very briefly) looked to see if any terminal based libraries supported anything similar, and the only thing which seems to be trying is emacs, with emacsspeak (which I've heard good things about but haven't tried, as I'm not an emacs user).

Re: Writing Programs with Ncurses

#3

While discussing ncurses, has anyone ever seen any attempt to make accessible interfaces? Nowadays when making a quick interface I tend to use a web-based interface -- while they are much heavier it's fairly easy to make fully blind accessible interfaces, I (very briefly) looked to see if any terminal based libraries supported anything similar, and the only thing which seems to be trying is emacs, with emacsspeak (wh…

I have met some blind users who were using terminal-based IRC clients. I believe they were using the scripting interface to assist in integrating it with their input/output hardware.

Re: Writing Programs with Ncurses

#4
I love TUIs. They are clear, quick and easy to use. Probably because they require straightforward design.

I just read the following links to build up foundation of knowledge first - low-level:

http://%CA%9E.cc/irl/term.html

https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode...

https://en.wikipedia.org/wiki/ANSI_escape_code#Colors

Other libraries:

# C, C++, Python and Rust

https://github.com/dankamongmen/notcurses

# Python, more polished presentation - but I cannot judge the technical foundation

https://github.com/willmcgugan/rich

Re: Writing Programs with Ncurses

#5

While discussing ncurses, has anyone ever seen any attempt to make accessible interfaces? Nowadays when making a quick interface I tend to use a web-based interface -- while they are much heavier it's fairly easy to make fully blind accessible interfaces, I (very briefly) looked to see if any terminal based libraries supported anything similar, and the only thing which seems to be trying is emacs, with emacsspeak (wh…

It would be nice if curses programs all had a standard keymapping or signal that would invoke one of curses screen dump functions. Lacking that, a screenreader would have to jump through a lot of hoops to even know what's on the screen. I suppose you could use tmux instead...it seems to be able to dump the current screen. Either way, still a lot of work to do after you have the raw data.

Re: Writing Programs with Ncurses

#6
post #4

I love TUIs. They are clear, quick and easy to use. Probably because they require straightforward design. I just read the following links to build up foundation of knowledge first - low-level: http://%CA%9E.cc/irl/term.html https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode... https://en.wikipedia.org/wiki/ANSI_escape_code#Colors Other libraries: # C, C++, Python and Rust https://github.com/dankamongmen/not…

True, i worked in a insurance company, the main CRM was a TUI with a Mainframe in the background, fast and reliable as hell/heaven.

Then everyone (Management) wanted to go away from mainframe (because it's 60's technology and expensive), so we developed a Java application with a GUI and Oracle in the background..and i was just ashamed about the whole project when it was finished.

It was slower for the user, less reliable and counting the dev-cost would gave us 10years of "free" mainframe-time.

Re: Writing Programs with Ncurses

#7
post #6
post #4

I love TUIs. They are clear, quick and easy to use. Probably because they require straightforward design. I just read the following links to build up foundation of knowledge first - low-level: http://%CA%9E.cc/irl/term.html https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode... https://en.wikipedia.org/wiki/ANSI_escape_code#Colors Other libraries: # C, C++, Python and Rust https://github.com/dankamongmen/not…

True, i worked in a insurance company, the main CRM was a TUI with a Mainframe in the background, fast and reliable as hell/heaven. Then everyone (Management) wanted to go away from mainframe (because it's 60's technology and expensive), so we developed a Java application with a GUI and Oracle in the background..and i was just ashamed about the whole project when it was finished. It was slower for the user, less reli…

I had a similar experience. And it would have been simple to pay attention to tab traversal, field highlighting, key bindings, etc, to have made the new application more familiar and faster. Wasn't to be though.

Re: Writing Programs with Ncurses

#10

I can't access the site... Access Denied - Sucuri Website Firewall Block reason: Access from your Country was disabled by the administrator. In case someone else experience the same and wants an alternate link: http://web.archive.org/web/20210531163620/https://invisible-...

I don't know why that WAF is in front of it, but there seems to be an intentionally maintained mirror that doesn't have the Securi headers: https://invisible-mirror.net/

So, the mirrored copy of this article would be: https://invisible-mirror.net/ncurses/ncurses-intro.html

Post reply on HN