
                    The Far File and Archive Manager
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         Technical Information
                         ~~~~~~~~~~~~~~~~~~~~~

Contents:

I. Far Manager: advanced settings.
  1.1. General/miscellaneous.
  1.2. System.
  1.3. Executor.
  1.4. Policies.
  1.5. Interface.
  1.6. Panel.
  1.7. Dialog.
  1.8. Editor.
  1.9. XLat.
II. Windows: settings that apply to Far Manager.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



I. Far Manager: advanced settings.
===============================================================================
   This section describes the advanced technical information, not  included  in
the main help file, that is actual for the current Far Manager version.



=====================
  1.1. General/miscellaneous.
=====================


1.1.0.(TechInfo #0)
~~~~~~~~~~~~~~~~~~~
   Key "/u <username>"
   The  data   from  [HKCU\Software\Far Manager]     is     copied     into
   [HKCU\Software\Far Manager\Users]  only if the following registry branch
   doesn't exist:
   [HKCU\Software\Far Manager\Users\<username>]. Only the following branches
   are not copied:
   [HKCU\Software\Far Manager\Users] and [HKCU\Software\Far Manager\PluginsCache].
   That means that changing parameters  described  below  will  not  affect
   existing user profiles.  Setting  for  "<username>"  should  be  changed
   relative to the branch [HKCU\Software\Far Manager\Users\<username>].

1.1.8.(TechInfo #52)
~~~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Software\Far Manager\SavedDialogHistory]
   [HKEY_CURRENT_USER\Software\Far Manager\SavedFolderHistory]
   [HKEY_CURRENT_USER\Software\Far Manager\SavedHistory]
   [HKEY_CURRENT_USER\Software\Far Manager\SavedViewHistory]
   "HistoryCount":REG_DWORD
   The key "Saved???/HistoryCount" of DWORD type specifies history size (in
   positions) for dialog input lines, visited folders,  executed  commands,
   viewed and edited files.
   The default value is 64 positions.



=====================
  1.2. System.
=====================


1.2.27.(TechInfo #79)
~~~~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Software\Far Manager\System]
   "ExcludeCmdHistory":REG_DWORD
   Parameter "System/ExcludeCmdHistory" of  DWORD  type  allows  to  define
   which types of commands will be excluded from history. Bit mask is used.
   If the bit is set, certain type of commands is excluded from history.
    Bit numbers:
     0 - exclude from history Windows association commands
     1 - exclude from history Far association commands
     2 - exclude from history panel execution commands
     3 - exclude from history command line execution commands
   The default value is 0 (all commands are included into history).



=====================
  1.9. XLat.
=====================

   Translates the selected block according to the rules table
   (see %FARHOME%\Addons\Xlat\*.reg).
   Function is called by Far macro language $XLat operator, which can be
   assigned to any key combination.

1.9.0.(TechInfo #10)
~~~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Software\Far Manager\XLat]
   The parameter "Flags" determines the behaviour of the XLat function.
     Bits:
       0 - under Windows NT family, switch to the next available
           keyboard layout after performing the translation.
           (см. так же описание бита 2)
       1 - emit a beep after performing the translation.
       2 - Использовать предопределенные именованные правила для "двойных" клавиш.
           Параметр в реестре c именем раскладки, например:
           "HKCU\Software\Far Manager\XLat/00000409:REG_SZ"
              обозначает "набирали по-русски в английской раскладке"
           "HKCU\Software\Far Manager\XLat/00000419:REG_SZ"
              обозначает "набирали по-английски в русской раскладке"
           и т.п.
           Так же, если установлен бит 0, то переключение раскладок происходит
           только по списку значений, перечисленных в
           "HKCU\Software\Far Manager\XLat/Layouts:REG_SZ", независимо от количества
           установленных в системе раскладок.
      16 - Конвертировать всю командную строку при отсутствии выделенного
           блока.
   The default value is 0x00010001 (switch the keyboard layout).

1.9.2.(TechInfo #80)
~~~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Software\Far Manager\XLat]
   "Layouts":REG_SZ
   Номера раскладок клавиатуры (через ';'), которые будут переключаться,
   независимо от количества установленных в системе раскладок.
   Например, "04090409;04190419" (или "0409;0419").
   Если указано меньше двух, то механизм "отключается" и раскладки
   переключаются по кругу, все.
   Far для "Layouts" считывает первые 10 значений, остальные, если есть,
   игнорируются.

   По умолчанию значению отсутствует.



II. Windows: settings that apply to Far Manager.
===============================================================================
   This section describes the additional technical information  that  has  some
appliance to Far Manager.


2.0.(TechInfo #57)
~~~~~~~~~~~~~~~~~~
   If the  [HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandlers]  registry
   key is empty Far removes it when started.
   If this key is empty then Far will crash  when  deleting  files  to  the
   recycle bin.

2.1.(TechInfo #58)
~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Control Panel\Desktop]
   "AutoEndTasks":REG_DWORD
   System: Automatically Close Hung Applications.
   This option is used to force Windows to automatically close without  any
   warning applications that have hung.

   Can be one of the following values:
     0 - off.
     1 - allow to automatically close hung applications.
   Default value is 0 (off).

   Setting the key to "1" allows to eliminate the problem  of  closing  the
   internal modal editor (e.g. editing a file inside an archive) using  the
   standard "Close" button of the console window.
   For details see: http://www.winguides.com/registry/display.php/199/

2.2.(TechInfo #59)
~~~~~~~~~~~~~~~~~~
   [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
   "DisableUNCCheck":REG_DWORD
   (applies only to NT4/2k/XP/2003/Vista/2008 and cmd.exe)
   The CMD.EXE normally disallows UNC names from being used for the current
   directory. When Far tries to execute a command of  the  command  process
   and the current path is UNC then the following  error  message  will  be
   written to the console:

     "CMD.EXE was started with the above path as the current directory.
     UNC paths are not supported.  Defaulting to Windows directory."

   (the output might be different for NT4/W2k/XP/2003/Vista/2008)

   The key "DisableUNCCheck" allows to resolve this problem.
   The following values can be used:
     0 - output a warning message and set the  current  path  to  Windows
         system folder.
     1 - output no warning and try to set the current path to the UNC path.

   The default value is 0.
   Recommended value is 1.

   For details see: http://www.winguides.com/registry/display.php/1247/
                    or Microsoft Article - Q156276


                                     [ Far Manager development group ]
