summaryrefslogtreecommitdiff
path: root/usr.bin/mg/kbd.c
AgeCommit message (Collapse)Author
2005-12-13Last round of easy delinting.Kjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-11-19Goodbye NO_METAKEYKjell Wooding
(#ifdef is for emacs developers)
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
ok millert@, deraadt@
2005-04-03This is a no binary change which does:David Berghoff
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@
2004-02-01remove old precompiler weirdness that is not really needed...Vincent Labrecque
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