Re: mainCRTstartup warning in ld

2006-03-24 Thread Brian Dessent
Adam Miedzi?ski wrote: > when i link with "ld" it shows warning about mainCRTstartup Because the C runtime startup files expect that your code has a main() function. > when i try to run .. it crashes before code executed! You appear to be trying to do *nix type syscalls. That won't work. Win

Re: ":" in filename

2006-03-24 Thread Joe Smith
"Joe Smith" wrote in message news:[EMAIL PROTECTED] "Brian Dessent" wrote in message Sorry! -^ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: ":" in filename

2006-03-24 Thread Joe Smith
"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hiroki Sakagami wrote: What happens in the below commands? The ":" in filenames seems to be a problem. But I don't understand the rule. The colon is used by NTFS to signify alternate data streams. You can google

mainCRTstartup warning in ld

2006-03-24 Thread Adam MiedziƄski
can sb know why (newest download cygwin) after compiling in "as" such a code: .global _start _start: movl $1,%eax movl $0,%ebx int $0x80 when i link with "ld" it shows warning about mainCRTstartup . .and when i try to run .. it crashes before code executed! and why such a simple program needs ma

Re: The binary "[.exe"

2006-03-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Buchbinder, Barry (NIH/NIAID) [E] on 3/24/2006 7:59 PM: > > "/bin/[ --help" gives a message while "/bin/test --help" is silent. > (Interestingly, "strings /bin/test.exe" show that "test.exe" contains > the help message.) "[ --version" giv

Re: ":" in filename

2006-03-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 3/24/2006 8:51 PM: > > The colon is used by NTFS to signify alternate data streams. You can > google for more information about this, e.g. > . And that would explain how I managed

Re: The binary "[.exe"

2006-03-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Buchbinder, Barry (NIH/NIAID) [E] on 3/24/2006 7:59 PM: > > Are they supposed to be different? Yes. "[" requires a final "]" argument, while "test" does not. And POSIX requires that "test --help" and "[ --help ]" both return success (0

Re: ":" in filename

2006-03-24 Thread Brian Dessent
Hiroki Sakagami wrote: > What happens in the below commands? The ":" in filenames seems to be > a problem. But I don't understand the rule. The colon is used by NTFS to signify alternate data streams. You can google for more information about this, e.g. .

":" in filename

2006-03-24 Thread Hiroki Sakagami
Hi, What happens in the below commands? The ":" in filenames seems to be a problem. But I don't understand the rule. % ls -l total 0 % touch aaa:bbb % ls -l total 0 -rw-rw-rw- 1 anonymous anonymous 0 Mar 25 12:32 aaa % ls -l aaa:bbb -rw-rw-rw- 1 anonymous anonymous 0 Mar 25 12:32 aaa:bbb % rm a

RE: Re: The binary "[.exe"

2006-03-24 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Eric Blake wrote: > Vanessa Murdock yahoo.com> writes: > >> I downloaded and installed cygwin. I did an ls -la on the /usr/bin/ >> directory and found a binary called "[.exe". Is this a legitimate >> utility (and what does it do)? > > Yes it is legitimate - it is part of coreutils. For what i

How to change the priority of a running process?

2006-03-24 Thread Manuel Gonzalez Montoya
Hi, It seems the 'snice' command is not working right, i tried this: snice +20 bash snice +20 -p 2448 ; where 2448 is the bash's pid reported by 'ps' and the priority showed by 'top' is always the same (8) before and after the snice. Is there another way of change the priority

Re: 6.8.99.901-1 as "current"? (was Re: Testing snapshots - III)

2006-03-24 Thread Angelo Graziosi
Corinna Vinschen wrote: > FWIW, the bug is apparently fixed in xorg-x11 version 6.8.99.901-1, > which is available as test version using setup. Confirmed! Thanks, Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Automated Setup

2006-03-24 Thread Capaci, Christopher
Hi, I'm trying to automate the setup of cygwin so that the same exact setup is reproducible on many different machines. I found some command line arguments to setup.exe that should help. -q runs through the whole process without any input. To use that I'll need to use -R to set the root, which wor

Re: 1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-24 Thread Gerry Reno
Today I tried starting httpd with cygrunsrv with similar results: $ cygrunsrv -S httpd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. [EMAIL PROTECTED] ~/docs $ ps -efl UID PIDPPID TTY STIME COMMAND greno3404

RE: cygserver 1.20: How to start this daemon before PostgreSQL's postmaster in a script?

2006-03-24 Thread S. L.
Maybe the best way to check cygserver's complete startup (i.e. the IPC functionality) would be to use the ipcs command. The following outputs are for cygserver service up and down status (I'm not sure the fact that I'm on XP makes any difference, though): $ ipcs -q Message Queues: T ID

6.8.99.901-1 as "current"? (was Re: Testing snapshots - III)

2006-03-24 Thread Corinna Vinschen
On Mar 23 13:33, Angelo Graziosi wrote: > For the sake of completeness. > > With the snapshots 20060322 the problems described in > http://cygwin.com/ml/cygwin/2006-03/msg00624.html and in > http://cygwin.com/ml/cygwin/2006-03/msg00435.html seem to be solved! > > I note, only, that after launchin

Re: gcc 3.2.3

2006-03-24 Thread Brian Dessent
Heather Kelly wrote: > The earliest version available via the cygwin installer is > gcc 3.3.3. Is there a way to install 3.2.3? If it were me I'd certainly try with the supported versions first. If that fails you can try the Cygwin Time Machine, a third-party archive of older packages:

Re: chmod not working after setting ntsec in CYGWIN environment variable

2006-03-24 Thread Brian Dessent
Terrence Brannon wrote: > [EMAIL PROTECTED] ~/.ssh > $ export CYGWIN=ntsec In addition to what Dave and Eric already mentioned, "ntsec" is the default behavior (and has been for many years) so setting "CYGWIN=ntsec" does essentially nothing. Brian -- Unsubscribe info: http://cygwin.com/ml/

RE: gcc 3.2.3

2006-03-24 Thread Dave Korn
On 24 March 2006 19:39, Heather Kelly wrote: > Hi, > > I am trying to install cygwin and gcc via the setup.exe found on the cygwin > site: http://www.cygwin.com I assume setup is installing the latest > cygwin release 1.5.19-4 > I have software, Geant4 8.0.p01, that requests gcc 3.2.3 for build

gcc 3.2.3

2006-03-24 Thread Heather Kelly
Hi, I am trying to install cygwin and gcc via the setup.exe found on the cygwin site: http://www.cygwin.com I assume setup is installing the latest cygwin release 1.5.19-4 I have software, Geant4 8.0.p01, that requests gcc 3.2.3 for building. The earliest version available via the cygwin in

RE: cygserver 1.20: How to start this daemon before PostgreSQL's postmaster in a script?

2006-03-24 Thread Dave Korn
On 24 March 2006 17:18, Alexey Lyubimov wrote: > Thanks Dave, > but I forgot to say that I was running Cygwin under Win98SE. It was my > fault ;) > So, I can not use cygrunsrv. > > --- > Alexey Lyubimov This is a perfect example of why http://cygwin.com/acronyms#PPIOSPE is a good idea. I can

Re: chmod not working after setting ntsec in CYGWIN environment variable

2006-03-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Terrence Brannon on 3/24/2006 10:05 AM: > Why won't chmod work even after setting CYGWIN properly? > > [EMAIL PROTECTED] ~/.ssh > $ ls -l > total 9 > -rw-r--r-- 1 terrence mkgroup-l-d 1675 Mar 14 10:02 id_rsa > -rw-r--r-- 1 terrence mkgro

RE: chmod not working after setting ntsec in CYGWIN environment variable

2006-03-24 Thread Dave Korn
On 24 March 2006 17:05, Terrence Brannon wrote: > Why won't chmod work even after setting CYGWIN properly? > > [EMAIL PROTECTED] ~/.ssh > $ ls -l > total 9 > -rw-r--r-- 1 terrence mkgroup-l-d 1675 Mar 14 10:02 id_rsa > -rw-r--r-- 1 terrence mkgroup-l-d 396 Mar 14 10:02 id_rsa.pub > -rw-r--r-- 1

chmod not working after setting ntsec in CYGWIN environment variable

2006-03-24 Thread Terrence Brannon
Why won't chmod work even after setting CYGWIN properly? [EMAIL PROTECTED] ~/.ssh $ ls -l total 9 -rw-r--r-- 1 terrence mkgroup-l-d 1675 Mar 14 10:02 id_rsa -rw-r--r-- 1 terrence mkgroup-l-d 396 Mar 14 10:02 id_rsa.pub -rw-r--r-- 1 terrence mkgroup-l-d 733 Mar 13 12:29 known_hosts [EMAIL PROTEC

[ANNOUNCEMENT] Updated: octave-2.1.73-1

2006-03-24 Thread James R. Phillips
INFO The cygwin octave package has been updated to release 2.1.73-1. Changes: + Update to new upstream release 2.1.73. This is the latest release in the "testing" branch of octave development. The release incorporates important bug fixes. Further information on the octave release branches

Re: 1.5.19-4 : problem with SCSI emulation for CD-ROM

2006-03-24 Thread Corinna Vinschen
On Mar 23 09:23, Gary Cowell wrote: > Under 1.5.19-4 on Windows 2000 SP4, the SCSI emulated CD-ROM device no > longer works. > [...] > This computer has 2 CD devices, an internal IDE and an external USB. > The following are results from some more devices when both drives > contained a CD-ROM: > >

[ANNOUNCEMENT] Updated: lapack-3.0-5

2006-03-24 Thread James R. Phillips
INFO The cygwin lapack-3.0 package has been updated to release 5. This fixes an issue with the /etc/profile.d/lapack.sh file polluting the name space of environmental variables. More information in the lapack-3.0.README file. Lapack 3.0 is a comprehensive FORTRAN library for linear algebra o

Re: The Beauty of Cygstart

2006-03-24 Thread zzapper
Igor Peshansky <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > On Fri, 24 Mar 2006, zzapper wrote: > >> zzapper <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: > > Even it if's your own, . > >> Whoops forget the vital & (launch in own

RE: cygserver 1.20: How to start this daemon before PostgreSQL's postmaster in a script?

2006-03-24 Thread Dave Korn
On 24 March 2006 14:09, J.-S.Co ELEKTROPRIVOD wrote: > Can anybody suggest a proper solution? Configure cygserver to run as a windows service (under cygrunsrv) at startup time so that it's always there and ready? cheers, DaveK -- Can't think of a witty .sigline today -- Unsu

cygserver 1.20: How to start this daemon before PostgreSQL's postmaster in a script?

2006-03-24 Thread J.-S.Co ELEKTROPRIVOD
Hello! The problem is that I want to write a script "pg_start" that would do the following: 1) start cygserver daemon (cygserver -e -Y >>logfile 2>&1) 2) make sure that the initialization of the daemon is fully completed!!! 3) start the postmaster (pg_ctl -l ... start) I really don't know how

Re: The Beauty of Cygstart

2006-03-24 Thread Igor Peshansky
On Fri, 24 Mar 2006, zzapper wrote: > zzapper <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: Even it if's your own, . > Whoops forget the vital & (launch in own process) > > function cs() {cygstart *$1* &} > function csn() {cygstart "$(/bin/ls -t

Re: Windows mysql client hangs in cygwin ssh shell

2006-03-24 Thread Igor Peshansky
On Fri, 24 Mar 2006, Paul G Cantalupo wrote: > Hello, > > When I run the Windows mysql client from a cygwin bash shell everything > works fine. But when I run the Windows mysql client after logging into > my computer with ssh, then the client hangs - read: I don't see 'Enter > password:'. If I run

Windows mysql client hangs in cygwin ssh shell

2006-03-24 Thread Paul G Cantalupo
Hello, When I run the Windows mysql client from a cygwin bash shell everything works fine. But when I run the Windows mysql client after logging into my computer with ssh, then the client hangs - read: I don't see 'Enter password:'. If I run a cygwin compiled source version of mysql, it works

Re: service interact with desktop broken between: 1.5.5 & 1.5.19

2006-03-24 Thread Steven Hartland
No one got any ideas why this has been broken? - Original Message - From: "Steven Hartland" <[EMAIL PROTECTED]> We've been using 1.5.5 for a good long while now and have had cause to upgrade. Everything apart from service interact with desktop is working. I've dug as much as I can bu

Re: The Beauty of Cygstart

2006-03-24 Thread zzapper
zzapper <[EMAIL PROTECTED]> wrote in news:Xns979065E51F443zzappergmailcom@ 80.91.229.5: Whoops forget the vital & (launch in own process) function cs() {cygstart *$1* &} function csn() {cygstart "$(/bin/ls -t *.* | head -1)" &} function csl() { cygstart.exe *$(history -1 | sed "s/.* //g")* & } z

The Beauty of Cygstart

2006-03-24 Thread zzapper
Hi, Cygstart is one of the marvels of Cygwin as it helps bridge Windows apps and *nix. Specifically Cygstart understands Windows File Associations (amongst other things) So you can type say > cygstart finances.doc And this will open the file in MSWord or whatever I use the following "typing s

Re: Problems with cygwin cvs over ssh.

2006-03-24 Thread Corinna Vinschen
On Mar 24 04:03, Charles Wilson wrote: > Eric Blake wrote: > >My experience with cvs-1.11.21-1 is that it loses track of conflicts. In > >other words, in cvs-1.11.17, if I do: > > > >$ cvs up > >C foo > >$ cvs up > >C foo > > > >but in cvs-1.11.21, I get: > >$ cvs up > >C foo > >$ cvs up > >M foo

Re: Problems with cygwin cvs over ssh.

2006-03-24 Thread Charles Wilson
Eric Blake wrote: My experience with cvs-1.11.21-1 is that it loses track of conflicts. In other words, in cvs-1.11.17, if I do: $ cvs up C foo $ cvs up C foo but in cvs-1.11.21, I get: $ cvs up C foo $ cvs up M foo I would much rather see conflicts every time I update, so I haven't done muc

1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-24 Thread Gerry Reno
I am able to add the user 'nobody' and assign it to group 'Users' and then set local policy in windows so that 'nobody' can 'logon as a service'. I was expecting that I could define a service to start Apache and then use 'net start/stop' to control it. Well, I can define the service with cygrunsr

Re: cygcygipc-2

2006-03-24 Thread Charles Wilson
Touati Sid wrote: Meanwhile, could someone tell where the cygcygip-2 package can be retrieved ? Goggle tells nothing. Uncheck the box labelled "Hide obsolete and administrative packages" in setup.exe's 'Chooser' window, and it should show up. I think the real problem is that BOTH cygipc-2 a