How about the DEC HELP facility as implemented e.g. on VMS? I have seen such a facility implemented as a TECO macro! The important thing seems to be to get the user interface (including "functionality", how I hate that word) right. Variable-resolution help seems to be a good idea if done well.