summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaph Levien <raph.levien@artifex.com>2001-04-09 09:01:10 +0000
committerRaph Levien <raph.levien@artifex.com>2001-04-09 09:01:10 +0000
commit48b5b87ca3ee4e436bb4489feb0da9fd7a0c54df (patch)
treee1e1a572ce1a9e7ad6c5f43df8dba9ad95e23559
parenta59501d9ca297c23a60ef2800f02c3949e0bcbae (diff)
More two-digit minor number fixes. Thanks to Russell Lang for spottingghostscript-7.00
the problem with gp_wgetv.c; it would have led to significant breakage in the Windows install. Also updates the Windows copyright message. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@1423 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r--gs/doc/Install.htm77
-rw-r--r--gs/src/dwsetup.rc2
-rw-r--r--gs/src/gp_wgetv.c7
3 files changed, 12 insertions, 74 deletions
diff --git a/gs/doc/Install.htm b/gs/doc/Install.htm
index 05fe0824a..56d53a3a9 100644
--- a/gs/doc/Install.htm
+++ b/gs/doc/Install.htm
@@ -144,25 +144,14 @@ no responsibility for RPMs created by others.
<p>
We usually distribute Ghostscript releases for Windows as self-extracting
-archive files, since this is the most convenient form for users. However,
-we or other parties may distribute releases in the form of plain zip
-archives.
+archive files, since this is the most convenient form for users. These
+files can also be unpacked as if they were plain zip files.
<p>
The self-extracting archive is normally named
<b><tt>gs###w32.exe</tt></b>,
-where ### is the release number (e.g., 403 for Ghostscript 4.03,
-600 for Ghostscript 6.0).
-
-<p>
-The zip archive is normally named
-<b><tt>gs###w32.zip</tt></b>,
-where ### is the release number (e.g., 403 for Ghostscript 4.03,
-600 for Ghostscript 6.0).
-
-<p>
-Only one of <b><tt>gs###w32.exe</tt></b> or <b><tt>gs###w32.zip</tt></b>
-is required.
+where ### is the release number (e.g., 650 for Ghostscript 6.50,
+700 for Ghostscript 7.00).
<h3><a name="Windows4"></a>Windows 95/98 and NT 4</h3>
@@ -188,72 +177,24 @@ href="http://www.cs.wisc.edu/~ghost/gsview/"
class="offsite">http://www.cs.wisc.edu/~ghost/gsview/</a>
</blockquote>
-<h3><a name="Windows3"></a>Win32s (Windows 3.1) and Windows NT 3.5</h3>
-
-<p>
-To install Ghostscript on Win32s (partial 32-bit environment under MS
-Windows 3.1), or Windows NT 3.5 you need the same archive file.
-However, the self extracting archive will not automatically run
-and install the Ghostscript.
-You must manually unzip this archive and install it.
-To install Ghostscript, execute the following commands in a Command Prompt
-window (replacing <em>###</em> with the release number):
-
-<blockquote><b><tt>
-c:
-<br>mkdir \gs
-<br>cd \gs
-<br>ftp get gs<em>###</em>w32.zip
-<br>unzip gs<em>###</em>w32.zip
-</tt></b></blockquote>
-
-If the file is named <b><tt>.zip</tt></b> and not <b><tt>.exe</tt></b>,
-unzip it using
-<blockquote><b><tt>
-unzip gs<em>###</em>w32.zip
-</tt></b></blockquote>
-
-<p>
-After unpacking the archive, create a shortcut to
-
-<blockquote>
-<b><tt>c:\gs\gs<em>#.#</em>\bin\gswin32.exe</tt></b>
-</blockquote>
-
-<p>
-If you place Ghostscript in a different directory, you will need to set
-<b><tt>GS_LIB</tt></b> or use the command line option <b><tt>-I</tt></b>.
-See <a href="Use.htm">Use.htm</a> for details.
-
<h3><a name="General_Windows"></a>General Windows configuration</h3>
<p>
The archive includes files in these subdirectories:
<blockquote><b><tt>
-gs<em>#.#</em>\bin
-<br>gs<em>#.#</em>\lib
-<br>gs<em>#.#</em>\examples
-<br>gs<em>#.#</em>\doc
+gs<em>#.##</em>\bin
+<br>gs<em>#.##</em>\lib
+<br>gs<em>#.##</em>\examples
+<br>gs<em>#.##</em>\doc
<br>fonts
</tt></b></blockquote>
<p>
-Note that the subdirectory is only <em>#.#</em>, not <em>#.##</em>, if
-the
-release number ends in 00. E.g., for release 6.0, <em>###</em> is 600,
-but
-<em>#.#</em> is 6.0.
-
-<p>
-The actual executable files, in the <b><tt>gs<em>#.#</em>\bin</tt></b>
+The actual executable files, in the <b><tt>gs<em>#.##</em>\bin</tt></b>
subdirectory, are:
<blockquote><table cellpadding=0 cellspacing=0>
-<tr valign=top> <td><b><tt>GS16SPL.EXE</tt></b>
- <td>&nbsp;&nbsp;&nbsp;
- <td>Print spooler for Win32s (Windows 3.1) only; must be in the same
- directory as <b><tt>GSWIN32.EXE</tt></b>
<tr valign=top> <td><b><tt>GSWIN32.EXE</tt></b>
<td>&nbsp;
<td>32-bit Ghostscript using windows
diff --git a/gs/src/dwsetup.rc b/gs/src/dwsetup.rc
index 35845b7cf..508b6e908 100644
--- a/gs/src/dwsetup.rc
+++ b/gs/src/dwsetup.rc
@@ -40,7 +40,7 @@ BEGIN
ICON IDR_MAIN,IDC_STATIC,11,17,20,20
LTEXT "This installs",IDC_STATIC,56,6,232,8
LTEXT "Product Name",IDC_PRODUCT_NAME,72,16,216,8
- LTEXT "Copyright (C) 1994-2000 Aladdin Enterprises, Menlo Park, California, U.S.A. All rights reserved. See the file PUBLIC for more details.\n\nRequires 10 - 20 Mbytes disk space.",
+ LTEXT "Copyright (C) 1994-2001 artofcode LLC, Benicia, California, U.S.A. All rights reserved. See the file PUBLIC for more details.\n\nRequires 10 - 20 Mbytes disk space.",
IDC_COPYRIGHT,56,30,232,48
LTEXT "Install to directory",IDC_STATIC,8,92,56,8
diff --git a/gs/src/gp_wgetv.c b/gs/src/gp_wgetv.c
index b9c12b5b7..2582c3a80 100644
--- a/gs/src/gp_wgetv.c
+++ b/gs/src/gp_wgetv.c
@@ -71,11 +71,8 @@ gp_getenv(const char *name, char *ptr, int *plen)
char key[256];
char dotversion[16];
- if (gs_revision % 100 == 0)
- sprintf(dotversion, "%d.0", (int)(gs_revision / 100));
- else
- sprintf(dotversion, "%d.%02d", (int)(gs_revision / 100),
- (int)(gs_revision % 100));
+ sprintf(dotversion, "%d.%02d", (int)(gs_revision / 100),
+ (int)(gs_revision % 100));
sprintf(key, "Software\\%s\\%s", gs_productfamily, dotversion);
code = gp_getenv_registry(HKEY_CURRENT_USER, key, name, ptr, plen);