From b2b07db4559a9fb29a498bc9f5817812727d435d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 25 Nov 2013 15:28:11 +0400 Subject: [PATCH] Extend installation instructions --- INSTALL.txt | 11 +++++++---- obexftp | 3 +++ obexftp-ANNOUNCE | 2 ++ torrent | 12 ++++++++---- torrent-ANNOUNCE | 2 ++ xml | 3 +++ xml-ANNOUNCE | 2 ++ 7 files changed, 27 insertions(+), 8 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index e0a02f8..1dedea7 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -21,9 +21,9 @@ Older versions - extfs.ini On the system where there is a file extfs.ini a VFS script has to be installed the following way. Put the script into the system extfs -directory - /usr/share/mc/extfs/ or /usr/local/share/mc/extfs/. Edit -extfs.ini - add a line naming the script; for example, if one's -installing xml VFS one has to do something like +directory - /usr/share/mc/extfs/ or /usr/local/share/mc/extfs/. Make the +script executable. Edit extfs.ini - add a line naming the script; for +example, if one's installing xml VFS one has to do something like cd /etc/mc/extfs echo xml >>extfs.ini @@ -52,7 +52,8 @@ Newer versions ~/.mc/extfs.d For newer versions just drop a VFS script to ~/.mc/extfs.d or ~/.local/share/mc/extfs.d/ directory (verify directory by running "mc -F"). -Edit mc.ext; the syntax is slightly different: +Make the script executable. Edit mc.ext; the syntax is slightly +different: regex/\.([xX][mM][lL])$ Include=xml @@ -62,3 +63,5 @@ type/^XML *(1\.0 *)?document text include/xml Open=%cd %p/xml:// + +Enable file types guessing (see above). diff --git a/obexftp b/obexftp index 93a7bbc..c1c523c 100755 --- a/obexftp +++ b/obexftp @@ -19,6 +19,9 @@ $HOME/[.local/share/].mc/extfs.d. For older versions put it in /usr/[local/][lib|share]/mc/extfs and add a line "obexftp" to the /usr/[local/][lib|share]/mc/extfs/extfs.ini. Make the script executable. +See detailed installation instructions at +http://phdru.name/Software/mc/INSTALL.html. + Create somewhere a transport file. The transport file may have any name, and is expected to be a text file with at least one line defining the transport to your device. Other lines in the file are ignored. diff --git a/obexftp-ANNOUNCE b/obexftp-ANNOUNCE index 57b773a..19dd353 100644 --- a/obexftp-ANNOUNCE +++ b/obexftp-ANNOUNCE @@ -28,6 +28,8 @@ WHERE TO GET git clone http://git.phdru.name/extfs.d.git git clone git://git.phdru.name/extfs.d.git + Installation instructions: http://phdru.name/Software/mc/INSTALL.html + AUTHOR Oleg Broytman diff --git a/torrent b/torrent index b0d1e00..ed622a3 100755 --- a/torrent +++ b/torrent @@ -12,10 +12,14 @@ Make the script executable. For mc 4.7+ run this "cd" command in the Midnight Commander (in the "bindings" file the command is "%cd"): cd file/torrent://; In older versions it is -cd file#torrent, where "file" is the name of your torrent metafile. The VFS -lists all files and directories from the torrent metafile; all files appear -empty, of course, but the sizes are shown. Filenames are reencoded from the -metafile's encoding/codepage to the current locale. +cd file#torrent, where "file" is the name of your torrent metafile. + +See detailed installation instructions at +http://phdru.name/Software/mc/INSTALL.html. + +The VFS lists all files and directories from the torrent metafile; all files +appear empty, of course, but the sizes are shown. Filenames are reencoded from +the metafile's encoding/codepage to the current locale. Along with the files/directories in the torrent metafile the VFS also presents meta information - in the form of files in .META directory. The size and diff --git a/torrent-ANNOUNCE b/torrent-ANNOUNCE index 8c66867..e4bce72 100644 --- a/torrent-ANNOUNCE +++ b/torrent-ANNOUNCE @@ -32,6 +32,8 @@ WHERE TO GET git clone http://git.phdru.name/extfs.d.git git clone git://git.phdru.name/extfs.d.git + Installation instructions: http://phdru.name/Software/mc/INSTALL.html + AUTHOR Oleg Broytman diff --git a/xml b/xml index f45a0e3..9a6db3e 100755 --- a/xml +++ b/xml @@ -13,6 +13,9 @@ For mc 4.7+ run this "cd" command in the Midnight Commander (in the "bindings" file the command is "%cd"): cd file/xml://; in older versions it is cd file#xml, where "file" is the name of your XML file. +See detailed installation instructions at +http://phdru.name/Software/mc/INSTALL.html. + The VFS represents tags as directories; the directories are numbered to distinguish tags with the same name; numbering also helps to sort tags by their order in XML instead of sorting them by name. Attributes, text nodes and diff --git a/xml-ANNOUNCE b/xml-ANNOUNCE index 9e0622e..a4224a0 100644 --- a/xml-ANNOUNCE +++ b/xml-ANNOUNCE @@ -30,6 +30,8 @@ WHERE TO GET git clone http://git.phdru.name/extfs.d.git git clone git://git.phdru.name/extfs.d.git + Installation instructions: http://phdru.name/Software/mc/INSTALL.html + The VFS represents tags as directories; the directories are numbered to distinguish tags with the same name; numbering also helps to sort tags by their -- 2.39.5