ncurses based menus

5,979

Solution 1

Would the program dialog be sufficient for your needs? It can do basic dialogs and even more complex stuff. Maybe you should look into it.

See http://www.linuxjournal.com/article/2807 for some further information.

Ofcourse, this wouldn't be a 100% perl solution.

Solution 2

The answer is in your subject line already. That's what ncurses is for. I'm sure there are ncurses bindings for perl. For example there is a curses UI library for perl.

The NCURSES Programming HOWTO has perl examples.

Share:
5,979

Related videos on Youtube

LanceBaynes
Author by

LanceBaynes

Updated on September 18, 2022

Comments

  • LanceBaynes
    LanceBaynes almost 2 years

    How can I build an ncurses based menu? Are there any other solutions for building "menus" for use on the console? I just need an "inter-operating system" (all non-windows :P) solution. Are there any good solutions to build/create menus in perl?

  • Gilles 'SO- stop being evil'
    Gilles 'SO- stop being evil' about 13 years
    Ncurses isn't the right level for a menu interface, there's a wheel to reinvent above it.