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?
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?