  ----------------------------------------------------------------------------
  REG.FMT
  REG files format.
  Version 1.1, 07.07.2000

  For FAR archive support module (MultiArc) 
  Tested with FAR 1.63

  Copyright (C) 2000 Roman Pekhov <pekhov@mail.ru>
  ----------------------------------------------------------------------------
   
  This FMT module recognizes REG files as archives and represents keys
  as directories and values as files. Value's data is shown in the description
  column. As a result the archive contents looks exactly like the registry
  itself in the Registry Browser plugin (the Registry Browser can be
  downloaded from: http://www.uic.nnov.ru/~ruiv/plugring/index_e.html).

  Values with types Expanded String and Multi-String are shown correctly.

  Value types are displayed in the packed size column.

  Names of keys and values being deleted are marked by the '' character
  at the end.

  Reg.Fmt parses a REG file exactly by the same way as the regedit. For
  example a regedit bug is followed - key values (default values - '@') are
  not perceived as 'hex' or 'dword'.

  Reg.Fmt can be applied for REG file syntax checking. Enter into the same
  file as into archive and with F4, edit the file and at once with Ctrl-Tab
  see what you will get in the registry.

  You can see just that will be in the registry before you have started
  experimenting with the registry itself.

  Keys and values with errors (that is regedit will not have recognized) are
  marked by the Hidden attribute (are not shown if ShowErrors setting
  is zeroed, see RegFmt.reg). If a file contains any errors warning "Bad
  archive" is generated (can be disabled by WarnErrors zeroing).

  LIMITATIONS

  MultiArc limits the description length by 256 bytes. Also full file path is 
  limited by 260 bytes. If a value data or a key name has been truncated due
  to these limitations the value or the key is marked by the Archive
  attribute. If any keys or values was truncated during the file reading
  warning "Read error" is generated (can be disabled by WarnOversizes zeroing).

  DISCORDANCES
   
  A file name in the MultiArc cannot contain forward or back slash. The '/'
  and '\' in value names and keys are substituted by the '' and ''
  characters.

  If in a REG file a nested key has been described above his parent key any
  parent key default value will be lost. Such is the MultiArc internal logic.
  However resembling situation can be gotten only purposely, exporting keys
  regedit places the parent key above the nested.


INSTALLATION
------------

  Copy the reg.fmt file to the ...\Far\Plugins\MultiArc\Formats directory.
  Restart FAR.


CUSTOMIZING
-----------
  The settings are stored in the registry key 
  HKEY_CURRENT_USER\Software\Far\Plugins\MultiArc\Reg 
  All values are created in the registry at first module loading.
  See values descriptions in RegFmt.reg


DISTRIBUTION
------------
  Freeware. You may freely distribute this product if you make no commercial
  profit of distribution. Any redistribution must include the original
  copyright notice and this distribution condition.


RELATED PRODUCTS
----------------
  REG.HRC - REG files coloring for Colorer.
  Allows to avoid any errors during the REG file editing. Supports
  full syntax checking. Highlights as errors everything that will not have
  been recognized by the regedit.
  Reg.Hrc can be downloaded from:
    http://www.uic.nnov.ru/~ruiv/plugring/index_e.html


  ----------------------------------------------------------------------------
