directx-headers

2004-12-09 Thread Peter Ekberg
Hello! Background: I miss DirectX header files. Slightly patched headers from the Wine project works fine for me, so I submitted those some time ago. However, they were rejected due to licensing issues (Wine is LGPL, w32api is Public Domain). I then asked nicely if the Wine developers would be so

RE: setup.exe sucks

2004-12-09 Thread Williams, Gerald S \(Jerry\)
One issue that sometimes pops up currently is the failure of post-install scripts when Cygwin's DLL is being replaced. I know that you can run into trouble if a daemon is currently using the DLL when you update the cygwin package, at least. Perhaps a two-part install wouldn't be that bad, as long

Re: setup.exe sucks

2004-12-09 Thread Warren Young
Williams, Gerald S (Jerry) wrote: installer when needed/requested. The base Cygwin installer could then be done using MSI or whatever and could initiate reboots/etc. as needed before starting the package updater. Rebooting is a cop-out in this case. All the setup program has to do is stop

Re: setup.exe sucks

2004-12-09 Thread Warren Young
Warren Young wrote: stop running services before starting the upgrade. Thinking more about it, couldn't you just call LoadLibrary() on the full path to cygwin.dll, and if that succeeds, get the process list from it and send out kill signals? If LoadLibrary() doesn't succeed, either Cygwin isn't

Re: setup.exe sucks

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 05:25:09PM -0700, Warren Young wrote: Warren Young wrote: stop running services before starting the upgrade. Thinking more about it, couldn't you just call LoadLibrary() on the full path to cygwin.dll, and if that succeeds, get the process list from it and send out kill

Re: setup.exe sucks

2004-12-09 Thread Igor Pechtchanski
On Thu, 9 Dec 2004, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 05:25:09PM -0700, Warren Young wrote: Warren Young wrote: stop running services before starting the upgrade. Thinking more about it, couldn't you just call LoadLibrary() on the full path to cygwin.dll, and if that

Please upload: man-1.5o1-1

2004-12-09 Thread Dr. Volker Zell
Hi Please upload at your earliest convinience cut here #!/bin/bash mkdir man cd man wget http://cygwin.dev.wapme.net/packages/vzell/cygwin/release/man/man-1.5o1-1-src.tar.bz2 wget

Re: Duplicate invocation problem with xwin.exe

2004-12-09 Thread Martin Gill
Arturus Magi wrote: Martin Gill wrote: Ok, managed to find out what the problem was. Seems it's Zone Alarm. I had to completely uninstall it to solve the problems. Just thought I'd post this in case anyone else ever has the same problems. I've sent a note to ZA support... if they offer a

RE: XWin

2004-12-09 Thread Mark Fisher
how are you starting x? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felix85 Sent: 09 December 2004 07:31 To: [EMAIL PROTECTED] Subject: XWin For some reason when i try to start xwindows it will say that it is already open but i havent even opened

Re: openbox-3.2

2004-12-09 Thread Kevin Van Workum
Gerrit P. Haase wrote: Kevin Van Workum wrote: Has anyone out there compiled openbox-3.2 on cygwin? It worked until the final step. Below is the command that it failed on and a couple of the error messages. It looks like it's not finding the right libraries, but I don't know for sure since I'm not

need xterm to log to a file

2004-12-09 Thread Al Goodman
On unix, xterm has an option that will enable it to log info typed and displayed to be logged to a file. I downloaded the xterm source and compiled it. When I enabled the option via Cntl-mouse-left-click the window hung. Any suggestions on how to log input and output of an xterm would be

q: Xwin -clipboard over xdmcp with gdm

2004-12-09 Thread Chan Kar Heng
greetings. clipboard stops working with gdm over xdmcp. (works on local X connection). may i know if this's fixed yet? (doesn't seem like it's fixed; i tried). i've dug around found something related to gdm.conf killinitclients (or something like that). also found this: XFree86-xserv-4.3.0-42

rxvt starts in background

2004-12-09 Thread Bruno Schneidhuber
Hello, I have a problem with staring a rxvt from a remote machine with DISPLAY set to a cygwin-Win-XP-computer. The rxvt starts at the bottom of the windowlist. That means, that I can't see the rxvt until I click at the taskbar at the according button to make it top of the windowlist. Is there a

XDMCP Woes + Solaris

2004-12-09 Thread Mark Reis
Hello, I've been banging my head up against a wall trying to get XDMCP working with two solaris machines. Setup: Machine 1: Solaris 9 - The 9/02 build - not a lot of patches have been applied to bring it to the current level. Machine 2: Solaris 9 - The 9/04 build - Scenario: I attempt to

Re: XDMCP Woes + Solaris

2004-12-09 Thread Roman Belenov
Mark Reis [EMAIL PROTECTED] writes: Any suggestions? Try adding -from switch with your local IP address to command line; it helps in some network configurations. -- With regards, Roman.

src/winsup/cygwin ChangeLog lib/libcmain.c

2004-12-09 Thread cgf
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2004-12-09 21:28:32 Modified files: winsup/cygwin : ChangeLog winsup/cygwin/lib: libcmain.c Log message: * lib/libcmain.c (main): Properly deal with quoted first argument. Patches:

RE: ioctls.h not found

2004-12-09 Thread Chris January
When I am compiling ZSNES in cygwin. asm/ioctls.h: No such file or directory Error. Please Help Me Did you sacrifice the goat? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Pavel Kudrna
The caller of WinMain() incorrectly parses the command line if e.g. the space is present in the path or filename of the executable. The lpCmdLine then contains part of the filename at the beginning. /* program.c*/ #include windows.h int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE

Re: perl 5.8.6

2004-12-09 Thread Yitzchak Scott-Thoennes
On Wed, Dec 08, 2004 at 11:30:53AM -0800, Yitzchak Scott-Thoennes wrote: Gerrit, I've hoped to have some time to work on Win32:: stuff on the perl side, but haven't gotten around to it. For 5.8.6, could you give a try to including the Win32CORE module from the perl-libwin32 package as a

Re: building perl modules in cygwin

2004-12-09 Thread Reini Urban
Yitzchak Scott-Thoennes schrieb: On Wed, Dec 08, 2004 at 08:34:09AM -0800, a c wrote: cpan install Win32 Win32 is rather a special case. There are parts of Win32:: that are actually compiled into the win32 perl (but *not* cygwin) builds. And, as of late, the whole Win32 module is included with

Re: Postgresql error pg_ctl stop is invoked after a postmaster -i invocation

2004-12-09 Thread Reini Urban
Carlo Florendo schrieb: I invoked: postmaster -i -D /var/postgresql/data and was able to start and connect to my database. Since the process was made to run on the background, I wanted a way to stop it without doing a kill -9. Thus, on another instance of my shell, I invoked : pg_ctl stop -D

Re: Suggestion to avoid cywin and X/xorg related installation problems like setup eating up all memory at ~93% progress and crashing with runtime errors like the application requested to be terminated in an unusual way

2004-12-09 Thread Reini Urban
Emmanuel E schrieb: On a freshly installed windows xp pro sp2 machine the latest cygwin setup crashes while installing the X packages during a full install (more precisely it fails while running the xorg-devel sh script) After painfully combing through the mailing list I found the recommended

PostgreSQL: Bad system call

2004-12-09 Thread Markus Hoenicka
Hi all, once again I've hosed my PostgreSQL installation. I've more or less accidentally upgraded PostgreSQL to the latest version and it would start no more. I've perused the archives and collected all remedies I've found. Most notably: - I had fixed the / and /bin permissions previously and

Re: sshd in Windows 2003 server

2004-12-09 Thread daniel
Thanks, I actually executed ssh-host-config and chose to create the NT service and both the sshd and sshd_server users. Everything looks exactly the same as in my WinXP succesful installation. However, on my Win2003, when I run cygrunsrv.exe --start sshd, I always get immediately the

Re: PostgreSQL: Bad system call

2004-12-09 Thread Reini Urban
Markus Hoenicka schrieb: once again I've hosed my PostgreSQL installation. I've more or less accidentally upgraded PostgreSQL to the latest version and it would start no more. I've perused the archives and collected all remedies I've found. Most notably: - I had fixed the / and /bin permissions

findutils: find /foo -printf '%P\n' incorrect

2004-12-09 Thread Tim Moorhouse
I'm not sure when this stopped working, but it was in the last couple of weeks. Suppose I have a /foo/bar/baz file and do a find /foo -printf '%P\n'. I'm now getting foo/bar/baz as output instead of bar/baz - when formatting the %P option of printf, it seems to be assuming that the path on the

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 12:41:22PM +0100, Pavel Kudrna wrote: The caller of WinMain() incorrectly parses the command line if e.g. the space is present in the path or filename of the executable. The lpCmdLine then contains part of the filename at the beginning. /* program.c*/ #include windows.h

Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have been using cygwin for several years now. I am now trying to install the latest version. I deleted my cygwin directory to avoid any possible conflicts. I downloaded the whole distribution to the local drive. When I start the

Re: PostgreSQL: Bad system call

2004-12-09 Thread Markus Hoenicka
Reini Urban [EMAIL PROTECTED] was heard to say: The cause is that the internal cygserver msg buffer is allocated read-only. (IsBadWritePtr() fails) Reason unknown. gcc? cygwin? Solution pending. Szteps to reproduce: cygserver ipcs = Bad system call Oh great. I'm afraid fixing this is

Re: findutils: find /foo -printf '%P\n' incorrect

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 10:26:29AM -0500, Tim Moorhouse wrote: I'm not sure when this stopped working, but it was in the last couple of weeks. Suppose I have a /foo/bar/baz file and do a find /foo -printf '%P\n'. I'm now getting foo/bar/baz as output instead of bar/baz - when formatting the %P

Re: Error when installing

2004-12-09 Thread Robert Pendell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank Bures wrote: | Hi, | | I have been using cygwin for several years now. I am now trying to install | the latest version. I deleted my cygwin directory to avoid any possible | conflicts. I downloaded the whole distribution to the local drive. |

Error Compiling Mysql 4.1.7

2004-12-09 Thread Milis
Hello , after used ./configure --without-server then i continue with make command but i got error when using make.see this screenshot : http://img12.exs.cx/img12/7594/cygwin15qr.jpg compiling using: Wixp Xp Pro SP2 The latest Cygwin Component GCC G++ 3.3.3-3 Perl 5.8.5-3 --

Re: Error when installing

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 11:10:19AM -0500, Robert Pendell wrote: Frank Bures wrote: I have been using cygwin for several years now. I am now trying to install the latest version. I deleted my cygwin directory to avoid any possible conflicts. I downloaded the whole distribution to the local

[Fwd: [gp@familiehaase.de: sem_* functions in cygwin]]

2004-12-09 Thread Corinna Vinschen
[Catching up on some older mails] - Forwarded message from Gerrit P. Haase - From: Gerrit P. Haase To: cygwin ML Subject: sem_* functions in cygwin Date: Sun, 21 Nov 2004 22:48:20 +0100 Hi, nearly all sem_* functions are available, but sem_unlock is missing, was there a

[Fwd: [rurban@x-ray.at: Re: src/timezone/pgtz __imp__my_exec_path]]

2004-12-09 Thread Corinna Vinschen
[Catching up on some older mail] - Forwarded message from Reini Urban - From: Reini Urban To: pgsql-hackers Cc: cygwin, pgsql-cygwin Subject: Re: src/timezone/pgtz __imp__my_exec_path Date: Sat, 27 Nov 2004 13:09:24 +0100 postgresql-cygwin is working fine. See the testfarm.

q: cygwin svn+ssh svnserve

2004-12-09 Thread Chan Kar Heng
greetings. am trying to get the svnserve + ssh combo working on cygwin.. anybody managed to get this working? is the problem related to cygwin in the first place? i'm somewhat assuming that cygwin svnserve should work quite well with its own tools (cygwin ssh) in various ways (webdav, ssh,

Re: [Fwd: [gp@familiehaase.de: sem_* functions in cygwin]]

2004-12-09 Thread Corinna Vinschen
On Dec 9 09:50, Mark Paulus wrote: So, does that mean that if process 1 opens a semaphore, process 2 also grabs it, then process 1 unlinks it, and then reconnects to it, that process 1 and process 2 do not have and cannot have the same semaphore anymore, even though they are using the same

RE: [Fwd: [rurbanPCYM...x-ray.at: Re: src/timezone/pgtz __imp__my_exec_path]]

2004-12-09 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Corinna Vinschen Sent: 09 December 2004 16:55 [...snip...] From the above description it's not clear to me how the fault could be in cygserver since it has nothing to do with the creation of the buf memory in the application. And

floppy drive accesses

2004-12-09 Thread Eric Schweitz
I just upgraded my cygwin installation and I'm now seeing the floppy drive get accessed on various commands. What gives? The commands with this broken behavior I've run across are: find, df, mount at least. How do I turn this off short of ripping the floppy drive out of my machine? I've run

Re: Error when installing

2004-12-09 Thread Robert Pendell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Faylor wrote: | On Thu, Dec 09, 2004 at 11:10:19AM -0500, Robert Pendell wrote: | |Frank Bures wrote: | |I have been using cygwin for several years now. I am now trying to |install the latest version. I deleted my cygwin directory to

[Fwd: [rurban@x-ray.at: ssh-host-config CYGWIN quoting]]

2004-12-09 Thread Corinna Vinschen
[Still catching up on old mail] - Forwarded message from Reini Urban - From: Reini Urban To: cygwin Subject: ssh-host-config CYGWIN quoting Date: Wed, 27 Oct 2004 02:37:04 +0200 Hi Corinna, CYGWIN should be quoted when passed to cygrunsrv, otherwise one will not be able to use

Re: Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 11:34:20 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 11:10:19AM -0500, Robert Pendell wrote: Frank Bures wrote: I have been using cygwin for several years now. I am now trying to install the latest version. I deleted

Re: Error when installing

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 12:55:23PM -0500, Frank Bures wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 11:34:20 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 11:10:19AM -0500, Robert Pendell wrote: Frank Bures wrote: I have been using cygwin for several years

[Fwd: [rurbanOOPSx-ray.at: contrib/ssh-copy-id patch (get rid of identity.pub)]]

2004-12-09 Thread Corinna Vinschen
- Forwarded message from Reini Urban - From: Reini Urban To: cygwin, openssh-unix-dev Subject: contrib/ssh-copy-id patch (get rid of identity.pub) Date: Sat, 13 Nov 2004 14:04:41 +0100 Please consider this simple ssh-copy-id patch, This would be something the ssh-copy-id

RE: ioctls.h not found

2004-12-09 Thread Robb, Sam
When I am compiling ZSNES in cygwin. asm/ioctls.h: No such file or directory Error. Please Help Me Did you sacrifice the goat? Error: Coffee through nose. Besides, you should check the docs. Goats were required for Cygwin 1.3.x. The 1.5.x Cygwin DLL has been optimized for

[Fwd: [rurbanSPLATx-ray.at: Re: cron won't execute tasks]]

2004-12-09 Thread Corinna Vinschen
- Forwarded message from Reini Urban - From: Reini Urban To: cygwin Subject: Re: cron won't execute tasks Date: Fri, 29 Oct 2004 15:21:17 +0200 Dave Korn schrieb: You forgot to mention cron-diagnose.sh! I think 1.7 is the most recent.

Re: Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 13:02:20 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 12:55:23PM -0500, Frank Bures wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 11:34:20 -0500, Christopher Faylor wrote: On Thu, Dec 09,

defaultprograms / setup.exe

2004-12-09 Thread Bruno Schneidhuber
Hello, I want to build a cygwin-cd, so someone can easyly install cygwin with exactly the programs which he needs. But I didn't find out, where setup.exe reads the default list what to install. Could someone pleas help me? TIA Bruno Schneidhuber -- Unsubscribe info:

Re: Error when installing

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 01:29:04PM -0500, Frank Bures wrote: _update_info_dir appears in section PostInstallLast of the setup. I tried Keep and Source. In both cases I am getting the above error. What setting should I use? Other possibilities are Uninstall and Reinstall. You could try

Re: 1.5.12: ssh hangs with Windows XP SP2

2004-12-09 Thread Igor Pechtchanski
On Wed, 8 Dec 2004, Waiss, Garrett wrote: Cygwin version: 1.5.12 OS: Windows XP SP2 Before applying the SP2, ssh was working fine. Now ssh will hang with this specfic case. This works: sh -c ssh -i c:/keys/id_foo [EMAIL PROTECTED] 'ls -l /opt/' However, putting this into a java class

perl 5.8.6

2004-12-09 Thread Jason Pearce
Reini Urban wrote: Maybe I'll come to the pending Win32::API problem with the callbacks on gcc also. A simple hack30-like solution should always be possible. Or a fallback to C::Dynalib. Win32::OLE didn't compile OOTB, but this is easy. Just forgot where I put the patch. And your

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Pavel Kudrna
Christopher Faylor wrote:// On Thu, Dec 09, 2004 at 12:41:22PM +0100, Pavel Kudrna wrote: The caller of WinMain() incorrectly parses the command line if e.g. the space is present in the path or filename of the executable. The lpCmdLine then contains part of the filename at the beginning. /*

RE: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Pavel Kudrna Sent: 09 December 2004 19:52 Yes, but that means to create main() function. As temporary solution it is ok, but I think that more correct solution would be to replace the content of the file

Re: defaultprograms / setup.exe

2004-12-09 Thread Brian Keener
Bruno Schneidhuber wrote: But I didn't find out, where setup.exe reads the default list what to install. Could someone pleas help me? This is probably better discussed in cygwin-apps but I believe if you look in the setup.ini file for all packages with a category of base then you will

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 08:52:16PM +0100, Pavel Kudrna wrote: Christopher Faylor wrote:// On Thu, Dec 09, 2004 at 12:41:22PM +0100, Pavel Kudrna wrote: The caller of WinMain() incorrectly parses the command line if e.g. the space is present in the path or filename of the executable. The

Re: Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 13:35:15 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 01:29:04PM -0500, Frank Bures wrote: _update_info_dir appears in section PostInstallLast of the setup. I tried Keep and Source. In both cases I am getting the above

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 03:36:52PM -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 08:52:16PM +0100, Pavel Kudrna wrote: Christopher Faylor wrote:// On Thu, Dec 09, 2004 at 12:41:22PM +0100, Pavel Kudrna wrote: The caller of WinMain() incorrectly parses the command line if e.g. the

RE: 1.5.12: ssh hangs with Windows XP SP2

2004-12-09 Thread Waiss, Garrett
Unfortunately, -n doesn't help. I actually looked in the archives under ssh hangs and read the various messages. I am really hoping that there will a resolution for the pipe issue. Thanks for the response. Garrett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: Error when installing

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 03:49:57PM -0500, Frank Bures wrote: On Thu, 9 Dec 2004 13:35:15 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 01:29:04PM -0500, Frank Bures wrote: _update_info_dir appears in section PostInstallLast of the setup. I tried Keep and Source. In both cases I am

Re: Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Dec 2004 16:08:59 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 03:49:57PM -0500, Frank Bures wrote: On Thu, 9 Dec 2004 13:35:15 -0500, Christopher Faylor wrote: On Thu, Dec 09, 2004 at 01:29:04PM -0500, Frank Bures wrote:

Re: Error when installing

2004-12-09 Thread Brian Keener
Frank, When using setup.exe please click the view button in the chooser to the Up To Date display and check exactly what the display shows you have installed. Also please forward Christopher request for output of 'cygcheck -r -s -v' as an attachment? Also while in the chooser select the

Re: Incorrectly prepared lpCmdLine parameter of WinMain()

2004-12-09 Thread Christopher Faylor
. There is a new snapshot up there: http://cygwin.com/snapshots/ You'll need to grab libcygwin.a from cygwin-inst-20041209.tar.bz2 . You don't need to also install cygwin1.dll unless you want to. There are some potentially destabilizing changes in this DLL so anyone who downloads this make sure that you have

Re: Error when installing

2004-12-09 Thread Frank Bures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 09 Dec 2004 16:43:10 EST, Brian Keener wrote: Frank, When using setup.exe please click the view button in the chooser to the Up To Date display and check exactly what the display shows you have installed. Also please forward Christopher

Re: Error when installing

2004-12-09 Thread Brian Keener
Frank Bures wrote: Then select you X Packages and again check the partial tab to see what is shows as going to be updated and advise. As soon as I select any X package, _update_info_dir gets automatically selected as well. I explicitly deselected it, but I got exactly the same error

Re: perl 5.8.6

2004-12-09 Thread Reini Urban
Jason Pearce schrieb: Reini Urban wrote: Maybe I'll come to the pending Win32::API problem with the callbacks on gcc also. A simple hack30-like solution should always be possible. Or a fallback to C::Dynalib. Win32::OLE didn't compile OOTB, but this is easy. Just forgot where I put the patch.

Re: PostgreSQL: Bad system call

2004-12-09 Thread Reini Urban
Markus Hoenicka schrieb: Reini Urban [EMAIL PROTECTED] was heard to say: The cause is that the internal cygserver msg buffer is allocated read-only. (IsBadWritePtr() fails) Reason unknown. gcc? cygwin? Solution pending. Szteps to reproduce: cygserver ipcs = Bad system call Oh great. I'm afraid

Re: short fread(), but no ferror/feof

2004-12-09 Thread Igor Pechtchanski
On Fri, 10 Dec 2004, Peter Astrand wrote: I've discovered that fread(ptr, size, nitems, stream) sometimes returns a value less than nitems, but does not set feof() nor ferror(). As I A simple, compilable test case with results shown on both linux and cygwin would prove your theory. Here

Re: Postgresql error pg_ctl stop is invoked after a postmaster -i invocation

2004-12-09 Thread Carlo Florendo
Reini Urban wrote: Carlo Florendo schrieb: I invoked: postmaster -i -D /var/postgresql/data and was able to start and connect to my database. Since the process was made to run on the background, I wanted a way to stop it without doing a kill -9. Thus, on another instance of my shell, I

Re: short fread(), but no ferror/feof

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 07:49:18PM -0500, Igor Pechtchanski wrote: I guess this is the problem described at http://sources.redhat.com/ml/newlib/2004/msg00477.html. Perhaps you can apply the suggested patch? According to http://sources.redhat.com/ml/newlib/2004/msg00478.html, the patch was

HELP: Cygwin ruined my WinXP files/HDD!!!!

2004-12-09 Thread KevinGPO
I got a problem in WindowsXP. I installed some sourcecode to compile using Cygwin. Now I cannot seem to be able to remove/delete folders/files using the rm -Rf force command in Cygwin. Here is a detailed listing of the folder/files: CompiledLibraries/: total 0 drwx--+ 3 Kevin 0

Re: HELP: Cygwin ruined my WinXP files/HDD!!!!

2004-12-09 Thread Christopher Faylor
On Thu, Dec 09, 2004 at 04:32:05PM +, KevinGPO wrote: $ rm -d * rm: cannot unlink `audio': Operation not permitted rm: cannot unlink `cdrom': Operation not permitted rm: cannot unlink `cpuinfo': Operation not permitted rm: cannot unlink `endian': Operation not permitted rm: cannot unlink

Re: HELP: Cygwin ruined my WinXP files/HDD!!!!

2004-12-09 Thread Bobby McNulty
Christopher Faylor wrote: On Thu, Dec 09, 2004 at 04:32:05PM +, KevinGPO wrote: $ rm -d * rm: cannot unlink `audio': Operation not permitted rm: cannot unlink `cdrom': Operation not permitted rm: cannot unlink `cpuinfo': Operation not permitted rm: cannot unlink `endian': Operation not

cygwin, tar, dlt

2004-12-09 Thread David
i'm trying to TAR to DLT using Cygwin. I'm using the command -b 512, but for some reason, the Tape will max out at 128bytes. If I use a Windows based TAR program it works fine at 512. Any suggestions? Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

running a DOS batch file from a shell script - script doesn't wait for batch file to complete before continuing

2004-12-09 Thread Andy Sun
Hi, I have a shell script (#!/bin/sh) that runs a DOS batch file. During the execution of the shell script, it runs the DOS batch file (Pro/ENGINEER's PRO_BATCH.BAT to generate a plot file) but the script does not appear to wait for the DOS batch file to finish first before continuing. I tried

Re: 1.38: Bug set -o posix and cd .

2004-12-09 Thread Pierre A. Humblet
On Tue, Dec 07, 2004 at 07:42:44AM -0800, Lloyd J Lewins wrote: In bash, after entering posix mode (set -o posix), if the current path is a mounted UNC file, then cd fails. For example: bash-2.05b$ mount c:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)

Please help: fixup_after_exec problem

2004-12-09 Thread Ben Wing
Jerry Jones wrote about this problem: http://sources.redhat.com/ml/cygwin/2004-10/msg00942.html I'm the one getting this problem. I have gotten this *consistently* for the last two months every time I try to run any version of XEmacs compiled under Cygwin. Nothing obvious changed in XEmacs to

Weird interaction between Visual C++ and Cygwin

2004-12-09 Thread Ben Wing
If any Cygwin program is running, e.g. a compilation, Visual C++ takes an incredibly long time to start up. This has been the case for me for years. Does anyone know if there is some sort of locking contention here? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

Bad interaction -- alternate console buffer and console history

2004-12-09 Thread Ben Wing
I apologize if this is a FAQ. One of the clever features of the `cygwin' TERM type is that programs like `man' and `more' and others switch to a secondary screen buffer, so that when you exit the program, you get back the original buffer, uncluttered by the program's output. Unfortunately, this

Re: running a DOS batch file from a shell script - script doesn't wait for batch file to complete before continuing

2004-12-09 Thread Larry Hall
At 09:55 PM 12/9/2004, you wrote: Hi, I have a shell script (#!/bin/sh) that runs a DOS batch file. During the execution of the shell script, it runs the DOS batch file (Pro/ENGINEER's PRO_BATCH.BAT to generate a plot file) but the script does not appear to wait for the DOS batch file to finish

Re: Weird interaction between Visual C++ and Cygwin

2004-12-09 Thread Larry Hall
At 10:09 PM 12/9/2004, you wrote: If any Cygwin program is running, e.g. a compilation, Visual C++ takes an incredibly long time to start up. This has been the case for me for years. Does anyone know if there is some sort of locking contention here? Are you talking about MSDEV 6 or 7 (.NET)?

Re: Bad interaction -- alternate console buffer and console history

2004-12-09 Thread Larry Hall
At 10:16 PM 12/9/2004, you wrote: I apologize if this is a FAQ. One of the clever features of the `cygwin' TERM type is that programs like `man' and `more' and others switch to a secondary screen buffer, so that when you exit the program, you get back the original buffer, uncluttered by the

Re: floppy drive accesses

2004-12-09 Thread Larry Hall
At 12:12 PM 12/9/2004, you wrote: I just upgraded my cygwin installation and I'm now seeing the floppy drive get accessed on various commands. What gives? The commands with this broken behavior I've run across are: find, df, mount at least. How do I turn this off short of ripping the floppy

Re: running a DOS batch file from a shell script - script doesn't wait for batch file to complete before continuing

2004-12-09 Thread Andy Sun
I guess I should have been more specific with my original posting... I was running pro_batch in command-line mode (pro_batch -text ...) and not interactive mode, i.e. not using the GUI at all. I thought it was implied since I was talking about running a shell script and a batch file. The shell

Hello , after used ./configure --without-server then i continue with make command but i got error when using make.see this screenshot : http://img12.exs.cx/img12/7594/cygwin15qr.jpg compiling using: Wixp Xp Pro SP2 The latest Cygwin Component GCC G++ 3.3.3-3 'Make' error When Compiling

2004-12-09 Thread Milis
Hello , after used ./configure --without-server then i continue with make command but i got error when using make.see this screenshot : http://img12.exs.cx/img12/7594/cygwin15qr.jpg compiling using: Wixp Xp Pro SP2 The latest Cygwin Component GCC G++ 3.3.3-3 Perl 5.8.5-3 -- Best

Error when compiling [SorryFor last post, mistakepaste]

2004-12-09 Thread Milis
after used ./configure --without-server then i continue with make command but i got error when using make.see this screenshot : http://img12.exs.cx/img12/7594/cygwin15qr.jpg compiling using: Wixp Xp Pro SP2 The latest Cygwin Component GCC G++ 3.3.3-3 Perl 5.8.5-3 NB:Sorry for last

Re: running a DOS batch file from a shell script - script doesn't wait for batch file to complete before continuing

2004-12-09 Thread Larry Hall
At 11:22 PM 12/9/2004, you wrote: I guess I should have been more specific with my original posting... I was running pro_batch in command-line mode (pro_batch -text ...) and not interactive mode, i.e. not using the GUI at all. I thought it was implied since I was talking about running a shell

Re: floppy drive accesses

2004-12-09 Thread Eric Schweitz
No. It doesn't appear in the output from mount. I didn't change mounts; just ran Setup.exe and got the latest updates. -- mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /c type system (binmode) e:

Re: perl 5.8.6

2004-12-09 Thread Jason Pearce
Reini Urban wrote: Jason Pearce schrieb: Reini Urban wrote: Maybe I'll come to the pending Win32::API problem with the callbacks on gcc also. A simple hack30-like solution should always be possible. Or a fallback to C::Dynalib. Win32::OLE didn't compile OOTB, but this is easy. Just forgot where

Re: perl 5.8.6

2004-12-09 Thread Yitzchak Scott-Thoennes
On Thu, Dec 09, 2004 at 11:38:38PM +0100, Reini Urban wrote: Jason Pearce schrieb: Reini Urban wrote: Maybe I'll come to the pending Win32::API problem with the callbacks on gcc also. A simple hack30-like solution should always be possible. Or a fallback to C::Dynalib. Win32::OLE didn't

Re: [Bug Cygwin Applications/575] Unknown HZ value! message from procps commands

2004-12-09 Thread Dr. Volker Zell
Chris January writes: In both cases what is the actual value of HZ you are seeing? 01:02 AM [555] w Unknown HZ value! (483) Assume 100. 08:34:05 up 11:33, 3 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT vzelltty0