(* Loglanizator Tekstowy wersja 1.0 1990 Warszawa Michal Pakier *) ===============REKORD 1=======================================|=============== + 22 2 Using the editor LOTEK version 1.0 ³F2..............Save File Scrolling text ³ cursor moves ³F3........File operations by line: ³ one word ³F4..Errors of compilation ^U.............up ³ relatively to ³F8.....Auxiliary programs ^D...........down ³ the line above ³F9......Compilation & run by page: ³^N........to right³F10...........Menu on/off PgDn.........down ³^P.........to left³F5................Windows PgUp...........up ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ- Jump to ³^K.......block operations³^Y.....delete line ^PgDn.....begin of³^Q.......replace & search³ text ³^J..........Jumps in text³ delete character ^PgUp.......end of³^W....Windows operations ³BackSpace..to left text ³^V.........Macrocommands ³Del.......to right ^Home.....begin ofÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ- window ³^A...............delete to the begin of line ^End.......end of ³^S.................delete to the end of line window ³F1........On line HELP;press when in trouble ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ- Help on HELP press <0> ===============REKORD 2=======================================|=============== + 11 HELP on HELP. In any moment you can press the key F1 and obtain an infor- mation on currently available actions. It may suggest further request of more detailed informations. In such a case press one of keys {0,1,2,3,4,5,6,7,8,9}, which is shown on screen in the angles e.g.<2>. Esc leaving Help F1 principal information of Help ===============REKORD 3=======================================|=============== + 8 4 Saving file on disk (F2,F3S) It may happen that for some reason we cannot write file back to the directory from which it is read. In such a case press (F3L) and choose the directory in which we have all rights next you can write file using F3 W. More on file operations, press <0> ===============REKORD 4=======================================|=============== + 15 23 3 24 25 26 41 File operations (F3) permit to load, write file or to begin a new file to edit Your choices: L Loading a file from disk <0> S Saving file on disk <1> N New file edition <2> W Write a file on disk <3> P Pick one of the lastly used files <4> O different Options <5> G Information on the edited files and on free memory Q Quit the LOTEK environment ===============REKORD 5=======================================|=============== + 16 Correction of ERRORS This option facilitates correction of errors in Loglan program. In the lowest line you see number of line with error and short description of the error. The cursor is placed on the error's occurrence. In certain cases it locates precisely the line and the column of error, if it is not the case then only line is shown and its first column. If you have menu bar (F10) then a submenu concerning errors' scrolling appears. You have the following choices: Ctrl F5 - Move to the first error Ctrl F6 - Move to the last error Ctrl F8 - Show Next error Ctrl F7 _ Show previous error Ctrl F10 - Exit from the mode errors' corrrection Press F4 for exit from errors' correction. ===============REKORD 6=======================================|=============== + 8 CHANGING WINDOW You can open a new window or change the active one. F Full screen all other windows are closed H Help on Loglan here you can consult doc on Loglan use Tab to move between documents A Auxiliary window M Main window ===============REKORD 7=======================================|=============== + 17 22 AUXILIARY PROGRAMS You can execute programs which appear in this window without exiting LOTEK. This window may be defined by you (see lotek.pth and LOTEKINS.EXE). It enables, among others, certain operations on the file being edited, the name of the file is transmitted as parameter to the called program. As one of options you can put the LOTEKINS program which can facilitate modifications of the window. You can put a call of a program in this window in- to a macrocommand <0>. (Example: If we have a computer with two monitors and if you put instructions C COLOR (mode co80) and M MONO (mode mono) then macrocommand @8M@5H@5F will allow to consult do- cumentation on the monitor controlled by Hercules card and macro @8C@5M@5F will permit editing on a colour monitor, still having database on Loglan on white & black monitor.) ===============REKORD 8=======================================|=============== + 11 36 COMPILING YOUR PROGRAM Your choices are: L: Pass 1 Compilation-first phase(program Loglan). During this pass all syntax errors are detected.(Use F4) G: Pass 2 Second or First and second phase of compilation (program Gen). R: Run Program execution (with compilation if needed). D: Debuger First the program is executed and then you can watch command after command its execution. O: Options Different options of compilation <0> ===============REKORD 9=======================================|=============== + 17 27 28 29 30 31 32 33 34 35 OPERATIONS ON BLOCKS Press Ctrl_K and then a key which corresponds to the desired action. If you do not know what to choose wait 2 secs. and a frame will appear with all options. Your choices are: K,B,T,L - marking a block <0> Y - deleting the marked block <1> C,V - copying and moving the block <2> S,M - copying and moving with indentation <3> R,W - block to and from the disk <4> U,I - shifting the block <5> H - hiding the block <6> F - framing a block (e.g. a comment) <7> O - options <8> ===============REKORD 10=======================================|=============== + 13 37 38 39 40 GO TO INDICATED PLACE IN TEXT Press Ctrl_J and then a key which corresponds to the desired action. If you do not know what to choose wait 2 secs. and a frame will appear with all options. Your choices are: S - mark this place for return <0> R - return to the marked place <1> J - jump to the marked place <2> L - jump to the given line B,K - jump to the begin (resp. to the end) of block <3> ===============REKORD 11=======================================|=============== + 17 15 16 17 18 19 20 Search and replace operations Press Ctrl_Q and then a key which corresponds to the desired action. If you do not know what to press wait 2 secs. and a frame with options will appear. Your choices: F - find a word <0> A - Alter find a word and replace <1> C - replace character <2> K - replace key words <3> T - find another occurrence of the current word <4> R - find and replace word currently pointed by cursor <5> REMARK: Pressing Ctrl L you can repeat the lastly executed action of searching/replacing. ===============REKORD 12=======================================|=============== + 13 14 Documentation on Loglan - Loglan's database Each line on the screen is a title of a section. Press ENTER to see the highlighted section. Press Tab (& cursor left, right) to change (choose) a document or a chapter. cursor up - prevoius section, cursor down - next section, Ctrl PgUp - to the begin of list of sections, Ctrl PgDn - to the end of list of sections, PgUp,PgDn - previous (next) page of list of sections, Ctrl_Q_F - searching a word. ===============REKORD 13=======================================|=============== + 11 12 14 Loglan's database - in a section Enter - return yo the list of sections <0> Tab - change(choose) a document, a chapter <1> Up,Down,Left,Right - moving the cursor Home,End - to the begin (end) of line Ctrl PgUp - to the begin of text Ctrl PgDn - to the end of text PgUp,PgDn - page up (page down) Ctrl_K_B,K,L,T - marking a block Ctrl_Q_F - searching a word ===============REKORD 14=======================================|=============== + 9 Loglan's database - CHOOSING A DOCUMENT On the screen you see names of documents to consult. Use cursor left & right to choose the type of document: opisy=reports, funkcje=functions, tablice=tables. Use cursor up & down, or Home & End to choose a document. Press Enter to confirm your choice and to see the chosen doc. Press Esc to return to your last choice. ===============REKORD 15=======================================|=============== + 13 (F) Searching a word Give a word you are looking for (Find :?). Next define the options. Then search is performed according to your choice of options. If word is found the cursor is located after it. You can choose the options: G.......global search, from the beginning (or the end) of text. B..............................................backward search. n.................................searching of n-th occurrence. U.........................upper & lower case lettersidentified. W............................................whole word search. L..............................searching inside a marked block. ===============REKORD 16=======================================|=============== + 16 (A) Replace a word (alter) First, give a word to be replaced (Find :?) Second, give a word to be put into (Replace with :?) Third, define options. Search & replace action begins: if a searched word is found then at the top of the screen you see a demand of confirmation. The options are : G.......global search, from the beginning (or the end) of text. B..............................................backward search. n..............................replacing up to n-th occurrence. U.........................upper & lower case lettersidentified. W............................................whole word search. L..............................searching inside a marked block. N.......... .uNconditional replace (no confirmation required). ===============REKORD 17=======================================|=============== + 11 (C) Replace Characters This functionality enable to exchange capital letters to small ones and viceversa: D..........................................Put capital letters. S............................................Put small letters. G........Global replace from the begin or from the end of text. B.............................................Backward replace. L.........................Replace inside the highlighted block. C.................................Replace inside comments only. T..................................Replace inside program only. ===============REKORD 18=======================================|=============== + 10 (K) Replace keywords of Loglan This function permits to put all the keywords of Loglan in the selected case (lower or upper). Your choices are: D.......................................Put in capital letters. S.........................................Put in small letters. G........Global replace from the begin or from the end of text. B.............................................Backward replace. L............................Replace inside thehighlited block. ===============REKORD 19=======================================|=============== + 12 (T) Searching the word indicated by cursor If word is found the cursor is located after it. You can choose the options: G.......global search, from the beginning (or the end) of text. B..............................................backward search. n.................................searching of n-th occurrence. U........................upper & lower case letters identified. W............................................whole word search. L..............................searching inside a marked block. ===============REKORD 20=======================================|=============== + 15 (R) Search andReplace the word indicated by cursor Give a word to be put into (Replace with :?) Next, define options. Search & replace action begins: if a searched word is found then at the top of the screen you will see a demand of confirmation. The options are : G.......global search, from the beginning (or the end) of text. B..............................................backward search. n.................................replacing up n-th occurrence. U.........................upper & lower case lettersidentified. W............................................whole word search. L..............................searching inside a marked block. N.......... .uNconditional replace (no confirmation required). ===============REKORD 21=======================================|=============== + 13 29 30 Exchange block between windows and other operations Press Ctrl_W and then a key which corresponds to the desired action. If you wait 2 secs. then a frame appears with choices suggested. Options to choose: C - copy the block from the second, visible on screen window, V - move the block from the second, visible on screen window, S - copy with indentation from the other window, M - move with indentation from the other window. More on C,V <0> More on S,M <1> ===============REKORD 22=======================================|=============== + 19 Defining macrocommands You can create, store and apply your macrocommands i.e. the sequences of keys. A macrocommand can be associated with a let- ter, digit or an F key. A macrocommand is executed when you press simultaneously Alt+corresponding key. Definition of a macrocommand may contain usual characters ASCII and also the following combinations of keys: ^.............denotes Ctrl + following key (A..Z and 0..9) &..............denotes Alt + following key (A..Z and 0..9) @........denotes a functional key. The next key may be : 1..0 - F1..F10 ³ <>^v - cursor ³ H - Home ³ E - End ³ U - PgUp ³ D - PgDn ³ I - Insert ³ L - Delete ³ S - Esc ³ B - Backspace ³ ³ ³ C - Enter ³ ³ ³ ³ #......the next character is not interpreted e.g.## denotes # Braces permit to iterate the string inside them. E.g. the string {^C(* *)}12 will cause cration of 12 new lines containing the string "(* *)" ===============REKORD 23=======================================|=============== + 17 (L) Loading a file You can enter a file name or a mask e.g. *.log defining a group of files. In the first case the file is loaded (or initialized) In the second case all names that correspond to the mask are shown. >>>You can press: Esc.........Return without loading anything   < >......................Moving in window. Enter.........If a file is indicated then it is loaded If a directory is indicated then it is opened PgUp,PgDn......Previous or next page (the window contains maximum 20 names). F4............change directory ===============REKORD 24=======================================|=============== + 5 (N) New file editing The scrren is emptied and an edition of the file NONAME.LOG begins. At saving time Lotek will propose to change the name of the file. ===============REKORD 25=======================================|=============== + 5 (W) Save the edited file as ... It permits to change the name of the edited file and to save it in the current directory.(see L option for change of directory) ===============REKORD 26=======================================|=============== + 4 (P) Pick up you can choose a name among lastly edited files or Load (L) ===============REKORD 27=======================================|=============== + 6 Marking a block B - mark begin of block, K - mark end of block, T - mark the word indicated by cursor as a block, L - mark the line indicated by cursor as a block. ===============REKORD 28=======================================|=============== + 3 Deleting block You can delete the marked block. ===============REKORD 29=======================================|=============== + 15 30 (C,V) Copying or moving the highlighted block Function.C. copies the highlighted block (Ctrl K + B,K,T,L) to the current position of cursor. Begin of the block will be positioned exactly on the cursor. Other lines are not shifted. REMARK: One can copy the block into itself. Function.V. moves the highlighted block (Ctrl K+ B,K,T,L) to the current position of cursor. The earlier occurrence of the block dissapears. Begin of the block will be positioned exactly on the cursor. Other lines are not shifted. ----> Ctrl K S,M <0> ===============REKORD 30=======================================|=============== + 18 29 (S,M) Copy or Move the block with indentation Function.S. copies the highlighted block (Ctrl K + B,K,T,L) to the current position of cursor. It differs however from the function Ctrl K C. All lines of the block will begin in the position of cursor. REMARK: One can copy the block into itself. Function.M. moves the highlighted block (Ctrl K+ B,K,T,L) to the current position of cursor. It differs however from the function Ctrl K V. All lines of the block will begin in the position of cursor. The earlier occurrence of the block dissapears. REMARK: If you move the block into itself it will result in shifting it horizontally, it will move to the cursor position. -----> Ctrl K C,V <0> ===============REKORD 31=======================================|=============== + 10 23 25 (R,W) Reading and Writing a block Function R enables inclusion of a file from the disk. The file is included in the current postion of the cursor without indentation (as Ctrl K C does). A window appears and you can choose the name of file see F3 L <0> Function W enables saving of the block on disk. A window appears and you can choose the name of file see F3 W <1> ===============REKORD 32=======================================|=============== + 8 (I,U) Shift the block to right or to left Function.I.shifts all lines of the block one position to left. It applies to the full first and last line of the block. Function.U.shifts all lines of the block one position to right. It applies to the full first and last line of the block. ===============REKORD 33=======================================|=============== + 5 Hiding block You can unmark the marked block. If you repeat this action then the block is marked again. ===============REKORD 34=======================================|=============== + 6 35 (F) Frame around a block If you selected a block then a frame can be put around it. Options permit to define parameters of the frame. Each line is enclosed in (* *) i.e. it is a comment. -----> Ctrl K O <0> ===============REKORD 35=======================================|=============== + 19 (O) Parameters of frames 3 lines determine the pattern of frame define 3 characters for top, inside and bottom lines of frame. - top line: leftmost, inside, rightmost character; - inside line: leftmost, inside, rightmost character; - bottom line: leftmost, inside, rightmost character; F............................Position of first column of frame. - must be between 0..255, - must be less then L, the last column of frame, - 0 has a special meaning:frame will begin in the first column of indicated text, L.....................Position of the last column of the frame - must be between 0..255 - must be greater then F, the first column of frame - 0 has a special meaning: frame will end in the last column of indicated text, T.....Put text in the frame: to the LEFT, to the RIGHT, CENTER in frame. ===============REKORD 36=======================================|=============== + 14 Compilation options D: Debug info on/off Debug on causes: firstly - execution of the program is recorded on special file, secondly - you can watch the sequence of executed commands. M: Memory ______ Divided by 4 amount of memory atributed to our pogram. It may assume values from 16384 to 100000. If you can select 16384 to accelerate the program. C: Cursor on/off For amateurs only. It enables to hide cursor during the program execution. ===============REKORD 37=======================================|=============== + 4 (S) Marking a place in the text This function memorises the current position of the cursor. It is possible to reposition cursor quickly in this place. ===============REKORD 38=======================================|=============== + 5 (R) Go to the marked place and ... The difference with respect to Ctrl J J lies in that befor we move to an earlier marked place, we mark the current position This enables a return with commands Ctrl J J/R. ===============REKORD 39=======================================|=============== + 4 (J) Go to an earlier marked place Cursor is moved to the place which was earlier marked with the use of Ctrl J S command ===============REKORD 40=======================================|=============== + 4 Go to block B - go to the begin of the highlighted block K - go to the end of the highlighted block ===============REKORD 41=======================================|=============== + 20 File options (F3O) Your choices: S..it is the number of line dividing two windows of Lotek. (e.g. between main file and auxiliary file or between main file and Loglan's database), B..backups? If your answer is yes then saving file on disk causes that the previous version of the file is saved with an extension .BAK D..Delay of idle time. If no key is pressed during D time then the screen shows a sky with stars blinking. W..delay of showing menus. If you choose an action of editor say Ctrl+K then first you see the headline of a menu window and the window itself appear after W time. =============KONIEC============================================|==============