/* gather subjective answers from student */ #define BS 8 #define DEL 127 #define ESC 27 #define COLON 58 #define EDIT_HEIGHT 21 #define EDIT_WIDTH 80 void init_editor(char*** sbuf_pp) { int ww=EDIT_WIDTH, hh=EDIT_HEIGHT,i; *sbuf_pp = (char **)capa_malloc(sizeof(char *),hh); for(i=0;i