énfo: CONFIG.NEW - Fourth of the doc files for the new TextPRO+ releases. Explains the new configuration files.›èåConfiguring TextPRO+ - Page £›=======================›6. Configuring TextPRO+›=======================››The PLUS releases of TP have a much more complete configuration option than previous TP versions. The new configuration files serve as style sheets and print drivers in addition to saving user interface settings.››Additions to the CNF files include››------------------›6.1. Printer Codes›------------------››The complete set of print keys defined in a session is saved to the CNF file and loaded automatically when the CNF file is read. Some explanation is in order regarding methods of defining print keys.››It is not necessary to actually print anything to define print keys. Use of the››CTRL-W command››in Text Mode will set up any print keys defined in the file in front of the cursor location. These print key definitions are permanent during a session unless the key is re-defined or a new CNF driver is loaded.››A typical print driver would be the following two lines››PRINTER: PROWRITER 8510›=88 =89››Place the cursor at the end of these two lines and press CTRL-W. The and print keys are defined and will remain defined unless changed by another definition or a new CNF driver.››----------------------›6.2. Saving a CNF File›----------------------››To save the newly defined print key definitions press››SELECT+CTRL-S command››and enter the drive and filename of the new CNF file.››Any legal ATARI filename will do, but I suggest the name of the type of file or printer followed by CNF. An example would be››D:TXTCI.CNF››which specifies text files printed with the CItoh printer.››Make sure that all of your user selections are the way you want them when you save the file since more than the print codes are being saved.››------------------›6.3. Other Options›------------------››In addition to the print codes and all of the usual TP settings the following settings are also saved.››6.3.1. CR, Linefeed, and ESCape›-------------------------------››The current settings for ASCII or ATASCII CR's, linefeeds on/off, and ESCape sent prior to print keys are saved to the CNF file. These selections are chosen with the››CTRL-; command.››6.3.2. Directory Mask›---------------------››The current filename mask defined from the TP disk menu is saved to the CNF file.››6.3.3. Current Drive›--------------------››The current drive # is saved to the CNF file.››6.3.4. Menu Sort Selection›--------------------------››The current selection for menu sort on/off is saved to the CNF file.››6.3.5 Summary›-------------››Set the editor and menu as you want them. Define your print keys and print selections for a particular task. Then save it all to a CNF file on any drive/directory of your choosing.››This configuration can then be loaded at any time using the››SELECT+CTRL-L command››and everything will be restored to the desired settings.››----------------------›6.4. Editing CNF Files›----------------------››There are some settings that can only be changed by directly editing the CNF file using the TP ATASCII mode.››Just load the CNF file to the TP editor, set ATASCII mode using the ATARI key, and you're ready to further customize TP.››6.4.1. Style Sheet›------------------››Use the››CTRL-U command››to locate position 12 in the CNF file and press CTRL-W. You should be in ATASCII mode. The default left margin will be displayed on the top line. If you want to change this setting to one of your own liking for this CNF file use the››SHIFT+TAB command.››Type in the value you want for the left margin, say 10, and press RETURN. Your new left margin default is set. Use this method to set any of the following byte numbers to the desired value.››Position in CNF Default›--------------- -------› 12 Left margin› 13 Z-margin› 14 Right margin› 15 Page Length› 16 Top margin› 17 Bottom margin› 18 Line spacing› 24 Line width››Save the edited CNF file using the››CTRL-S command.››Make sure the command line turns green indicating that the file size has not changed. This indicates that the order of the file is probably intact.››You can then load your new CNF file and all of your edited settings are now the TP defaults. Using this feature a CNF named LABEL.CNF could have settings for labels, DOC.CNF for doc files etc. In addition, all of your favorite editor settings and your printer driver will load simultaneously.››6.4.2. Rename NAME.ME›---------------------››You can also edit the "D1:NAME.ME" filename to any legal ATARI filename as a new default filename when there is no file loaded to the editor.››You must be sure that the file size does not change and that the filename is terminated by a CR.››6.4.3. Changing the Parameter›-----------------------------››The last byte in the CNF is the parameter used by the TP parameter commands. It is a comma by default. You can change it to anything that works with your DOS. If you are using only ATARIDOS you could edit the parameter to the original "/".››/END/›››Ronnie Riche›1700 Aycock St.›Arabi, La. 70032›Nov 1989›