Change from using a bunch of callbacks to using one, with a structure and type.
Links about the different versions of showkey.
Mark the key / command mapping structure constant.
Switch to xread, remove excess error checking stuff.
Better comments about CSI.
Fix up a couple of bugs in the buffer full case.
Switch to using ARRAY_LEN.
Minor comment fixes.