3

A client has an old Solaris setup running 5.8.8, is it possible to have use Curses to create a multiple select UI like the following example?

From the documentation I can't identify if this is possible, there seems to be no examples.

Debian Config example:

Dr.Avalanche
  • 1,944
  • 2
  • 28
  • 37
  • 1
    What you see is not a listbox or something similar, but a number of checkboxes. Therefore, *yes* it is easily doable. – Matthias Mar 12 '14 at 13:46
  • @Matthias thanks, I don't see checkbox in the [documentation](http://search.cpan.org/~giraffed/Curses-1.28/Curses.pm) – Dr.Avalanche Mar 12 '14 at 13:58

1 Answers1

1

My suggestion would be Curses::UI in combination with Curses::UI::Listbox, which appears to offer the functionality which you are looking for.

I am not exceedingly familiar with Curses::UI, so I can't offer better examples than are already present in the pages to which I've linked--but even if you can't use this, perhaps you can use the module code to infer how it's manipulating Curses to offer this functionality.

Vector Gorgoth
  • 677
  • 3
  • 14