I am finding that some apps, like vim, don't work well with the function keys when inside screen, but some work normally.
It seems to be that vim is seeing the string sent by pressing say F1 as the sequence \E[OP and that makes it ignore my F1 bind. Instead it goes into insert mode and enters a 'P', as if I just press 'OP'. Is there some way of fixing this? I have tried using termcap/terminfo lines: termcapinfo linux 'civis=\E[?25l\E[?6c, cnorm=\E[?25h\E[?6c, cvvis=\E[?25h\E[?6c, kf1=\E[11~' terminfo linux civis=\E[?25l\E[?6c:cnorm=\E[?25h\E[?6c:cvvis=\E[?25h\E[?6c:kf1=\E[11~ termcap linux civis=\E[?25l\E[?6c:cnorm=\E[?25h\E[?6c:cvvis=\E[?25h\E[?6c:kf1=\E[11~ They don't seem to be making any difference though. The kf1 line still is set to \E[OP. I'm not sure how these terminfo lines are supposed to work. Any ideas? P.S. I have tried using vim with no config file to see if there is a problems in .vimrc but still get same effect. -- God made the Idiot for practice, and then He made the School Board -- Mark Twain _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users