Primoz Jakopin

EVA, the editor

Quick reference guide




Contents:

Instead of introduction

        Commands that follow are listed according to access mode and purpose of use.
        Please direct any suggestions and remarks to: primoz.jakopin@laze.org.



Numeric keypad commands


- key must be turned on;


  show top of file
  to file end
   set start of rectangular block
   set end of such block
   set start of line-to-line block
   set end of l-t-l block
  page up
  page down
  adjust right margin in the current paragraph
   calculate the arithmetic expression at cursor
  insert space
  delete character
   insert line
   delete text to end of line; if
   at line end - delete line
   center line
  search for a given text string, find more
   repeat find
  after an abbreviation: get an explanation,
  at the line beginning: tell the line number
   tell the page, line, pixel
   to line start
   go to line end



How to use the main menu?




key commands


        With all commands from this group it is recommended to press the Control key and hold it down until the following key is pressed (briefly, otherwise the next key is repeated). If the key sequence goes on, release the Control key and type the remaining keys as necessary.


Undo commands

   "undo" restores part of line just deleted, entire deleted line or line by line of a deleted block
    returns the entire remaining of the Undo buffer (all deleted lines)
   restores screen (in case that something unexpected or unwanted is there)


Line-to-line blocks

   set block start
   set block end
    copy block before the current line
    move block
    delete block


Rectangular blocks

   rectangle beginning (left upper corner)
   end of rectangle (right lower corner)
   copy rectangle
   move it
   erase rectangle (fill it with spaces)
   fill rectangle with selected character or string
    add up the rectangle


Printing

   print file      print block


Other commands

  delete word or spaces till word
  delete line
  break line
  join lines
   copy the line above to current line
  jump to line beginning
  to space after the line end

  toggle the insert/overwrite mode
   toggle the insert mode of standard editors, where   breaks the line and at the line beginning moves to end of previous line, combined with "join lines"
   show the current character code
   change, add or delete an abbreviation
   calculate the arithmetic expression using the long integer calculator. Operators are +,-,*,/,! (faculty) and p (expose on prefactors); except with faculty and exposition there can only be two operands and the total length of the outcome is limited to 10.000 decimal digits. The remainder is given after the outcome, separated by semicolon.
   show the current line with 8-bit characters, as seen by EVA

   search forward for a given string; will search again, from the right keypad will search backwards
   repeat the last search, from cursor on
   search for string at line beginnings only
   search for string at line ends only
   replace a string with another
   jump to given position in the line
   jump to line number (i.e. to line 200)
   reserved (jump to a system file)
   search for string without showing the string on screen
   jump to first non-space-character in the line, from cursor on
   jump to position in the file - it can be in bytes from the file beginning or in percents, i.e. jump to 50%
   jump to record number (with indexed searching only)
   show the record and field number of the cursor (valid only for STEVE database mode)
   show hexadecimal and binary equivalent of a given number
   interprete an abbreviation 'CA'

   save the current file from memory to disk
   save the current file as ASCII
    read the file from disk (the name will be prompted)
    read from disk the file, the path and name of which is in the current line (see Disk->Get directory)
    activate the disk path from the current line

  switch keyboard for the next, that is for the one with inverted letters; if inverted keyboard is selected, return to normal

    page preview - show page in DTP mode (for printing); the command usually resides on the function key F3; use to return to editor mode
    insert a DTP-block-description line in front of the current one
    insert such line, combined with the DTP font selection

    clear all the lines from the current to file end


Data entry commands

 n where n ranges from 0 to 8: start data entry at the current position using the data entry layout n (i.e.    will open the current document using the first layout)
   start data entry with the layout, selected through the menu
  nn data entry with the layout nn (between 01 and 99)
  start data entry on the current record with the layout, selected by EVA
   make a copy of the current record, during data entry



Multiple file processing


Maximal number of files

The number of files, which can all reside in memory simultaneously and which permit very fast navigation, copying or moving contents from one to another, is determined in the system table "CONFIGURATION" at the beginning of the file "EVA.RSF". It is in the second line of that table, which looks as:

FILES=number

i.e. FILES=30, and it will be possible to use 30 files at a time. The default value is 16. Every possible RAM file, even if unused, occupies 1 KB of memory.
To modify the value of FILES or AVAILABLE RAM values (below it), read the EVA.RSF file as you would any other ordinary EVA file. Modify the values as necessary, rectify EVA.RSF back to order through "Tools->Line utilities->Force the text to 16-bit lines" menu selections and save the EVA.RSF back again through "Disk->Menu->Save file to disk->eva.rsf->yes" menu and prompt sequence.

Navigation from one RAM file to another

is accomplished through
 n, where n can be between 1 (for file 1) and 0 (for file 10) or through
 nnn, where nnn is a 3-digit number - jump to file nnn (i.e.
     - jump to file 16)


Copying and moving of blocks from one RAM file to another


  n, where n is between 1 and 9 or
   nn, where nn is between 01 and 99: copy line-to-line block from file n or nn before the current line;

  n or
   nn move a block from there,

   n or
    nn (nn between 01 and 99) copies the rectangular block



Searching in text


General notes

        In EVA standard text searching, from current position to file end is invoked through one of the three ways:
from the right keypad,    or through the menu selections Find->Text string.
        Wildcarding character ? can also be used; it stands for any character. To search, for instance, for all the words that begin with s, followed by another character and ring at the end (i.e. spring, string, ...), use the expression;
     Find:  s?ring
Question mark remains question mark only if the expression contains only that character:
     Find: ?
or if the search expression is enclosed in double quotes; suppose we want to search for all short question sentences What?:
     Find: "What?"
        If there are such characters in the search expression, which are not provided on the Windows keyboard or in the Windows character set, the appropriate EVA character codes (decimal) can be written, enclosed in angular brackets: < and >. The expressions
     Find: taščica and Find: ta<169><167>ica
are the same thing. EVA character set with character codes can be consulted for more details.
        If the search outcome is good, i.e. something has been found, the search can immedately be repeated (search the same expression again down in the file) through command. To search backwards, from the current position to file beginning, use the command from the right keyboard.
        Searching on line beginnings only is accomplished through   ;
the opposite command, which searches on line endings only, is   .
        Special settings, case matching, the request to search only in the first STEVE data field, to ignore spaces or font selection characters etc., can be set in the find setup:
     Find->Setup.

Searching for characters with given codes

        Sometimes it is necessary to search for characters in a specified code range. It is done with the command:
        Find: \n1,n2,n3 ...
where nx can be either a decimal code or a range - from code to code: m1-m2 will search for characters with codes between m1 and m2 (both inclusive). The expression below would search for any Greek letter in text:
        Find: \819-920
and all the letters c with different diacritical characters such as hacek through:
        Find: \167,173,388,390,1265-1266


Special searchings

        Besides the searching modes we have already met, there are also some more general tools at hand - more complex search expressions. An example:
     Find: \!<n><a><n>
We are lookong for all the occurences of <decimal digit><letter><decimal digit>, say for checking if the numerals 0 and 1 were not written in text in a wrong way - with letters o and l.
Operands in angular brackets can have the following values:
In the following example we are looking for occurences of upper-case letters, enclosed in lower-case letters. Such combinations are errors, typical for texts, entered through scanner and an Optical Character Recognition (OCR) program:
     Find: \!<l><U><l>
Another example: we are looking for all cases, where a standard hyphen should get replaced with a "connection"-hyphen - <letter>-<letter>:
     Find: \!<a>-<a>
The last example deals with search of three consecutive empty lines in text (there are, for instance, at most two empty lines allowed):
     Find: \!<e><e><e>

Another possibility is to search for all the lines with given length:
     Find: \%{<,=,>}n{{<,=,>}m}
where n and m are lengths. Suppose we want to find all the lines, shorter than 8 characters:
     Find: \%<8
or lines, longer than 10 characters and shorter than 30:
     Find: \%>10<30



The page has been set by Primoz Jakopin on September 7, 1998; last change: January 26, 2000.

URL: http://www.laze.org/eva/eva_qref_en.html     Number of visits: