Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function Keys with Perl::Curses

Status
Not open for further replies.

chipnrut

IS-IT--Management
Feb 1, 2002
14
US
I recently ported a Perl Curses program from a Red Hat Linux 7.2 server to a Red Hat 9.0. Linux server. Now the function keys F1-F4 do not work correctly. Instead of getting the expected '265' for F1 I get a '~['. I get the expected '269' for key F5.

I checked the terminfo and it appears to be the same for the rxvt terminal setup I am running on both boxes.

Would this be a problem with curses.h?
Can anyone give me a clue on how to fix this?
 
This problem turned out to be a rxvt problem. Red Hat no longer includes rxvt with version 8.0 and up. rxvt has changed the escape functions. Anyone know what I can do about it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top