tags:

views:

193

answers:

4

Are there any C++ libraries similar to Ncurses, but for Windows? It seems there are no ports of Ncurses and I need a really good display system like it.

Any suggestions? Cross-platform is a plus.

A: 

I would use CYGWIN with NCURSES: curses + crossplatforms, as you want.

Other than that, you can try Borland's old CONIO (there is a repository of old Borland Software at Embarcadero), or Microsoft's Win32 API Console.

Pablo Santa Cruz
Does the cygwin solution force the user to install cygwin though?
Billy ONeal
@Billy As far as I'm aware, yes, you need the cygwin DLL. The PDCurses solution is a much better bet - I've played with it, and it works well - no cygwin required,
anon
@Bill: you need only the cygwin DLL.
Dan Andreatta
@Dan Andreatta: Does that mean I can just redistribute the DLL with my application in a self extracting ZIP? Or does that chain me to GPL fun?
Billy ONeal
@Billy: GPL fun. You can freely link against the dll if you distribute your application with an open source licence, in which case you simply have to distribute the source code of the dll. Otherwise you have to purchase a license from RedHat.
Dan Andreatta
@Dan Andreatta: Grr. Getting difficult to stick to the BSD license. :P Thanks!
Billy ONeal
@Billy: If I read it correctly, you can distribute your code with a BSD license together with the DLL, which remain under the "extended GPLv2".
Dan Andreatta
+1  A: 

Not cross platform, but you could use the Windows API's Console Functions directly.

Billy ONeal
+6  A: 

There is very similar library PDCurses. It uses the same calls as ncurses, but works on Win32. The only thing you'd need to port a program would be to recompile.

http://pdcurses.sourceforge.net/

buratinas
A: 

SetEdit uses a port of Borland's TurboVision. This port is cross platform and can be found here, licensed under GPL.

Cristian Adam