NCurses and Perl, any guides? [closed]

2019-01-22 22:22发布

问题:

I need to use NCurses, with Perl. I found some very short bits of text about it but no example at all.

Is there anyone aware of any existing guide online?

Thanks!

回答1:

http://metacpan.org/pod/Curses::UI::Tutorial

http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/

The examples from tldp.org are:

http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/ncurses_programs/perl/

Also, from http://www.perl.com/doc/FAQs/FAQ/oldfaq-html/Q3.8.html:

For a good example of using curses with Perl, you might want to pick up a copy of Steven L Kunz's* perl menus'' package (menu.pl'') via anonymous FTP from ``ftp.iastate.edu''. It's in the directory /pub/perl as: menu.pl.v3.1.tar.Z

Another possibility is to use Henk Penning's cterm package, a curses emulation library written in perl. cterm is actually a separate program with which you communicate via a pipe. It is available from ftp.cs.ruu.nl [131.211.80.17] via anonymous ftp. in the directory pub/PERL.



标签: perl ncurses