read() problem ?

2002-03-09 Thread Nicolae Santean
Is anybody aware of any issue related to the system call of read(filedescriptor, buffer, nbytes) under cygwin? The function is supposed to return 0 if EOF or # of bytes read otherwise. I get a 4GB read - clearly not correct (nbytes == 277). Appreciating, Nic. Santean

xdvi finally solved !

2002-03-09 Thread Nicolae Santean
I've finally made it: xdvi runs okay under cygwin+XFree86! Needed a code change in the way read() is called by mk_pk_get_results() in font_open.c If you are interested in binaries/details, contact me at [EMAIL PROTECTED] or [EMAIL PROTECTED] Thanks for your help, folks! Cordially,

xdvi runtime error - part 2

2002-03-08 Thread Nicolae Santean
Continuing my attempts to run xdvi under cygwin, here are my success and new problem: I have fixed the problem with fcntl(F_SETOWN) - it actually is an option in the configuration file which allows to inhibit the use of this function. But xdvi still goes nuts and crashes after eating the

Re^2: xdvi runtime error

2002-03-07 Thread Nicolae Santean
(F_SETOWN) - thanks for the advice. I found the same xdvi problem reported on the XFree86 mail list - with no follow-ups. So, I'll keep digging. Thanks again, and if you find more related clues, please let me know. Nic. Santean On Wed, Mar 06, 2002 at 10:32:38PM -0500, Nicolae Santean wrote: I

Re^3: xdvi runtime error

2002-03-07 Thread Nicolae Santean
You may be right. I was just looking to the memory eaten by the xdvi process as reported by the W2K's task manager. The crash was occurring at 128Mb of allocated memory, and now occurs at 256Mb. Thanks for this clarification, and thanks Corinna for the explanation about vfork(). I hope I will

xdvi question

2002-03-06 Thread Nicolae Santean
Hi, has anybody installed xdvi on XFree86/cygwin? I have tried it using xdvi 22.53 downloaded from http://www.math.berkeley.edu/~vojta/xdvi.html ftp.math.berkeley.edu and it gives runtime errors. Does anybody have a success story? Nic.

xdvi runtime error

2002-03-06 Thread Nicolae Santean
Hello, I have recently compiled xdvi22.53 under cygwin1.3.9, but I am having problems running it. The runtime error is: xdvi: fcntl F_SETOWN: Invalid argument - mktexpk --mfmode cx --bdpi 300 --mag 'magstep(0.5)' --dpi 329 cmsl10 '3' setsid: Not owner xdvi: fcntl F_SETOWN: Invalid argument

Re: xdvi runtime error

2002-03-06 Thread Nicolae Santean
I believe that the 128 megabyte realloc failure is a consequence (memory leak - maybe) of the other errors: xdvi: fcntl F_SETOWN: Invalid argument, setsid: Not owner I am getting these errors first, and then I watch the memory being slowly flooded. By no means xdvi should go to 128Mb. I

xdvi/xfree86/cygwin error ...

2002-03-01 Thread Nicolae Santean
Has anybody given a solution to the problem below? I am running into the same problem and I would greatly appreciate any guidance. -- Nick, [EMAIL PROTECTED] I've just setup Cygwin/Latex/XFree86 and am trying to setup xdvi. I