From a028e7f3903b396a97566316da1b6e092650d727 Mon Sep 17 00:00:00 2001 From: philemon Date: Sat, 3 Dec 2016 20:18:29 +0300 Subject: [PATCH] modified: A-word-on-text-editors.md modified: Install-Bitcoind.md modified: Install-MinGW-64-and-MSYS-on-Microsoft-Windows.md --- A-word-on-text-editors.md | 7 +++-- Install-Bitcoind.md | 30 ++++--------------- ...-MinGW-64-and-MSYS-on-Microsoft-Windows.md | 23 ++++++++++---- 3 files changed, 28 insertions(+), 32 deletions(-) diff --git a/A-word-on-text-editors.md b/A-word-on-text-editors.md index a65166c..7ecb21c 100644 --- a/A-word-on-text-editors.md +++ b/A-word-on-text-editors.md @@ -9,8 +9,10 @@ and `cygwin1.dll` from the archive and copy them to `C:\windows` or some other location on your execution path. A better choice for more advanced users is [Vim][01], a full-featured editor -with syntax highlighting capability. You can find the Windows installer -[here][05]. +with syntax highlighting capability. A Windows installer for the gui-enabled +Vim can be found [here][05]. This version is much more complete than the one +included in the MinGW-64 team’s MSYS installation. For help with basic Vim +commands, consult the [Vim primer][11]. After installing Vim, you should add its executable path `C:\Program Files\Vim\vim80` (this may be different for your version) @@ -21,3 +23,4 @@ to your PATH variable. Editing user paths is explained [here][06]. [04]: https://www.nano-editor.org/dist/v1.0/NT/nano-1.0.9.zip [05]: http://www.vim.org/download.php [06]: Editing-the-user-path-in-Windows +[11]: https://github.com/mmgen/MMGenLive/wiki/README.Vim diff --git a/Install-Bitcoind.md b/Install-Bitcoind.md index 6e91935..3315007 100644 --- a/Install-Bitcoind.md +++ b/Install-Bitcoind.md @@ -25,28 +25,9 @@ low-powered netbook as your online machine. > **Windows users:** ->> Run the Windows installer. When setup is finished, append the following path ->> to your PATH variable: `C:\Program Files\Bitcoin\daemon` - ->> From your MSYS environment, create a new bitcoin configuration file in your ->> text editor: - - $ cd $APPDATA - $ nano Bitcoin/bitcoin.conf - ->> and add the following two lines to it: - - rpcuser= - rpcpassword= - ->> Save the file and exit the editor. Create a bitcoin datadir in your MSYS ->> environment: - - $ mkdir ~/.bitcoin - ->> and copy your just-created file to it: - - $ cp Bitcoin/bitcoin.conf ~/.bitcoin +>> Run the Windows installer. When it's finished, determine where it installed +>> 'bitcoind.exe' (probably in `C:\Program Files\Bitcoin\daemon`) and append +>> that path to your [PATH variable][05]. > **Linux users:** @@ -79,8 +60,9 @@ low-powered netbook as your online machine. >> quickly and uses practically no CPU once running. >> *Note for Windows users:* Under Windows, the bitcoind daemon doesn't fork to ->> run as a background process, so you'll have to keep a separate terminal window ->> open for it. +>> run as a background process, so you'll have to run it in a separate terminal +>> window [01]: https://bitcoin.org/en/download [bd]: https://bitcoin.org/bin/blockchain/ +[05]: Editing-the-user-path-in-Windows diff --git a/Install-MinGW-64-and-MSYS-on-Microsoft-Windows.md b/Install-MinGW-64-and-MSYS-on-Microsoft-Windows.md index a9f3d42..1ce5c01 100644 --- a/Install-MinGW-64-and-MSYS-on-Microsoft-Windows.md +++ b/Install-MinGW-64-and-MSYS-on-Microsoft-Windows.md @@ -1,7 +1,7 @@ MinGW-64 (Minimal GNU for Windows) provides the gcc compiler and related tools for compiling source code into Windows binaries. MSYS provides a Unix-like -environment with basic Unix shell commands. MinGW-64 and MSYS were originally -part of the same project and are designed to be used together. +environment under Windows with basic commands and utilities. MinGW-64 and MSYS +were originally part of the same project and are designed to be used together. Download the latest [MSYS zip archive][01] and [MinGW-64 7-zip archive][02] provided by the MinGW-64 team. To unpack the latter you'll need the program @@ -18,12 +18,22 @@ advised to create a launcher icon. Copy the “PowerShell” icon, rename the c to “MSYS”, right click on the icon, and add the above command to the end of the existing command line after a space. -Note: The Vim editor comes preinstalled with this version of MSYS. If you're -comfortable using Vim, proceed onward. Otherwise, you must install a different +Note: This version of MSYS comes with the Vim editor preinstalled. If you're an +experienced Vim user or have read the [primer][11] and feel you know what you're +doing, then proceed onward. Otherwise, you should install an easier-to use [text editor][00] before continuing with the installation. -Using your text editor within MSYS, create the file `/etc/fstab.conf` with a -single line: `c:/mingw64 /mingw`. Execute the command `mount /mingw` +Execute the command + + mkdir -p /c/mingw620/x86_64-620-posix-seh-rt_v5-rev1/mingw64 + +Using your text editor within MSYS, create the file `/etc/fstab.conf` with the +following two lines: + + c:/mingw64 /mingw + c:/mingw64 /c/mingw620/x86_64-620-posix-seh-rt_v5-rev1/mingw64 + +Execute the command `mount /mingw` MSYS is a Unix-like environment. If you're new to Unix, you're advised to learn [a few basic commands][04]. @@ -33,3 +43,4 @@ MSYS is a Unix-like environment. If you're new to Unix, you're advised to learn [02]: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/6.2.0/threads-posix/seh/x86_64-6.2.0-release-posix-seh-rt_v5-rev1.7z [03]: https://sourceforge.net/projects/sevenzip/files/7-Zip/16.04/7z1604-x64.msi [04]: Unix-commands-and-environment +[11]: https://github.com/mmgen/MMGenLive/wiki/README.Vim