home *** CD-ROM | disk | FTP | other *** search
/ 73.234.73.94.ip.orionnet.ru / 73.234.73.94.ip.orionnet.ru.tar / 73.234.73.94.ip.orionnet.ru / Far30b3000.x86.20121208.msi / FARCmdsEng.hlf < prev    next >
Text File  |  2012-12-08  |  15KB  |  424 lines

  1. ∩╗┐.Language=English,English (English)
  2. .PluginContents=FAR Commands
  3. .Options CtrlStartPosChar=^<wrap>
  4.  
  5. @Contents
  6. $^#FAR Commands#
  7.    The FAR Commands plugin (FARCmds) provides a number of additional commands.
  8.  
  9.    Except command ~"Same Folder"~@TheSameCatalogue@, all the rest have to be
  10. invoked via command line prefixes.
  11.  
  12.    Besides ~command line~@:CmdLineCmd@, prefixes may be used in ~User Menu~@:UserMenu@,
  13. in ~file associations~@:FileAssoc@, as well as in dialog┬á~Apply Command~@:ApplyCmd@┬á(#Ctrl-G#)
  14.  
  15.  
  16.   #Command Line Syntax#
  17.  
  18.    #command:#[#options#] #object#
  19.  
  20.    #command# - one of the following:
  21.              ~view~@View@     - viewer
  22.              ~edit~@Edit@     - editor
  23.              ~goto~@Goto@     - jump to a file or folder
  24.              ~clip~@Clip@     - put data in the clipboard
  25.              ~whereis~@WhereIs@  - locate and jump to an object
  26.              ~macro~@Macro@    - macros
  27.              ~link~@Link@     - create links
  28.              ~run~@Run@      - execute commands
  29.              ~load~@Load@     - load plugin
  30.              ~unload~@Unload@   - unload plugin
  31.  
  32.    #options# - optional parameters, see corresponding commands descriptions.
  33.  
  34.    #object#  - one of the following:
  35.              #filename# - name of the file to be viewed, edited or jumped to.
  36.              #path#     - file or directory path to jump to.
  37.              #<command# - ~intercept output~@Direction@ of operation system command.
  38.                         Symbol #<# is obligatory.
  39.  
  40.  
  41.    See also: ~Configuring FAR Commands~@Config@ | ~Notes~@Remark@
  42.  
  43. @Load
  44. $ #The Load command#
  45.    Command #load# allows you to load the plugin #DLL_module_name#.
  46.  
  47.    #load:DLL_module_name#
  48.  
  49.  
  50.    See also: ~unload~@Unload@ | ~Notes~@Remark@ | ~Contents~@Contents@
  51.  
  52. @Unload
  53. $ #The Unload command#
  54.    Command #unload# allows you to unload the plugin #DLL_module_name#.
  55.  
  56.    #unload:DLL_module_name#
  57.  
  58.  
  59.    See also: ~load~@Load@ | ~Notes~@Remark@ | ~Contents~@Contents@
  60.  
  61. @Clip
  62. $^#The Clip command#
  63.    The #clip# command puts data into the Windows clipboard.
  64. The data can be the contents of a file or the output of a program.
  65. The clipboard will contain all the data up to the character with the
  66. code #0x00#.
  67. ╨á╨░╨╖╨╝╨╡╤Ç ╨┐╨╛╨╝╨╡╤ë╨░╨╡╨╝╤ï╤à ╨┤╨░╨╜╨╜╤ï╤à ╨╝╨╛╨╢╨╜╨╛ ╨╖╨░╨┤╨░╨▓╨░╤é╤î ╨▓ ╨┤╨╕╨░╨╗╨╛╨│╨╡ ╨║╨╛╨╜╤ä╨╕╨│╤â╤Ç╨░╤å╨╕╨╕ ╨┐╨╗╨░╨│╨╕╨╜╨░. ╨ƒ╨╛
  68. ╤â╨╝╨╛╨╗╤ç╨░╨╜╨╕╤Ä - 1 Mb.
  69.  
  70.    #clip:filename#
  71.  
  72.    ╨ƒ╨╡╤Ç╨╡╨┤╨░╨▓╨░╨╡╨╝╤ï╨╡ ╨║╨╛╨╝╨░╨╜╨┤╨╡ ╨┤╨░╨╜╨╜╤ï╨╡ ╨╜╤â╨╗╨╡╨▓╨╛╨│╨╛ ╤Ç╨░╨╖╨╝╨╡╤Ç╨░ ╨╛╤ç╨╕╤ë╨░╤Ä╤é ╨▒╤â╤ä╨╡╤Ç ╨╛╨▒╨╝╨╡╨╜╨░.
  73.  
  74.    See also: ~Output Redirection~@Direction@ | ~Notes~@Remark@ | ~Contents~@Contents@
  75.  
  76. @Run
  77. $ #The Run command#
  78.    The #run# command executes an operating system #command# redirecting
  79. its output to the specified file #"filename"#. Output can also be displayed
  80. on the screen or hidden from the user using ~Output Redirection~@Direction@ modifiers.
  81.  
  82.    #run:filename<command#
  83.  
  84.  
  85.    See also: ~Output Redirection~@Direction@ | ~Remarks~@Remark@ | ~Contents~@Contents@
  86.  
  87.  
  88. @View
  89. $^#The View command#
  90.    The #view# command opens the file "#filename#" in the FAR
  91. built-in ~viewer~@:Viewer@:
  92.  
  93.    #view:filename#
  94.  
  95.  
  96.    See also: ~edit~@Edit@ | ~Output Redirection~@Direction@ | ~Notes~@Remark@ | ~Contents~@Contents@
  97.  
  98. @Edit
  99. $^#The Edit command#
  100.    The #edit# command opens the file "#filename#" for editing
  101. in the FAR built-in ~editor~@:Editor@.
  102.  
  103.       #edit:filename#
  104.  
  105.    If the file "#filename#" does not exist, it will be created.
  106.    If the newly created file is not changed before leaving the editor, it will
  107. be deleted (same behaviour as #Shift-F4#).
  108.  
  109.    When opening a file, you can go directly to a given position. To do this, specify the row and, optionally, the column.
  110.    The square brackets are mandatory!
  111.  
  112.       #edit:[line] filename#
  113.  
  114.       #edit:[line,column] filename#
  115.  
  116.    If the filename contains square brackets (for example: "[1].txt"), then for
  117. the correct opening of the file in the editor you must provide at least one delimiter
  118. (e.g. a space) before the filename, or enclose it in quotation marks:
  119.  
  120.    edit: [1].txt
  121.    edit:"[1].txt"
  122.  
  123.  
  124.    See also: ~view~@View@ | ~Output Redirection~@Direction@ | ~Notes~@Remark@ | ~Contents~@Contents@
  125.  
  126. @Goto
  127. $^#The Goto command#
  128.    The #goto# command jumps to a file or a folder. The path can be
  129.    specified in two ways:
  130.  
  131.    1. Directly as a parameter of the command
  132.  
  133.       #goto:path#
  134.  
  135.    2. The path is taken from the file "#filename#"
  136.  
  137.       #goto: <filename#
  138.  
  139.    If the parameter "#path#" specifies a folder and is terminated with
  140. a backslash ('#\#'), the plugin jumps to the specified folder. If the
  141. path to the folder is not terminated with a backslash, the cursor on the
  142. panels is positioned to the specified folder.
  143.  
  144.    At most 1299 bytes are read from the file "#filename#" to specify
  145. the path to a directory or file.
  146.  
  147.    When panels are turned off, the cursor is not positioned on the requested object,
  148. only the switching to the required folder occurs.
  149.  
  150.  
  151.    See also: ~whereis~@WhereIs@ | ~Notes~@Remark@ | ~Contents~@Contents@
  152.  
  153. @Link
  154. $ #The Link command#
  155.  
  156.    The #link# command creates ~links~@:HardSymLink@ to files and folders.
  157. It also allows to mount local disks on file system.
  158.  
  159.  
  160.    #link:#[#/msg#] [#/n#] [#/s#] #source destination#
  161.  
  162.    Depending on the type of source are those types of links:
  163.  
  164.      #file#   : #hard link# is created
  165.      #folder# : #junction# is created
  166.      #drive#  : drive is mounted (#volume mount point# is created)
  167.               "drive" should be a sequence "#drive_letter:\#", e.g. "#C:\#"
  168.  
  169.    Switch #/msg# turns on the output of error messages
  170.  
  171.    Switch #/n# disables automatic update of panels after creation of link
  172.  
  173.    Switch #/s# allows to make symbolic links (#symlinks#).
  174.    It's possible to create a file symlink (instead of a hardlink)
  175. or a folder symlink (instead of folder junction).
  176.    The switch is relevant to Windows Vista or higher.
  177. Ignored when mounting drives.
  178.  
  179.    Mounted drives (or volume mount points) is a Windows 2000/XP feature,
  180. that allows to display specified disks as folders. Example:
  181.  
  182.    #link: E:\ C:\cdrom#
  183.  
  184.     After this command the folder C:\cdrom will display the contents of drive E:
  185.  
  186.  
  187.    See also: ~Remarks~@Remark@ | ~Contents~@Contents@
  188.  
  189. @WhereIs
  190. $ #The WhereIs command#
  191.    The #whereis# command locates the given object and jumps to it if the search was
  192. successful.
  193.  
  194.    #whereis:object#
  195.  
  196.    ╨Æ╤é╨╛╤Ç╨╛╨╣ ╤ü╨┐╨╛╤ü╨╛╨▒ - ╨╕╨╝╤Å ╨╛╨▒╤è╨╡╨║╤é╨░ ╨┐╨╛╨╕╤ü╨║╨░ ╨▒╨╡╤Ç╤æ╤é╤ü╤Å ╨╕╨╖ ╨╖╨░╨┤╨░╨╜╨╜╨╛╨│╨╛ ╤ä╨░╨╣╨╗╨░ "#╨╕╨╝╤Å╤ä╨░╨╣╨╗╨░#"
  197.  
  198.       #whereis: <╨╕╨╝╤Å╤ä╨░╨╣╨╗╨░#
  199.  
  200.    The search is performed in the following order:
  201.  
  202.    1. Current folder
  203.    2. The directory pointed to by the environment variable %FARHOME%
  204.    3. Folders in the system environment variable #PATH#
  205.    4. Windows 95: Windows' system folder (SYSTEM)
  206.       Windows NT: 32 bit Windows' system folder (SYSTEM32)
  207.    5. Windows NT: 16 bit Windows' system folder (SYSTEM)
  208.    6. Windows folder.
  209.    7. Contents of the registry key:
  210.       #HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths#
  211.    8. Contents of the registry key:
  212.       #HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths#
  213.  
  214.    When panels are turned off, the cursor is not positioned on the requested object,
  215. only the switching to the required folder occurs.
  216.  
  217.  
  218.    See also: ~goto~@Goto@ | ~Notes~@Remark@ | ~Contents~@Contents@
  219.  
  220. @Macro
  221. $ #The Macro command#
  222.    The #macro# command loads macros from the registry or saves macros in the
  223. registry. Also it can post the key sequence to FAR Manager as if they were
  224. typed from the keyboard.
  225.  
  226.    1. Load macros from the registry:
  227.  
  228.       #macro:load#
  229.  
  230.    2. Save macros to the registry:
  231.  
  232.       #macro:save#
  233.  
  234.    3. Post a key sequence:
  235.  
  236.       #macro:post sequence#
  237.  
  238.       "sequence" is a sequence of key names as they are stored in
  239.       the registry by FAR Manager. For example:
  240.  
  241.       macro:post F4 F12 0 Tab F4 F12 0
  242.  
  243.       The sequence is executed only after return the FAR Manager receives control.
  244.  
  245.    4. Check macrosequence syntax
  246.  
  247.       #macro:check sequence#
  248.  
  249.       In case of error in the "sequence" you receive a message
  250.       indicating the error type and its position in the sequence.
  251.  
  252.    ╨Ü╨╛╨╝╨░╨╜╨┤╤ï #post# ╨╕ #check# ╤é╨░╨║ ╨╢╨╡ ╨╝╨╛╨│╤â╤é ╨▒╤Ç╨░╤é╤î ╨┐╨╛╤ü╨╗╨╡╨┤╨╛╨▓╨░╤é╨╡╨╗╤î╨╜╨╛╤ü╤é╤î ╨╕╨╖ #╨╕╨╝╤Å╤ä╨░╨╣╨╗╨░#:
  253.  
  254.       #macro:post <╨╕╨╝╤Å╤ä╨░╨╣╨╗╨░#
  255.       #macro:check <╨╕╨╝╤Å╤ä╨░╨╣╨╗╨░#
  256.  
  257.    Command #check# is only available in Unicode-version (in FAR 2.x)
  258.  
  259.  
  260.    See also: ~Macro~@:KeyMacro@, ~Notes~@Remark@ | ~Contents~@Contents@
  261.  
  262. @Direction
  263. $ #Output Redirection#
  264.    The plugin can redirect the output of the specified #"<command"# or #"<<command"#.
  265.  
  266.     #command# - #[#stream#][#mode#][#|path|#]#command#.
  267.  
  268.     #stream# - controls which output stream(s) to redirect.
  269.              #1# - redirect only standard output stream #stdout#.
  270.              #2# - redirect only standard output stream #stderr#.
  271.              #*# - redirect #stderr# and #stdout# as one stream.
  272.              #?# - redirect #stderr# and #stdout# as different streams.
  273.                  For commands ~view~@View@ and ~edit~@Edit@ the streams will be opened
  274.                  in separate windows. For other commands same behavior as #*#.
  275.              Default value of this parameter can be defined in ~config~@Config@.
  276.  
  277.     #mode#   - controls direct console output (not via standard streams)
  278.              #># - ignore the console output of the program
  279.                  and display only message about its execution.
  280.              #<# - save console output and make it available
  281.                  for viewing with #Ctrl-O#.
  282.              #+# - same as #<#, but displays on the screen redirected output
  283.                  of the program along with console output.
  284.              Default value of this parameter can be defined in ~config~@Config@.
  285.  
  286.     #|path|# - command can be executed in the folder different from the
  287.              current one. To do this specify the path (enclosed in pipes '#|#')
  288.              For example: #edit:<|%TEMP%|dir#
  289.  
  290.    Program output can be opened in viewer: #~view~@View@:<command#
  291.      or in editor:                         #~edit~@Edit@:<command#
  292.      or can be placed into clipboard:      #~clip~@Clip@:<command#
  293.      or saved to a user-defined file:      #~run~@Run@:filename<command#
  294.  
  295.  
  296.   #Notes:#
  297.  
  298.    #1#. The entire string after the symbol '#<#' and optional modifiers
  299. is sent to the command processor (%COMSPEC%)
  300.  
  301.    #2#. Program output is placed in a temporary file, which is deleted automatically when FAR Manager
  302. doesn't need it.
  303.  
  304.    #3#. Some programs do not use standard output stream(s), but
  305. print directly to the console. To store console output
  306. and make it available for viewing with #Ctrl-O#
  307. use modifiers '#<#' and '#+#'. To ignore it - use '#>#'
  308.       You can change default behavior in the ~configuration~@Config@.
  309.  
  310.    #4#. If the #stream# parameter equals #1# or #2# then the start of the
  311. command text must be separated from it by some symbol.
  312.  
  313.  
  314.   #Examples:#
  315.  
  316.    Execute the command "#command#" and redirect its output to the editor:
  317.      #edit:<command#
  318.  
  319.    Possible cases with the parameter #stream#=#1#:
  320.      #edit:<1 command#
  321.      #edit:<1"command"#
  322.      #edit:<1+command#
  323.      #edit:<1|%TEMP%|command#
  324.  
  325.  
  326.    See also: ~Notes~@Remark@ | ~Contents~@Contents@
  327.  
  328. @TheSameFolder
  329. $^#Same Folder
  330.    To set the current folder of the passive panel to the same as
  331. in the active one, choose the item "#Same Directory#" in the ~plugins menu~@:PluginCommands@
  332. or in the ~drives menu~@:DriveDlg@.
  333.  
  334.  
  335.    See also: ~Configuration~@Config@ | ~Contents~@Contents@
  336.  
  337. @Remark
  338. $^#Notes#
  339.  
  340.    1. It is possible to enclose parameters #filename#,
  341.       #path# and #command# in quotes.
  342.  
  343.    2. You can use environment variables.
  344.  
  345.    3. If you make a syntax error, the help will pop up.
  346.  
  347.    4. You can use console aliases as #command#
  348.       (Console aliases - macros defined by command DOSKEY)
  349.  
  350.    5. Before each command it's allowed to additionally specify the prefix #far:#
  351.  
  352.       #command:#[#options#] #object#
  353.       #far:command# [#options#] #object#
  354.  
  355.       Both notation forms are equivalent.
  356.  
  357.  
  358.    See also: ~Contents~@Contents@
  359.  
  360. @Config
  361. $^#Configuring FAR Commands#
  362.  
  363.  #Add "Same Folder"#            Adds the ~Same Folder~@TheSameFolder@ command
  364.  #to the Plugins menu#          to the ~Plugins menu~@:PluginCommands@.
  365.  
  366.  #Add "Same Folder"#            Adds the ~Same Folder~@TheSameFolder@ command
  367.  #to the Disks menu#            to the ~Disks menu~@:DriveDlg@.
  368.  
  369.  #External commands screen output# Control program screen ~output~@Direction@:
  370.  
  371.    #Hide external command#       Hides program output. Only a message
  372.    #output#                      with the size of intercepted output
  373.                                will be displayed. Same as using #<>#
  374.                                instead of #<#.
  375.  
  376.    #Keep external command#       Saves the text output by programs
  377.    #output#                      directly to the console for viewing
  378.                                by #Ctrl-O#.
  379.                                Same as using #<<# instead of #<#.
  380.  
  381.    #Duplicate intercepted#       Saves for viewing by #Ctrl-O# both the
  382.    #output to screen#            direct console output and intercepted
  383.                                output.
  384.                                Same as using #<+# instead of #<#.
  385.  
  386.  
  387.  #Intercepting output#           Controlling of program ~output~@Direction@
  388.                                interception:
  389.  
  390.    #Intercept both#              Intercept standard output stream
  391.    #stdout and stderr#           #stdout# and standard error stream
  392.                                #stderr# as one stream.
  393.                                Same as using #<*# instead of #<#.
  394.  
  395.  
  396.    #Intercept stdout only#       Intercept only #stdout#.
  397.    #(Standard output stream)#    Same as using #<1# instead of #<#.
  398.  
  399.    #Intercept stderr only#       Intercept only #stderr#.
  400.    #(Standard errors stream)#    Same as using #<2# instead of #<#.
  401.  
  402.  
  403.    #Intercept stdout and #       Intercept stdout and #stderr#
  404.    #stderr separately#           separately. It has sense only in
  405.                                commands #far:view <# and #far:edit <#.
  406.                                In other cases same as #<*#.
  407.                                Can't be used with #<+#.
  408.                                Same as using  #<?# instead of #<#.
  409.  
  410.  #View/edit empty files#         With this options off, zero sized
  411.                                files will not be opened for viewing
  412.                                or editing.
  413.  
  414.  #Edit new files#                Allows to open the editor with non
  415.                                existing files.
  416.  
  417.  #The size of read data#         ^<wrap>╨ƒ╨╛╨╖╨▓╨╛╨╗╤Å╨╡╤é ╨╖╨░╨┤╨░╨▓╨░╤é╤î ╨╝╨░╨║╤ü╨╕╨╝╨░╨╗╤î╨╜╤ï╨╣ ╤Ç╨░╨╖╨╝╨╡╤Ç
  418. ╤ü╤ç╨╕╤é╤ï╨▓╨░╨╡╨╝╤ï╤à ╨╕╨╖ ╤ä╨░╨╣╨╗╨░ ╨┤╨░╨╜╨╜╤ï╤à ╨▓ ╨║╨╛╨╝╨░╨╜╨┤╨░╤à ~clip~@clip@, ~goto~@goto@, ~whereis~@whereis@,
  419. ~macro:post~@macro@ ╨╕ ~macro:check~@macro@.
  420.                                ╨ƒ╨╛ ╤â╨╝╨╛╨╗╤ç╨░╨╜╨╕╤Ä - 1 Mb.
  421.                                ╨£╨░╨║╤ü╨╕╨╝╨░╨╗╤î╨╜╨╛╨╡ ╨╖╨╜╨░╤ç╨╡╨╜╨╕╨╡ - 4Gb.
  422.  
  423.    See also: ~Contents~@Contents@
  424.