can't find documentation for curses menu support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LazarusHC
    New Member
    • Aug 2009
    • 3

    can't find documentation for curses menu support

    I'm try to write a very simple menu in perl curses, but I just can't find any documentation for it. A small sample script called demo.menu came with the package, but I can't seem to figure out how it works without any documentation. I've also found plenty of documentation for ncurses menu support in C, which is very similar, but I don't know enough about C to figure out how it works in perl.

    Can someone either point me in the direction of some documentation, or to a simple script showing how it's done?
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    I've never used curses and don't know anything about it but there is documentation on CPAN:

    Comment

    • LazarusHC
      New Member
      • Aug 2009
      • 3

      #3
      Yes, I found that. But there is no specific documentation on how to use the menu functions build in. It shows which functions are available, but doesn't say what needs to be passed with each one, for example. Thanks for looking, though.

      Comment

      • numberwhun
        Recognized Expert Moderator Specialist
        • May 2007
        • 3467

        #4
        Originally posted by LazarusHC
        Yes, I found that. But there is no specific documentation on how to use the menu functions build in. It shows which functions are available, but doesn't say what needs to be passed with each one, for example. Thanks for looking, though.
        There is a reason they don't explain how to use the functions and for that, you have to read the description section of that page, which says:

        ##### Begin excerpt #####

        For descriptions on the usage of a given function, variable, or constant, consult your system's documentation, as such information invariably varies (:-) between different curses(3) libraries and operating systems. This document describes the interface itself, and assumes that you already know how your system's curses(3) library works.

        ##### End excerpt #####

        So, you will have to consult the system's documentation as instructed in the cpan page.

        Sorry, but like Kevin, I haven't toyed with curses either.

        Regards,

        Jeff

        Comment

        Working...