User Profile

Collapse

Profile Sidebar

Collapse
LazarusHC
LazarusHC
Last Activity: Sep 16 '09, 05:57 PM
Joined: Aug 10 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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.
    See more | Go to post

    Leave a comment:


  • LazarusHC
    started a topic can't find documentation for curses menu support
    in Perl

    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...
    See more | Go to post

  • LazarusHC
    started a topic Trouble registering enter key.
    in Perl

    Trouble registering enter key.

    I'm currently trying to learn perl as well as perl curses. I found this script, and I understand why it's supposed to work, but I don't understand why it doesn't.
    The idea is that pressing "enter" selects one of the menu entries, and if any other key is pressed, is prints "Character pressed is $c". The numbers work as expected, but if you press a letter, it acts like you've pressed enter.

    Code:
    #!/usr/bin/perl
    ...
    See more | Go to post
No activity results to display
Show More
Working...