Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ncurses vs Turbo Vision

434 views
Skip to first unread message

Sergio Reyes

unread,
Feb 8, 2002, 1:15:31 AM2/8/02
to
Hi,

I'm going to reproduce a legacy Clipper application on Linux, with a
PostgreSQL backend and a console gui. I have to decide between raw
ncurses or the Turbo Vision Linux port. Has anybody any experience as
to make a comparison between these two libs? Is it easier to connect
the database backend to one or another? What about implementing a
browser window?

C vs C++ is not the issue; in fact I will make a light wrapper to
ncurses in C++ if it is the chosen library.

Thanks in advance.

Sergio Reyes.
sreyesp@SoftHomedotnet

Dowe Keller

unread,
Feb 8, 2002, 2:12:13 AM2/8/02
to
sre...@SoftHome.net (Sergio Reyes) writes:

> Hi,
>
> I'm going to reproduce a legacy Clipper application on Linux, with a
> PostgreSQL backend and a console gui. I have to decide between raw
> ncurses or the Turbo Vision Linux port. Has anybody any experience as
> to make a comparison between these two libs? Is it easier to connect
> the database backend to one or another? What about implementing a
> browser window?

I'm not sure what you mean by connecting the database back end.
Though I haven't used, or even know what Turbo Vision is, curses is a
abstraction layer over the low level terminal lib (terminfo). Under
ncurses, any interfacing with the database would have to be done with
a separate lib.

As to ncurses versus Turbo Vision, I will mention if your program has
to be portable, ncurses is the way to go. It is the de facto interface
building library that comes with most if not all modern UN*Xes.
Besides ncurses is easy to program, and comes with (on Linux at least)
good documentation.

--
do...@sierratel.com <http://www.sierratel.com/dowe>

The two most common things in the Universe are hydrogen and stupidity.
-- Harlan Ellison

Kasper Dupont

unread,
Feb 8, 2002, 10:48:49 AM2/8/02
to
Sergio Reyes wrote:
>
> Hi,
>
> I'm going to reproduce a legacy Clipper application on Linux, with a
> PostgreSQL backend and a console gui. I have to decide between raw
> ncurses or the Turbo Vision Linux port. Has anybody any experience as
> to make a comparison between these two libs? Is it easier to connect
> the database backend to one or another? What about implementing a
> browser window?
>

I have no experience with writing programs using any of the
two. But I think the DOS programs I have seen using TV looks
nicer than anything I have seen based on ncurses.

--
Kasper Dupont
For sending spam use mailto:razor-...@daimi.au.dk

0 new messages