By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,835 Members | 2,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,835 IT Pros & Developers. It's quick & easy.

can't find documentation for curses menu support

P: 3
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?
Aug 26 '09 #1
Share this Question
Share on Google+
3 Replies


KevinADC
Expert 2.5K+
P: 4,059
I've never used curses and don't know anything about it but there is documentation on CPAN:

http://search.cpan.org/~giraffed/Curses-1.27/Curses.pm
Aug 26 '09 #2

P: 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.
Aug 26 '09 #3

numberwhun
Expert Mod 2.5K+
P: 3,503
@LazarusHC
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
Aug 27 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.