On Mon, 6 Oct 2014 19:59:45 +0200 Christian Brabandt <[email protected]> wrote:
> Hi Paul! > > On Mo, 06 Okt 2014, Paul "LeoNerd" Evans wrote: > > But more than that I've got out and actually tried to do something > > to fix them in this regard. I worked with Thomas Dickey to design a > > new scheme for universally encoding any modified keypress, > > Unicode-printing or special, on a terminal. > > > > http://www.leonerd.org.uk/hacks/fixterms/ > > Does that mean, I can have xterm already configured in such a way, so > that it outputs those special CSI sequences? What version does that > need and how do I enable it? In theory, yes. In practice, last time I looked xterm didn't do it quite right yet. The setting is called modifyOtherKeys but the problem with is was that it either modifies too little (leaving such pairs as Ctrl-a and Ctrl-Shift-A indistinct), or modifies too much (using CSI u encoding for a plain Ctrl-c keypress, thus meaning termios doesn't recognise it and send a SIGTERM). I have re-raised this with Thomas just now; I'll see if we can get to a point where it's just in the middle, and therefore right. -- Paul "LeoNerd" Evans [email protected] http://www.leonerd.org.uk/ | https://metacpan.org/author/PEVANS
signature.asc
Description: PGP signature
