Telnet - Function Keys not mapped correctly for tty1-6

I’m a new Linux user running openSUSE 11.1. I’m trying to connect to an iSeries (AS/400) via telnet on an internal network. (We tried tn5250 but had some problems with the keys locking up.)

I need to run telnet from tty1. But one of our keys we have programmed is F3 for Exit. When I use telnet from a Gnome X terminal F3 works fine. When I switch to tty1-6 F3 prints “C”. Tried other keys and F1-F5 print A-E. All the other F keys work fine.

I’ve done a little searching and I have a feeling it will have something to do with termcap. I found the termcap file but I’m not sure how to read it or what to change in there to make it emulate the way I’d like. Can someone point me to a good source on how to change the key mapping?

Dan