diff --git a/doc/en/cmds.html b/doc/en/cmds.html index 7385ceba..4301fc67 100644 --- a/doc/en/cmds.html +++ b/doc/en/cmds.html @@ -1110,6 +1110,18 @@

2.6. Network

cm_CopyNetNamesToClip
Windows only: copy names with UNC path. + + cm_MapNetworkDrive +
cm_MapNetworkDrive(Alpha version)
+
Ctrl+K
+ This command allows to connect network devices, the behavior depends on the operating system: + + + diff --git a/doc/en/configuration.html b/doc/en/configuration.html index 654469c6..8eb2a8c2 100644 --- a/doc/en/configuration.html +++ b/doc/en/configuration.html @@ -499,7 +499,7 @@

2. Configuration

The first parameter in the Formatting group is Date and time format. You can choose one of the existing templates from the drop-down list or set your own using date and time formatting characters.

-

Formatting characters are presented below (based on Free Pascal documentation). Some values depends on your regional settings!

+

Formatting characters are presented below (based on Free Pascal documentation). Some values depend on the regional settings of the operating system!

As example we will use 2021.01.24 09:06:02 (i.e. yyyy.mm.dd hh:mm:ss) and the USA region.

@@ -636,7 +636,7 @@

2. Configuration

  • GETFILEOWNER – displays the owner of the file.

  • GETFILELINKTO – displays the path and file, that is, what is linked with this symlink.

  • GETFILETYPE – file type (as in Windows Explorer or MIME-type).

  • -
  • GETFILECOMMENT – file or directory description (comment) from descript.ion (see details here).

  • +
  • GETFILECOMMENT – file or directory description (comment) from descript.ion (see details here). This field can also be used inside archives (if the archive format supports saving file descriptions and the corresponding external archiver is configured to receive them).

  • GETFILECOMPRESSEDSIZE – compressed file size (real size if using NTFS compression).

  • Move – allows to move lines (which equates to reordering the columns). Click twice in the Move box and you will see a type of spinner appear, clicking on the upper part moves the line up (column moves left).

    @@ -868,8 +868,8 @@

    2. Configuration

  • Command line history – Commands that were used at the command line.

  • File mask history – Double Commander saves a general history of used file masks for several tools: find files, filters in directory synchronization and archive unpacking, commands for selecting and deselecting a group of files.

  • -

    The maximum number of entries in history is limited to 50.

    -

    Note about the history of visited directories: During the session, Double Commander stores up to 255 visited directories in memory (however, when the program is closed, only the last 50 entries will be saved). You can change the number of history entries in the popup menu when calling the cm_DirHistory command (default value is 30, see the Count attribute in the <DirHistory> tag), but when using the Tree View Menu, all available history will be shown.

    +

    The maximum number of entries in history is limited to 50 by default (see the MaxStringItems attribute in the <History> tag).

    +

    Note about the history of visited directories: During the session, Double Commander stores up to 255 visited directories in memory, however, when the program is closed, the number of saved entries will be limited to the MaxStringItems value. You can change the number of history entries in the popup menu when calling the cm_DirHistory command (default value is 30, see the Count attribute in the <DirHistory> tag), but when using the Tree View Menu, all available history will be shown.

    Note: Search templates are not related to the history and are saved separately (in the doublecmd.xml configuration file). To manage the list of templates, you can use the file search tool.

    You can choose how the list of settings sections will look:

    "View" actions with the {!DC-VIEWER} macro will be taken into account for quick viewing, other macros and commands will be ignored.

    {!TERMSTAYOPEN} and {!TERMANDCLOSE} have been added for unification and the ability to use the variables %t0 and %t1, {!SHELL} has been kept for backwards compatibility.

    -

    As a command, you can use the internal commands of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_ExecuteScript, you can run Lua scripts, in this case you can get the names of the selected files using cm_CopyFullNamesToClip or cm_SaveSelectionToFile.

    +

    As a command, you can use the internal commands of Double Commander. The parameters of the internal commands are specified one per line, so you can specify only one here. Also, using the internal command cm_ExecuteScript, you can run Lua scripts, in this case you can get the names of the selected files using internal commands (cm_CopyFullNamesToClip or cm_SaveSelectionToFile) or the DC.ExpandVar(Alpha version) function.

    Parameters – command parameters including variables:

    - + + + + + - + - + - + + + + + @@ -252,6 +256,10 @@

    2. Main window

    + + + + @@ -458,6 +466,11 @@

    2. Main window

    + + + + + + + +
    Possible characters
    TagDescription
    <Mode>
    from <AutoRefresh>
    from <AutoRefresh>:
    The ability to delete watched directories.
    A "watched directory" is a directory that Double Commander has a kind of hook on it so it can monitor any modification in it.
    This way, it can refresh the displayable content of it if it's content changed.
    This setting allows to control how Double Commander will react if we attempt to delete one of these "watched directory" currently displayed in a panel, even in a non-activated tab.
    @@ -94,11 +99,11 @@

    3. Options to change manually

    from <Behaviours>:
    <ActiveRight>
    from <Behaviours>
    The right panel will be active when Double Commander starts.
    @@ -120,16 +125,16 @@

    3. Options to change manually

    - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + - + - + - + - + - + - + - + + + + + - + - + - +
    <ConfirmQuit>
    from <Behaviours>
    Confirm closing Double Commander (True) or not (False). False by default.
    from <Colors>:
    <gBorderFrameWidth>
    from <Colors>
    We may configure DC so it will draw a rectangle around the active entry as we we cycle through them in a panel.
    <gBorderFrameWidth> allows us to configure the width of the lines used to draw a rectangle around the current active entry.
    @@ -139,20 +144,20 @@

    3. Options to change manually

    from <Editor>:
    <FindWordAtCursor>
    from <Editor>
    Internal editor and differ tool: if nothing is selected, the search and replace dialog will use the word under the cursor (True) or text from the search history (False). True by default.
    from <FileOperations>:
    <AutoExtractOpenMask>
    from <FileOperations>
    Suppose we've "entered" into a compressed file and browsing its content in the active panel. The files with the specified extension of this setting will be automatically unpacked from the archive when we press Enter or double-click on them instead of showing the properties window.
    Example: <AutoExtractOpenMask>*.txt;*.mp3;*.mp4</AutoExtractOpenMask> @@ -160,17 +165,17 @@

    3. Options to change manually

    <DefaultDropEffect>
    from <FileOperations>
    The default action when drag & drop files with the mouse: copying (True) or moving (False) files. True by default.
    <LongNameAlert>
    from <FileOperations>
    Warn if target path is longer than maximum length for a path (some programs will not be able to access a file/directory with such a long name). In Windows this value (MAX_PATH) is defined as 260 characters. True by default.
    <NtfsHourTimeDelay>
    from <FileOperations>
    Ignore time difference of exactly one hour between entries when comparing their date and time.
    This takes place when using internal commands cm_CompareDirectories or cm_SyncDirs.
    @@ -195,7 +200,33 @@

    3. Options to change manually

    <CopyAttributes>
    from <FileOperations><Options>
    <Sounds>(Alpha version)
    + Enables sound notifications when file operations are finished. Possible contents of the <Sounds> tag in full:
    +
    +<Sounds Duration="10">
    +  <Copy>C:\Windows\Media\Alarm01.wav</Copy>
    +  <Move>C:\Windows\Media\Alarm01.wav</Move>
    +  <Wipe>C:\Windows\Media\Alarm01.wav</Wipe>
    +  <Delete>C:\Windows\Media\Alarm01.wav</Delete>
    +  <Split>C:\Windows\Media\Alarm01.wav</Split>
    +  <Combine>C:\Windows\Media\Alarm01.wav</Combine>
    +</Sounds>
    + Duration is the minimum time (in seconds) that a file operation should last (0 – always on, -1 disables sound notifications).
    + File operations: copy, move, wipe, delete files, split file and combine files. If a sound notification is not needed for some operation, just remove (or do not add) the corresponding line. Environment variables are supported.
    + Supported audio formats:
    + - Windows (the sndPlaySoundW function from the Windows API): .wav.
    + - macOS (the Core Audio API): .aac, .adts, .ac3, .caf, .mp3, .m4a and .mp4 (with AAC or ALAC), .wav.
    + - Linux and other Unix-like systems: Double Commander can use the GStreamer library (primarily, libgstreamer-1.0.so.0) or the SDL2 library (libSDL2-2.0.so.0). GStreamer supports most popular audio formats, with SDL2 we can use only .wav. In Haiku, only SDL2 can be used. +
    from <FileOperations><Options>:
    Windows: if True, the attributes of the source file will be copied when copying/moving files; if False, the attributes of the source file will also be copied and Double Commander will set the "archive" attribute.
    Linux and others: use the Copy attributes option in the copy/move dialog window.
    @@ -204,7 +235,7 @@

    3. Options to change manually

    <CopyTime>
    from <FileOperations><Options>
    Windows: if True, the timestamps of the source file will be copied (creation date, modification date, last access date) when copying/moving files, otherwise, only the modification date will be copied and the current date will be used for others.
    Linux and others: use the Copy date/time option in the copy/move dialog window.
    @@ -213,7 +244,7 @@

    3. Options to change manually

    <CopyXattributes>
    from <FileOperations><Options>
    Copy filesystem extended attributes when copying/moving files or not.
    Windows: if True, compressed and encrypted attributes will also be copied.
    @@ -223,19 +254,20 @@

    3. Options to change manually

    from <FilesViews>:
    <ExtraLineSpan>
    from <FilesViews>
    - This setting allows to add some extra pixels to the height allowed for each element displayed in the file panels.
    The value is interpreted directly in pixels.
    Default value is 2.
    + This setting allows to add some extra pixels to the height allowed for each element displayed in the file panels. The value is interpreted directly in pixels.
    + Default value is 2.
    Example: <ExtraLineSpan>2</ExtraLineSpan>
    <FolderPrefix> and <FolderPostfix>
    from <FilesViews>
    By default DC shows square brackets around directory names (it's optional parameter in Files views > Files views extra), but we can use any symbols instead them.
    Note: In XML some special symbols are reserved as part of markup and we can not use them as is. There are five predefined entities: < should write as &lt;, > as &gt;, & as &amp;, ' as &apos; and " as &quot;. @@ -243,7 +275,7 @@

    3. Options to change manually

    <RenameConfirmMouse>
    from <FilesViews>
    This option changes the mouse click action when renaming a file under the cursor: if True, the mouse click outside the name edit field will confirm renaming the file (as in Windows Explorer), otherwise, the mouse click will work the same as the Esc key.
    False by default.
    @@ -252,7 +284,11 @@

    3. Options to change manually

    <AutoSaveWidth>
    from <FilesViews><ColumnsView>
    from <FilesViews><ColumnsView>:
    When we manually change the column width with the mouse help, by default DC changes it for both panels and saves a new value for the next launches.
    If we want to disable this behavior and use new value only in the current session, we should replace True with False, i.e. use <AutoSaveWidth>False</AutoSaveWidth>. @@ -260,13 +296,13 @@

    3. Options to change manually

    <LongInStatus>
    from <FilesViews><ColumnsView>
    If the columns view is set and there are no selected files, the status bar displays the file name under the cursor (True) or the number of files (False, by default).
    If True, the status bar will also show the number of files when the cursor is on the ".." item. For links, target objects will additionally be displayed.
    <TitleStyle>
    from <FilesViews><ColumnsView>
    Changes the look of tabstop headers bar.
    Default value depends on your OS.
    @@ -292,11 +328,11 @@

    3. Options to change manually

    - + - + - + + + + + + - + - + - + - + + + + + + + + + + + + +
    from many tags <Fonts>:
    <Quality>
    from many tags <Fonts>
    Determine what type of font rasterization that will be used. In other words, it determine the font quality.
    There are many tags where it's applicable individually.
    @@ -339,11 +375,16 @@

    3. Options to change manually

    from <History>:
    The MaxStringItems attribute allows to specify the maximum number of entries in the saved history. Default value is 50.
    Attribute Count
    from <History><DirHistory>
    The Count attribute allows to specify the number of entries from the list of visited directories that will be displayed in the popup menu (the cm_DirHistory command). Default value is 30.
    When using the Tree View Menu, the attribute value will be ignored. @@ -351,11 +392,11 @@

    3. Options to change manually

    from <Icons>:
    <CustomIcons>
    from <Icons>
    Windows only: this option will help to determine if the icons used for drives, folders or archives will be the default ones from the system or if it will be custom ones that we may set ourselves.
    The CustomIcons option will be set to a single number representing the sum of the numbers from the following table depending on what are our preferences:
    @@ -413,7 +454,7 @@

    3. Options to change manually

    <DiskAlpha>
    from <Icons>
    Option to set the transparency level of unmounted drive icons.
    @@ -434,21 +475,21 @@

    3. Options to change manually

    - + - + - + - + - + - + - + - + - + - + + + + + + - + - - + - - - - - + - + - + - + - + - + - + - + - +
    <ToolSize>
    from <Icons>
    Size of toolbar icons in the internal editor, viewer and differ tool, supported values: 16, 24 or 32.
    from <Layout>:
    <ShowColonAfterDrive>
    from <Layout>
    Windows only: show colon after letters of disks in the drives button bar and in the drives list. False by default.
    <UppercaseDriveLetter>
    from <Layout>
    Windows only: use uppercase letters in the drives button bar and in the drives list. False by default.
    Note: This option does not change drive letters in previously saved history and settings (favorites, buttons and so on). @@ -456,30 +497,35 @@

    3. Options to change manually

    from <Miscellaneous>:
    <DecimalSeparator>
    from <Miscellaneous>
    The option allows to specify the preferred decimal separator character (i.e. separator for integer and fractional parts of a number) instead of the value from your regional settings. We can specify any character from the ASCII table with a code from U+0000 to U+007F (the use of printable characters is implied, i.e. from U+0020 to U+007E).
    <DoubleClickEditPath>
    from <Miscellaneous>
    The option allows to choose the action of double-clicking on the the current directory bar: show directory hotlist (False, by default) or edit current path (True).
    <SystemItemProperties>
    from <Miscellaneous>
    Linux/FreeBSD: the True value allows to use the file properties dialog window of the file manager, which is specified as the default program in the desktop environment settings (if it possible), otherwise, Double Commander will use its own properties window. False by default.
    from <SyncDirs>:
    Attribute Save
    from <SyncDirs><Asymmetric>
    This setting allows to specify the preferred date and time format in the directory synchronization tool. Date and time formatting symbols are described here.
    Default value is yyyy.mm.dd hh:nn:ss.
    Synchronize directories: save or not asymmetric mode by default.
    If we want to save state of mode then <Asymmetric Save="True"> @@ -488,7 +534,7 @@

    3. Options to change manually

    Attribute Save
    from <SyncDirs><FileMask>
    Synchronize directories: by default, Double Commander saves the last used file mask as the mask for the next run of the synchronization tool (if it is not a search template), to disable this behavior, we can replace True with False (<FileMask Save="False">) and specify the preferred file mask or "*" (i.e. all files) in the <FileMask> value. @@ -496,31 +542,25 @@

    3. Options to change manually

    <DateTimeFormat>
    from <SyncDirs>
    This setting allows to specify the preferred date and time format in the directory synchronization tool. Date and time formatting symbols are described here.
    Default value is yyyy.mm.dd hh:nn:ss.
    from <Viewer>:
    <AutoCopy>
    from <Viewer>
    For the internal viewer, enables (True) or disables (False) automatic copying of the selected text to the clipboard. True by default.
    <ExtraLineSpan>
    from <Viewer>
    - For the internal viewer, this setting allows to add some extra pixels to the height allowed for each line.
    - The value is interpreted directly in pixels.
    + For the internal viewer, this setting allows to add some extra pixels to the height allowed for each line. The value is interpreted directly in pixels.
    Default value is 0.
    Example: <ExtraLineSpan>2</ExtraLineSpan>
    <ImageExifRotate>
    from <Viewer>
    Double Commander is able to recognize the EXIF metadata format that might be encoded into a JPEG image file.
    Inside that metadata, there is an orientation flag that may be used to display the picture into the same orientation as it was taken like if was in portrait, landscape, upside-down, mirror, etc.
    @@ -544,22 +584,21 @@

    3. Options to change manually

    <JpegQuality>
    from <Viewer>
    For the internal viewer, the quality value that Double Commander will use by default when saving to JPEG format (the commands Save and Save As...). 80 by default.
    <LeftMargin>
    from <Viewer>
    - For the internal viewer, this option allows to add space between the left border of the window and the text border.
    - The value is interpreted directly in pixels.
    + For the internal viewer, this option allows to add space between the left border of the window and the text border. The value is interpreted directly in pixels.
    Default value is 4.
    Example: <LeftMargin>4</LeftMargin>
    <MaxCodeSize>
    from <Viewer>
    For the internal viewer, limits the maximum file size for automatic choice of the code viewing mode (displaying text with syntax highlighting requires more resources than displaying plain text). The option value is ignored when we force the code viewing mode in the viewer window.
    The size is specified in megabytes, the default value is 128. @@ -567,7 +606,7 @@

    3. Options to change manually

    <MaxTextWidth>
    from <Viewer>
    For the internal viewer, configure the maximum number of characters to be displayed on one text line prior to wrap it up to the next one.
    The valid range goes from 80 to 16384 and default value is 1024.
    @@ -576,7 +615,7 @@

    3. Options to change manually

    <SynEditMask>
    from <Viewer>
    For the internal viewer, this option allows to manage the list of file extensions for code view mode (of course, within the available list). We can specify file masks (separated by semicolons ";" without spaces) that will automatically open in this mode instead of plain text, or the name of a search template to exclude. We can also disable automatic opening of files in this mode by setting an empty string. @@ -585,7 +624,7 @@

    3. Options to change manually

    <TabSpaces>
    from <Viewer>
    For the internal viewer, set the width of tab stops to use.
    The valid range goes from 1 to 32 and default value is 8.
    @@ -594,6 +633,69 @@

    3. Options to change manually

    + + +
    +

    4. Index

    + + + + + + +
    +

    + Attribute Count (<DirHistory>)
    + Attribute MaxStringItems (<History>)
    + Attribute Save (<Asymmetric>)
    + Attribute Save (<FileMask>)

    + ActiveRight
    + AutoCopy
    + AutoExtractOpenMask
    + AutoSaveWidth
    + ConfirmQuit
    + CopyAttributes
    + CopyTime
    + CopyXattributes
    + CustomIcons
    + DateTimeFormat +

    +
    +

    + DecimalSeparator
    + DefaultDropEffect
    + DiskAlpha
    + DoubleClickEditPath
    + ExtraLineSpan (<FilesViews>)
    + ExtraLineSpan (<Viewer>)
    + FindWordAtCursor
    + FolderPrefix and FolderPostfix
    + gBorderFrameWidth
    + ImageExifRotate
    + JpegQuality
    + LeftMargin
    + LongInStatus
    + LongNameAlert
    + MaxCodeSize +

    +
    +

    + MaxTextWidth
    + Mode
    + NtfsHourTimeDelay
    + Quality
    + RenameConfirmMouse
    + ShowColonAfterDrive
    + Sounds
    + SynEditMask
    + SystemItemProperties
    + TabSpaces
    + TitleStyle
    + ToolSize
    + UppercaseDriveLetter +

    +
    +
    diff --git a/doc/en/copymove.html b/doc/en/copymove.html index d2ef8758..dfd57ede 100644 --- a/doc/en/copymove.html +++ b/doc/en/copymove.html @@ -57,7 +57,7 @@

    1. Copy/move dialog window

    The list of the following parameters will vary depending on the type of file operation and operating system family.

      -
    • Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects (if the file system does not support direct input/output, the program will report the verification failure). Keep in mind, this function significantly reduces the speed of the operation. Not available in macOS.

    • +
    • Verify – If enabled, Double Commander will compare the source file and the copied file in the target directory: a byte-by-byte comparison (Windows) or BLAKE2 checksums (Linux and others). Double Commander will try to minimize the disk cache effects (if the file system does not support direct input/output, the program will report the verification failure). Keep in mind, this function significantly reduces the speed of the operation. In macOS, this feature is available experimentally.(Alpha version)

    • Check free space – Before copying the file, Double Commander will check if there is enough free disk space in the target directory.

    • Reserve space – If enabled, Double Commander will use pre-allocation of disk space, this will reduce the chances of file fragmentation. Also this is a faster way to create files. In Windows, Double Commander always reserves space. Does not work in Linux on partitions with FAT32 file system.

    • Follow links – If enabled, Double Commander will consider symbolic links to folders as regular folders and copy their contents; instead of file links, the target files of this links will be copied. The indeterminate checkbox state (three-state): the program will ask each time what it should do.

    • diff --git a/doc/en/doublecmd.css b/doc/en/doublecmd.css index 1bc43c7f..6d2c1a6f 100644 --- a/doc/en/doublecmd.css +++ b/doc/en/doublecmd.css @@ -90,7 +90,6 @@ td.categorycell { border: 1px #b0b0b0 solid; } td.categorydesc { border: 1px #b0b0b0 solid; } td.cmdcell { border: 1px #b0b0b0 solid; vertical-align: top; } - small.firstcolumnaleft { font-weight:normal } div.cmdname { @@ -133,6 +132,17 @@ div.categoryname { font-weight: bold; } +div.subsection { + text-align: left; + font-weight: bold; + text-decoration: underline; + margin-bottom: 5px; + margin-top: 5px; +} +td.subsection { + background-color: #ecf3f7; +} + body { font-size: 11pt; font-family: 'Arial', sans-serif; font-style: normal; font-weight: normal; color: #000000; text-decoration: none; background-color: #e6e8ea; } div.dchelpage { border-left: 1px solid black; border-right: 1px solid black; text-align: left; margin: auto; width: 895px; background-color: #fcfcfc; } diff --git a/doc/en/faq.html b/doc/en/faq.html index eeca37f5..ea52d890 100644 --- a/doc/en/faq.html +++ b/doc/en/faq.html @@ -177,7 +177,7 @@

      2. Issues related to GNU/Linux

      First, packages gvfs, gvfs-backends and gvfs-fuse should be installed. Keep in mind that some distributions have not packages gvfs-backends and gvfs-fuse, because they are part of package gvfs, or it can be several packages with names gvfs-backends-* or gvfs-*.

      -

      Now insert GVfs path in the address bar: click by right mouse button at address bar to edit it (or call internal command cm_EditPath).

      +

      Now insert GVfs path in the address bar: click by right mouse button at address bar to edit it (or call internal command cm_EditPath). Alternatively, you can use the internal command cm_MapNetworkDrive.(Alpha version)

      For example, access to

      • FTP: ftp://ftpuser@ftpserver
      • @@ -185,7 +185,7 @@

        2. Issues related to GNU/Linux

      • WebDAV: davs://servername

      For a list of supported protocols, see the GVfs documentation.

      -

      Well, for access to FTP (for SSH+SCP too) and SMB you can use default WFX plugins FTP and Samba.

      +

      Well, for access to FTP (for SSH+SCP too) you can use the FTP plugin.


      Q: Clicking on the tray icon displays a menu with "Restore" and "Exit" items instead of restoring the window (GTK2 only).

      diff --git a/doc/en/help.html b/doc/en/help.html index 0093c402..2c1f6933 100644 --- a/doc/en/help.html +++ b/doc/en/help.html @@ -59,8 +59,8 @@

      Content

      Selecting files
      Drag & drop
      Context menu
      -
      Quick search/filter
      Renaming files
      +
      Quick search/filter
      2.9. Status bar
      @@ -130,6 +130,7 @@

      2.1.1. "Files"

      Create Directory (internal command cm_MakeDir) – creates a new subdirectory in the current directory. The file name (without extension) or directory name under the cursor will be offered, this is useful for creating multiple directories with similar names. You can also create several subdirectories in one operation, just separate the subdrectories with the directory separator (in Unix/Linux system it will be "/" and in Windows it will be "\").

      Create Directory

      +

      The button with an arrow opens the history of the entered names. The button to the right of the input field allows to enable or disable auto-completion from the directory creation history.(Alpha version)

      If Extended syntax is enabled, the <[] template can be used to insert the current date/time: inside square brackets you can use date and time formatting characters and any characters allowed for filenames.

      Create Shortcut (Windows only) – Double Commander creates a shortcut (Microsoft Windows .lnk file) to the file under the cursor and places it in the folder opened in the opposite panel.

      @@ -182,7 +183,7 @@

      2.1.1. "Files"

      The action of the Configure button depends on the selected archiver:

      • packer plugins (WCX): opens the plugin's own settings window (if selected plugin supports this feature);

      • -
      • external archivers: opens a window with an input field for additional archiver parameters.

      • +
      • external archivers: opens a window with an input field for additional archiver parameters (when using the %S variable). Double Commander automatically saves the entered parameter string, the button with an arrow will open the list of previously saved ones (see description of AskHistory).(Alpha version)

      Also we can unpack files via Extract Files (internal command cm_ExtractFiles). The same dialog is called when you copy files from the archive.

      Unpack

      @@ -213,12 +214,14 @@

      2.1.1. "Files"

      Item Calculate check sum... (internal command cm_CheckSumCalc) is used to calculate the checksum to check files integrity. The following checksums are available: BLAKE2 (BLAKE2s, BLAKE2sp, BLAKE2b, BLAKE2bp), BLAKE3, CRC32, HAVAL, MD4, MD5, RIPEMD128, RIPEMD160, SFV, SHA, - SHA2 (digest sizes 224, 256, 384 or 512 bits), SHA3 (digest sizes 224, 256, 384 or 512 bits), Tiger/192.

      + SHA2 (digest sizes 224, 256, 384 or 512 bits), SHA3 (digest sizes 224, 256, 384 or 512 bits), Tiger/192, + XXH128(Alpha version) (XXH3 with 128 bit digest size).

      Calculate checksum

      Save checksum file(s) to: – line specifies name and path to the calculated checksum.

      Create separate checksum files for each file – if checksum calculates for multiple files, this option allows to create separate checksum files for each target file.

      +

      Create separate checksum file for each directory(Alpha version) – Double Commander will scan the selected folders or the folder under the cursor and create separate checksum files in each subdirectory. The program will not take into account the ignore list and the status of the Show system and hidden files option.

      +

      Open checksum file after job is completed – after the operation is completed, the checksum file will be opened in the file viewer.

      File format – allows to specify the line ending type and directory separator instead of the commonly used values in Windows (CRLF and "\") and Unix-like systems (LF and "/").

      -

      Choose your preferred checksum and – select algorithm which will calculate checksums.

      Item Verify Checksum... (internal command cm_CheckSumVerify) will start verification the list of checksums from the checksum file under the cursor. Also you can run this command by double mouse clicking on the checksum file (or using the Enter key).

      Double Commander can check files one by one: select the file, run this command, now enter its checksum (or paste from the clipboard) and select the algorithm.

      @@ -281,7 +284,7 @@

      2.1.3. "Commands"

      • Computer – contains a list of normal disks with a drive letter and devices that do not have a drive letter (for example, USB devices that are connected via the MTP protocol, i.e. smartphones, tablets or players). Windows only.

      • Linux – list of all Linux distributions that you added to WSL and their root file systems (Windows 10 and newer).

      • -
      • Network – used to access shared network resources (Windows only).

      • +
      • Network – used to access shared network resources (Windows) or network resources using Gio (Linux).

      • Recycle Bin – used to access files deleted to trash.

      (The list is sorted alphabetically and depends on the language settings of the system and the program.)

      @@ -563,6 +566,14 @@

      2.8. File Panels

      Keep in mind that not all file operations will work in every case. For example, if some archive format does not support deleting files, Double Commander will hide the Delete menu item.


      +

      Renaming files

      +

      Double Commander allows to rename files directly in the file panel. There are several ways to call this operation: the internal command cm_RenameOnly (F2 or Shift+F6 by default), the left mouse click or the corresponding item in the right mouse button menu.

      +

      By default, Double Commander will select the file name completely, but you can enable file name selecting without an extension. Also, repeated hotkey presses allow to select the file name in parts, the following characters are used as a separator: space, hyphen underscore and period. Folder names are always selected completely.

      +

      To confirm the change in the name, use the Enter key or the rename confirmation button to the right of the edit field. To cancel unconfirmed changes (to exit editing mode), use the Esc key or the mouse click outside the edit field. You can use a mouse click outside the edit field to confirm the renaming (as in Windows Explorer), see the description of <RenameConfirmMouse>.

      +

      Using the up and down arrows, you can rename several files sequentially: the new file name will be automatically saved when you go to edit the name of the next or previous file. To exit this mode, use the methods described above to confirm or cancel the operation.(Alpha version)

      +

      For group renaming files, the appropriate tool is available.

      +
      +

      Quick search/filter

      When using the quick search/filter tool, its panel is displayed at the bottom of the file panel. Quick search is used to search through the current contents of the file panel: the cursor will be moved to the nearest matching file and when using the up arrow and down arrow keys, the program will move the cursor in a circle only over files whose names match the conditions. Quick filter will hide all file names that do not match the conditions (to reset the filter, use the Esc key or the "X" button).

      Quick search/filter panel

      @@ -578,13 +589,6 @@

      2.8. File Panels

      Double Commander supports pinyin (the pinyin.tbl file in the program directory will be used).

      You can set the way of call the quick search/filter panel in the Keys settings section, or use the cm_QuickSearch and cm_QuickFilter commands.

      All parameters that have been changed in the quick search panel will be kept for the next quick search/filter call (before closing the program), you can change it and the default values in the Quick search/filter settings section.

      -
      - -

      Renaming files

      -

      Double Commander allows to rename files directly in the file panel. There are several ways to call this operation: the internal command cm_RenameOnly (F2 or Shift+F6 by default), the left mouse click or the corresponding item in the right mouse button menu.

      -

      By default, Double Commander will select the file name completely, but you can enable file name selecting without an extension. Also, repeated hotkey presses allow to select the file name in parts, the following characters are used as a separator: space, hyphen underscore and period. Folder names are always selected completely.

      -

      To confirm the change in the name, use the Enter key or the rename confirmation button to the right of the edit field. To cancel unconfirmed changes (to exit editing mode), use the Esc key or the mouse click outside the edit field. You can use a mouse click outside the edit field to confirm the renaming (as in Windows Explorer), see the description of RenameConfirmMouse.

      -

      For group renaming files, the appropriate tool is available.

      diff --git a/doc/en/images/imgDC/archiveimg3.png b/doc/en/images/imgDC/archiveimg3.png index 84840a6f..13c4ff44 100644 Binary files a/doc/en/images/imgDC/archiveimg3.png and b/doc/en/images/imgDC/archiveimg3.png differ diff --git a/doc/en/images/imgDC/archiveimg5.png b/doc/en/images/imgDC/archiveimg5.png index 2660bd14..99ceefe2 100644 Binary files a/doc/en/images/imgDC/archiveimg5.png and b/doc/en/images/imgDC/archiveimg5.png differ diff --git a/doc/en/images/imgDC/copymove1.png b/doc/en/images/imgDC/copymove1.png index 806468a4..381e36f9 100644 Binary files a/doc/en/images/imgDC/copymove1.png and b/doc/en/images/imgDC/copymove1.png differ diff --git a/doc/en/images/imgDC/pic26.png b/doc/en/images/imgDC/pic26.png index fdc6ac44..48ec6abd 100644 Binary files a/doc/en/images/imgDC/pic26.png and b/doc/en/images/imgDC/pic26.png differ diff --git a/doc/en/images/imgDC/pic55.png b/doc/en/images/imgDC/pic55.png index 90d3aa52..61f3c36e 100644 Binary files a/doc/en/images/imgDC/pic55.png and b/doc/en/images/imgDC/pic55.png differ diff --git a/doc/en/lua.html b/doc/en/lua.html index f8e812d1..13fbce0d 100644 --- a/doc/en/lua.html +++ b/doc/en/lua.html @@ -185,6 +185,35 @@

      3.1. DC library

      We may provide as many Param... as command may support.

    DC.GoToFile(Alpha version)
    +

    DC.GoToFile(sFileName, bActive)

    +

    Opens the directory where sFileName is located and places the cursor on sFileName. To open a directory, use cm_ChangeDir or try to add the directory separator and ".." (without quotes) to sFileName.

    +

    bActive is an optional parameter: function can work in the active file panel (true) or inactive one (false). true by default.

    +
    DC.GetPluginField(Alpha version)
    +

    Result = DC.GetPluginField(sFileName, sPlugin, iField, iUnit)

    +

    Allows to get data using the installed content plugin (WDX):

    +
      +
    • sFileName : The full (absolute) filename.
    • +
    • sPlugin : The plugin name, as it is saved in the corresponding settings section.
    • +
    • iField : The plugin field index (counting from 0).
    • +
    • iUnit : The unit index (counting from 0); specify 0 if it does not exist.
    • +
    • Result : The return value: signed number (including time in Unix format), floating point number, boolean value, text string or nil.
    • +
    +
    DC.ExpandVar(Alpha version)
    +

    sResult = DC.ExpandVar(String)

    +

    Returns a string in which all variables are replaced with their values (excluding environment variables, use SysUtils.ExpandEnv for them).

    +

    In addition to internal commands, in scripts we can use the special command cm_ExecuteToolBarItem, this command allows to call toolbar buttons by their identifier (in the program, this function provides the use of hotkeys for toolbar buttons). The command is used similarly to ordinary internal commands (see examples below) and has the following parameters:

    @@ -354,6 +383,14 @@

    3.2. System library

    Returns true if sDirectory already exist or was created successfully. If it failed to create any of the parts, false is returned.

    + + + + + + + + + + + + + + + + - - + + - +
    +

    bResult = SysUtils.RemoveDirectory(sDirectory)

    +

    Will delete the directory with the name sDirectory. Returns true if successful, false otherwise.

    +

    Unlike os.remove, this function does not return a description in case of an error, but it can delete non-empty directories.

    +
    @@ -480,6 +517,14 @@

    3.2. System library

    sSeparator and iMaskOptions (see above) are optional parameters.

    SysUtils.ExpandEnv(Alpha version)
    +

    sResult = SysUtils.ExpandEnv(String, bSpecial)

    +

    Returns a string in which all environment variables are replaced with their values for the current user.

    +

    bSpecial is an optional parameter: if true, pseudo environment variables will also be expanded (see details here). false by default.

    +
    @@ -487,6 +532,35 @@

    3.2. System library

    Will return a filename to use as a temporary filename (in the system directory for the temporary files), similar to the os.tmpname function, but the file will be created in a subdirectory that is automatically deleted when Double Commander is closed.
    If the function could not create a unique name, it will return an empty string.

    +

    Result = SysUtils.GetFileProperty(sFileName, iValue)

    +

    Returns the file property corresponding to iValue:

    + + + + + + + + + + + + +
    ValueDescription
    0File size in bytes
    1String of attributes as in the file panel (for a detailed description of the string value, see here)
    2Group of the file owner
    3Owner of the file
    4Modification date
    5Creation date
    6Last access date
    7Status change date
    8File type (as in Windows Explorer or MIME-type)
    9Description (comment) from descript.ion (see details here)
    +

    Returns a number (file size, timestamps) or a string (in other cases). In case of failure, function returns nil.

    +
    SysUtils.FileSetTime(Alpha version)
    +

    bResult = SysUtils.FileSetTime(sFileName, iModification, iCreation, iLastAccess)

    +

    Allows to set timestamps (Unix time format) for sFileName: modification date, creation date and last access date. Specify zero for those timestamps that should be ignored.

    +

    Returns true if successful, false otherwise.

    +
    @@ -1265,6 +1339,9 @@

    4. Index

    DC.CurrentPanel
    DC.ExecuteCommand
    + DC.ExpandVar
    + DC.GetPluginField
    + DC.GoToFile
    DC.LogWrite


    @@ -1274,6 +1351,7 @@

    4. Index

    SysUtils.CreateHardLink
    SysUtils.CreateSymbolicLink
    SysUtils.DirectoryExists
    + SysUtils.ExpandEnv
    SysUtils.ExtractFileDir
    SysUtils.ExtractFileDrive
    SysUtils.ExtractFileExt
    @@ -1281,10 +1359,12 @@

    4. Index

    SysUtils.ExtractFilePath
    SysUtils.FileExists
    SysUtils.FileGetAttr
    + SysUtils.FileSetTime
    SysUtils.FindClose
    SysUtils.FindFirst
    SysUtils.FindNext
    SysUtils.GetAbsolutePath
    + SysUtils.GetFileProperty
    SysUtils.GetRelativePath
    SysUtils.GetTempName
    SysUtils.GetTickCount
    @@ -1292,6 +1372,7 @@

    4. Index

    SysUtils.MatchesMaskList
    SysUtils.PathDelim
    SysUtils.ReadSymbolicLink
    + SysUtils.RemoveDirectory
    SysUtils.Sleep


    diff --git a/doc/en/multiarc.html b/doc/en/multiarc.html index 396b3793..66f6b29f 100644 --- a/doc/en/multiarc.html +++ b/doc/en/multiarc.html @@ -51,7 +51,8 @@

    Content

    4.11. Configuring the "Create self extracting archive" action
    4.12. Configuring the "ID's"
    4.13. Debugging
    -
    4.14. Menu of the "Other" button
    +
    4.14. Additional settings
    +
    4.15. Menu of the "Other" button
    5. Opening an archive file in an associated application
    @@ -115,7 +116,7 @@

    3. Working with external archivers

  • extract one file or a list of file from an archive file.
  • This will be done by doing Configuration Options Archiver as illustrated below:

    -

    Configuration > Archivers

    +

    Configuration > Archivers

    All settings are stored in the multiarc.ini file.

    Let's see in the following sections the versatile possibilities Double Commander offers us to properly integrate the usage of an external packer.

    @@ -135,7 +136,7 @@

    4.1. Adding a new external archiver


    We then need to indicate us a significant description for the archiver, the exact location where is the executable of the archiver and then associated file extension, without the period, to that archiver.

    If we have more than one possible, just add them with a single comma between each one, no space.

    -

    Add a new external archiver

    +

    Add a new external archiver

    Note: Double Commander supports double extensions (for example, "tar.gz", "tar.xz" and so on), they must be placed in the beginning of the list of extensions (i.e. "tar.gz" before "gz").

    @@ -157,11 +158,11 @@

    4.2. Variables to interface with external archiver

    %F
    The name of a single file to process.
    The archiver will be executed several times until all file names are exhausted.
    This variable should be used only if the destination archiver does not support filelists on the command line.
    %V
    The volume size (for multivolume archive)
    %W
    The password
    %E<errorlevel>
    Maximum acceptable command errorlevel.
    For example, %E2 indicates that errorlevels 0, 1 and 2 are acceptable.
    This variable may be specified in any place of command.
    If it is absent, only errorlevel 0 is considered as successful.
    %O<modifier>
    By default, multiarc convert archiver output from OEM encoding to UTF-8.
    Use this to override encoding. See below the possible encoding modifiers.
    Can be used with "List" action only.
    %E<errorlevel>
    Maximum acceptable command errorlevel.
    For example, %E2 indicates that errorlevels 0, 1 and 2 are acceptable.
    This variable may be specified in any place of command.
    If it is absent, only errorlevel 0 is considered as successful.
    %O<modifier>
    By default, Double Commander convert archiver output from OEM encoding to UTF-8.
    Use this to override encoding. See below the possible encoding modifiers.
    Can be used with "List" action only.
    %R
    Target subdirectory IN archive
    {}
    If some variable is enclosed in braces - it'll be added only if this variable will contain something non-empty
    %S
    Depends on modes, set in configuration dialog, MultiArc will ask user about additional command-line parameters should be passed in-place of %S
    %S
    The variable specifies the position for additional command line parameters that we can add in the file packaging dialog

    Don't worry, we'll give example later to better understand.

    @@ -173,13 +174,13 @@

    4.3. Variable modifiers with external archiver

    - + - - + +
    Variable modifiers
    Modifier letterWhat it stands for
    F
    include in FileList only files (can be used with %L and %l variables)
    F
    include in FileList only files (can be used with %L and %l variables)
    Q
    quote names with spaces
    q
    quote all names
    W
    use name only, without path
    P
    use path only, without name
    A
    use the ANSI system encoding in Windows or the default system encoding in Unix-like systems (in GNU/Linux distributions it is usually UTF-8); can be used with %L and %O variables
    U
    use UTF-8 encoding; can be used with %L and %O variables
    A
    use the ANSI system encoding in Windows or the default system encoding in Unix-like systems (in GNU/Linux distributions it is usually UTF-8); can be used with %L and %O variables
    U
    use UTF-8 encoding; can be used with %L and %O variables

    Again don't worry, we'll have example later on.

    @@ -202,9 +203,9 @@

    4.4. Configuring the "List" action

    Action: List

    We wrote %P v %AQ using the variable mentioned earlier with the Variable and Variable Modifier.

      -
    • %P will be substituted by our executable written earlier, so "E:\Program Files\WinRAR\Rar.exe".
    • -
    • v will remain as is and is the "v" command or the "rar.exe" external archiver to view list of files.
    • -
    • %A is the name of the archive, we add to it the Q to indicate we want Double Commander to quote the name if there is space in it.
    • +
    • %P will be substituted by our executable written earlier, so "E:\Program Files\WinRAR\Rar.exe".
    • +
    • v will remain as is and is the "v" command or the "rar.exe" external archiver to view list of files.
    • +
    • %A is the name of the archive, we add to it the "Q" to indicate we want Double Commander to quote the name if there is space in it.

    So all this is to invoke the external archiver with proper parameters.

    This will be use when we use the internal command cm_OpenArchive.

    @@ -229,7 +230,7 @@

    4.5.1. Delimiting the area to analyse

    Because we have dashed line before and after, it's pretty easy to set these two parameters with the dashed lines:

    Action: Listing start/finish

    In the eventuality that an external archive would immediately output bar data with no extra lines, simply let the two fields empty.

    -

    The caret ("^") is a there to indicate that the magic string needs absolutely to start the line, with nothing else.

    +

    The caret ("^") is a there to indicate that the magic string needs absolutely to start the line, with nothing else. Otherwise, the text can be located anywhere in the line.

    If it would not be possible to be sure it starts the line, like for example if the external archiver would start the line with the date and time, and then a constant string, we would set the magic string to be the constant string but we would not add the caret which instruct to Double Commander that the string to search might be anywhere.

    If the "Listing finish" string might be confused with a filename, it could stop processing the content of the archive too early.

    That's why, when possible, it's good to specify that the string must start the line.

    @@ -290,6 +291,7 @@

    4.5.4. Example with standard syntax

  • the date and times letters for the date and time of files;
  • series of "n", more than enough, for where is the actual filenames.
  • +

    And all we still need to do is exclude 4 spaces at the beginning of the line, replacing them with "????".

    So configured that way, if we select our previous "just.rar" archive into a panel, we press Enter to get into it like it would be a directory, we see the file content showing us what we did "basically" worked (if we ignore the last file...):

    View archive: example with standard syntax

    @@ -311,7 +313,7 @@

    4.5.5. Advanced syntax for parsing

    p+
    use all digits up to first non-digit character for the packed size
    $
    skip all spaces/tabstops until next character or end of line
    \
    data continues on next line (maximum 2 lines supported)
    x
    exactly 1 space, if there is a different character at this position, ignore the whole line
    x
    exactly 1 space; if there is a different character at this position, ignore the whole line
    z=1024
    unpacked size multiplied with given value (here: 1024)
    p=1024
    packed size multiplied with given value (here: 1024)
    @@ -505,7 +507,33 @@

    4.13. Debugging

    -

    4.14. Menu of the "Other" button

    +

    4.14. Additional settings

    +

    Several parameters that can be added or changed manually in the multiarc.ini configuration file directly or by exporting/importing archiver settings.

    +
    + +

    AskHistory0 ... AskHistory50

    +

    The values store additional archiver parameters that we have added in the file packaging dialog. We can manually change them, add new ones or delete unnecessary ones.

    +

    This is a convenient way to store several sets of parameters that are more suitable for different groups of files and tasks.

    +
    + +

    FallBackArchivers

    +

    Allows to specify several executable files of archivers separated by commas (full file names or names without path). If the executable file from the "Archiver" field is not found, the application will use the first one found from the FallBackArchivers value. +

    For an example, see using 7-Zip in multiarc.ini in the "default" folder.

    +
    + +

    IgnoreString0 ... IgnoreString50

    +

    This is a way to specify lines that Double Commander should ignore when parsing the archiver output.

    +

    If the value starts with the caret symbol ("^"), the text must be in the beginning of the ignored lines. Otherwise, the text can be located anywhere in the line.

    +
    + +

    SizeStripChars

    +

    It's rare, but the archiver can display file sizes with digit grouping (for example, "12,345" or "12 345" instead of "12345"). SizeStripChars allows to specify the character that should be removed.

    +

    If we need to specify several characters (for example, the value may depend on the regional settings of the operating system), they must be listed without a separator.

    + +
    + +
    +

    4.15. Menu of the "Other" button

    This menu contains several additional functions:

    • Auto Configure – Double Commander will check all executable files of archivers: if a file is found, the program will automatically add its full path and enable the archiver, otherwise the archiver will be disabled.

    • @@ -524,7 +552,7 @@

      5. Opening an archive file in an associated applic

      We can just remove the extension from the settings, but in this case the commands cm_OpenArchive and cm_ExtractFiles will become unavailable. Another way:

      • If a WCX plugin is used, then we can open the plugin settings, select the extension and enable the "Show as normal files (hide packer icon)" flag.

      • -
      • If an external archiver is used to unpack files, then we can fill in the fields for using ID and not specify the file extension.

      • +
      • If an external archiver is used to unpack files, then we can use the "Show as normal files" option(Alpha version) or we can fill in the fields for using ID and not specify the file extension. The first method also allows to create new archives.

      For such files, Double Commander will use the associated icon instead of the generic archive icon.

      diff --git a/doc/en/plugins.html b/doc/en/plugins.html index ccec9022..9362bef3 100644 --- a/doc/en/plugins.html +++ b/doc/en/plugins.html @@ -48,7 +48,6 @@

      Content

      3.1. FTP
      -
      3.2. Samba
      4. Lister plugins (WLX)
      @@ -167,11 +166,6 @@

      3. File system plugins (WFX)

      The libssh library: the FTP plugin will use libssh2.dll (Windows), libssh2.dylib (macOS) or libssh2.so.1 (Linux and other Unix-like OS).

      The distributions of Double Commander for Windows contain this library, in other cases, we can use the usual ways to get libraries in the operating system (for example, package libssh2-1 in Debian/Ubuntu, libssh2 in Arch Linux, libssh2 in macOS (Homebrew)).

      Plugin allows to use an SSH authentication agent (for example, ssh-agent from the OpenSSH utility suite, Pageant from PuTTY).

      -
      - -

      Samba

      -

      This is a file system plugin for working with network directories (SMB/CIFS).

      -

      Linux only.

    diff --git a/doc/en/shortcuts.html b/doc/en/shortcuts.html index a7685a6b..def3a801 100644 --- a/doc/en/shortcuts.html +++ b/doc/en/shortcuts.html @@ -106,7 +106,11 @@

    2. Main window

    F8, Del
    Delete selected files/foldersDelete selected files/folders to trash (recycle bin)
    Shift+F8, Shift+Del
    Delete selected files/folders permanently
    F9
    Ctrl+H
    Invoke directory history drop-down menu
    Ctrl+K
    Map network drive (see cm_MapNetworkDrive)(Alpha version)
    Ctrl+L
    Calculate occupied space (for selected items)
    alphanumeric keys
    The action depends on the settings
    Up/down arrows
    1. Renaming a file: sequential renaming of files.(Alpha version)
    + 2. In other cases: the usual step-by-step navigation up/down the list of files.
    Left/right arrows←
    Go to upper directory or go to selected directory (if Lynx like movement enabled and only in the full mode).
    diff --git a/doc/en/syncdirs.html b/doc/en/syncdirs.html index cc1152b1..78d23986 100644 --- a/doc/en/syncdirs.html +++ b/doc/en/syncdirs.html @@ -45,10 +45,11 @@

    2. Directory synchronization tool window

    In the top of the window there are fields with the current directories of the left and right file panels. We can change them manually or by using the button to choose a directory.

    Between them there is a field for filtering files by mask (symbol "*" means match any number of characters, symbol "?" means any one character). Files that do not match the mask will be ignored. We may put multiple file types here using a semicolon ";" without spaces between them. Also we can use search templates (Template...), including search with content plugins. The default value is "*" (all files).

    The button with an arrow opens the list of the used file masks (keep in mind that Double Commander saves a general history of file masks for several tools: find files, directory synchronization, archive unpacking, commands for selecting a group of files). By default, Double Commander saves (regardless of the state of the File mask history option) the last used file mask as the default mask for the next run of the synchronization tool (if it is not a search template), see Additional settings.

    -

    Compare – starts comparing the chosen directories. The progress of the compare operation is displayed in the status bar. If necessary, the operation can be interrupted with the Esc key.

    +

    To exclude directories and symbolic links to directories, we can use the search template and the Exclude subdirectories field: we can specify folder names and relative or absolute paths.

    +

    Compare – starts comparing the chosen directories. If necessary, the operation can be interrupted with the Esc key.

    Parameters:

      -
    • only selected (in main window) – If enabled, only files and directories that have been selected in the file panel will be compared.

    • +
    • only selected (in main window) – If enabled, only files and directories that have been selected in the file panel will be compared. It is enough to select files and directories only in one file panel.

    • asymmetric – This option is meant to create a backup: a copy of the contents of the left panel should be created in the right panel. Files that do not exist on the left side will be marked for deletion on the right side. Not available if a delete operation is not possible in the directory on the right (for example, it is an archive and its format does not support modification, or it is a CD/DVD).

    • Subdirs – allows recursive file search: Double Commander will check the contents of all subdirectories.

    • by content – If enabled, files with the same size and date will be compared by content (a byte-by-byte comparison). Not available if the second directory is in a virtual file system.

    • diff --git a/doc/en/viewer.html b/doc/en/viewer.html index 3b1d6f01..b45f413f 100644 --- a/doc/en/viewer.html +++ b/doc/en/viewer.html @@ -61,6 +61,7 @@

      1. Introduction

      Double Commander supports Windows Imaging Component (Windows Vista and newer): the Windows Imaging Component (WIC) provides an extensible framework for working with images. WIC includes several built-in codecs (BMP, DDS, GIF, ICO, JPEG, JPEG XR, PNG and TIFF), additionally available external codecs for free and proprietary RAW image formats, HEIF/HEIC, WebP. Double Commander will skip codecs for BMP, GIF, ICO, JPEG, PNG and TIFF, because these formats are already supported.

      The built-in viewer supports saving to the following image formats: BMP, ICO, JPEG (we can choose the quality from 1 to 100; 80 by default, see <JpegQuality>), PNG (Double Commander will use the same color depth as in the original image) and PNM (Double Commander will use binary formats, the color depth will be set automatically: 1, 8 or 24 bits per pixel).

      Note: When modifying an image, we must save all changes with the Save or Save As commands: Double Commander does not check the status of the file (changed or not) when closing the viewer window or when switching to another file.

      +

      For folders, the viewer will display the full name of the directory under the cursor, the number of subdirectories, files, and their total size (the result is similar to the action of the Calculate Occupied Space command).(Alpha version)

      We can assign or change hotkeys for commands available in the viewer in the Keys > Hot Keys settings section (switch to the Viewer category). Hotkeys can be set separately for text mode and image viewing mode.

      diff --git a/doc/ru/cmds.html b/doc/ru/cmds.html index a7f422e1..18f98abe 100644 --- a/doc/ru/cmds.html +++ b/doc/ru/cmds.html @@ -1108,6 +1108,18 @@

      2.6. Сеть

    Только Windows: копировать в буфер имена с UNC-путём.
    cm_MapNetworkDrive +
    cm_MapNetworkDrive(Альфа-версия)
    +
    Ctrl+K
    Команда позволяет подключить сетевые устройства, поведение зависит от операционной системы: +
      +
    • Windows: вызывает системный диалог Windows для подключения сетевых дисков.
    • +
    • macOS: аналогично команде "Подключение к серверу" в Finder.
    • +
    • Linux и другие Unix-подобные системы: Double Commander предложит указать путь: вы можете использовать пути GVfs (подробнее смотрите в FAQ) или указать локальный каталог. Таким образом, по результату работы эта команда схожа с командой cm_EditPath.
    • +
    +
    diff --git a/doc/ru/configuration.html b/doc/ru/configuration.html index cbe349eb..3ee98b85 100644 --- a/doc/ru/configuration.html +++ b/doc/ru/configuration.html @@ -499,7 +499,7 @@

    2. Настройки

    Первый параметр в группе Форматирование – Формат даты и времени. Вы можете выбрать один из существующих шаблонов из выпадающего списка или задать собственный, используя символы форматирования даты и времени.

    -

    Символы форматирования представлены ниже (на основе документации Free Pascal). Некоторые значения зависят от ваших региональных настроек!

    +

    Символы форматирования представлены ниже (на основе документации Free Pascal). Некоторые значения зависят от региональных настроек операционной системы!

    Как пример мы будем использовать 2021.01.24 09:06:02 (то есть yyyy.mm.dd hh:mm:ss) и регион Россия.

    @@ -636,7 +636,7 @@

    2. Настройки

  • GETFILEOWNER – владелец файла.

  • GETFILELINKTO – путь и файл, на который указывает символьная ссылка.

  • GETFILETYPE – тип файла (как в Проводнике Windows или MIME-тип).

  • -
  • GETFILECOMMENT – описание (комментарий) файла или каталога из файла descript.ion (подробнее смотрите здесь).

  • +
  • GETFILECOMMENT – описание (комментарий) файла или каталога из файла descript.ion (подробнее смотрите здесь). Это поле также можно использовать внутри архивов (если формат архивов поддерживает сохранение описания файлов и соответствующий внешний архиватор настроен на их получение).

  • GETFILECOMPRESSEDSIZE – размер сжатого файла (реальный размер, если используется сжатие NTFS).

  • Переместить – позволяет перемещать строки, для появления кнопок нужно дважды щёлкнуть мышью в поле. Чем выше строка, тем левее будет отображаться эта колонка.

    @@ -868,8 +868,8 @@

    2. Настройки

  • Историю командной строки – Команды, использованные в командной строке.

  • Историю масок файлов – Double Commander сохраняет общую историю использованных масок файлов для нескольких инструментов: поиск файлов, фильтры в синхронизации каталогов и распаковке архивов, команды выделения группы файлов и снятия выделения.

  • -

    Максимальное количество записей в истории ограничено 50.

    -

    Примечание об истории посещённых каталогов: В течении сессии Double Commander хранит в памяти до 255 посещённых каталогов (тем не менее при закрытии программы будут сохранены только последние 50 записей). Вы можете изменить количество записей истории во всплывающем меню при вызове команды cm_DirHistory (по умолчанию 30, смотрите атрибут Count в теге <DirHistory>), однако при использовании древовидного меню будет показана вся доступная история.

    +

    Максимальное количество записей в истории по умолчанию ограничено 50 (смотрите атрибут MaxStringItems в теге <History>).

    +

    Примечание об истории посещённых каталогов: В течении сессии Double Commander хранит в памяти до 255 посещённых каталогов, тем не менее при закрытии программы количество сохраняемых записей будет ограничено значением MaxStringItems. Вы можете изменить количество записей истории во всплывающем меню при вызове команды cm_DirHistory (по умолчанию 30, смотрите атрибут Count в теге <DirHistory>), однако при использовании древовидного меню будет показана вся доступная история.

    Примечание: Шаблоны поиска не относятся к истории и сохраняются отдельно (в файле конфигурации doublecmd.xml). Для управления списком шаблонов вы можете использовать инструмент поиска файлов.

    Вы можете выбрать, как будет выглядеть список разделов настроек:

    Действия "View" с макросом {!DC-VIEWER} будут учитываться при быстром просмотре, другие макросы и команды будут проигнорированы.

    {!TERMSTAYOPEN} и {!TERMANDCLOSE} были добавлены для унификации и возможности использовать переменные %t0 и %t1, {!SHELL} был сохранён для обеспечения обратной совместимости.

    -

    В качестве команды можно использовать внутренние команды Double Commander. Параметры внутренних команд задаются по одному на строку, поэтому здесь вы можете указать только один. Также с помощью внутренней команды cm_ExecuteScript можно запускать скрипты Lua, в этом случае вы можете получить имена выделенных файлов с помощью cm_CopyFullNamesToClip или cm_SaveSelectionToFile.

    +

    В качестве команды можно использовать внутренние команды Double Commander. Параметры внутренних команд задаются по одному на строку, поэтому здесь вы можете указать только один. Также с помощью внутренней команды cm_ExecuteScript можно запускать скрипты Lua, в этом случае вы можете получить имена выделенных файлов с помощью внутренних команд (cm_CopyFullNamesToClip или cm_SaveSelectionToFile) или функции DC.ExpandVar(Альфа-версия).

    Параметры – параметры команды, включая переменные:

    - + + + + + - + - + - +
    Возможные символы
    ТегОписание
    <Mode>
    в <AutoRefresh>
    в <AutoRefresh>:
    Возможность удалить просматриваемые каталоги.
    "Просматриваемый каталог" – это каталог, на который Double Commander создаёт своего рода хук, поэтому может отслеживать любые изменения в нём.
    Таким образом, он может обновить отображаемое содержимое файловой панели, если оно изменилось.
    Этот параметр позволяет контролировать, как Double Commander будет реагировать на попытку удалить один из таких "просматриваемых каталогов" (даже в неактивной вкладке).
    @@ -94,11 +99,11 @@

    3. Параметры, изменяемые вручну

    в <Behaviours>:
    <ActiveRight>
    в <Behaviours>
    При запуске Double Commander активной будет правая панель.
    @@ -120,16 +125,16 @@

    3. Параметры, изменяемые вручну

    - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + - + - + - + - + - + - + - + + + + + - + - + - + - - + +
    <ConfirmQuit>
    в <Behaviours>
    Подтверждать закрытие Double Commander (True) или нет (False). По умолчанию False.
    в <Colors>:
    <gBorderFrameWidth>
    в <Colors>
    Мы можем настроить DC так, чтобы он рисовал рамку вокруг курсора. Параметр <gBorderFrameWidth> позволяет нам задать ширину линий.
    Чтобы включить курсор-рамку, мы должны перейти в Настройки > Параметры... > Цвета > Файловые панели и отметить параметр Курсор-рамка.
    @@ -138,20 +143,20 @@

    3. Параметры, изменяемые вручну

    в <Editor>:
    <FindWordAtCursor>
    в <Editor>
    Встроенный редактор и инструмент сравнения: если ничего не выделено, в диалоге поиска и замены будет использоваться слово под курсором (True) или текст из истории поиска (False). По умолчанию True.
    в <FileOperations>:
    <AutoExtractOpenMask>
    в <FileOperations>
    Предположим, мы "вошли" в сжатый файл в активной панели и просматриваем его содержимое. Файлы с расширением, заданным в этом параметре, при нажатии Enter или двойном щелчке мыши будут автоматически распакованы из архива и выполнены в соответствии с файловыми ассоциациями (вместо показа окна свойств).
    Пример: <AutoExtractOpenMask>*.txt;*.mp3;*.mp4</AutoExtractOpenMask> @@ -159,17 +164,17 @@

    3. Параметры, изменяемые вручну

    <DefaultDropEffect>
    в <FileOperations>
    Действие по умолчанию при перетаскивании файлов мышью: копирование (True) или перемещение (False) файлов. По умолчанию True.
    <LongNameAlert>
    в <FileOperations>
    Предупредить, если целевой путь длиннее максимальной длины для пути (некоторые программы не смогут получить доступ к файлу/каталогу с таким длинным именем). В Windows это значение (MAX_PATH) составляет 260 символов. По умолчанию True.
    <NtfsHourTimeDelay>
    в <FileOperations>
    При сравнении даты и времени игнорировать разницу во времени ровно один час (при использовании внутренних команд cm_CompareDirectories или cm_SyncDirs).
    @@ -193,7 +198,33 @@

    3. Параметры, изменяемые вручну

    <CopyAttributes>
    в <FileOperations><Options>
    <Sounds>(Альфа-версия)
    + Включает звуковые уведомления при завершении файловых операций. Возможное содержимое тега <Sounds> полностью:
    +
    +<Sounds Duration="10">
    +  <Copy>C:\Windows\Media\Alarm01.wav</Copy>
    +  <Move>C:\Windows\Media\Alarm01.wav</Move>
    +  <Wipe>C:\Windows\Media\Alarm01.wav</Wipe>
    +  <Delete>C:\Windows\Media\Alarm01.wav</Delete>
    +  <Split>C:\Windows\Media\Alarm01.wav</Split>
    +  <Combine>C:\Windows\Media\Alarm01.wav</Combine>
    +</Sounds>
    + Duration – минимальное время (в секундах), которое должна продолжаться файловая операция (0 – включено всегда, -1 отключает звуковые уведомления).
    + Файловые операции: копировать, переместить, стереть, удалить файлы, разрезать файл и собрать файлы. Если для какой-то операции не нужно звуковое оповещение, то просто уберите (или не добавляйте) соответствующую строку.Поддерживаются переменные окружения.
    + Поддерживаемые форматы аудио:
    + - Windows (функция sndPlaySoundW из Windows API): .wav.
    + - macOS (Core Audio API): .aac, .adts, .ac3, .caf, .mp3, .m4a и .mp4 (с AAC или ALAC), .wav.
    + - Linux и другие Unix-подобные системы: Double Commander может использовать библиотеку GStreamer (в первую очередь, libgstreamer-1.0.so.0) или библиотеку SDL2 (libSDL2-2.0.so.0). GStreamer поддерживает большинство популярных форматов аудио, с SDL2 мы можем использовать только .wav. В Haiku доступно использование только SDL2. +
    в <FileOperations><Options>:
    Windows: если True, при копировании/перемещении файлов будут скопированы атрибуты исходного файла; если False, также будут скопированы атрибуты исходного файла и Double Commander установит атрибут "архивный".
    Linux и другие: используйте параметр Копировать атрибуты в диалоговом окне копирования/перемещения.
    @@ -202,7 +233,7 @@

    3. Параметры, изменяемые вручну

    <CopyTime>
    в <FileOperations><Options>
    Windows: если True, при копировании/перемещении файлов будут скопированы отметки времени (дата создания, дата изменения, дата последнего доступа) исходного файла, в противном случае будет скопирована только дата модификации и использоваться текущая дата для остальных.
    Linux и другие: используйте параметр Копировать дату/время в диалоговом окне копирования/перемещения.
    @@ -211,7 +242,7 @@

    3. Параметры, изменяемые вручну

    <CopyXattributes>
    в <FileOperations><Options>
    Копировать расширенные атрибуты файловой системы при копировании/перемещении файлов или нет.
    Windows: Если True, также будут скопированы атрибуты сжатый и зашифрованный.
    @@ -221,19 +252,20 @@

    3. Параметры, изменяемые вручну

    в <FilesViews>:
    <ExtraLineSpan>
    в <FilesViews>
    - Параметр позволяет добавить несколько дополнительных пикселей по высоте для каждого элемента в файловых панелях.
    Значение задаётся непосредственно в пикселях.
    По умолчанию равно 2.
    + Параметр позволяет добавить несколько дополнительных пикселей по высоте для каждого элемента в файловых панелях. Значение задаётся непосредственно в пикселях.
    + По умолчанию равно 2.
    Пример: <ExtraLineSpan>2</ExtraLineSpan>
    <FolderPrefix> и <FolderPostfix>
    в <FilesViews>
    По умолчанию DC показывает квадратные скобки вокруг имён папок (это опциональный параметр в Список файлов > Список файлов (дополнительно)), но мы можем использовать вместо них любые символы.
    Примечание: В XML некоторые специальные символы зарезервированы как часть разметки и мы не можем использовать их как есть. Существует пять предопределённых сущностей: < должен быть записан как &lt;, > как &gt;, & как &amp;, ' как &apos; и " как &quot;. @@ -241,7 +273,7 @@

    3. Параметры, изменяемые вручну

    <RenameConfirmMouse>
    в <FilesViews>
    Параметр меняет действие щелчка мыши при переименовании файла под курсором: если True, щелчок мыши вне поля редактирования имени подтвердит переименование файла (как в Проводнике Windows), в противном случае щелчок мыши будет работать аналогично клавише Esc.
    По умолчанию False.
    @@ -250,7 +282,11 @@

    3. Параметры, изменяемые вручну

    <AutoSaveWidth>
    в <FilesViews><ColumnsView>
    в <FilesViews><ColumnsView>:
    Когда мы вручную с помощью мыши изменяем ширину колонки, по умолчанию DC применяет изменения для обеих панелей и сохраняет новое значение для последующих запусков.
    Если мы хотим отключить такое поведение и использовать изменения только в текущей сессии, то должны заменить True на False, т.е. использовать <AutoSaveWidth>False</AutoSaveWidth>. @@ -258,13 +294,13 @@

    3. Параметры, изменяемые вручну

    <LongInStatus>
    в <FilesViews><ColumnsView>
    Если выбран подробный вид и нет выделенных файлов, то в строке состояния отображается имя файла под курсором (True) или количество файлов (False, по умолчанию).
    Если True, строка состояния также будет показывать количество файлов, когда курсор находится на пункте "..". Для ссылок дополнительно будут отображаться целевые объекты.
    <TitleStyle>
    в <FilesViews><ColumnsView>
    Изменение вида панели заголовков колонок.
    Значение по умолчанию зависит от ОС.
    @@ -290,11 +326,11 @@

    3. Параметры, изменяемые вручну

    - + - + - + + + + + + - + - + - + - + + + + + + + + + + + + +
    во всех тегах <Fonts>:
    <Quality>
    во всех тегах <Fonts>
    Задаёт тип растеризации шрифта. Другими словами, определяет качество шрифта.
    Есть много тегов <Font>, можно менять не для всей программы, а индивидуально.
    @@ -337,11 +373,16 @@

    3. Параметры, изменяемые вручну

    в <History>:
    Атрибут MaxStringItems позволяет указать максимальное количество записей сохраняемой истории. По умолчанию 50.
    Атрибут Count
    в <History><DirHistory>
    Атрибут Count позволяет указать количество записей из списка посещённых каталогов, которые будут отображаться в выпадающем меню (команда cm_DirHistory). По умолчанию 30.
    При использовании древовидного меню значение атрибута будет проигнорировано. @@ -349,11 +390,11 @@

    3. Параметры, изменяемые вручну

    в <Icons>:
    <CustomIcons>
    в <Icons>
    Только Windows: параметр определяет, какие значки будут использоваться для дисков, папок и архивов.
    Задаётся как сумма следующих значений:
    @@ -411,7 +452,7 @@

    3. Параметры, изменяемые вручну

    <DiskAlpha>
    в <Icons>
    Задаёт уровень прозрачности для значков отмонтированных дисков.
    @@ -432,21 +473,21 @@

    3. Параметры, изменяемые вручну

    - + - + - + - + - + - + - + - + - + - + + + + + + - + - - + - - - - - + - + - + - + - + - + - + - + - +
    <ToolSize>
    в <Icons>
    Размер значков панели инструментов во встроенном редакторе, просмотрщике и инструменте сравнения, допустимые значения: 16, 24 или 32.
    в <Layout>:
    <ShowColonAfterDrive>
    в <Layout>
    Только Windows: показать двоеточие после букв дисков в панели кнопок дисков и в списке дисков. По умолчанию False.
    <UppercaseDriveLetter>
    в <Layout>
    Только Windows: использовать заглавные буквы в панели кнопок дисков и в списке дисков. По умолчанию False.
    Примечание: Параметр не меняет буквы дисков в ранее сохранённой истории и настройках (избранное, кнопки и так далее). @@ -454,30 +495,35 @@

    3. Параметры, изменяемые вручну

    в <Miscellaneous>:
    <DecimalSeparator>
    в <Miscellaneous>
    Параметр позволяет указать предпочитаемый символ десятичного разделителя (т.е. разделителя целой и дробной частей числа) вместо значения из ваших региональных настроек. Мы можем указать любой символ из таблицы ASCII с кодом от U+0000 до U+007F (подразумевается использование печатных символов, т.е. от U+0020 до U+007F).
    <DoubleClickEditPath>
    в <Miscellaneous>
    Параметр позволяет выбрать действие двойного щелчка по панели текущего пути: показать избранные каталоги (False, по умолчанию) или редактировать текущий путь (True).
    <SystemItemProperties>
    в <Miscellaneous>
    Linux/FreeBSD: значение True позволяет использовать диалоговое окно свойств файла файлового менеджера, который указан как программа по умолчанию в настройках среды рабочего стола (если это возможно), иначе Double Commander будет использовать собственное окно свойств. По умолчанию False.
    в <SyncDirs>:
    Атрибут Save
    в <SyncDirs><Asymmetric>
    Параметр позволяет указать предпочитаемый формат даты и времени в инструменте синхронизации каталогов. Символы форматирования даты и времени описаны здесь.
    Значение по умолчанию yyyy.mm.dd hh:nn:ss.
    Синхронизация каталогов: сохранять или нет асимметричный режим по умолчанию.
    Если мы хотим сохранять состояние режима, тогда <Asymmetric Save="True">, @@ -486,7 +532,7 @@

    3. Параметры, изменяемые вручну

    Атрибут Save
    в <SyncDirs><FileMask>
    Синхронизация каталогов: по умолчанию Double Commander сохраняет последнюю использованную маску файлов как маску для следующего запуска инструмента синхронизации (если это не шаблон поиска), чтобы запретить такое поведение, мы можем заменить True на False (<FileMask Save="False">) и указать в значении <FileMask> предпочитаемую маску файлов или "*" (т.е. все файлы). @@ -494,31 +540,25 @@

    3. Параметры, изменяемые вручну

    <DateTimeFormat>
    в <SyncDirs>
    Параметр позволяет указать предпочитаемый формат даты и времени в инструменте синхронизации каталогов. Символы форматирования даты и времени описаны здесь.
    Значение по умолчанию yyyy.mm.dd hh:nn:ss.
    в <Viewer>:
    <AutoCopy>
    в <Viewer>
    Встроенный просмотрщик: включает (True) или выключает (False) автоматическое копирование выделенного текста в буфер обмена. По умолчанию True.
    <ExtraLineSpan>
    в <Viewer>
    - Встроенный просмотрщик: параметр позволяет добавить несколько дополнительных пикселей по высоте для каждой строки.
    - Значение задаётся непосредственно в пикселях.
    + Встроенный просмотрщик: параметр позволяет добавить несколько дополнительных пикселей по высоте для каждой строки. Значение задаётся непосредственно в пикселях.
    По умолчанию 0.
    Пример: <ExtraLineSpan>2</ExtraLineSpan>
    <ImageExifRotate>
    в <Viewer>
    Double Commander способен распознавать формат метаданных EXIF, которые могут быть в файлах изображений JPEG.
    Среди метаданных есть флаг ориентации, который может быть использован для просмотра изображения в том положении, в котором оно было сделано: портрет, пейзаж, перевёрнутое, зеркальное и т.д.
    @@ -542,22 +582,21 @@

    3. Параметры, изменяемые вручну

    <JpegQuality>
    в <Viewer>
    Встроенный просмотрщик: значение качества, которое Double Commander будет использовать по умолчанию при сохранении в формат JPEG (команды Сохранить и Сохранить как...). По умолчанию 80.
    <LeftMargin>
    в <Viewer>
    - Встроенный просмотрщик: параметр позволяет добавить пространство между левой границей окна и границей текста.
    - Значение задаётся непосредственно в пикселях.
    + Встроенный просмотрщик: параметр позволяет добавить пространство между левой границей окна и границей текста. Значение задаётся непосредственно в пикселях.
    По умолчанию 4.
    Пример: <LeftMargin>4</LeftMargin>
    <MaxCodeSize>
    в <Viewer>
    Встроенный просмотрщик: ограничивает максимальный размер файла для автоматического выбора режима просмотра кода (отображение текста с подсветкой синтаксиса требует больше ресурсов, чем отображение простого текста). Значение параметра игнорируется, когда мы принудительно включаем режим просмотра кода в окне просмотрщика.
    Размер задаётся в мегабайтах, значение по умолчанию 128. @@ -565,7 +604,7 @@

    3. Параметры, изменяемые вручну

    <MaxTextWidth>
    в <Viewer>
    Встроенный просмотрщик: задать максимальное количество символов в одной строке до принудительного переноса на новую.
    Диапазон значений от 80 до 16384, по умолчанию 1024.
    @@ -574,7 +613,7 @@

    3. Параметры, изменяемые вручну

    <SynEditMask>
    в <Viewer>
    Встроенный просмотрщик: параметр позволяет управлять списком расширений файлов для режима просмотра кода (конечно, в пределах доступного списка). Мы можем указать маски файлов (через точку с запятой ";" без пробелов), которые автоматически будут открываться в этом режиме вместо обычного текста, или имя шаблона поиска для исключения. Также мы можем отключить автоматическое открытие файлов в этом режиме, задав пустую строку. @@ -583,7 +622,7 @@

    3. Параметры, изменяемые вручну

    <TabSpaces>
    в <Viewer>
    Встроенный просмотрщик: задать ширину табуляции.
    Диапазон значений от 1 до 32, по умолчанию 8.
    @@ -592,6 +631,69 @@

    3. Параметры, изменяемые вручну

    + + +
    +

    4. Индекс

    + + + + + + +
    +

    + Атрибут Count (<DirHistory>)
    + Атрибут MaxStringItems (<History>)
    + Атрибут Save (<Asymmetric>)
    + Атрибут Save (<FileMask>)

    + ActiveRight
    + AutoCopy
    + AutoExtractOpenMask
    + AutoSaveWidth
    + ConfirmQuit
    + CopyAttributes
    + CopyTime
    + CopyXattributes
    + CustomIcons
    + DateTimeFormat +

    +
    +

    + DecimalSeparator
    + DefaultDropEffect
    + DiskAlpha
    + DoubleClickEditPath
    + ExtraLineSpan (<FilesViews>)
    + ExtraLineSpan (<Viewer>)
    + FindWordAtCursor
    + FolderPrefix и FolderPostfix
    + gBorderFrameWidth
    + ImageExifRotate
    + JpegQuality
    + LeftMargin
    + LongInStatus
    + LongNameAlert
    + MaxCodeSize +

    +
    +

    + MaxTextWidth
    + Mode
    + NtfsHourTimeDelay
    + Quality
    + RenameConfirmMouse
    + ShowColonAfterDrive
    + Sounds
    + SynEditMask
    + SystemItemProperties
    + TabSpaces
    + TitleStyle
    + ToolSize
    + UppercaseDriveLetter +

    +
    +
    diff --git a/doc/ru/copymove.html b/doc/ru/copymove.html index bfceb047..a06ffd53 100644 --- a/doc/ru/copymove.html +++ b/doc/ru/copymove.html @@ -57,7 +57,7 @@

    1. Диалоговое окно копировани

    Список следующих параметров будет различаться в зависимости от типа файловой операции и семейства операционных систем.

    DC.GoToFile(Альфа-версия)
    +

    DC.GoToFile(sFileName, bActive)

    +

    Открывает каталог, в котором расположен sFileName, и ставит на sFileName курсор. Чтобы открыть каталог, используйте cm_ChangeDir или попробуйте добавить к sFileName разделитель каталогов и ".." (без кавычек).

    +

    bActive – это опциональный параметр: функция может работать в активной файловой панели (true) или неактивной (false). По умолчанию true.

    +
    DC.GetPluginField(Альфа-версия)
    +

    Result = DC.GetPluginField(sFileName, sPlugin, iField, iUnit)

    +

    Позволяет получить данные с помощью установленного информационного (или контентного) плагина (WDX):

    +
      +
    • sFileName : Полное (абсолютное) имя файла.
    • +
    • sPlugin : Имя плагина, как оно сохранено в соответствующем разделе настроек.
    • +
    • iField : Индекс поля плагина (отсчёт от 0).
    • +
    • iUnit : Индекс единицы измерения (отсчёт от 0); укажите 0, если отсутствует.
    • +
    • Result : Возвращаемое значение: целое число со знаком (включая время в формате Unix), число с плавающей запятой, логическое (булево) значение, текстовая строка или nil.
    • +
    +
    DC.ExpandVar(Альфа-версия)
    +

    sResult = DC.ExpandVar(String)

    +

    Возвращает строку, в которой все переменные заменены на их значения (исключая переменные окружения, для них используйте SysUtils.ExpandEnv).

    +

    Помимо внутренних команд, в скриптах мы можем использовать специальную команду cm_ExecuteToolBarItem, эта команда позволяет вызывать кнопки панелей инструментов по их идентификатору (в программе эта функция обеспечивает использование горячих клавиш для кнопок панелей инструментов). Команда используется аналогично обычным внутренним командам (смотрите примеры ниже) и имеет следующие параметры:

    @@ -348,6 +377,14 @@

    3.2. Библиотека System

    Возвращает true, если sDirectory уже существует или был успешно создан, или false, если не удалось создать какую-либо часть пути.

    + + + + + + + + + + + + + + + + - - + + - +
    SysUtils.RemoveDirectory(Альфа-версия)
    +

    bResult = SysUtils.RemoveDirectory(sDirectory)

    +

    Удалить каталог с именем sDirectory. Возвращает true в случае успеха, иначе возвращает false.

    +

    В отличие от os.remove, эта функция при ошибке не возвращает описание, но зато может удалять непустые каталоги.

    +
    @@ -474,6 +511,14 @@

    3.2. Библиотека System

    sSeparator и iMaskOptions (см. выше) – необязательные параметры.

    SysUtils.ExpandEnv(Альфа-версия)
    +

    sResult = SysUtils.ExpandEnv(String, bSpecial)

    +

    Возвращает строку, в которой все переменные окружения заменены на их значения для текущего пользователя.

    +

    bSpecial – это опциональный параметр: если true, то также будут раскрыты псевдопеременные окружения (подробнее смотрите здесь). По умолчанию false.

    +
    @@ -481,6 +526,35 @@

    3.2. Библиотека System

    Возвращает строку с именем файла, который может быть использован в качестве временного файла (в системном каталоге для временных файлов), подобно функции os.tmpname, но файл будет создан в подкаталоге, который автоматически удаляется при закрытии Double Commander.
    Если функции не удалось создать уникальное имя, то она вернёт пустую строку.

    SysUtils.GetFileProperty(Альфа-версия)
    +

    Result = SysUtils.GetFileProperty(sFileName, iValue)

    +

    Возвращает свойство файла, соответствующее iValue:

    + + + + + + + + + + + + +
    ЗначениеОписание
    0Размер файла в байтах
    1Строка атрибутов как в файловой панели (подробное описание строкового значения смотрите здесь)
    2Группа владельца файла
    3Владелец файла
    4Дата модификации
    5Дата создания
    6Дата последнего доступа
    7Дата изменения статуса
    8Тип файла (как в Проводнике Windows или MIME-тип)
    9Описание (комментарий) из descript.ion (подробнее смотрите здесь)
    +

    Возвращает число (размер файла, отметки времени) или строку (в остальных случаях). В случае неудачи функция возвращает nil.

    +
    SysUtils.FileSetTime(Альфа-версия)
    +

    bResult = SysUtils.FileSetTime(sFileName, iModification, iCreation, iLastAccess)

    +

    Позволяет задать отметки времени (время в формате Unix) для sFileName: дата модификации, дата создания и дата последнего доступа. Укажите ноль для тех отметок времени, которые должны быть проигнорированы.

    +

    Возвращает true в случае успеха, иначе возвращает false.

    +
    @@ -1256,6 +1330,9 @@

    4. Индекс

    DC.CurrentPanel
    DC.ExecuteCommand
    + DC.ExpandVar
    + DC.GetPluginField
    + DC.GoToFile
    DC.LogWrite


    @@ -1265,6 +1342,7 @@

    4. Индекс

    SysUtils.CreateHardLink
    SysUtils.CreateSymbolicLink
    SysUtils.DirectoryExists
    + SysUtils.ExpandEnv
    SysUtils.ExtractFileDir
    SysUtils.ExtractFileDrive
    SysUtils.ExtractFileExt
    @@ -1272,10 +1350,12 @@

    4. Индекс

    SysUtils.ExtractFilePath
    SysUtils.FileExists
    SysUtils.FileGetAttr
    + SysUtils.FileSetTime
    SysUtils.FindClose
    SysUtils.FindFirst
    SysUtils.FindNext
    SysUtils.GetAbsolutePath
    + SysUtils.GetFileProperty
    SysUtils.GetRelativePath
    SysUtils.GetTempName
    SysUtils.GetTickCount
    @@ -1283,6 +1363,7 @@

    4. Индекс

    SysUtils.MatchesMaskList
    SysUtils.PathDelim
    SysUtils.ReadSymbolicLink
    + SysUtils.RemoveDirectory
    SysUtils.Sleep


    diff --git a/doc/ru/multiarc.html b/doc/ru/multiarc.html index c7a5076f..05e7309a 100644 --- a/doc/ru/multiarc.html +++ b/doc/ru/multiarc.html @@ -51,7 +51,8 @@

    Содержание

    4.11. Настройка действия "Создать самораспаковывающийся архив"
    4.12. Использование ID
    4.13. Отладка
    -
    4.14. Меню кнопки "Другое"
    +
    4.14. Дополнительные настройки
    +
    4.15. Меню кнопки "Другое"
    5. Открытие файла архива в ассоциированном приложении
    @@ -115,7 +116,7 @@

    3. Работа с внешними архиватора
  • извлечь из архива один файл или список файлов.
  • Все эти действия будут сконфигурированы в окне настроек Double Commander в разделе "Архиваторы":

    -

    Настройки > Архиваторы

    +

    Настройки > Архиваторы

    Все настройки сохраняются в файл multiarc.ini.

    Давайте рассмотрим универсальные возможности, предлагаемые нам Double Commander для использования внешнего упаковщика.

    @@ -134,7 +135,7 @@

    4.1. Добавление нового внешнего

    Далее нам нужно добавить описание архиватора, путь к исполняемому файлу, а затем расширение файла, без точки.

    Если у нас более одного возможного расширения, просто перечисляем их через запятую, без пробела.

    -

    Добавить новый внешний архиватор

    +

    Добавить новый внешний архиватор

    Примечание: Double Commander поддерживает двойные расширения (например, "tar.gz", "tar.xz" и так далее), они должны размещаться в начале списка расширений (то есть "tar.gz" до "gz").

    @@ -155,11 +156,11 @@

    4.2. Переменные для команд внешн

    %F
    Имя одного файла для обработки.
    Архиватор будет вызван несколько раз, до тех пор, пока не будут обработаны все файлы.
    Эта переменная должна использоваться только в том случае, если архиватор не поддерживает работу со списком файлов в командной строке.
    %V
    Размер тома (для многотомного архива)
    %W
    Пароль
    %E<errorlevel>
    Максимальный допустимый код завершения (errorlevel, код выхода).
    Например, %E2 означает, что принимаются коды завершения 0, 1 и 2.
    Эта переменная может быть указана в любом месте команды.
    Если она не используется, то только код завершения 0 считается успешным.
    %O<модификатор>
    По умолчанию MultiArc конвертирует вывод архиватора из кодировки OEM (DOS) в UTF-8.
    Используйте её для переопределения кодировки, возможные модификаторы смотрите ниже.
    Может использоваться только с командой "Список".
    %E<errorlevel>
    Максимальный допустимый код завершения (errorlevel, код выхода).
    Например, %E2 означает, что принимаются коды завершения 0, 1 и 2.
    Эта переменная может быть указана в любом месте команды.
    Если она не используется, то только код завершения 0 считается успешным.
    %O<модификатор>
    По умолчанию Double Commander конвертирует вывод архиватора из кодировки OEM (DOS) в UTF-8.
    Используйте её для переопределения кодировки, возможные модификаторы смотрите ниже.
    Может использоваться только с командой "Список".
    %R
    Целевая поддиректория В архиве
    {}
    Если какая-то переменная заключена в фигурные скобки, то она будет добавлена только если эта переменная содержит что-либо, т.е. не пустая
    %S
    Зависит от режима, устанавливается в диалоге настройки, MultiArc будет запрашивать у пользователя дополнительные параметры командной строки, которые должны быть размещены на месте %S
    %S
    Переменная задаёт позицию для дополнительных параметров командной строки, которые мы можем добавить в диалоге упаковки файлов

    Не беспокойтесь, ниже мы покажем пример для лучшего понимания.

    @@ -171,13 +172,13 @@

    4.3. Модификаторы переменных

    Модификаторы переменных
    Буква модификатораЧто означает
    F
    включить в список только файлы (применимо к переменным %L и %l)
    F
    включить в список только файлы (применимо к переменным %L и %l)
    Q
    брать в кавычки имена с пробелами
    q
    брать в кавычки все имена
    W
    использовать только имя, без пути
    P
    использовать только путь, без имени
    A
    использовать системную кодировку ANSI в Windows или системную кодировку по умолчанию в Unix-подобных системах (в дистрибутивах GNU/Linux это обычно UTF-8); может использоваться с переменными %L и %O
    U
    использовать кодировку UTF-8; может использоваться с переменными %L и %O
    A
    использовать системную кодировку ANSI в Windows или системную кодировку по умолчанию в Unix-подобных системах (в дистрибутивах GNU/Linux это обычно UTF-8); может использоваться с переменными %L и %O
    U
    использовать кодировку UTF-8; может использоваться с переменными %L и %O

    И снова не волнуйтесь, пример будет ниже.

    @@ -200,9 +201,9 @@

    4.4. Настройка действия "Список"

    Действие: Список

    У нас получилось %P v %AQ:

      -
    • %P будет заменено нашим исполняемым файлом, то есть "E:\Program Files\WinRAR\Rar.exe".
    • -
    • v останется как есть, так как является командой архиватора "rar.exe" для просмотра списка файлов.
    • -
    • %A – это имя архива, мы добавляем к нему Q, чтобы указать Double Commander на необходимость взять имя в кавычки, если в нём есть пробелы.
    • +
    • %P будет заменено нашим исполняемым файлом, то есть "E:\Program Files\WinRAR\Rar.exe".
    • +
    • v останется как есть, так как является командой архиватора "rar.exe" для просмотра списка файлов.
    • +
    • %A – это имя архива, мы добавляем к нему "Q", чтобы указать Double Commander на необходимость взять имя в кавычки, если в нём есть пробелы.

    Таким образом, всё это для того, чтобы вызвать внешний архиватор с подходящими параметрами.

    Будет использовано при вызове внутренней команды cm_OpenArchive.

    @@ -226,7 +227,7 @@

    4.5.1. Разграничение области для а

    Поскольку у нас есть пунктирная линия до и после, довольно просто установить эти два параметра:

    Действие: Начало/конец списка

    В случае, если внешний архиватор выводит данные сразу же, без дополнительных строк, просто оставьте эти поля пустыми.

    -

    Символ карет ("^") указывает, что магическая строка располагается в самом начале строки и никак иначе.

    +

    Символ карет ("^") указывает, что магическая строка располагается в самом начале строки и никак иначе. В противном случае текст может располагаться в любом месте строки.

    Если магическая строка, останавливающая разбор данных, может быть спутана с именем файла, то Double Commander может прекратить анализ слишком рано, поэтому, когда возможно, полезно уточнить, что эта строка должна начинаться с самого начала строки.

    Есть смысл установить "Конец списка" как можно дальше, но сохраняя его функцию: лучше и безопаснее убедиться, что в будущем не будет путаницы.

    @@ -283,6 +284,7 @@

    4.5.4. Пример со стандартным с
  • буквы даты и времени соответствуют дате и времени файлов;
  • серия "n", с запасом, соответствует именам файлов.
  • +

    И нам осталось только исключить 4 пробела в начале строки, заменив их на "????".

    Теперь выделим наш архив "just.rar" в панели, нажмём Enter, чтобы войти в него как в каталог, и видим, что показ содержимое файла работает (за исключением последнего файла...):

    Просмотр архива: пример со стандартным синтаксисом

    @@ -303,7 +305,7 @@

    4.5.5. Расширенный синтаксис

    p+
    размер сжатого файла: использовать все цифры до первого нецифрового символа
    $
    пропустить все пробелы/табуляции до следующего символа или до конца строки
    \
    данные продолжаются на следующей строке (поддерживается максимум 2 строки)
    x
    в точности один пробел, если на этом месте находится другой символ, то вся строка игнорируется
    x
    в точности один пробел; если на этом месте находится другой символ, то вся строка игнорируется
    z=1024
    размер несжатого файла, умноженный на указанное значение (в данном случае: 1024)
    p=1024
    размер сжатого файла, умноженный на указанное значение (в данном случае: 1024)
    @@ -496,7 +498,33 @@

    4.13. Отладка

    -

    4.14. Меню кнопки "Другое"

    +

    4.14. Дополнительные настройки

    +

    Несколько параметров, которые можно добавить или изменить вручную в файле конфигурации multiarc.ini напрямую или с помощью экспорта/импорта настроек архиватора.

    +
    + +

    AskHistory0 ... AskHistory50

    +

    В значениях сохраняются дополнительные параметры архиватора, которые мы добавили в диалоге упаковки файлов. Мы можем вручную изменить их, добавить новые или удалить ненужные.

    +

    Это удобный способ хранить несколько наборов параметров, более подходящих для разных групп файлов и задач.

    +
    + +

    FallBackArchivers

    +

    Позволяет указать несколько исполняемых файлов архиваторов через запятую (полные имена файлов или имена без пути). Если исполняемый файл из поля "Архиватор" не найден, приложение будет использовать первый найденный из значения FallBackArchivers.

    +

    В качестве примера смотрите использование 7-Zip в multiarc.ini в папке "default".

    +
    + +

    IgnoreString0 ... IgnoreString50

    +

    Это способ указать строки, которые Double Commander должен игнорировать при разборе вывода архиватора.

    +

    Если значение начинается с символа карет ("^"), то текст должен быть в начале игнорируемых строк. В противном случае текст может располагаться в любом месте строки.

    +
    + +

    SizeStripChars

    +

    Это редкость, но архиватор может отображать размер файлов с группировкой цифр по разрядам (например, "12,345" или "12 345" вместо "12345"). SizeStripChars позволяет указать символ, который должен быть удалён.

    +

    Если нам необходимо указать несколько символов (например, значение может зависеть от региональных настроек операционной системы), то они должны быть перечислены без разделителя.

    + +
    + +
    +

    4.15. Меню кнопки "Другое"

    Это меню содержит несколько дополнительных функций:

    diff --git a/doc/ru/shortcuts.html b/doc/ru/shortcuts.html index 43a08a9f..e733d189 100644 --- a/doc/ru/shortcuts.html +++ b/doc/ru/shortcuts.html @@ -107,7 +107,11 @@

    2. Главное окно

    F8, Del
    - Удалить выделенные файлы/каталоги + Удалить выделенные файлы/каталоги в корзину + + +
    Shift+F8, Shift+Del
    + Удалить выделенные файлы/каталоги навсегда
    F9
    @@ -253,6 +257,10 @@

    2. Главное окно

    Ctrl+H
    Открыть историю посещённых каталогов + +
    Ctrl+K
    + Подключить сетевой диск (см. cm_MapNetworkDrive)(Альфа-версия) +
    Ctrl+L
    Подсчитать занимаемое место (для выделенных файлов/каталогов) @@ -458,6 +466,11 @@

    2. Главное окно

    Буква или цифра
    Действие зависит от настроек + +
    Стрелки вверх/вниз
    + 1. Переименование файла: последовательное переименование файлов.(Альфа-версия)
    + 2. В остальных случаях: обычный пошаговый переход вверх/вниз по списку файлов. +
    Стрелки влево/вправо
    Перейти в родительский каталог или в каталог под курсором (если активирован режим Навигация в стиле Lynx и только в подробном режиме).
    diff --git a/doc/ru/syncdirs.html b/doc/ru/syncdirs.html index 983160e0..1a4728d0 100644 --- a/doc/ru/syncdirs.html +++ b/doc/ru/syncdirs.html @@ -45,10 +45,11 @@

    2. Окно инструмента синхронизаци

    В верхней части окна расположены поля с текущими каталогами левой и правой файловых панелей. Мы можем изменить их вручную или с помощью кнопки выбора каталога.

    Между ними расположено поле фильтра файлов по маске (звёздочка "*" обозначает любое количество символов, знак вопроса "?" – любой один символ). Файлы, которые не совпадают с маской, будут проигнорированы. Если типов файлов несколько, то они перечисляются через точку с запятой ";" без пробелов. Также мы можем использовать шаблоны поиска (Шаблон...), в том числе поиска с информационными (контентными) плагинами. Значение по умолчанию "*" (все файлы).

    Кнопка со стрелкой вниз открывает список использованых масок файлов (имейте в виду, что Double Commander сохраняет общую историю масок файлов для нескольких инструментов: поиск файлов, синхронизация каталогов, распаковка архивов, команды выделения групп файлов). По умолчанию Double Commander сохраняет (независимо от состояния опции Историю масок файлов) последнюю использованную маску файлов как маску по умолчанию для следующего запуска инструмента синхронизации (если это не шаблон поиска), смотрите Дополнительные настройки.

    -

    Сравнить – начинает сравнение выбранных каталогов. Прогресс операции сравнения отображается в строке состояния. Если это необходимо, операцию можно прервать клавишей Esc.

    +

    Чтобы исключить каталоги и символьные ссылки на каталоги, мы можем использовать шаблон поиска и поле Исключить подкаталоги: мы можем указать имена папок и относительные или абсолютные пути.

    +

    Сравнить – начинает сравнение выбранных каталогов. Если это необходимо, операцию можно прервать клавишей Esc.

    Параметры: