So for a while now at work I've been using Ubuntu and it's been working quite well. I run tn5250 in gnome-terminal and everything works, except when I try to hit shift + an F key.
What happens when I do is something like 01;2R gets inserted.

How might I make this work?