0

Does ncurses library (originally developed with C in mind, if memory serves) have a port, or does an alternative exist which works well with fortran on a Windows platform?

Or, some library (since I've always used ncurses name when referring to "that sort of interfaces) which could be used to develop semi GUI on a command line prompt?

Rook
  • 60,248
  • 49
  • 165
  • 242
  • dislin is a graphing library that has a Fortran interface and is available on many platforms. Besides graphs, it can make simple GUI windows. Perhaps more than you have in mind... – M. S. B. Apr 21 '14 at 23:14
  • @M.S.B. - No, I'm aiming for a semi-GUI, this type http://upload.wikimedia.org/wikipedia/commons/2/27/Linux-menuconfig.png ... since i'm not actually plotting anything, but only dealing with numerical values. – Rook Apr 22 '14 at 10:25

2 Answers2

0

For the alternatives, you'd need the calls in

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682087(v=vs.85).aspx

If you are using IVF, the interfaces have already been done in kernel32.F90 in the IVF include directory.

On Windows platforms, to get cursor addressing to work in either kernel32 or ncurses, the Screen Buffer Size height and Window Size height in the cmd prompt properties must be set to the same value.

cup
  • 7,589
  • 4
  • 19
  • 42