in reply to Term::ReadKey - How can I get PgUp, PgDn etc ?

Hmm.. i know that the special chars are usually a two-character sequence.. doing ReadKey() twice didn't work for me though. I did find an entry in the FAQ though (perldoc perlfaq5): 'How can I read a single character from a file? From the keyboard?' but i didn't immediately get a working test case. I also found this node Term::TermKeys here on PM that looks promising...

Replies are listed 'Best First'.
Re^2: Term::ReadKey - How can I get PgUp, PgDn etc ?
by Anonymous Monk on Aug 17, 2005 at 12:46 UTC