The response has been limited to 50k tokens of the smallest files in the repo. You can remove this limitation by removing the max tokens filter.
├── .bashrc
├── .gitignore
├── ReadMe.md
├── bin
    ├── awk.exe
    ├── basename.exe
    ├── bash.exe
    ├── bc.exe
    ├── bison.exe
    ├── bunzip2.exe
    ├── bzip2.dll
    ├── bzip2.exe
    ├── bzip2recover.exe
    ├── cat.exe
    ├── chgrp.exe
    ├── chmod.exe
    ├── chown.exe
    ├── chroot.exe
    ├── cksum.exe
    ├── clear.bat
    ├── cp.exe
    ├── csplit.exe
    ├── curl.exe
    ├── cut.exe
    ├── dc.exe
    ├── dd.exe
    ├── df.exe
    ├── diff.exe
    ├── diff3.exe
    ├── dirname.exe
    ├── dos2unix.exe
    ├── du.exe
    ├── egrep.exe
    ├── env.exe
    ├── expand.exe
    ├── expr.exe
    ├── factor.exe
    ├── fgrep.exe
    ├── flex.exe
    ├── fmt.exe
    ├── fold.exe
    ├── gawk.exe
    ├── gdbm3.dll
    ├── gfind.exe
    ├── gow.vbs
    ├── grep.exe
    ├── gsar.exe
    ├── gsort.exe
    ├── gzip.exe
    ├── head.exe
    ├── history5.dll
    ├── hostid.exe
    ├── hostname.exe
    ├── id.exe
    ├── indent.exe
    ├── install.exe
    ├── join.exe
    ├── jwhois.exe
    ├── less.exe
    ├── lesskey.exe
    ├── libcurl.dll
    ├── libeay32.dll
    ├── libiconv-2.dll
    ├── libiconv2.dll
    ├── libidn-11.dll
    ├── libintl-2.dll
    ├── libintl3.dll
    ├── libssl32.dll
    ├── ln.exe
    ├── ls.exe
    ├── m4.exe
    ├── make.exe
    ├── md5sum.exe
    ├── mkdir.exe
    ├── mkfifo.exe
    ├── mknod.exe
    ├── msys-1.0.dll
    ├── msys-regex-1.dll
    ├── msys-termcap-0.dll
    ├── mv.exe
    ├── nano.exe
    ├── ncftp.exe
    ├── nl.exe
    ├── od.exe
    ├── pageant.exe
    ├── paste.exe
    ├── patch.exe
    ├── pathchk.exe
    ├── pcre3.dll
    ├── plink.exe
    ├── pr.exe
    ├── printenv.exe
    ├── printf.exe
    ├── pscp.exe
    ├── psftp.exe
    ├── putty.exe
    ├── puttygen.exe
    ├── pwd.exe
    ├── readline5.dll
    ├── regex2.dll
    ├── rm.exe
    ├── rmdir.exe
    ├── scp.bat
    ├── sdiff.exe
    ├── sed.exe
    ├── seq.exe
    ├── sftp.bat
    ├── sha1sum.exe
    ├── shar.exe
    ├── sleep.exe
    ├── split.exe
    ├── ssh.bat
    ├── ssleay32.dll
    ├── su.exe
    ├── sum.exe
    ├── sync.exe
    ├── tac.exe
    ├── tail.exe
    ├── tar.exe
    ├── tee.exe
    ├── test.exe
    ├── touch.exe
    ├── tr.exe
    ├── uname.exe
    ├── unexpand.exe
    ├── uniq.exe
    ├── unix2dos.exe
    ├── unlink.exe
    ├── unrar.exe
    ├── unrar3.dll
    ├── unshar.exe
    ├── uudecode.exe
    ├── uuencode.exe
    ├── vim.exe
    ├── wc.exe
    ├── wget.exe
    ├── whereis.bat
    ├── which.exe
    ├── whoami.exe
    ├── xargs.exe
    ├── yes.exe
    ├── zip.exe
    └── zip32z64.dll
├── docs
    └── NoDocs.txt
├── licenses
    ├── GPL-License.txt
    ├── Gow-License.txt
    ├── NcFTP-License.txt
    └── Putty-License.txt
└── setup
    ├── Gow.nsi
    └── PathSetup.vbs


/.bashrc:
--------------------------------------------------------------------------------
1 | export HOME=$(echo "/$USERPROFILE" | sed -e 's/\\/\//g' -e 's/://')
2 | if [ -e ~/.bashrc ]
3 | then
4 |   source ~/.bashrc
5 | fi
6 | 


--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Gow gitignore file
2 | 
3 | Gow*.exe
4 | 


--------------------------------------------------------------------------------
/ReadMe.md:
--------------------------------------------------------------------------------
 1 | ------------------------------------------------------------
 2 | Gow - The lightweight alternative to Cygwin
 3 | ------------------------------------------------------------
 4 | 
 5 | **[Download](https://github.com/bmatzelle/gow/releases)** |
 6 | [Home Page](http://wiki.github.com/bmatzelle/gow/) |
 7 | [FAQ](http://wiki.github.com/bmatzelle/gow/faq)
 8 | 
 9 | Author:   Brent R. Matzelle
10 | 
11 | ABOUT
12 | -----
13 | 
14 | Gow (Gnu On Windows) is the lightweight alternative to Cygwin. It uses a 
15 | convenient Windows installer that installs about 130 extremely useful 
16 | open source UNIX applications compiled as native win32 binaries. It is 
17 | designed to be as small as possible, about 10 MB, as opposed to Cygwin 
18 | which can run well over 100 MB depending upon options.
19 | 
20 | Here are a couple quotes from happy Gow users:
21 | 
22 | > "Gow is one of the few things that makes Windows bearable/usable"
23 | 
24 | > "I use Gow constantly. It's awesome."
25 | 
26 | > "I just wanted to let you know that the GOW Suite is simply great - it is 
27 | far lighter than the Cygwin tool, and is extremely useful. "
28 | 
29 | FEATURES & BENEFITS
30 | -------------------
31 | 
32 | - Ultra light: Small, light subset (about 10 MB) of very useful UNIX 
33 |   binaries that do not have decent installers.
34 | - Shell window from any directory: Adds a Windows Explorer shell window 
35 |   so that you can right-click on any directory and open a command 
36 |   (cmd.exe) window from that directory.
37 | - Simple install/remove: Easy to install and remove, all files contained 
38 |   in a single directory in a standard C:\Program Files path.
39 | - Included in PATH: All binaries are conveniently installed into the 
40 |   Windows PATH so they are accessible from a command-line window.
41 | - Stable binaries: All commands are kept up to date but also as stable as 
42 |   possible.
43 | 
44 | 
45 | OTHER LINKS
46 | ---------------------
47 | 
48 | - [Release Notes](http://wiki.github.com/bmatzelle/gow/change_log)
49 | - [Contributing](https://github.com/bmatzelle/gow/wiki/contributing)
50 | - [Executables list](http://wiki.github.com/bmatzelle/gow/executables_list)
51 | - [Unix command reference](http://www.pixelbeat.org/cmdline.html)
52 | 
53 | FEEDBACK
54 | --------
55 | 
56 | Please submit feedback via the 
57 | [Gow issue tracker](http://github.com/bmatzelle/gow/issues)
58 | 
59 | Thank you for trying Gow!
60 | 
61 | Copyright (c) 2006 - 2014 Brent R. Matzelle
62 | 


--------------------------------------------------------------------------------
/bin/awk.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/awk.exe


--------------------------------------------------------------------------------
/bin/basename.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/basename.exe


--------------------------------------------------------------------------------
/bin/bash.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bash.exe


--------------------------------------------------------------------------------
/bin/bc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bc.exe


--------------------------------------------------------------------------------
/bin/bison.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bison.exe


--------------------------------------------------------------------------------
/bin/bunzip2.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bunzip2.exe


--------------------------------------------------------------------------------
/bin/bzip2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bzip2.dll


--------------------------------------------------------------------------------
/bin/bzip2.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bzip2.exe


--------------------------------------------------------------------------------
/bin/bzip2recover.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/bzip2recover.exe


--------------------------------------------------------------------------------
/bin/cat.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/cat.exe


--------------------------------------------------------------------------------
/bin/chgrp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/chgrp.exe


--------------------------------------------------------------------------------
/bin/chmod.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/chmod.exe


--------------------------------------------------------------------------------
/bin/chown.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/chown.exe


--------------------------------------------------------------------------------
/bin/chroot.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/chroot.exe


--------------------------------------------------------------------------------
/bin/cksum.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/cksum.exe


--------------------------------------------------------------------------------
/bin/clear.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | cls
3 | 


--------------------------------------------------------------------------------
/bin/cp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/cp.exe


--------------------------------------------------------------------------------
/bin/csplit.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/csplit.exe


--------------------------------------------------------------------------------
/bin/curl.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/curl.exe


--------------------------------------------------------------------------------
/bin/cut.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/cut.exe


--------------------------------------------------------------------------------
/bin/dc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/dc.exe


--------------------------------------------------------------------------------
/bin/dd.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/dd.exe


--------------------------------------------------------------------------------
/bin/df.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/df.exe


--------------------------------------------------------------------------------
/bin/diff.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/diff.exe


--------------------------------------------------------------------------------
/bin/diff3.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/diff3.exe


--------------------------------------------------------------------------------
/bin/dirname.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/dirname.exe


--------------------------------------------------------------------------------
/bin/dos2unix.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/dos2unix.exe


--------------------------------------------------------------------------------
/bin/du.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/du.exe


--------------------------------------------------------------------------------
/bin/egrep.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/egrep.exe


--------------------------------------------------------------------------------
/bin/env.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/env.exe


--------------------------------------------------------------------------------
/bin/expand.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/expand.exe


--------------------------------------------------------------------------------
/bin/expr.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/expr.exe


--------------------------------------------------------------------------------
/bin/factor.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/factor.exe


--------------------------------------------------------------------------------
/bin/fgrep.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/fgrep.exe


--------------------------------------------------------------------------------
/bin/flex.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/flex.exe


--------------------------------------------------------------------------------
/bin/fmt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/fmt.exe


--------------------------------------------------------------------------------
/bin/fold.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/fold.exe


--------------------------------------------------------------------------------
/bin/gawk.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gawk.exe


--------------------------------------------------------------------------------
/bin/gdbm3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gdbm3.dll


--------------------------------------------------------------------------------
/bin/gfind.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gfind.exe


--------------------------------------------------------------------------------
/bin/gow.vbs:
--------------------------------------------------------------------------------
  1 | '------------------------------------------------
  2 | ' Gow - The lightweight alternative to Cygwin
  3 | ' Handles all tasks for the Gow project.  
  4 | ' Author: Brent R. Matzelle
  5 | '------------------------------------------------
  6 | Option Explicit
  7 | 
  8 | ' Adds a path to the environment variable.  
  9 | Sub ExecutablesList()
 10 |   Dim fileSys, folder, file, index, shell, line
 11 |   
 12 |   line = "  "
 13 |   Set fileSys = CreateObject("Scripting.FileSystemObject")
 14 | 
 15 |   Set folder = filesys.GetFolder(ScriptPath())
 16 | 
 17 |   Print "Available executables:"
 18 |   Print ""
 19 | 
 20 |   For Each file In folder.Files
 21 |     If IsExecutable(file) Then
 22 |       If (Len(line) + Len(file.Name)) >= 78 Then
 23 |         WScript.Echo line
 24 |         line = "  "
 25 |       End If
 26 |       line = line & Left(file.Name, Len(file.Name) - 4) & ", "
 27 |     End If
 28 |   Next
 29 |   
 30 |   WScript.Echo Left(line, Len(line) - 2)
 31 | End Sub
 32 | 
 33 | ' Returns true if the file is an executable. 
 34 | Function IsExecutable(file)
 35 |   Dim result
 36 |   result = false
 37 | 
 38 |   If Len(file) > 4 Then
 39 |     result = (Right(file, 4) = ".exe")
 40 |     
 41 |     If result = False Then
 42 |       result = (Right(file, 4) = ".bat")
 43 |     End If
 44 |   End If
 45 |   
 46 |   IsExecutable = result
 47 | End Function
 48 | 
 49 | ' Main sub-routine
 50 | Sub Main()
 51 |   If Wscript.Arguments.Count < 1 Then
 52 |     PrintUsage
 53 |     Exit Sub
 54 |   End If
 55 | 
 56 |   Select Case Wscript.Arguments(0)
 57 |   Case "-l", "--list"
 58 |     Call ExecutablesList()
 59 |   Case "-V", "--version"
 60 |     Print("Gow " & Version())
 61 |   Case "-h", "--help"
 62 |     Call PrintUsage
 63 |   Case Else
 64 |     Print "UNKNOWN COMMAND: [" & WScript.Arguments(0) & "]"
 65 |     Print ""
 66 |     PrintUsage
 67 |   End Select
 68 | End Sub
 69 | 
 70 | ' Prints out a message.  
 71 | Sub Print(message)
 72 |   Wscript.Echo message
 73 | End Sub
 74 | 
 75 | ' Prints out the normal program usage parameters
 76 | Sub PrintUsage()
 77 |   Print "Gow " & Version() & " - The lightweight alternative to Cygwin"
 78 |   Print "Usage: gow OPTION"
 79 |   Print ""
 80 |   Print "Options:"
 81 |   Print "    -l, --list                       Lists all executables"
 82 |   Print "    -V, --version                    Prints the version"
 83 |   Print "    -h, --help                       Show this message"
 84 | End Sub
 85 | 
 86 | ' Returns the path of the VBS script. 
 87 | Function ScriptPath
 88 |   ScriptPath = Replace(WScript.ScriptFullName, "\" & WScript.ScriptName, "")
 89 | End Function
 90 | 
 91 | ' Prints out the version of Gow.  
 92 | Function Version()
 93 |   Version = "0.8.0"
 94 | End Function
 95 | 
 96 | 
 97 | '------------------------------------------------
 98 | ' Start program here
 99 | Call Main()
100 | 
101 | 


--------------------------------------------------------------------------------
/bin/grep.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/grep.exe


--------------------------------------------------------------------------------
/bin/gsar.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gsar.exe


--------------------------------------------------------------------------------
/bin/gsort.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gsort.exe


--------------------------------------------------------------------------------
/bin/gzip.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/gzip.exe


--------------------------------------------------------------------------------
/bin/head.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/head.exe


--------------------------------------------------------------------------------
/bin/history5.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/history5.dll


--------------------------------------------------------------------------------
/bin/hostid.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/hostid.exe


--------------------------------------------------------------------------------
/bin/hostname.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/hostname.exe


--------------------------------------------------------------------------------
/bin/id.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/id.exe


--------------------------------------------------------------------------------
/bin/indent.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/indent.exe


--------------------------------------------------------------------------------
/bin/install.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/install.exe


--------------------------------------------------------------------------------
/bin/join.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/join.exe


--------------------------------------------------------------------------------
/bin/jwhois.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/jwhois.exe


--------------------------------------------------------------------------------
/bin/less.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/less.exe


--------------------------------------------------------------------------------
/bin/lesskey.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/lesskey.exe


--------------------------------------------------------------------------------
/bin/libcurl.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libcurl.dll


--------------------------------------------------------------------------------
/bin/libeay32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libeay32.dll


--------------------------------------------------------------------------------
/bin/libiconv-2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libiconv-2.dll


--------------------------------------------------------------------------------
/bin/libiconv2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libiconv2.dll


--------------------------------------------------------------------------------
/bin/libidn-11.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libidn-11.dll


--------------------------------------------------------------------------------
/bin/libintl-2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libintl-2.dll


--------------------------------------------------------------------------------
/bin/libintl3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libintl3.dll


--------------------------------------------------------------------------------
/bin/libssl32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/libssl32.dll


--------------------------------------------------------------------------------
/bin/ln.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/ln.exe


--------------------------------------------------------------------------------
/bin/ls.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/ls.exe


--------------------------------------------------------------------------------
/bin/m4.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/m4.exe


--------------------------------------------------------------------------------
/bin/make.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/make.exe


--------------------------------------------------------------------------------
/bin/md5sum.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/md5sum.exe


--------------------------------------------------------------------------------
/bin/mkdir.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/mkdir.exe


--------------------------------------------------------------------------------
/bin/mkfifo.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/mkfifo.exe


--------------------------------------------------------------------------------
/bin/mknod.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/mknod.exe


--------------------------------------------------------------------------------
/bin/msys-1.0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/msys-1.0.dll


--------------------------------------------------------------------------------
/bin/msys-regex-1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/msys-regex-1.dll


--------------------------------------------------------------------------------
/bin/msys-termcap-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/msys-termcap-0.dll


--------------------------------------------------------------------------------
/bin/mv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/mv.exe


--------------------------------------------------------------------------------
/bin/nano.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/nano.exe


--------------------------------------------------------------------------------
/bin/ncftp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/ncftp.exe


--------------------------------------------------------------------------------
/bin/nl.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/nl.exe


--------------------------------------------------------------------------------
/bin/od.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/od.exe


--------------------------------------------------------------------------------
/bin/pageant.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pageant.exe


--------------------------------------------------------------------------------
/bin/paste.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/paste.exe


--------------------------------------------------------------------------------
/bin/patch.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/patch.exe


--------------------------------------------------------------------------------
/bin/pathchk.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pathchk.exe


--------------------------------------------------------------------------------
/bin/pcre3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pcre3.dll


--------------------------------------------------------------------------------
/bin/plink.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/plink.exe


--------------------------------------------------------------------------------
/bin/pr.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pr.exe


--------------------------------------------------------------------------------
/bin/printenv.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/printenv.exe


--------------------------------------------------------------------------------
/bin/printf.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/printf.exe


--------------------------------------------------------------------------------
/bin/pscp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pscp.exe


--------------------------------------------------------------------------------
/bin/psftp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/psftp.exe


--------------------------------------------------------------------------------
/bin/putty.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/putty.exe


--------------------------------------------------------------------------------
/bin/puttygen.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/puttygen.exe


--------------------------------------------------------------------------------
/bin/pwd.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/pwd.exe


--------------------------------------------------------------------------------
/bin/readline5.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/readline5.dll


--------------------------------------------------------------------------------
/bin/regex2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/regex2.dll


--------------------------------------------------------------------------------
/bin/rm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/rm.exe


--------------------------------------------------------------------------------
/bin/rmdir.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/rmdir.exe


--------------------------------------------------------------------------------
/bin/scp.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | pscp %1 %2 %3 %4 %5 %6 %7 %8 %9
3 | 


--------------------------------------------------------------------------------
/bin/sdiff.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sdiff.exe


--------------------------------------------------------------------------------
/bin/sed.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sed.exe


--------------------------------------------------------------------------------
/bin/seq.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/seq.exe


--------------------------------------------------------------------------------
/bin/sftp.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | psftp %1 %2 %3 %4 %5 %6 %7 %8 %9
3 | 


--------------------------------------------------------------------------------
/bin/sha1sum.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sha1sum.exe


--------------------------------------------------------------------------------
/bin/shar.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/shar.exe


--------------------------------------------------------------------------------
/bin/sleep.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sleep.exe


--------------------------------------------------------------------------------
/bin/split.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/split.exe


--------------------------------------------------------------------------------
/bin/ssh.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | plink %1 %2 %3 %4 %5 %6 %7 %8 %9


--------------------------------------------------------------------------------
/bin/ssleay32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/ssleay32.dll


--------------------------------------------------------------------------------
/bin/su.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/su.exe


--------------------------------------------------------------------------------
/bin/sum.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sum.exe


--------------------------------------------------------------------------------
/bin/sync.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/sync.exe


--------------------------------------------------------------------------------
/bin/tac.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/tac.exe


--------------------------------------------------------------------------------
/bin/tail.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/tail.exe


--------------------------------------------------------------------------------
/bin/tar.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/tar.exe


--------------------------------------------------------------------------------
/bin/tee.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/tee.exe


--------------------------------------------------------------------------------
/bin/test.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/test.exe


--------------------------------------------------------------------------------
/bin/touch.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/touch.exe


--------------------------------------------------------------------------------
/bin/tr.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/tr.exe


--------------------------------------------------------------------------------
/bin/uname.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/uname.exe


--------------------------------------------------------------------------------
/bin/unexpand.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unexpand.exe


--------------------------------------------------------------------------------
/bin/uniq.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/uniq.exe


--------------------------------------------------------------------------------
/bin/unix2dos.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unix2dos.exe


--------------------------------------------------------------------------------
/bin/unlink.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unlink.exe


--------------------------------------------------------------------------------
/bin/unrar.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unrar.exe


--------------------------------------------------------------------------------
/bin/unrar3.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unrar3.dll


--------------------------------------------------------------------------------
/bin/unshar.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/unshar.exe


--------------------------------------------------------------------------------
/bin/uudecode.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/uudecode.exe


--------------------------------------------------------------------------------
/bin/uuencode.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/uuencode.exe


--------------------------------------------------------------------------------
/bin/vim.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/vim.exe


--------------------------------------------------------------------------------
/bin/wc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/wc.exe


--------------------------------------------------------------------------------
/bin/wget.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/wget.exe


--------------------------------------------------------------------------------
/bin/whereis.bat:
--------------------------------------------------------------------------------
1 | :: Whereis program by Raymond Chen
2 | :: URL: http://blogs.msdn.com/oldnewthing/archive/2005/01/20/357225.aspx
3 | 
4 | @for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i
5 | 


--------------------------------------------------------------------------------
/bin/which.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/which.exe


--------------------------------------------------------------------------------
/bin/whoami.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/whoami.exe


--------------------------------------------------------------------------------
/bin/xargs.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/xargs.exe


--------------------------------------------------------------------------------
/bin/yes.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/yes.exe


--------------------------------------------------------------------------------
/bin/zip.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/zip.exe


--------------------------------------------------------------------------------
/bin/zip32z64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/bin/zip32z64.dll


--------------------------------------------------------------------------------
/docs/NoDocs.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bmatzelle/gow/c033136df2532a7573bea6fd9403e0403faa1211/docs/NoDocs.txt


--------------------------------------------------------------------------------
/licenses/GPL-License.txt:
--------------------------------------------------------------------------------
  1 | 		    GNU GENERAL PUBLIC LICENSE
  2 | 		       Version 2, June 1991
  3 | 
  4 |  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  5 |                        59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  6 |  Everyone is permitted to copy and distribute verbatim copies
  7 |  of this license document, but changing it is not allowed.
  8 | 
  9 | 			    Preamble
 10 | 
 11 |   The licenses for most software are designed to take away your
 12 | freedom to share and change it.  By contrast, the GNU General Public
 13 | License is intended to guarantee your freedom to share and change free
 14 | software--to make sure the software is free for all its users.  This
 15 | General Public License applies to most of the Free Software
 16 | Foundation's software and to any other program whose authors commit to
 17 | using it.  (Some other Free Software Foundation software is covered by
 18 | the GNU Library General Public License instead.)  You can apply it to
 19 | your programs, too.
 20 | 
 21 |   When we speak of free software, we are referring to freedom, not
 22 | price.  Our General Public Licenses are designed to make sure that you
 23 | have the freedom to distribute copies of free software (and charge for
 24 | this service if you wish), that you receive source code or can get it
 25 | if you want it, that you can change the software or use pieces of it
 26 | in new free programs; and that you know you can do these things.
 27 | 
 28 |   To protect your rights, we need to make restrictions that forbid
 29 | anyone to deny you these rights or to ask you to surrender the rights.
 30 | These restrictions translate to certain responsibilities for you if you
 31 | distribute copies of the software, or if you modify it.
 32 | 
 33 |   For example, if you distribute copies of such a program, whether
 34 | gratis or for a fee, you must give the recipients all the rights that
 35 | you have.  You must make sure that they, too, receive or can get the
 36 | source code.  And you must show them these terms so they know their
 37 | rights.
 38 | 
 39 |   We protect your rights with two steps: (1) copyright the software, and
 40 | (2) offer you this license which gives you legal permission to copy,
 41 | distribute and/or modify the software.
 42 | 
 43 |   Also, for each author's protection and ours, we want to make certain
 44 | that everyone understands that there is no warranty for this free
 45 | software.  If the software is modified by someone else and passed on, we
 46 | want its recipients to know that what they have is not the original, so
 47 | that any problems introduced by others will not reflect on the original
 48 | authors' reputations.
 49 | 
 50 |   Finally, any free program is threatened constantly by software
 51 | patents.  We wish to avoid the danger that redistributors of a free
 52 | program will individually obtain patent licenses, in effect making the
 53 | program proprietary.  To prevent this, we have made it clear that any
 54 | patent must be licensed for everyone's free use or not licensed at all.
 55 | 
 56 |   The precise terms and conditions for copying, distribution and
 57 | modification follow.
 58 | 
 59 | 		    GNU GENERAL PUBLIC LICENSE
 60 |    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 61 | 
 62 |   0. This License applies to any program or other work which contains
 63 | a notice placed by the copyright holder saying it may be distributed
 64 | under the terms of this General Public License.  The "Program", below,
 65 | refers to any such program or work, and a "work based on the Program"
 66 | means either the Program or any derivative work under copyright law:
 67 | that is to say, a work containing the Program or a portion of it,
 68 | either verbatim or with modifications and/or translated into another
 69 | language.  (Hereinafter, translation is included without limitation in
 70 | the term "modification".)  Each licensee is addressed as "you".
 71 | 
 72 | Activities other than copying, distribution and modification are not
 73 | covered by this License; they are outside its scope.  The act of
 74 | running the Program is not restricted, and the output from the Program
 75 | is covered only if its contents constitute a work based on the
 76 | Program (independent of having been made by running the Program).
 77 | Whether that is true depends on what the Program does.
 78 | 
 79 |   1. You may copy and distribute verbatim copies of the Program's
 80 | source code as you receive it, in any medium, provided that you
 81 | conspicuously and appropriately publish on each copy an appropriate
 82 | copyright notice and disclaimer of warranty; keep intact all the
 83 | notices that refer to this License and to the absence of any warranty;
 84 | and give any other recipients of the Program a copy of this License
 85 | along with the Program.
 86 | 
 87 | You may charge a fee for the physical act of transferring a copy, and
 88 | you may at your option offer warranty protection in exchange for a fee.
 89 | 
 90 |   2. You may modify your copy or copies of the Program or any portion
 91 | of it, thus forming a work based on the Program, and copy and
 92 | distribute such modifications or work under the terms of Section 1
 93 | above, provided that you also meet all of these conditions:
 94 | 
 95 |     a) You must cause the modified files to carry prominent notices
 96 |     stating that you changed the files and the date of any change.
 97 | 
 98 |     b) You must cause any work that you distribute or publish, that in
 99 |     whole or in part contains or is derived from the Program or any
100 |     part thereof, to be licensed as a whole at no charge to all third
101 |     parties under the terms of this License.
102 | 
103 |     c) If the modified program normally reads commands interactively
104 |     when run, you must cause it, when started running for such
105 |     interactive use in the most ordinary way, to print or display an
106 |     announcement including an appropriate copyright notice and a
107 |     notice that there is no warranty (or else, saying that you provide
108 |     a warranty) and that users may redistribute the program under
109 |     these conditions, and telling the user how to view a copy of this
110 |     License.  (Exception: if the Program itself is interactive but
111 |     does not normally print such an announcement, your work based on
112 |     the Program is not required to print an announcement.)
113 | 
114 | These requirements apply to the modified work as a whole.  If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works.  But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 | 
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 | 
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 | 
134 |   3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 | 
138 |     a) Accompany it with the complete corresponding machine-readable
139 |     source code, which must be distributed under the terms of Sections
140 |     1 and 2 above on a medium customarily used for software interchange; or,
141 | 
142 |     b) Accompany it with a written offer, valid for at least three
143 |     years, to give any third party, for a charge no more than your
144 |     cost of physically performing source distribution, a complete
145 |     machine-readable copy of the corresponding source code, to be
146 |     distributed under the terms of Sections 1 and 2 above on a medium
147 |     customarily used for software interchange; or,
148 | 
149 |     c) Accompany it with the information you received as to the offer
150 |     to distribute corresponding source code.  (This alternative is
151 |     allowed only for noncommercial distribution and only if you
152 |     received the program in object code or executable form with such
153 |     an offer, in accord with Subsection b above.)
154 | 
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it.  For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable.  However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 | 
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 | 
172 |   4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License.  Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 | 
180 |   5. You are not required to accept this License, since you have not
181 | signed it.  However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works.  These actions are
183 | prohibited by law if you do not accept this License.  Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 | 
189 |   6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions.  You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 | 
197 |   7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License.  If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all.  For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 | 
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 | 
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices.  Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 | 
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 | 
229 |   8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded.  In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 | 
237 |   9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time.  Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 | 
242 | Each version is given a distinguishing version number.  If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation.  If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 | 
250 |   10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission.  For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this.  Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 | 
258 | 			    NO WARRANTY
259 | 
260 |   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 | 
270 |   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 | 
280 | 		     END OF TERMS AND CONDITIONS
281 | 
282 | 	    How to Apply These Terms to Your New Programs
283 | 
284 |   If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 | 
288 |   To do so, attach the following notices to the program.  It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 | 
293 |     <one line to give the program's name and a brief idea of what it does.>
294 |     Copyright (C) 19yy  <name of author>
295 | 
296 |     This program is free software; you can redistribute it and/or modify
297 |     it under the terms of the GNU General Public License as published by
298 |     the Free Software Foundation; either version 2 of the License, or
299 |     (at your option) any later version.
300 | 
301 |     This program is distributed in the hope that it will be useful,
302 |     but WITHOUT ANY WARRANTY; without even the implied warranty of
303 |     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304 |     GNU General Public License for more details.
305 | 
306 |     You should have received a copy of the GNU General Public License
307 |     along with this program; if not, write to the Free Software
308 |     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
309 | 
310 | 
311 | Also add information on how to contact you by electronic and paper mail.
312 | 
313 | If the program is interactive, make it output a short notice like this
314 | when it starts in an interactive mode:
315 | 
316 |     Gnomovision version 69, Copyright (C) 19yy name of author
317 |     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318 |     This is free software, and you are welcome to redistribute it
319 |     under certain conditions; type `show c' for details.
320 | 
321 | The hypothetical commands `show w' and `show c' should show the appropriate
322 | parts of the General Public License.  Of course, the commands you use may
323 | be called something other than `show w' and `show c'; they could even be
324 | mouse-clicks or menu items--whatever suits your program.
325 | 
326 | You should also get your employer (if you work as a programmer) or your
327 | school, if any, to sign a "copyright disclaimer" for the program, if
328 | necessary.  Here is a sample; alter the names:
329 | 
330 |   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331 |   `Gnomovision' (which makes passes at compilers) written by James Hacker.
332 | 
333 |   <signature of Ty Coon>, 1 April 1989
334 |   Ty Coon, President of Vice
335 | 
336 | This General Public License does not permit incorporating your program into
337 | proprietary programs.  If your program is a subroutine library, you may
338 | consider it more useful to permit linking proprietary applications with the
339 | library.  If this is what you want to do, use the GNU Library General
340 | Public License instead of this License.
341 | 
342 | 
343 | 


--------------------------------------------------------------------------------
/licenses/Gow-License.txt:
--------------------------------------------------------------------------------
 1 | 
 2 | Copyright (c) 2006-2010 Brent Matzelle (bmatzelle AT gmail DOT com)
 3 | 
 4 | Permission is hereby granted, free of charge, to any person obtaining a copy
 5 | of this software and associated documentation files (the "Software"), to deal
 6 | in the Software without restriction, including without limitation the rights
 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 8 | copies of the Software, and to permit persons to whom the Software is
 9 | furnished to do so, subject to the following conditions:
10 | 
11 | The above copyright notice and this permission notice shall be included in
12 | all copies or substantial portions of the Software.
13 | 
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 | 


--------------------------------------------------------------------------------
/licenses/NcFTP-License.txt:
--------------------------------------------------------------------------------
  1 | 		     The Clarified Artistic License
  2 | 
  3 | 				Preamble
  4 | 
  5 | The intent of this document is to state the conditions under which a
  6 | Package may be copied, such that the Copyright Holder maintains some
  7 | semblance of artistic control over the development of the package,
  8 | while giving the users of the package the right to use and distribute
  9 | the Package in a more-or-less customary fashion, plus the right to make
 10 | reasonable modifications.
 11 | 
 12 | Definitions:
 13 | 
 14 | 	"Package" refers to the collection of files distributed by the
 15 | 	Copyright Holder, and derivatives of that collection of files
 16 | 	created through textual modification.
 17 | 
 18 | 	"Standard Version" refers to such a Package if it has not been
 19 | 	modified, or has been modified in accordance with the wishes
 20 | 	of the Copyright Holder as specified below.
 21 | 
 22 | 	"Copyright Holder" is whoever is named in the copyright or
 23 | 	copyrights for the package.
 24 | 
 25 | 	"You" is you, if you're thinking about copying or distributing
 26 | 	this Package.
 27 | 
 28 | 	"Distribution fee" is a fee you charge for providing a copy
 29 |         of this Package to another party.
 30 | 
 31 | 	"Freely Available" means that no fee is charged for the right to
 32 |         use the item, though there may be fees involved in handling the
 33 |         item.  It also means that recipients of the item may redistribute
 34 |         it under the same conditions they received it.
 35 | 
 36 | 1. You may make and give away verbatim copies of the source form of the
 37 | Standard Version of this Package without restriction, provided that you
 38 | duplicate all of the original copyright notices and associated disclaimers.
 39 | 
 40 | 2. You may apply bug fixes, portability fixes and other modifications
 41 | derived from the Public Domain, or those made Freely Available, or from
 42 | the Copyright Holder.  A Package modified in such a way shall still be
 43 | considered the Standard Version.
 44 | 
 45 | 3. You may otherwise modify your copy of this Package in any way, provided
 46 | that you insert a prominent notice in each changed file stating how and
 47 | when you changed that file, and provided that you do at least ONE of the
 48 | following:
 49 | 
 50 |     a) place your modifications in the Public Domain or otherwise make them
 51 |     Freely Available, such as by posting said modifications to Usenet or an
 52 |     equivalent medium, or placing the modifications on a major network
 53 |     archive site allowing unrestricted access to them, or by allowing the
 54 |     Copyright Holder to include your modifications in the Standard Version
 55 |     of the Package.
 56 | 
 57 |     b) use the modified Package only within your corporation or organization.
 58 | 
 59 |     c) rename any non-standard executables so the names do not conflict
 60 |     with standard executables, which must also be provided, and provide
 61 |     a separate manual page for each non-standard executable that clearly
 62 |     documents how it differs from the Standard Version.
 63 | 
 64 |     d) make other distribution arrangements with the Copyright Holder.
 65 | 
 66 |     e) permit and encourge anyone who receives a copy of the modified Package
 67 |        permission to make your modifications Freely Available
 68 |        in some specific way.
 69 | 
 70 | 
 71 | 4. You may distribute the programs of this Package in object code or
 72 | executable form, provided that you do at least ONE of the following:
 73 | 
 74 |     a) distribute a Standard Version of the executables and library files,
 75 |     together with instructions (in the manual page or equivalent) on where
 76 |     to get the Standard Version.
 77 | 
 78 |     b) accompany the distribution with the machine-readable source of
 79 |     the Package with your modifications.
 80 | 
 81 |     c) give non-standard executables non-standard names, and clearly
 82 |     document the differences in manual pages (or equivalent), together
 83 |     with instructions on where to get the Standard Version.
 84 | 
 85 |     d) make other distribution arrangements with the Copyright Holder.
 86 | 
 87 |     e) offer the machine-readable source of the Package, with your
 88 |        modifications, by mail order.
 89 | 
 90 | 5. You may charge a distribution fee for any distribution of this Package.
 91 | If you offer support for this Package, you may charge any fee you choose
 92 | for that support.  You may not charge a license fee for the right to use
 93 | this Package itself.  You may distribute this Package in aggregate with
 94 | other (possibly commercial and possibly nonfree) programs as part of a
 95 | larger (possibly commercial and possibly nonfree) software distribution,
 96 | and charge license fees for other parts of that software distribution,
 97 | provided that you do not advertise this Package as a product of your own.
 98 | If the Package includes an interpreter, You may embed this Package's
 99 | interpreter within an executable of yours (by linking); this shall be
100 | construed as a mere form of aggregation, provided that the complete
101 | Standard Version of the interpreter is so embedded.
102 | 
103 | 6. The scripts and library files supplied as input to or produced as
104 | output from the programs of this Package do not automatically fall
105 | under the copyright of this Package, but belong to whoever generated
106 | them, and may be sold commercially, and may be aggregated with this
107 | Package.  If such scripts or library files are aggregated with this
108 | Package via the so-called "undump" or "unexec" methods of producing a
109 | binary executable image, then distribution of such an image shall
110 | neither be construed as a distribution of this Package nor shall it
111 | fall under the restrictions of Paragraphs 3 and 4, provided that you do
112 | not represent such an executable image as a Standard Version of this
113 | Package.
114 | 
115 | 7. C subroutines (or comparably compiled subroutines in other
116 | languages) supplied by you and linked into this Package in order to
117 | emulate subroutines and variables of the language defined by this
118 | Package shall not be considered part of this Package, but are the
119 | equivalent of input as in Paragraph 6, provided these subroutines do
120 | not change the language in any way that would cause it to fail the
121 | regression tests for the language.
122 | 
123 | 8. Aggregation of the Standard Version of the Package with a commercial
124 | distribution is always permitted provided that the use of this Package
125 | is embedded; that is, when no overt attempt is made to make this Package's
126 | interfaces visible to the end user of the commercial distribution.
127 | Such use shall not be construed as a distribution of this Package.
128 | 
129 | 9. The name of the Copyright Holder may not be used to endorse or promote
130 | products derived from this software without specific prior written permission.
131 | 
132 | 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
133 | IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
134 | WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
135 | 
136 | 				The End
137 | 


--------------------------------------------------------------------------------
/licenses/Putty-License.txt:
--------------------------------------------------------------------------------
 1 |     PuTTY is copyright 1997-2006 Simon Tatham.
 2 | 
 3 |     Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, and CORE SDI S.A.
 4 | 
 5 |     Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 6 | 
 7 |     The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 8 | 
 9 |     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
10 | 


--------------------------------------------------------------------------------
/setup/Gow.nsi:
--------------------------------------------------------------------------------
  1 | ;---------------------------------------------
  2 | ; Gow (Gnu On Windows) installer
  3 | ; Web Site: http://wiki.github.com/bmatzelle/gow/
  4 | ; Author: Brent R. Matzelle
  5 | ; Copyright (c) 2006 - 2014 Brent R. Matzelle
  6 | ;---------------------------------------------
  7 | 
  8 | 
  9 | ;--------------------------------
 10 | ; Constants
 11 | 
 12 |   !define PRODUCT "Gow"
 13 |   !define VERSION "0.8.0-1"
 14 |   !define SRC_DIR ".."
 15 | 
 16 |   Name "${PRODUCT}"
 17 |   SetCompressor lzma
 18 |   BrandingText "${PRODUCT} ${VERSION} Installer - powered by NSIS"
 19 |   RequestExecutionLevel admin
 20 | 
 21 |   !include "MUI.nsh" ; Include Modern UI
 22 | 
 23 | ;--------------------------------
 24 | ; Variables
 25 | 
 26 |   Var MUI_TEMP
 27 |   Var STARTMENU_FOLDER
 28 | 
 29 | ;--------------------------------
 30 | ; Pages
 31 | 
 32 |   !insertmacro MUI_PAGE_LICENSE "${SRC_DIR}\licenses\GPL-License.txt"
 33 |   !insertmacro MUI_PAGE_COMPONENTS
 34 |   !insertmacro MUI_PAGE_DIRECTORY
 35 | 
 36 |   ; Start Menu Folder Page Configuration
 37 |   !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
 38 |   !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Modern UI Test"
 39 |   !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
 40 |   !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
 41 | 
 42 |   !insertmacro MUI_PAGE_INSTFILES
 43 |   !insertmacro MUI_UNPAGE_CONFIRM
 44 |   !insertmacro MUI_UNPAGE_INSTFILES
 45 | 
 46 | ;--------------------------------
 47 | ; Language
 48 | 
 49 |   !insertmacro MUI_LANGUAGE "English"
 50 | 
 51 |   OutFile "${PRODUCT}-${VERSION}.exe" ; Installer file name
 52 |   ShowInstDetails hide
 53 |   ShowUninstDetails hide
 54 | 
 55 | ;--------------------------------
 56 | ; Descriptions
 57 | 
 58 |   LangString DESC_Core ${LANG_ENGLISH} "Installs the core components"
 59 |   LangString DESC_CommandPrompt ${LANG_ENGLISH} "Installs Command Prompt Here"
 60 | 
 61 |   InstallDir "$PROGRAMFILES\${PRODUCT}"
 62 |   InstType "Default installation"
 63 |   InstType "Minimal installation"
 64 | 
 65 | ;--------------------------------
 66 | ; Installer Sections
 67 | 
 68 | ; Core components
 69 | Section "Core Components" SecCore
 70 |   SectionIn 1 2 RO
 71 |   AddSize 10240
 72 | 
 73 |   Call Install
 74 | SectionEnd
 75 | 
 76 | ; Command Prompt here
 77 | Section "Command Prompt Here" DESC_CommandPrompt
 78 |   SectionIn 1
 79 |   AddSize 0
 80 | 
 81 |   Call RegistryCommandPrompt
 82 | SectionEnd
 83 | 
 84 | ;--------------------------------
 85 | ; Install Functions
 86 | 
 87 | ; Configures the installation
 88 | Function Configure
 89 |   DetailPrint "Configuring the installation..."
 90 | 
 91 |   StrCpy $R0 "cscript //NoLogo"
 92 |   nsExec::Exec '$R0 "$INSTDIR\setup\PathSetup.vbs" --path-add "$INSTDIR\bin"'
 93 | 
 94 |   SetOutPath $INSTDIR
 95 | 
 96 |   ClearErrors
 97 |   FileOpen $R1 "$INSTDIR\bin\gow.bat" w
 98 |   IfErrors done
 99 |   FileWrite $R1 "@echo off $\r$\n"
100 |   FileWrite $R1 '$R0 "$INSTDIR\bin\gow.vbs" %1'
101 |   FileClose $R1
102 | 
103 |   done:
104 | FunctionEnd
105 | 
106 | ; Installs all files
107 | Function Files
108 |   DetailPrint "Installing all files..."
109 | 
110 |   ; Copy Readme files
111 |   SetOutPath "$INSTDIR"
112 |   File "${SRC_DIR}\ReadMe.md"
113 | 
114 |   ; Copy license files
115 |   SetOutPath "$INSTDIR\licenses"
116 |   File "${SRC_DIR}\licenses\*.txt"
117 | 
118 |   ; Executables
119 |   SetOutPath "$INSTDIR\bin"
120 |   File "${SRC_DIR}\bin\*.exe"
121 |   File "${SRC_DIR}\bin\*.dll"
122 |   File "${SRC_DIR}\bin\*.bat"
123 |   File "${SRC_DIR}\bin\*.vbs"
124 | 
125 |   ; Documentation directory
126 |   SetOutPath "$INSTDIR"
127 |   File /r "${SRC_DIR}\docs"
128 | 
129 |   ; Setup files
130 |   SetOutPath "$INSTDIR\setup"
131 |   File /r "${SRC_DIR}\setup\*.vbs"
132 | 
133 |   ; Bash requires the etc directory to be present.
134 |   CreateDirectory "$INSTDIR\etc"
135 | 
136 |   ; Default Bash configuration to set user's home directory, and load user-specific settings.
137 |   SetOutPath "$INSTDIR"
138 |   File "${SRC_DIR}\.bashrc"
139 | FunctionEnd
140 | 
141 | ; Starts the installation
142 | Function Install
143 |   Call Files
144 |   Call Registry
145 |   Call Configure
146 |   Call Shortcuts
147 | FunctionEnd
148 | 
149 | ; Create the necessary registry entries
150 | Function Registry
151 |   DetailPrint "Installing registry keys..."
152 | 
153 |   ; Write Registry settings for Add/Remove
154 |   WriteRegStr HKLM "SOFTWARE\${PRODUCT}" "" "$INSTDIR"
155 |   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" \
156 |                    "DisplayName" "${PRODUCT}"
157 |   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" \
158 |                    "DisplayVersion" "${VERSION}"				   
159 |   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" \
160 |                    "UninstallString" '"$INSTDIR\Uninstall.exe"'
161 | FunctionEnd
162 | 
163 | ; Add the Command Prompt Here entry
164 | Function RegistryCommandPrompt
165 |   DetailPrint "Installing Command Prompt registry keys"
166 | 
167 |   StrCpy $R0 'Folder\shell\Command Prompt Here ${PRODUCT}'
168 |   WriteRegStr HKCR $R0 "" "Command Prompt &Here"
169 |   WriteRegExpandStr HKCR "$R0\command" "" '"%SystemRoot%\system32\cmd.exe" /k cd /d "%1"'
170 | FunctionEnd
171 | 
172 | ; Removes any old installations of Gow on the system.  
173 | Function RemoveOldInstallation
174 |   DetailPrint "Checking for old Gow installation..."
175 | 
176 |   ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}" \
177 |                       "UninstallString"
178 |   StrCmp $R0 "" EndFunction 0
179 | 
180 |   MessageBox MB_OKCANCEL \
181 |              "${PRODUCT} is already installed. $\n$\nClick OK to remove the \
182 |              previous version or Cancel to cancel this upgrade." \
183 |              /SD IDOK IDOK uninstall
184 |              Abort
185 | 
186 | uninstall:
187 |   ; Do not copy the uninstaller to a temp file
188 |   ExecWait '$R0 /S _?=$INSTDIR'
189 | 
190 |   IfErrors 0 EndFunction
191 |   ; TODO: Perform error checking here
192 | 
193 |   EndFunction:
194 | FunctionEnd
195 | 
196 | ; Set the shortcuts
197 | Function Shortcuts
198 |   DetailPrint "Installing Windows shortcuts..."
199 | 
200 |   !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
201 | 
202 |   ; License shortcuts
203 |   SetOutPath "$SMPROGRAMS\$STARTMENU_FOLDER\Licenses"
204 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Licenses\Gow.lnk" \
205 |                  "$INSTDIR\licenses\Gow-License.txt"
206 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Licenses\GPL.lnk" \
207 |                  "$INSTDIR\licenses\GPL-License.txt"
208 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Licenses\NcFTP.lnk" \
209 |                  "$INSTDIR\licenses\NcFTP-License.txt"
210 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Licenses\Putty.lnk" \
211 |                  "$INSTDIR\licenses\Putty-License.txt"
212 | 
213 |   ; General shortcuts
214 |   SetOutPath "$SMPROGRAMS\$STARTMENU_FOLDER"
215 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\ReadMe.lnk" \
216 |                  "$INSTDIR\ReadMe.txt"
217 |   CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall ${PRODUCT} ${VERSION}.lnk" \
218 |                  "$INSTDIR\Uninstall.exe"
219 | 
220 |   !insertmacro MUI_STARTMENU_WRITE_END
221 | 
222 | FunctionEnd
223 | 
224 | ;--------------------------------
225 | ; Post installation methods
226 | 
227 | Function .onInit
228 |   Call RemoveOldInstallation
229 | FunctionEnd
230 | 
231 | Function .onInstSuccess
232 |   Delete "$INSTDIR\Uninstall.exe" ; Delete old uninstaller first
233 |   WriteUninstaller "$INSTDIR\Uninstall.exe"
234 | FunctionEnd
235 | 
236 | ;--------------------------------
237 | ; Descriptions
238 | 
239 | !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
240 |   !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} $(DESC_Core)
241 |   !insertmacro MUI_DESCRIPTION_TEXT ${DESC_CommandPrompt} $(DESC_CommandPrompt)
242 | !insertmacro MUI_FUNCTION_DESCRIPTION_END
243 | 
244 | ;--------------------------------
245 | ; Uninstaller Section
246 | 
247 | Section "Uninstall"
248 |   Call un.Configure
249 |   Call un.Files
250 |   Call un.Registry
251 | 
252 |   ; If not reboot then jump to end
253 |   IfRebootFlag 0 EndNow
254 |   MessageBox MB_YESNO|MB_ICONQUESTION \
255 |               "Some components could not be fully uninstalled.  You will \
256 |               need to $\nreboot your computer in order to remove them fully. \
257 |               Reboot now?" IDNO EndNow
258 |   Reboot
259 | 
260 |   EndNow:
261 | SectionEnd
262 | 
263 | ; Remove all configuration
264 | Function un.Configure
265 |   StrCpy $R0 'cscript //NoLogo "$INSTDIR\setup\PathSetup.vbs"'
266 |   nsExec::Exec '$R0 --path-remove "$INSTDIR\bin"'
267 | FunctionEnd
268 | 
269 | ; Remove all files
270 | Function un.Files
271 |   RMDir /r "$INSTDIR"
272 | 
273 |   !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
274 | 
275 |   Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
276 | 
277 |   RMDir /r "$SMPROGRAMS\$MUI_TEMP"
278 | FunctionEnd
279 | 
280 | ; Remove the registry settings
281 | Function un.Registry
282 |   Call un.RegistryCommandPrompt
283 | 
284 |   ; Delete registry settings
285 |   DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT}"
286 |   DeleteRegKey HKLM "SOFTWARE\${PRODUCT}"
287 |   DeleteRegKey HKLM "SYSTEM\CurrentControlSet\Services\EventLog\Application\${PRODUCT}"
288 | FunctionEnd
289 | 
290 | ; Remove Command Prompt Here
291 | Function un.RegistryCommandPrompt
292 |   DeleteRegKey HKCR "Folder\shell\Command Prompt Here ${PRODUCT}"
293 | FunctionEnd
294 | 


--------------------------------------------------------------------------------
/setup/PathSetup.vbs:
--------------------------------------------------------------------------------
  1 | '------------------------------------------------
  2 | ' PathSetup
  3 | ' Configures the path environment variable. 
  4 | ' Author: Brent R. Matzelle
  5 | '------------------------------------------------
  6 | Option Explicit
  7 | 
  8 | '------------------------------------------------
  9 | ' Main sub-routine
 10 | Sub Main()
 11 |   If Wscript.Arguments.Count < 1 Then
 12 |     Call PrintUsage("Incorrect parameters")
 13 |     Exit Sub
 14 |   End If
 15 | 
 16 |   Select Case Wscript.Arguments(0)
 17 |     Case "--path-add", "-a" 
 18 |       Call PathAdd(Wscript.Arguments(1))
 19 |     Case "--path-remove", "-r" 
 20 |       Call PathRemove(Wscript.Arguments(1))
 21 |     Case "--help", "-h"
 22 |       Call PrintUsage("")
 23 |     Case Else
 24 |       Call PrintUsage("That command is unknown")
 25 |   End Select
 26 | End Sub
 27 | 
 28 | '------------------------------------------------
 29 | ' Adds a path to the environment variable.  
 30 | Sub PathAdd(path)
 31 |   If PathIsPresent(path) Then
 32 |     Exit Sub
 33 |   End If
 34 | 
 35 |   ' Get the value of the PATH environment variable
 36 |   Dim script, shell, newPath, oldPath
 37 |   Set script = Wscript.CreateObject("Wscript.Shell")
 38 |   Set shell = script.Environment("SYSTEM")
 39 |   
 40 |   oldPath = shell("Path")
 41 |   newPath = oldPath & ";" & path
 42 |   
 43 |   shell("Path") = newPath
 44 | End Sub
 45 | 
 46 | '------------------------------------------------
 47 | ' Checks if the path is already present. 
 48 | Function PathIsPresent(path)
 49 |   Dim script, shell, currentPath
 50 |   Set script = Wscript.CreateObject("Wscript.Shell")
 51 |   Set shell = script.Environment("SYSTEM")
 52 |   
 53 |   currentPath = shell("Path")
 54 |   
 55 |   PathIsPresent = (InStr(LCase(currentPath), LCase(path)) <> 0)
 56 | End Function
 57 | 
 58 | '------------------------------------------------
 59 | ' Removes a path from the environment variable. 
 60 | Sub PathRemove(path)
 61 |   If Not PathIsPresent(path) Then
 62 |     Exit Sub
 63 |   End If
 64 | 
 65 |   ' Get the value of the PATH environment variable
 66 |   Dim script, shell, newPath, oldPath
 67 |   Set script = Wscript.CreateObject("Wscript.Shell")
 68 |   Set shell = script.Environment("SYSTEM")
 69 |   
 70 |   oldPath = shell("Path")
 71 |   newPath = Replace(oldPath, ";" & path, "")
 72 |   
 73 |   If Len(newPath) < 5 Then
 74 |     PrintError("Could not remove that path variable")
 75 |   End If
 76 |   
 77 |   shell("Path") = newPath
 78 | End Sub
 79 | 
 80 | '------------------------------------------------
 81 | ' Exits the script with an error. 
 82 | Sub PrintError(message)
 83 |   Wscript.Echo "An error occurred:" & Chr(10) & message
 84 |   WScript.Quit(1)
 85 | End Sub
 86 | 
 87 | '------------------------------------------------
 88 | ' Prints out the normal program usage parameters
 89 | Sub PrintUsage(message)
 90 |   Dim usage
 91 |   
 92 |   If Len(message) > 0 Then
 93 |     usage = message & Chr(10)
 94 |   End If
 95 | 
 96 |   usage = "Path Setup" & Chr(10) & usage & Chr(10) & "Usage: " & _
 97 |           "cscript.exe PathSetup.vbs [OPTIONS]" & Chr(10) & Chr(10) & _
 98 |           "Options:" & Chr(10) & _
 99 |           "  --path-add [PATH]" & Chr(10) & _
100 |           "  --path-remove [PATH]" & Chr(10) & _
101 |           "  --help" & Chr(10)
102 |   Wscript.Echo usage
103 | End Sub
104 | 
105 | ' Start program here
106 | Call Main()
107 | 


--------------------------------------------------------------------------------