Menu

#2 idea: move from POSIX terminal to curses

1.0
closed
nobody
None
2021-05-02
2019-08-02
No

Doing so would allow using pipEdit also for environments that support curses (which is much more than have support for termios), including win32.

Related

Tickets: #6

Discussion

  • Simon Sobisch

    Simon Sobisch - 2019-08-02

    ... just recognized that it is just the "c" script that setup using pipcurses.c and that the code already has ncurses.h as an alternaternative.

    The open questions are:

    • Does ncurses work already?
    • Does it work to use other curses implementations (posix/bsd; pdcurses)?
     
  • The_Piper

    The_Piper - 2019-08-02

    Right now ncurses works a little bit, i'm just on it.

    The screen is displayed, some special keys do what they're supposed to do, others do nothing or just crap.

    Hopefully i can fix it this weekend.

     
    • Simon Sobisch

      Simon Sobisch - 2019-08-03

      Sounds marvelous, thank you. Note : you may want to have a look at libcob/screenio.c for some key issues and also for PDcurses compatibility.

       
  • The_Piper

    The_Piper - 2019-08-08

    right now it's tested with ncurses.h and curses.h and it looks quite good :)

     
  • The_Piper

    The_Piper - 2019-08-15
    • status: open --> closed
     
  • The_Piper

    The_Piper - 2019-08-15

    Done with latest release.

     
  • Simon Sobisch

    Simon Sobisch - 2021-05-02

    I've just rechecked, this now also builds with Arnold's Win32 package, as long as the defines in the Makefiles are adjusted (we may want to include additional conditional make parts allowing to pass the curses library doing make, removing the need to adjust the makefile.

     

Log in to post a comment.