Defining Your Editors
When you are configuring your system in PCBSetup, there are several places
where you need to load an editor to edit a batch file or a display screen.
This menu option allows you to specify the editors you want to have available
while in PCBSetup. There are two editors you may specify – text and
graphics.
Text Editor
Throughout PCBSetup you will notice that you can press F2 in several places to edit a particular file. If the file you are editing is a display file or a batch file, PCBSetup will use the editor you define in this field to edit the file.
By default, the editor selected here will be PCBEdit, which is a text/graphics editor which ships with PCBoard. If you have a favorite text editor, you may specify that program name instead. However, if you opt to change the editor, you will want to pick a small ASCII text editor rather than a word processing type program because of the memory constraints involved, and because the file must be saved in DOS text format.
When PCBSetup calls your editor, it will run the program and pass the filename to edit as the first and only parameter. Therefore, the editor you install must be capable of accepting the filename to edit on the command line.
Graphics Editor
When a display file is highlighted in PCBSetup, you can use F2 to edit the
normal display file, or F3 to edit the graphics specific version of the same
file.
When you press F3, System Manager will use the editor you have defined as
your graphics editor to edit the graphics specific version of the display
file. This is most useful when you need to create a plain ASCII file for
your non-graphic callers but then choose to make a graphics specific file
with animation or similar effects.
You will want to use a graphics editor that will support either ANSI or PCBoard @X codes. Included with your PCBoard package you will find PCBEDIT.EXE. PCBEdit will create ASCII text files and it has the ability to create colorized display screens using PCBoard @X color codes.
The graphics editor is called in the same manner as the text editor. The filename to edit will be passed on the command line so you need to use a graphics editor program that is capable of accepting the filename on the command line.