Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Danilo Turina
Some time ago, it happened to me that my PC came out of hibernate without no apparent reason. Initially I though that someone, accidentally, hit the keyboard causing the resume of the PC, but after disabling keyboard switch on, the problem persisted. I then discovered that my network card wa

RE: Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Buchbinder, Barry (NIH/NIAID) [E]
> Saurabh Tendulkar wrote: >> Hi, >> I'm trying to troubleshoot why my pc comes out of hibernate. It seems >> like some of the times this happens correspond to cron jobs. Is it >> possible that cron could be (one of) the culprit(s) here? If so, is >> there a way to prevent cron from waking up the c

Re: Updating Cygwin and packages

2007-10-02 Thread Andre Bonhote
Greg Chicares sbcglobal.net> writes: > > On 2007-10-01 06:24Z, D wrote: > > When I downloaded and installed cygwin I had installed various packages. I was wondering > > how do I go about updating those packages and cygwin for that matter if possible. > > Run 'setup.exe' again. Greg, is there

RE: Re: Updating Cygwin and packages

2007-10-02 Thread Buchbinder, Barry (NIH/NIAID) [E]
Andre Bonhote wrote on Tuesday, October 02, 2007 7:38 AM: > Greg Chicares sbcglobal.net> writes: > >> >> On 2007-10-01 06:24Z, D wrote: >>> When I downloaded and installed cygwin I had installed various >>> packages. I > was wondering >>> how do I go about updating those packages and cygwin for

Re: llrint implementation in Cygwin

2007-10-02 Thread Diego Biurrun
Charles Wilson wrote: Diego Biurrun wrote: Next time you call shenanigans, get your facts straight first please. I never claimed that we do not *have* OS-specific workarounds, I said we do not *add* them. That's a vey fine distinction and was not at all clear from the foregoing convers

Re: Re: Updating Cygwin and packages

2007-10-02 Thread Andre Bonhote
Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: > The FAQ is your friend: > http://cygwin.com/faq/faq.setup.html#faq.setup.cli Ah, what a n00b I am :-) Thanks a lot! André -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/pr

Re: completely fresh reinstall of cygwin?

2007-10-02 Thread Larry Hall (Cygwin)
Andy Foster wrote: I originally installed cygwin on a network drive (p:\cygwin). Due to various intermittent network problems I wanted to move the install it to my local c:\ (e.g. c:\cygwin) so that it is no longer network dependent. Unfortunately when I tried to put a new install into c:\cygwi

Re: Home directory

2007-10-02 Thread Larry Hall (Cygwin)
Gmane User wrote: Brian Dessent wrote: Gmane User wrote: If I were make c:/cygwin/home/UserName my home directory, what is the best way? Ssh only considers /etc/passwd, so it seems best to manually set it there, though I'd have to manually fix it each time I recreate it. It still seems to be

Re: Home directory

2007-10-02 Thread Gmain User
Brian Dessent dessent.net> writes: > > Gmane User wrote: > > > it makes it hard to quickly scan for changes to "mv". Many software systems > > have cumulative release notes with each new release...would the release > > notes > > can be findable in such a form online? > > less /usr/share/doc/C

Why I cannot build my own program in Cygwin when using libpng function????

2007-10-02 Thread valpassing
Hi, I installed libpng in cygwin. then I include png.h in my files, and use many fucntions provided by libpng. But when I compile it, it reports: [EMAIL PROTECTED] ~/Desktop//pix $ gcc -lpng12 -lz -I/usr/include/libpng12 -o ref ref.c /cygdrive/c/DOCUME~1/xiaodwan/LOCALS~1/Temp/ccsDlvm3.o:ref.c:(.

Re: Why I cannot build my own program in Cygwin when using libpng function????

2007-10-02 Thread Charles Wilson
valpassing wrote: I installed libpng in cygwin. then I include png.h in my files, and use many fucntions provided by libpng. But when I compile it, it reports: [EMAIL PROTECTED] ~/Desktop//pix $ gcc -lpng12 -lz -I/usr/include/libpng12 -o ref ref.c try gcc -I/usr/include/libpng12 -o ref ref.c

Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Andrew DeFaria
Danilo Turina wrote: Some time ago, it happened to me that my PC came out of hibernate without no apparent reason. Initially I though that someone, accidentally, hit the keyboard causing the resume of the PC, but after disabling keyboard switch on, the problem persisted. I then discovered t

Re: Home directory

2007-10-02 Thread Gmain User
Larry Hall (Cygwin cygwin.com> writes: >Gmane User wrote: >> ...it might be worthwhile to >> uninstall cygwin, then reinstall it on a secondary IDE drive (not >> drive c:), along with the cygwin user file/folder tree. It has a >> lot more space, so I can forget the network drive altogether. I >>

Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Matthew Wozniski
On Tue, Oct 02, 2007 at 08:51:19AM -0700, Andrew DeFaria wrote: > Danilo Turina wrote: >> I then discovered that my network card was configured to wake up the PC >> when receiving certain kind of packets. Disabling that feature did the >> job. > AFAICT that's not hibernation - that's sleep mode.

login winXP home edition

2007-10-02 Thread pbs
I am trying to get xdmcp to work on a winXP home edition machine. But there are several issues that are cropping up. One of them can be simplified by looking at problems with "login" from the command line prompt. I have a number of Cygwin users and I have messed around with the /etc/passwd file. T

Re: Home directory

2007-10-02 Thread Paul McFerrin
Gmain User wrote: Larry Hall (Cygwin cygwin.com> writes: [lines deleted] There's no reason to fear this. I have all sorts of Cygwin installation where the root drive is not C:. It works just fine. Larry Hall: When having multiple copies of Cygwin installed on your hard drive, how do y

Re: Home directory

2007-10-02 Thread Larry Hall (Cygwin)
Paul McFerrin wrote: Gmain User wrote: Larry Hall (Cygwin cygwin.com> writes: [lines deleted] There's no reason to fear this. I have all sorts of Cygwin installation where the root drive is not C:. It works just fine. Larry Hall: When having multiple copies of Cygwin installed on your

Keeping setup.exe from touching mount entries

2007-10-02 Thread Paul McFerrin
Is there a way to prevent setup from touching the existing mount table entries in the registry? I would like to create 'another' instance of Cygwin for my own customizations and not affect my original instance. Yes, I only have one PC available to me. - paul mcferrin -- Unsubscribe info:

Huge memory leak, probably related to making new processes

2007-10-02 Thread wimxa
Try executing: find -exec echo {} \; Simple command. This one, however, leaks at about 5kB/s. I tried the following: find|xargs echo This one didn't appear to leak, but then I tried this one: find|xargs -n 1 echo This also leaked at around the same rate. Then I tried the following: COUNTER=

Re: Home directory

2007-10-02 Thread Gmain User
Andrew DeFaria DeFaria.com> writes: >Gmain User wrote: >> Andrew DeFaria wrote: >>> >>> Personally I'd: >>> $ mv /home /home.save >>> $ mount -bsf /// /home >>> $ mv -rp /home.save/* /home >>> >>> Adjust the output of /etc/passwd to use /home/$USER >> >> That places all cygwin file trees for all u

Re: Keeping setup.exe from touching mount entries

2007-10-02 Thread Larry Hall (Cygwin)
Paul McFerrin wrote: Is there a way to prevent setup from touching the existing mount table entries in the registry? I would like to create 'another' instance of Cygwin for my own customizations and not affect my original instance. Yes, I only have one PC available to me. No but you can re

Re: Huge memory leak, probably related to making new processes

2007-10-02 Thread Lewis Hyatt
wimxa wrote: Try executing: find -exec echo {} \; Simple command. This one, however, leaks at about 5kB/s. I tried the following: How do you know it is leaking memory? If you are looking at Windows Task Manager or some similar program, then you're probably just being misled. The OS will aut

Re: completely fresh reinstall of cygwin?

2007-10-02 Thread Fergus
>> How can I get a fresh, independent install on my local c:\? > You can rerun "setup.exe" and _specify_the_new_Cygwin_root_. Annoyingly, I find that this useful recovery of an un-mounted system is a function that the current setup v.2.573.2.2 fails to do, that the earlier long-running v.2.510

Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Saurabh Tendulkar
On Tue, Oct 02, 2007 at 08:51:19AM -0700, Andrew DeFaria wrote: Danilo Turina wrote: I then discovered that my network card was configured to wake up the PC when receiving certain kind of packets. Disabling that feature did the job. AFAICT that's not hibernation - that's sleep mode. There's a

Re: Home directory

2007-10-02 Thread Warren Young
Gmain User wrote: Thanks, Brian. I was actually asking in the context of not updating cygwin right away. Whether or not one could access up-to-date accumulation of release notes, possibly on the web. Cygwin doesn't have monolithic "releases". Every individual package is on its own release

installed packages?

2007-10-02 Thread peter360
I remember there is a command to query all the installed packages -- name and version. But I cannot find it anywhere. Can someone remind me of that command? Thanks, Peter -- View this message in context: http://www.nabble.com/installed-packages--tf4559057.html#a13010544 Sent from the Cygwin U

RE: installed packages?

2007-10-02 Thread Buchbinder, Barry (NIH/NIAID) [E]
From: peter360; Sent: Tuesday, October 02, 2007 8:01 PM > I remember there is a command to query all the installed packages -- > name and version. But I cannot find it anywhere. Can someone remind > me of that command? cygcheck -cd -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-sim

Re: Huge memory leak, probably related to making new processes

2007-10-02 Thread wimxa
> How do you know it is leaking memory? If you are looking at Windows Task Manager or some similar program, then you're probably just being misled. The OS will automatically free the memory from each "echo" process after it terminates, but it may not always immediately report it as available.

[gdb] Data watchpoints in Windows weirdness. Call for testers.

2007-10-02 Thread Pedro Alves
Hi all, I'm looking over watchpoint support in gdb, and I see something quite weird here. It seems something/someone is messing with the debug registers. When a watchpoint is triggered, the Dr6 register should have a few bits set to tell the debugger which of the Dr[0-3] watchpoints triggered.

Re: Home directory

2007-10-02 Thread Gmane User
Warren Young wrote: > Gmain User wrote: >> Thanks, Brian. I was actually asking in the context of not updating cygwin >> right away. Whether or not one could access up-to-date accumulation of >> release >> notes, possibly on the web. > > Cygwin doesn't have monolithic "releases". Every individ

Re: completely fresh reinstall of cygwin?

2007-10-02 Thread Christopher Faylor
On Tue, Oct 02, 2007 at 11:28:25PM +0100, Fergus wrote: >>>How can I get a fresh, independent install on my local c:\? > >>You can rerun "setup.exe" and _specify_the_new_Cygwin_root_. > >Annoyingly, I find that this useful recovery of an un-mounted system is >a function that the current setup v.2.5

Re: Huge memory leak, probably related to making new processes

2007-10-02 Thread Lewis Hyatt
> Anyway, can I ask you to do this yourself - just do the last test: > > COUNTER=1 > while [ $COUNTER -lt 123456 ]; do (echo $COUNTER); let COUNTER=$COUNTER+1; > done > > and wait a little (couple of minutes). If necessary, repeat it until your > memory drops to 10-20 MB range and your HDD shou

Re: Huge memory leak, probably related to making new processes

2007-10-02 Thread Christopher Faylor
On Wed, Oct 03, 2007 at 04:20:18AM +, Lewis Hyatt wrote: >> Anyway, can I ask you to do this yourself - just do the last test: >> >> COUNTER=1 >> while [ $COUNTER -lt 123456 ]; do (echo $COUNTER); let COUNTER=$COUNTER+1; >> done >> >> and wait a little (couple of minutes). If necessary, repe

newbie question -- problem with launching shell script files

2007-10-02 Thread Alexey Illarionov
Hello, I have just installed cygwin using setup.exe and know almost nothing about it. I made no changes in any configuration files and launch my cygwin session just by starting the unchanged 'cygwin.bat' file. I wrote a small script. Here is the content of the 'run.sh' #!/bin/sh cd /cygdrive/c

Re: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Andrew DeFaria
Matthew Wozniski wrote: Hibernation does involve swapping everything in memory to disk, freezing the state of all processes, and powering down the system. But, the system being powered down does not mean that no part of the system is receiving power. In fact, Wake On LAN technology is designed

Re: newbie question -- problem with launching shell script files

2007-10-02 Thread Brian Dessent
Alexey Illarionov wrote: > I wrote a small script. Here is the content of the 'run.sh' > > #!/bin/sh > cd /cygdrive/c > > Unfortunately, it does not work. The command './run.sh' does nothing. Let's back up a moment. What do you expect the above script to actually do? Nothing is the proper and

Cygwin hangs with error (--) 3 mouse buttons found

2007-10-02 Thread Putto
I am trying to coonect to linux machien with xwin command Cygwin gives error (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fo st! winPointerWarpCursor - Discarding first warp: 637 484 And hangs Please provide solution for the same. -- View this message in