Warsaw 1990, Michal Pakier Loglan Environment Manager -------------------------- 1:Program installation ---------------------- Just run LOTEK.EXE - the system contains some additional files but you need not know anything about that. The whole system comprises of the following files : LOTEK.EXE - main program, MPLOGED.EXE - editor, LSTTEST.EXE - auxiliary file used during compilation, LOTEK.HLP - help file text, LOTEKINS.EXE - installation file. 2:Text editor ------------- You may treat the whole program as a Loglan-oriented editor. It supports the following facilities : 1.Block operations All common block operations, such as deleting, moving, copying, indenting, unindenting, saving, loading, are implemented as well as some sophisticated ones : moving and copying with whole block adjusting, making a frame in comments for blocks (you may set such frame parameters as width, pattern, text adjusting inside the block). You may also copy or move a block into itself (while moving,the block will be adjusted in such a way that the block beginning will be placed at the cursor position). 2.Find and replace word operations You may find or find and replace given word or the word pointed by the cursor. You may also change small letters into capital ones (or the other way round) in Loglan keywords globally or locally. There is a function that changes all the characters into small or capital letters (globally, locally or in comments). 3.Fast moving round the text You may mark two positions in the text and go to that places from anywhere. You may go to the text beginning or end, too. 4.Help You may always press the F1 key to get short review of all available at the moment operations. 5.Macro instructions They really make writing programs much easier than when you have to get round without them. You may bind a macro instruction to every key from among [a..z,0..9, F1..F10]. A macro is then called just by pressing the Alt key with desired key. A macro may be any sequence of characters. Using macros you may define on-line some useful operarations, eg inserting a blank line, upcasing words, marking blocks, ... 6.File handling The following operations are implemented : loading a file from disc, editing a file (unnamed new file has name 'noname.log'), saving a file to disc, changing a file name. You may also choose a file for editing from among last ten used. 3:Windows --------- You may use three windows. The first one is the main window, in which you may process everything that is supported by the system. In the second window you cannot only compile programs and process operations from window 'Execute'. The third window does not let you edit but is used for viewing the database that contains data about Loglan. You may use up to two windows at the same time. The main window is always visible so you cannot use both of the additional windows at the same time. While being in the main window you may move or copy a block from another visible window (all options are available). 4:Compiling ----------- You may compile a file from the main window without returning to DOS. You may execute the first, the second pass of compilation, run compiled program, trace run program. You do not have to remember which passes of compilation have been executed or whether have they been executed at all - LOTEK will take care of it. You may view found errors after the first pass of compilation. Information about errors will displayed in the bottom line and the cursor will indicate the position of its occurence. 5:Window 'Execute' ------------------ You may define this window during the installation. It lets you call any DOS function or any executable program. After this call you will find yourself back in the editor as if you were doing nothing but editing. You may pass command line parameters (name of edited file) to called programs, too. 6:Database ---------- It is meant to be a database on Loglan but you may set any other database instead (created by program MPH) during installation. Such a database consists of maximum 6 windows, every of which may comprise of maximum 22 lines. Every line is mapped to any length contents and every contents line is mapped to any length text. While viewing the database you may evoke some of the editor functions : namely finding given word and marking a block. A marked block may be later on moved to the main program. It is possible to have the information from the database you are interested in in one window and to edit your program in the main window. 7:Using LOTEK --- ---------- Just run the program LOTEK. There are displayed all the functions available at the moment at the bottom of the screen. If you want to have more room for editing, just press the F10 key and this information will disappear. LOTEK saves all the options on file MPLED.DAT before exit, so when you run LOTEK once more you will find yourself in exactly the same conditions (ie the same file, the same cursor position, the same options, ...) as you were in when using LOTEK for the last time. The editor has a built-in mechanism protecting the monitor - there will appear a sky on the screen after two minutes during which you have not pressed any key. The sky will vanish when you press any key. LOTEK always saves the last but one version of the program, which is being edited, so you have a copy of the program. This file's name is the same as yours file but its extension is .BAK.