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?
3 2830
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.
@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
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Riccardo Galli |
last post by:
Hi,
I'm writing some widgets in curses.
Actually I'm trying to write a combobox. To do so, I need to create a pad
inside a panel, so that I can hide/show it.
I can't do it.
I can create a...
|
by: Matthew Alton |
last post by:
The appended program freaks python 2.2 & 2.3 completely out. To
reproduce the wierdness: i) copy the source to a file called
consarn.py ii) $ python consarn.py; iii) the program is now doing a...
|
by: M.Senthil Kumar |
last post by:
hai all,
I need a help from you. I 'm working in a project using "curses.h" in
Linux using 'C'. I have some doughts regarding menus and line.
1. I used to draw box in window using...
|
by: Daniele C. |
last post by:
As soon as my sourceforge.net project gets approved, I am going to
build a ncurses port to win32 bindable to sockets, e.g. allowing
VT100/ANSI terminals and the creation of simple terminal servers...
|
by: krishnakant Mane |
last post by:
hello,
I am a new member to this list.
I am Krishnakant from India, Mumbai.
I have been coding in python for quite some time and now I am at the
intermediate level of programming as far as python...
|
by: Fabrice DELENTE |
last post by:
Hello.
I'm trying to display french characters (è -- that's e grave -- or à --
agrave) in python 2.5, with the ncurses wrapper that comes it, and I can't.
My locale is set correctly...
|
by: magnate |
last post by:
Hi All,
Just learning Python - my first new language for about 18 years (I'm
not a programmer ...). I'm writing a small utility to manipulate some
text files (for the game VGA Planets, if you're...
|
by: shrek2099 |
last post by:
Hi All,
Recently I ran into a problem with UTF-8 surrport when using curses
library in python 2.5 in Fedora 7. I found out that the program using
curses cannot print out unicode characters...
|
by: crony |
last post by:
Hello. Could you help me...I need to create application with urwid or curses
support. Have you got a pretty simple example with it?
--
Pozdrawiam Leszek Mi¶
Nothing is secure, paranoia is...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |