Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-27 Thread walter harms
Ralph Corderoy schrieb: > Hi Boudewijn, > >> I just tried StraceNT, here is part of the output generated when grops >> encounters 'x init' >> >> [T5140] CreateFileA(34f818, c000, 3, 22fcd0, ...) = 104 > > Based on WINE, CreateFileA is almost the same as CreateFileW which is > > HANDLE

Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-23 Thread Boudewijn
2009/6/23 Ralph Corderoy > What happens for the `init x' on the case > where there's no problems; the dvi one? > >From the StraceNT output it seems grodvi does not create temporary files... I started using the cygwin version of Groff which works fine on Vista. It just seems a bit slower. Reg

Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-23 Thread Ralph Corderoy
Hi Boudewijn, > I just tried StraceNT, here is part of the output generated when grops > encounters 'x init' > > [T5140] CreateFileA(34f818, c000, 3, 22fcd0, ...) = 104 Based on WINE, CreateFileA is almost the same as CreateFileW which is HANDLE WINAPI CreateFileW(LPCWSTR filename, DWO

Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-22 Thread Boudewijn
2009/6/22 Ralph Corderoy > > Hi, > > If this was Linux, we'd just strace(1) the pipeline and see what the > kernel was being asked to do for starters. I don't know if something > like > http://www.intellectualheaven.com/default.asp?BH=projects&H=strace.htm > would be any use on Vista. It may sh

Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-22 Thread brian m. carlson
On Mon, Jun 22, 2009 at 10:43:13AM +0300, Efraim Yawitz wrote: > > src\libs\libgroff\tmpfile.cpp:179: > > > > FILE *fp = fdopen(fd, FOPEN_RWB); // many callers of xtmpfile use binary > > I/O > > > > and this already says what the mode is, i.e. "w+", which should be > perfectly legal. Actually, o

Re: [Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-22 Thread Ralph Corderoy
Hi, If this was Linux, we'd just strace(1) the pipeline and see what the kernel was being asked to do for starters. I don't know if something like http://www.intellectualheaven.com/default.asp?BH=projects&H=strace.htm would be any use on Vista. It may show precisely where the temporary file is

[Groff] Re: grops and grohtml problems on vista (walter harms)

2009-06-22 Thread Efraim Yawitz
On Fri, Jun 19, 2009 at 7:00 PM, walter harms > according to the man page (i hope that m$ did not break specs) that means > the "mode" argument > is wrong. perhaps you can add a message like: > /* adjust to your needs !*/ > fprintf("fdopen mode(%s):%s",mode,strerror(errno)); > > > I just looke

[Groff] Re: grops and grohtml problems on vista

2009-06-21 Thread Efraim Yawitz
On Sun, Jun 21, 2009 at 7:00 PM, Ralph Corderoy wrote: > > I see that the two that fail have hello.ps in common whereas the one > that works is hello.dvi. Is it possible that the Windows "shell" (I've > not used Windows so this is a punt in the dark) is having problems > arranging the re-directio

Re: [Groff] Re: grops and grohtml problems on vista

2009-06-21 Thread Ralph Corderoy
Hi Boudewijn, Returning to your original complaint: > this command: groff -p hello.pic > hello.ps > results in: grops:4:fatal error: fdopen: Invalid argument > > the command: groff -Thtml -p hello.pic > hello.ps > results in: pre-grohtml:fatal error: fdopen: Invalid argument > > the command: gro

Re: [Groff] Re: grops and grohtml problems on vista

2009-06-20 Thread Boudewijn
Efraim Yawitz schrieb: >* On Wed, Jun 17, 2009 at 7:01 PM, bousch ster wrote:* >*>It seems grops and grohtml are not working for me on Windows Vista even* >* with* >*>UAC disabled.* >*>* >*>this command: groff -p hello.pic > hello.ps* >*>results in: grops:4:fatal error: fdopen: Inv

[Groff] Re: grops and grohtml problems on vista

2009-06-20 Thread Boudewijn
>I just looked again and I see that the temporary file is created in the >place designated by %TMP% or %TEMP%, so you have to make sure that you have >write permissions to those places Yes, these are set to my user tmp dir. It does not seem to be a permission problem because with UAC disabled it a

Re: [Groff] Re: grops and grohtml problems on vista

2009-06-18 Thread walter harms
Efraim Yawitz schrieb: > On Wed, Jun 17, 2009 at 7:01 PM, bousch ster wrote: >>It seems grops and grohtml are not working for me on Windows Vista even > with >>UAC disabled. >> >>this command: groff -p hello.pic > hello.ps >>results in: grops:4:fatal error: fdopen: Invalid > argu

[Groff] Re: grops and grohtml problems on vista

2009-06-18 Thread Efraim Yawitz
I just looked again and I see that the temporary file is created in the place designated by %TMP% or %TEMP%, so you have to make sure that you have write permissions to those places

[Groff] Re: grops and grohtml problems on vista

2009-06-18 Thread Efraim Yawitz
On Wed, Jun 17, 2009 at 7:01 PM, bousch ster wrote: > >It seems grops and grohtml are not working for me on Windows Vista even with >UAC disabled. > >this command: groff -p hello.pic > hello.ps >results in: grops:4:fatal error: fdopen: Invalid argument > >the command: groff -Th