/* * menu printers */ # include "setup.h" char *heading = "\ Micro-Decision SETUP program Rev. 1.0 Copyright 1983\r\n\ Morrow, Inc. San Leandro, CA$"; char *paragraph = "\ This program allows you to change the operating characteristics\r\n\ of your Micro-Decision. The changes can be made temporarily or permanently.$"; mainmenu () { static char s; s = 0; clear (); jump (s++); prs (heading); jump (s++); prs (paragraph); jump (s++); prs ("A) Terminal speed$"); jump (s++); prs (baudname [cbaud]); jump (s++); prs ("B) Printer selection$"); jump (s++); prs (pname[ptype]); jump (s++); prs ("C) Printer speed$"); jump (s++); prs (baudname [pbaud]); jump (s++); prs ("D) RS-232 SERIAL Printer protocol$"); jump (s++); prs (protoname [protocol]); jump (s++); prs ("E) Make temporary changes effective immediately.$"); jump (s++); prs ("F) Save changes on CP/M diskette for use after next boot.$"); jump (s++); prs ("ESC) Quit without making any further changes.$"); selection (); } selection () { jump (SELECTSPOT); prs ("Selection: $"); }