[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OT, Example code, mixing framebuffer and ncurses ?
From: |
Thomas Dickey |
Subject: |
Re: OT, Example code, mixing framebuffer and ncurses ? |
Date: |
Sat, 24 Feb 2018 19:10:15 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Feb 19, 2018 at 02:39:51PM -0500, Patrick wrote:
> Hi Everyone
>
> I have several software projects I am working on. One of them is controlling
> scientific instruments and processing the resulting data.
>
> Software used in laboratories is all Windows. Trying to get people to use
> Linux and even more so, Linux and ncurses is going to be hard.
>
> The thing is that I love ncurses + Linux and just because people expect
> buggy, spyware-friendly software doesn't mean I have to write more.
>
> I am pretty much all set to go but I have to solve a problem, how can I show
> a decent graph to the user of the data being collected....
>
> I have thought about using braille characters like htop but I don't think
> the 8 high by 2 wide set of dots will offer enough resolution. I have tried
> sixel but support is patchy and this also requires X.
>
> I can also write pixel images to terminal by obtaining the window ID of the
> terminal and drawing into a foreign window.
>
> However, in my heart of hearts, I think the best thing is to offer a new
> user a a Linux console with one application running, a sort of Kiosk
> solution.
>
> To display a graph I will need to use the framebuffer. Does anyone have any
> examples of using the framebuffer with ncurses code ? or if not, can you
> give me any advice?
I haven't done anything with it, but have read that PDCurses did provide
an interface using the SDL library. You might be able to use that.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature