Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Curses Help

by infoninja (Friar)
on May 04, 2000 at 07:46 UTC ( [id://10189]=note: print w/replies, xml ) Need Help??


in reply to Curses Help

Not sure if you're wanting to use Curses.pm directly, or use another module on top of curses; I've done both. If you're wanting to use Curses.pm directly, I'd still suggest looking at some of the related modules on CPAN (i.e., Curses::Forms, Curses::Widgets, and perlmenu). Even in instances when I'm not using any of those modules, I often find that I can lean much about Curses by looking at how the other authors have implemented/solved things.

Replies are listed 'Best First'.
RE: Re: Curses Help
by $ENV{REMOTE_USER} (Novice) on May 04, 2000 at 19:59 UTC
    Actually, I found those modules last night. *Very* nice, high level interface to widgets. I think it's going to let me accomplish what I need. I havn't had a chance to pick at the module yet but it should contain all I really need to know about Curses at this point.

    One question (since you're familure):
    Is there a way to use the bind method to capture arrow keys? That would allow a context box for list_box's that could display based on the selected field. I tried KEY_UP, etc. but it behaved as I feared it would (K, E, Y, _, U, P where assigned as the bound keys).
    If I added the regex when adding the widget to the forms, it didn't seem to pass the reference to the object state as Mod_Own does.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://10189]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-03-29 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found