Permalink
Browse files

Initial import of the code I developed back in 2006. Nothing has been…

… changed since then. I'll be preparing it for import to Github soon.
  • Loading branch information...
0 parents commit 238fdeec41ab409b6a7781d721cedff0eb38511b @bmatzelle committed Jul 14, 2010
Showing with 950 additions and 0 deletions.
  1. +8 −0 ChangeLog.txt
  2. +342 −0 GPL-License.txt
  3. +136 −0 NcFTP-License.txt
  4. +9 −0 Putty-License.txt
  5. +31 −0 ReadMe.txt
  6. +73 −0 bin/gow.vbs
  7. +2 −0 bin/scp.bat
  8. +2 −0 bin/sftp.bat
  9. +4 −0 bin/whereis.bat
  10. 0 docs/NoDocs.txt
  11. +237 −0 setup/Gow.nsi
  12. +106 −0 setup/PathSetup.vbs
@@ -0,0 +1,8 @@
+-----------------------
+Gow Project ChangeLog
+-----------------------
+
+This contains a listing of all changes between versions of Gow.
+
+Version 1.0.0 (Wed, Apr 20 2006)
+--------------------------------
Oops, something went wrong.
@@ -0,0 +1,136 @@
+ The Clarified Artistic License
+
+ Preamble
+
+The intent of this document is to state the conditions under which a
+Package may be copied, such that the Copyright Holder maintains some
+semblance of artistic control over the development of the package,
+while giving the users of the package the right to use and distribute
+the Package in a more-or-less customary fashion, plus the right to make
+reasonable modifications.
+
+Definitions:
+
+ "Package" refers to the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection of files
+ created through textual modification.
+
+ "Standard Version" refers to such a Package if it has not been
+ modified, or has been modified in accordance with the wishes
+ of the Copyright Holder as specified below.
+
+ "Copyright Holder" is whoever is named in the copyright or
+ copyrights for the package.
+
+ "You" is you, if you're thinking about copying or distributing
+ this Package.
+
+ "Distribution fee" is a fee you charge for providing a copy
+ of this Package to another party.
+
+ "Freely Available" means that no fee is charged for the right to
+ use the item, though there may be fees involved in handling the
+ item. It also means that recipients of the item may redistribute
+ it under the same conditions they received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications
+derived from the Public Domain, or those made Freely Available, or from
+the Copyright Holder. A Package modified in such a way shall still be
+considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided
+that you insert a prominent notice in each changed file stating how and
+when you changed that file, and provided that you do at least ONE of the
+following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major network
+ archive site allowing unrestricted access to them, or by allowing the
+ Copyright Holder to include your modifications in the Standard Version
+ of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided, and provide
+ a separate manual page for each non-standard executable that clearly
+ documents how it differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+ e) permit and encourge anyone who receives a copy of the modified Package
+ permission to make your modifications Freely Available
+ in some specific way.
+
+
+4. You may distribute the programs of this Package in object code or
+executable form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where
+ to get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of
+ the Package with your modifications.
+
+ c) give non-standard executables non-standard names, and clearly
+ document the differences in manual pages (or equivalent), together
+ with instructions on where to get the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+ e) offer the machine-readable source of the Package, with your
+ modifications, by mail order.
+
+5. You may charge a distribution fee for any distribution of this Package.
+If you offer support for this Package, you may charge any fee you choose
+for that support. You may not charge a license fee for the right to use
+this Package itself. You may distribute this Package in aggregate with
+other (possibly commercial and possibly nonfree) programs as part of a
+larger (possibly commercial and possibly nonfree) software distribution,
+and charge license fees for other parts of that software distribution,
+provided that you do not advertise this Package as a product of your own.
+If the Package includes an interpreter, You may embed this Package's
+interpreter within an executable of yours (by linking); this shall be
+construed as a mere form of aggregation, provided that the complete
+Standard Version of the interpreter is so embedded.
+
+6. The scripts and library files supplied as input to or produced as
+output from the programs of this Package do not automatically fall
+under the copyright of this Package, but belong to whoever generated
+them, and may be sold commercially, and may be aggregated with this
+Package. If such scripts or library files are aggregated with this
+Package via the so-called "undump" or "unexec" methods of producing a
+binary executable image, then distribution of such an image shall
+neither be construed as a distribution of this Package nor shall it
+fall under the restrictions of Paragraphs 3 and 4, provided that you do
+not represent such an executable image as a Standard Version of this
+Package.
+
+7. C subroutines (or comparably compiled subroutines in other
+languages) supplied by you and linked into this Package in order to
+emulate subroutines and variables of the language defined by this
+Package shall not be considered part of this Package, but are the
+equivalent of input as in Paragraph 6, provided these subroutines do
+not change the language in any way that would cause it to fail the
+regression tests for the language.
+
+8. Aggregation of the Standard Version of the Package with a commercial
+distribution is always permitted provided that the use of this Package
+is embedded; that is, when no overt attempt is made to make this Package's
+interfaces visible to the end user of the commercial distribution.
+Such use shall not be construed as a distribution of this Package.
+
+9. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ The End
@@ -0,0 +1,9 @@
+ PuTTY is copyright 1997-2006 Simon Tatham.
+
+ 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.
+
+ 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:
+
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+ 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.
@@ -0,0 +1,31 @@
+------------------------------------------------------------
+Gow
+Unix command line utilities installer for Windows.
+------------------------------------------------------------
+
+Homepage: http://gow.sourceforge.net/
+Author: Brent R. Matzelle - bmatzelle [at] yahoo [dot] com
+
+ABOUT
+-----
+Gow is a project to provide the most useful Unix/GNU utilities on Windows with a convenient installer.
+
+
+DOCUMENTATION
+-------------
+
+QUESTIONS, HELP, & SUGGESTIONS
+------------------------------
+Go to the following places for help using Nini or if you'd like to request new features for Nini:
+
+* Help Forum
+ http://sourceforge.net/forum/forum.php?forum_id=379750
+
+* Mailing List
+ http://lists.sourceforge.net/lists/listinfo/nini-general
+
+Thank you for trying Gow!
+
+-------------------------------------
+Copyright (c) 2006 Brent R. Matzelle
+-------------------------------------
@@ -0,0 +1,73 @@
+'------------------------------------------------
+' Gow
+' Prints out all of the executables.
+' Author: Brent R. Matzelle
+'------------------------------------------------
+Option Explicit
+
+'------------------------------------------------
+' Adds a path to the environment variable.
+Sub ExecutablesList(path)
+ Dim fileSys, folder, file, index, line
+
+ line = " "
+ Set fileSys = CreateObject("Scripting.FileSystemObject")
+ Set folder = filesys.GetFolder(path)
+
+ For Each file In folder.Files
+ If IsExecutable(file) Then
+ If (Len(line) + Len(file.Name)) >= 78 Then
+ WScript.Echo line
+ line = " "
+ End If
+ line = line & Left(file.Name, Len(file.Name) - 4) & ", "
+ End If
+ Next
+
+ WScript.Echo Left(line, Len(line) - 2)
+End Sub
+
+'------------------------------------------------
+' Returns true if the file is an executable.
+Function IsExecutable(file)
+ Dim result
+ result = false
+
+ If Len(file) > 4 Then
+ result = (Right(file, 4) = ".exe")
+
+ If result = False Then
+ result = (Right(file, 4) = ".bat")
+ End If
+ End If
+
+ IsExecutable = result
+End Function
+
+'------------------------------------------------
+' Main sub-routine
+Sub Main()
+ If Wscript.Arguments.Count < 1 Then
+ Call PrintUsage("")
+ Exit Sub
+ End If
+
+ WScript.Echo "Available executables:"
+ WScript.Echo ""
+ ExecutablesList(Wscript.Arguments(0))
+End Sub
+
+'------------------------------------------------
+' Prints out the normal program usage parameters
+Sub PrintUsage(message)
+ Dim usage
+
+ If Len(message) > 0 Then
+ usage = message & Chr(10)
+ End If
+
+ Wscript.Echo usage
+End Sub
+
+' Start program here
+Call Main()
@@ -0,0 +1,2 @@
+@echo off
+pscp %1 %2 %3 %4 %5 %6 %7 %8 %9
@@ -0,0 +1,2 @@
+@echo off
+psftp %1 %2 %3 %4 %5 %6 %7 %8 %9
@@ -0,0 +1,4 @@
+:: Whereis program by Raymond Chen
+:: URL: http://blogs.msdn.com/oldnewthing/archive/2005/01/20/357225.aspx
+
+@for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i
No changes.
Oops, something went wrong.

0 comments on commit 238fdee

Please sign in to comment.