5

I used to develop some Perl programs using Fry::Shell. I think it is very powerful and easy to use.

For one of my C++ projects I need to create a command line client. The idea is to create a TUI like the one found in routing hardware.

Does such a framework exist ?

Mathieu G.
  • 113
  • 8
  • 4
    GNU readline or ncurses? –  Jan 02 '12 at 20:37
  • Hmm I did not thought of ncurse. My program is a kind of RPC client (using Thrift). I could make a "simple" GNU readline interface and an advanced one with ncurse... – Mathieu G. Jan 02 '12 at 22:14
  • possible duplicate of [C++ wrappers for ncurses?](http://stackoverflow.com/questions/544280/c-wrappers-for-ncurses) – sehe Jan 02 '12 at 23:10

1 Answers1

1

You can keep using Fry::Shell. It's not much of a hassle to call Perl from C++. Here's a starting point for that, there might be a better way to do it.

EDIT: I just found a project on Github. It's written in C and seems pretty much dead, but try it out, it might be useful. Even if it's not, since it's open source, you can use it as a starting point. It claims to provide a Cisco-like interface, which should suit you pretty well.

dario_ramos
  • 7,118
  • 9
  • 61
  • 108