drawterm is based on an old 9p1 kernel, not the 9p2000 kernel, so it's not trivial to move devkbmap over. it typically doesn't take much work, but details of qid type bits and the like will need massaging.
basically i'd start with devkbmap.c and devcons.c and then look at how drawterm's devcon.c handles chans and then make devkbmap do the same. (basically convert devkbmap by looking at how things in devcons.c are written in drawterm's devcon.c). russ
