> If you change Sf to AF and Sb to AB, ncurses won't do that interchanging.
And that did the trick! Thanks a lot for the fix and the context about why it was happening in the first place, Thomas and Branden, this had been bothering me for a few days and I was completely lost. > Seeing the example is all in termcap, I copied the text into a file and ran > tic to check it (e.g., tic -cvx foo.ti), and it reminded me that U8 should > have a numeric value: > U8#1 > > and also that tic (and the underlying ncurses library) will fill in some > defaults for special keys, so this: > > ... > > is transformed to (using "tic -Cx1 foo.ti" to format it): > > ... Oh, that's very interesting. I will definitely try tic myself as well, I'm fairly new to ncurses and all this termcap and terminfo stuff is fairly complicated (I just want to port ncurses so that I can port other applications that use ncurses, I didn't expect terminals to be such a deep topic!). Antonio
