Thomas, I don't seem to understand you. I just grabbed and compiled terminfo.src you gave and while it helped with xterm (except that it's just like with my previous attempts, Shift+F2 starts a new file in mc instead of Shift+F4) it didn't work in gnome-terminal (because of \E[ and \EO difference I pointed before). However I just recompiled libvte with changing "#if 1" to "#if 0" and gnome-terminal now works correctly (Shift+F4 now starts a new file in mc, with original ubuntu terminfo, no other modifications were needed). The change in the source only affects addition of "1;" and shouldn't make any difference in regards to Shift+F2/Shift+F4 (since I didn't change any resources), should it? If it does then I'm clearly missing something big here and I'd like to know where I could read what this "1;" actually means at all?
P.S. I'm not affiliated with ubuntu/debian development yet (merely a "new" user who recently returned back to linux after moving to windows a decade ago), so I can't even suggest anything going or not going upstream. I'm just trying to understand what's going on here with this bug.
Thomas, I don't seem to understand you. I just grabbed and compiled terminfo.src you gave and while it helped with xterm (except that it's just like with my previous attempts, Shift+F2 starts a new file in mc instead of Shift+F4) it didn't work in gnome-terminal (because of \E[ and \EO difference I pointed before). However I just recompiled libvte with changing "#if 1" to "#if 0" and gnome-terminal now works correctly (Shift+F4 now starts a new file in mc, with original ubuntu terminfo, no other modifications were needed). The change in the source only affects addition of "1;" and shouldn't make any difference in regards to Shift+F2/Shift+F4 (since I didn't change any resources), should it? If it does then I'm clearly missing something big here and I'd like to know where I could read what this "1;" actually means at all?
P.S. I'm not affiliated with ubuntu/debian development yet (merely a "new" user who recently returned back to linux after moving to windows a decade ago), so I can't even suggest anything going or not going upstream. I'm just trying to understand what's going on here with this bug.