From: utzoo!decvax!harpo!npoiv!npois!ucbvax!ARPAVAX:C70:info-cpm Newsgroups: fa.info-cpm Title: Re: What is CONFIG.C? Article-I.D.: ucb.2113 Posted: Sat Oct 9 12:34:50 1982 Received: Thu Oct 14 23:29:50 1982 >From rconn@BRL Sat Oct 9 12:34:40 1982 91; 8-Oct-82 23:20:46-PDT (Fri) Via: Brl; 9 Oct 82 14:21-EDT Via: Brl-Bmd; 9 Oct 82 14:28-EDT Both CONFIG and TINIT are programs designed for the TVI 950 CRT terminal. CONFIG is used to interactively specify how a user wants his terminal to be programmed, allowing him to select between five different cursors, various terminal attributes such as key click, the text of his user line, and the text programmed into each of the 11 function keys. It also has the capability of writing the selections out to disk in a data file that can be later read by CONFIG or by TINIT, whose function is to read such a data file and program the terminal (TINIT=Terminal INIT). Since CONFIG and TINIT are written in C and are quite modular in their design, it is not too difficult to modify these programs to work for other intelligent terminals, such as a H19/H88/H89 or VT100. In use, I typically maintain several .CFG files. One is the standard, general-purpose configuration file, one is for do- ing software development in C (programs the function keys to in- voke the compiler, etc), one is for doing software development in PASCAL, and one is for doing software development in assembly language (with different function keys invoking different assem- blers). There is also a configuration file for doing text pro- cessing. Rick