Function init_charmode:
Defined in module bindings (file: /obj/secure/shell/bindings.c)

start up character mode, passing a map of bindings and a 
function to handle keystrokes not covered in the binding map.

Prototype:
nomask void init_charmode(mapping new_bindings, function d);
