Atari XL manual Configuring LW, Configuration Options in the Editor

Page 50

The Last Word 3.0 Reference Manual

8 CONFIGURING LW

You can configure LW so that it always loads with the settings you prefer. You can even load different configurations part way through an editing session. You can set up everything from screen colour to additional banks of RAM for text.

LW supports two kinds of configuration files. LW.SYS is loaded when the program first starts and contains information about the memory configuration, keyboard buffer and keyboard redefinition. LW.SYS is read once when the program starts and any settings it contains cannot be changed once the program is loaded.

8.1 CONFIGURATION OPTIONS IN THE EDITOR

The following commands toggle or set up various LW features, and these settings are all saved in the configuration file. They can all be set up from the configuration program, with the exception of the tab ruler. Not all the options in the configuration program can be altered from the editor during an editing session: only those options which are likely to need changing once the program is up and running are available.

<CTRL+W>

Toggle word-wrap

<SHIFT+CTRL+W>

Set screen resolution and number of columns

<CTRL+TAB>

Clear tab stop at current column

<SHIFT+TAB>

Set tab stop at current column

<SHIFT+CTRL+E>

Erase all tab stops

<SHIFT+CTRL+TAB>

Reset default tab stops

<SHIFT+CTRL+W>

Set number of screen columns (5-240)

<SHIFT+CTRL+INS>

Toggle Insert/Over-type modes

<CAPS>

Toggle Upper/Lower case

<SHIFT+CTRL+U>

User options

Several settings from the disk menu are also saved in the config file:

<S>pec

Set the directory filename mask

<1-0>

Set the current drive #

Use the following commands to load and save different configurations during an editing session:

<CTRL+Q>

Load config

<SHIFT+CTRL+Q>

Save config

Unless you supply your own filename extender, ".CFG" will be appended during both save and load.

One other command from the editor is:

<SHIFT+CTRL+N>

Install/Load alternative character set

The character set information isn't saved in the config file. To make a character set of your choice load a run-time, rename it "LW.FNT" and put it on your LW disk.

8-50

Image 50
Contents Last Word Contents Macros Configuring LW for Your PrinterConfiguring LW DOS Packages and LW LW Command SummaryPrint Formatting Commands Programmers Technical NotesIntroduction Overview of the Last WordLoading LW from Spartados About the ManualStarting LW LW LETTER.TXT Basic OperationEdit Screen SHIFT+CTRL+WLast Word 3.0 Reference Manual SHIFT+CTRL+? Text BanksSaving and Loading Text Filename exists Overwrite / ?Last Word 3.0 Reference Manual Basic Configuration File SelectorLeaving the Program CTRL+XText Entry Modes Editor CommandsCursor Movement Inserting and Deleting Text Delete ord, ine, entence, aragraph?Moving and Copying with Text Blocks Finding and Replacing Text Hange, ll, To nd, kip?Find Change to Searching with WildcardsFindTH S Counting Words Additional Editor FeaturesEdited Text Indicator TabulationCTRL+B BookmarksText and Document Modes Wildcards Y User OptionsEditing Multiple Files Handling Large Files LoadREPORT.DOC/CSave AsDREPORT.DOC/A 2DTHESIS.TXT2Disk Menu Disk OperationsDisk Operations from the Editor CTRL+JOpy PecIew Vail OckOrmat CTRL+H Additional CommandsSubdirectory Features SHIFT+CTRL+ DownPreviewing Text Editor Print CommandsPrinting with LW Keeping Track of PaginationL20Return Embedded CommandsStage 1 Commands L20r60helloReturnLast Word 3.0 Reference Manual Set the left margin. The default is Left header/footer margin, default 10. This works like Stage 2 Commands International Characters Other Print FeaturesCreating Hanging Indents SHIFT+CTRL+SPACEConfiguring the Print Formatter Creating a Printer Driver Configuring LW for Your PrinterPrinter Drivers Init Print TogglesControl Strings Style 1,27,45,8 Style 2,27,83,2 Code 1,129International on 27,82,12 International OFF 27,82,0 Last Word 3.0 Reference Manual Macros Loading MacrosRunning Macros Autorun MacrosSpecial Macro Commands Writing and Editing MacrosField. To actually get input from the user, you Must include Rint Oad AveOad Disabling the Screen from Macros Special CharactersKeyboard Conventions for Macros Entering Other Commands from MacrosSpecial Macro Font Creating and Editing Macros Example Macros Font SetTranspose Characters Last Word 3.0 Reference Manual Configuring LW Configuration Options in the EditorCFG Configuration Files Default Drive Drive D1Banks 1,2,3,4 Configuration Using a Supported DOSLW.SYS File Banked on Configuration Using Other DOS PackagesExtpages Reserve Reserve ExtpagesPath D8D1LW Search PathBanks 5,6,7,8,9,10,11,12 Keyboard Buffer Using Multipe Text BuffersCustom Fonts KEY n,n Customising the KeyboardKeyboard Table Invalid KEY 150,3 Remapping Commands Using MacrosKEY 10,97 3 1200 XL Keys Atari DOS XE DOS Packages and LWMemory Requirements MemloLW files /Mc /Ppath /Q /X DISK-BASED SpartadosSpartados LW TEST.DOC /M% /PD1LWKEY OFF LW.EXE KEY on Spartados X Memory ConfigurationsSpartados X Lwpath Environment Variable SET LWPATH=D8D1\LWLast Word 3.0 Reference Manual Command Function Macro Equivalent LW Command SummaryEditor Commands Inverse Ctrl W See SET CommandSHIFT+CTRL W Ctrl YSpecial Keys KEY FunctionINV Ctrl Macro CommandsCommand Function INV CTRL+LUP Arrow Print Formatting CommandsCommand Function Default Value Down ArrowLeft Arrow Right ArrowMemory Usage Assembly Language ADD-INSProgrammers Technical Notes Program Design SECDevelopment and Testing WHY LW Came Into Being12-74 12-75 Development Correspondence