Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      Advanced Topics
         Changing Commands with EEL
         Updating from an Old Version
            Importing Color Settings
            Updating from Epsilon 4
         Keys and their Representation
            Mouse Keys
         . . .

Previous   Up    Next
Importing Color Settings  Commands by Topic   Keys and their Representation


Epsilon User's Manual and Reference > Commands by Topic > Advanced Topics > Updating from an Old Version >

Updating from Epsilon 4

If you're updating from a version of Epsilon before 4.0, you'll have to make several files before updating. You will need your old version of Epsilon (including the executable program files for Epsilon and EEL), the state file you've been using with it (typically named epsilon.sta), and the original state file that came with that version of Epsilon (which you can find on your old Epsilon distribution disk). You'll also need the file list-all.e, included with the new version of Epsilon. First, read the comments in the file list-all.e and edit it as necessary to match your version. Then compile it with the old EEL compiler. This will create the bytecode file listversion.b. Start your old version of Epsilon with its original state file, using a command like epsilon -s\oldver\epsilon, and load the bytecode file you just created, using the load-bytes command on the F3 key. Now save the resulting list in a file named "before". Then start your old version of Epsilon again, this time with your modified state file, and load the bytecode file listversion.b again. Now save the resulting list in a file named "after". Next, start the new version of Epsilon, read in the "before" file, and sort using the sort-buffer command, and write it back to the "before" file. You can now continue with the procedure above, running the list-changes command and providing the two files you just created.

If we didn't provide a .std file for your version of Epsilon, and you're running Epsilon 4.0 or later, here's how to make one. You will need your old version of Epsilon, the state file you've been using with it (typically named epsilon.sta), and the original state file that came with that version of Epsilon (which you can find on your old Epsilon distribution disk). Start your old version of Epsilon with its original state file, using a command like epsilon -s\oldver\epsilon, and run the list-all command. Now save the resulting list in a file named "before". Then start your old version of Epsilon again (just as you normally do) using the state file that contains the changes you've made, and run the list-all command again. Now save the resulting list in a file named "after". Next, start the new version of Epsilon, read in the "before" file, and sort using the sort-buffer command, and write it back to the "before" file. You can now continue with the procedure above, running the list-changes command and providing the two files you just created.

The commands change-key-names and eel-change-key-names mentioned above replace old-style cursor key names from Epsilon 4.4 and earlier with the new names for these keys. The latter command transforms key names that appear in EEL program syntax (for example, converting NUMDIGIT(0) to KEYINSERT). Use the former command to convert command files and before/after lists (in which N-7 becomes <Home>). Before you can run these commands, you must load the bytecode file newkeys.b from the "changes" subdirectory described in Updating from an Old Version, using the load-bytes command on key F3.

Standard bindings:

    list-all
   list-changes
   load-changes
   export-colors
   
   
 



Previous   Up    Next
Importing Color Settings  Commands by Topic   Keys and their Representation


Lugaru Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.