From mboxrd@z Thu Jan 1 00:00:00 1970 From: W.F.J.Mueller@gsi.de (Walter F.J. Mueller) Date: Mon, 05 Jan 2009 21:06:51 +0100 Subject: [pups] jove editor under 2.11BSD and cursor keys In-Reply-To: <49614D6E.2090408@softjar.se> References: <4960F68E.1010507@gsi.de> <496116C4.8050101@gsi.de> <49614D6E.2090408@softjar.se> Message-ID: <4962685B.30005@gsi.de> Johnny Billquist wrote: > Walter F. Mueller wrote: >> .... >> I get whenever I hit one of the cursor keys the message >> >> [ESC O unbound] >... > Please note the difference between "[" and "O"... :-) > > To give you a little more help: someone or something is changing your > terminal to have application cursor keys. > (And to point out what should be obvious now: your cursor keys can > actually send two different kind of codes, depending on a setup parameter.) > > Johnny Thanks Johnny, that was exactly the problem. jove sets the terminal (or the emulator) into 'Application Cursor Key' and 'Application Keypad' mode. Looking in xterm at the VT Options popup (with CONTROL-MB2) shows this nicely. Binding the 'ansi-codes' function of Jove 4.9 (that's what comes with 2.11BSD) to \[O resolves the cursor issue. What I still don't understand is why jove comes with defaults which don't work. It puts the cursor and keypad keys into application mode, which makes perfect sense especially for the keypad, and than looks for \[[ rather \[O. Probably to make retrocomputing more fun :). Thanks and with best regards, Walter