Hello. 
I'm trying to get started with curses, so I wrote some code.
The first printw statement works fine, but it doesn't accept any input
afterwords.
Is there a special method needed to get input from the keyboard when
using curses?

Your help is greatly appreciated. Here is my script.

#!/usr/bin/perl -w
use Curses;

initscr();
printw "Enter the ID # now";
refresh();
while (<STDIN>) {
 printw $_;
}
endwin();

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to