Some Notes about various things:

(1)	I think it is generally better to not use one-of structures
	instead of simple variables, I prefer 
		char *prompt;
	to 
		struct edinfo {
		...
		char *prompt;
		... };
	as it is clearer later to have
		printf(prompt);
	than
		printf(edinfo.prompt);

(2)	I prefer to use strings for things like prompts, as one can
	change to longer prompt strings without coding changes
	or kill the prompt by using a null string.
