APPLICATION NOTE #103: XYWRITE'S STARTUP FILE Rev. 01 STARTUP.INT is the initialization file for XyWrite. It contains commands that are automatically executed every time XyWrite is started. Although the STARTUP.INT file already exists on your working copy of the XyWrite Word Processor Disk, you may want to modify it to better suit your needs. EDITING THE STARTUP FILE In order to edit the STARTUP.INT file, you must understand that the bold letters that start each line were not created by switching to bold mode and typing BC. Instead they were entered using XyWrite's programming language. In the programming language, BC means "blank the command line" and is equivalent to pressing F5. If you want to change a command on an existing line, call STARTUP.INT to the screen and edit the line. Just be sure you do not accidentally delete the BC at the beginning of the line. If you want to add lines to your STARTUP.INT file, simply follow these steps: 1. Call the STARTUP.INT file to the screen. 2. Define a line of text. Press: F4 Result: The line is highlighted to indicate that is has been defined and the cursor moves to the beginning of the next line. 3. Copy the defined line. Press: F7 Result: The defined line is copied. Press F7 once for every line you want to add. 4. Release the defined text. Press: F3 5. Move the cursor to the line that you want to edit, beyond the BC. 6. Delete the existing text between the BC and the carriage return. Press: Ctrl-Del 7. Type in the information you want to add to your startup file. For example: Type: ldprn colors.prn Result: The edited line should look like this: BC ldprn colors.prn 8. Repeat steps 5-7 for every new line. 9. Store the file when you are finished. Type: F5st LOADING THE STARTUP FILE The changes you make to the STARTUP.INT file do not take effect until you load them into the computer's memory. Be sure all your documents are stored and then type: Type: F5run startup.int ADDING DEFAULT LINES A common modification to STARTUP.INT is to change XyWrite settings by adding default values. If that is what you want to do, you will save some time if the line you define and copy (steps 2 and 3 above) already contains a default command. Then all you have to do is change the two-letter name of the command and its value. MORE INFORMATION If you would like more information about the programming language that was used to create the STARTUP.INT file, refer to Chapter 5 in the XyWrite III Reference Guide.