Sorry for the delay, but I am very busy lately :S. > Note that match() is used in four places, so I can't merge it into kmap().
You are right and I suck. When I wrote this function it was a part of kmap which became too much complex, so I put the code in a new function, and I didn't know other guys had used it. > I've done this, but I'm not sure it reads as well. The existing > version first checks the *kp fields because if they are zero, the is > no need to peek at term.mode. Uhmmm, it is true. We have to be careful with these code, so let me see with more time if there is some problem or not with this new version. And thank you for your efforts :) -- Roberto E. Vargas Caballero _______________________________________________________________________ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd _______________________________________________________________________