summaryrefslogtreecommitdiff
path: root/usr.bin/mg/kbd.c
AgeCommit message (Collapse)Author
2002-07-01KNF + ansi; from zyrnix (only the easy part of his diffs)Vincent Labrecque
2002-02-21KNFTheo de Raadt
2002-02-21signal-safe window size changingTheo de Raadt
2002-02-13 Make mg malloc the l_text element instead of reallocating whole LINEVincent Labrecque
structures all the time.
2001-05-24spacesMichael Shalayeff
2001-05-23cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs ↵Michael Shalayeff
cpy+len
2001-05-23remove VOID. We're way beyond the point where this could build with anArtur Grabowski
ancient compiler.
2001-05-23Add an argument to doscan which is a pointer to a KEYMAP pointer.Artur Grabowski
If that argument is not NULL, we set it to the k_prefmap of the pressed key if there is one. This is what most of the users of doscan did anyway, but they did it through leaked global state.
2001-05-23Get rid of 'prefix' and use NULL instead.Artur Grabowski
2001-05-03Add a delay (in miliseconds) argument to ttwait.Artur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
needs hand fixup. I stopped at keymap.c...
2000-02-25initial import of mg2aTheo de Raadt