Delete key
Fairlight
fairlite at fairlite.com
Sun Mar 23 05:46:24 PDT 2014
On Sun, Mar 23, 2014 at 08:31:20AM -0400, Seth thus spoke:
> Thanks Ken.
>
> I set the P1 entry to P1=\E[3~ and it works. Set the PFINSERTMODE=ON, and
> that works. Viola! 29 years of this. Noticed that this was new to 5.0.
>
> Noticed that F2 now does not delete any longer but appears to insert an
> EscB? Is this supposed to do this? Is this a bug? Are there other changes
> that PFINSERTMODE=ON makes?
It has nothing to do with PFINSERTMODE.
You changed the value of P1. It formerly was keyed in to what F2 would
generate. You've changed that to the sequence Delete issues, so F2 is now
useless to you. I'm not sure what you expected.
If you want -both- to work, you need to get your terminal sending F2's
codes and then set P1 back to the original code it had (the one from F2).
Then you'd have both F2 and Delete issuing the same sequences and acting
identically.
For X11 environments:
man xmodmap
For virtual consoles:
man loadkeys
I doubt it's even possible in PuTTY, barring source code hacking and
recompiling. I also doubt it's possible in Anzio Lite, as the key
definition files are compiled/binary, and totally uneditable. It may be
possible in Anzio Pro, but considering I won't even recommend Lite, I'm
sure as hell not recommending Pro.
What you're trying to do is really never meant to be done. There are gross
hacks, but it's entirely non-standard, it -will- cause you problems, and as
far as I'm personally concerned, you're on your own if you want to pursue
an idea that far out there. Someone else wants to pursue this course of
insanity with you, that's their lookout.
mark->
More information about the Filepro-list
mailing list