Here is the attempt using Windows Command Prompt
---------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Here is groff and troff run from the Command Prompt
C:\Users\jws>cd jws.t
C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\groff.exe -v
GNU groff version 1.21
Copyright (C) 2009 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
called subprograms:
C:\Applications\groff-1.21\bin\groff.exe: couldn't exec troff: Permission
denied
Now try troff --help
C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\troff.exe --help
usage:
C:\Applications\groff-1.21\bin\troff.exe -abcivzCERU -wname -Wname -dcs -
ffam -mname -nnum -olist
-rcn -Tname -Fdir -Idir -Mdir [files...]
Now try grotty.exe -v (works on my 1.17 env)
C:\Users\jws\jws.t>C:\Applications\groff-1.21\bin\grotty.exe -v
Access is denied.
C:\Users\jws\jws.t>
but try the older 1.17 installation
C:\Users\jws\jws.t>C:\Applications\groff\bin\grotty.exe -v
GNU grotty (groff) version 1.17.2
C:\Users\jws\jws.t>
Works fine again
---------------------
set.txt is attached .....I don't know if "post' means attach or copy to
email or if it matters
----- Original Message -----
From: "Eli Zaretskii" <e...@gnu.org>
To: "John W. Smay" <jws...@earthlink.net>
Cc: <groff@gnu.org>; "Werner LEMBERG" <w...@gnu.org>
Sent: Sunday, October 06, 2013 12:48 PM
Subject: Re: [Groff] Fw: Installing/Running groff-1.21 on W7 x64
[Please keep the list on the CC.]
From: "John W. Smay" <jws...@earthlink.net>
Date: Sun, 6 Oct 2013 12:05:23 -0700
Eli, As you suggest I changed ownership from Administrators to smay8/jws
in
all groff-1.21 directories and files, but results are the same, groff.exe
seems not to have permission to execute troff.exe.
There are no permissions on Windows for one program to invoke
another. Permissions belong only to users who run those programs.
Can you invoke troff.exe directly from the cmd.exe prompt? E.g., try
"troff --help". If you can invoke troff like that, then the problem
has nothing to do with permissions of troff.exe itself.
I would also try running grotty.exe from the command line.
If running troff.exe and grotty.exe from the command line works,
please show your entire environment (type "set > env.txt" from the
cmd.exe prompt and post env.txt).
Also, which program did you use to unpack the groff-1.21-w32-bin.zip
archive? Did that program preserve the directory structure recorded
in the zip file?
Running all this from an MKSToolKit Korn shell, will perhaps try from
cygwin/bin/bash.exe in a few days when I get that tuned up.
Please try running from the Windows cmd.exe shell. I don't know what
will MKS shell or Cygwin Bash do to Groff, I never tried.
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\jws\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=SMAY8
ComSpec=C:\Windows\system32\cmd.exe
DISPLAY=:0.0
FP_NO_HOST_CHECK=NO
HOME=C:\Users\jws
HOMEDRIVE=C:
HOMEPATH=\Users\jws
include=c:\applications\devstudio\vc\include;c:\applications\devstudio\vc\atl\include;c:\applications\devstudio\vc\mfc\include;%include%
lib=c:\applications\devstudio\vc\lib;c:\applications\devstudio\vc\mfc\lib;%lib%
LOCALAPPDATA=C:\Users\jws\AppData\Local
LOGONSERVER=\\SMAY8
MAN_CHM_INDEX=C:/APPLIC~1/mks/etc/chm/tkutil.idx;C:/APPLIC~1/mks/etc/chm/tkapi.idx;C:/APPLIC~1/mks/etc/chm/tcltk.idx;C:/APPLIC~1/mks/etc/chm/tkcurses.idx
MAN_HTM_PATHS=C:/APPLIC~1/mks/etc/htm/perl;C:/APPLIC~1/mks/etc/htm/perl/pod;C:/APPLIC~1/mks/etc/htm/perl/ext;C:/APPLIC~1/mks/etc/htm/perl/lib
MAN_TXT_INDEX=C:/APPLIC~1/mks/etc/tkutil.idx;C:/APPLIC~1/mks/etc/tkapi.idx;C:/APPLIC~1/mks/etc/tcltk.idx;C:/APPLIC~1/mks/etc/tkcurses.idx
MSDevDir=C:\Applications\DevStudio\SharedIDE
NUMBER_OF_PROCESSORS=4
NUTCROOT=C:\APPLIC~1\mks
OS=Windows_NT
Path=C:\APPLIC~1\mks\bin64;C:\APPLIC~1\mks\bin;C:\APPLIC~1\mks\bin\X11;C:\APPLIC~1\mks\mksnt;C:\Program
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common
Files\Microsoft Shared\Windows
Live;C:\Windows\system32;.;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Intel\WiFi\bin\;C:\Program Files\Common
Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files (x86)\Common Files\ACD Systems\EN;C:\Program Files
(x86)\Common Files\ACD Systems;C:\Program Files (x86)\Common Files\Roxio
Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
Shared\9.0\DLLShared\;c:\applications\devstudio\sharedide\bin\ide;c:\applications\devstudio\sharedide\bin;c:\applications\devstudio\vc\bin;c:\program
files\intel\wifi\bin\;c:\program files\common files\intel\wirelesscommon\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.sh;.ksh;.csh;.sed;.awk;.pl
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
ROOTDIR=C:/APPLIC~1/mks
RoxioCentral=C:\Program Files (x86)\Common Files\Roxio Shared\9.0\Roxio
Central33\
SESSIONNAME=Console
SHELL=C:/APPLIC~1/mks/mksnt/sh.exe
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\jws\AppData\Local\Temp
TERM=nutc
TERMCAP=C:\APPLIC~1\mks\etc\termcap
TERMINFO=C:\APPLIC~1\mks\usr\lib\terminfo
TMP=C:\Users\jws\AppData\Local\Temp
TMPDIR=C:/Users/jws/AppData/Local/Temp
USERDOMAIN=smay8
USERNAME=jws
USERPROFILE=C:\Users\jws
windir=C:\Windows