On Tue, Jul 25, 2006 at 03:40:12PM +0200, Jan Willem Stumpel wrote: > Package: joe > Version: 3.3-5 > Severity: normal > > Using joe within an xterm. > > Press control-PageUp. I did this by mistake because I was at the same time > time editing a C source file in Turbo C (in another window, using dosemu). > Instead of control-PageUp, which is the command to go to "beginning of file" > in Turbo C, I should have used control-KU. To correct, I quickly did > control-KU. This took me to the top of the file, removing the original > position in the file from view. > > However, pressing control-PageUp had inserted a string "5~" in the text. I > did not notice it at the time, but noticed it later when a compilation > failed. It turns out that not only Control-PageUp, but also other key > combinations, like Fn (function key n, for n > 3), insert strings in the > text, e.g.: > > F6 produces ~ > shift-F6 produces ;2~ > control-F6 produces ;5~ > > This is no good. "Special key" combinations, like function keys, should > either do something functional (hopefully well-documented), or they should > do nothing. They should never leave random rubbish in the text.
Well, yes, that's why terminfo exists, but if the translation is incomplete, you can see bugs like that. If you have a list of exact X key codes passed by terminals, you should submit it for inclusion. -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]