Strange things with cygdrive

2008-07-21 Thread Angelo Graziosi
I have discovered that $ ls -lrt totale 28 dr-xr-xr-x 1 0root0 Jan 1 1970 cygdrive ^^ dr-xr-xr-x 1 Administrator Administrators 0 Dec 1 2006 proc -rwxr-x---+ 1 Administrator Users 57 Sep 27 2

Re: trouble running a script with a while loop from cron

2008-07-21 Thread Christopher Faylor
On Mon, Jul 21, 2008 at 05:27:38PM -0400, Mark J. Reed wrote: >On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote: >> On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning wrote: > >Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry. Sorry won't cut it. We've unleashed the hippos on you. cgf -- Unsubscribe

Re: trouble running a script with a while loop from cron

2008-07-21 Thread Mark J. Reed
On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote: > On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning wrote: Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry. -- Mark J. Reed <[EMAIL PROTECTED]> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.c

Re: trouble running a script with a while loop from cron

2008-07-21 Thread Mark J. Reed
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning <[EMAIL PROTECTED]> wrote: > + sort -u > -uThe system cannot find the file specified. That message is coming from the Windows SORT command, not the Cygwin one. Check cron's $PATH - it must have the Windows system dir near the front. -- Mark J. Reed <

trouble running a script with a while loop from cron

2008-07-21 Thread Mark Horning
Hi All, I've a problem with a script and I've been trying to troubleshoot it. When I run it by hand it works fine but it fails from cron. From what i can gather it doesn't like my while loop and the error I'm logging is "The system cannot find the file specified". Here are the particulars:

Re: cron and mail: a stupid question (please don't kill me)

2008-07-21 Thread r
On 2008-07-21, Julio Emanuel <[EMAIL PROTECTED]> wrote: > Hi all, > > I've searched a bit already, and have been through the cron, ssmtp, > and crontab manpages. Still, there is something that I don't quite > understand: why on earth the cron job's output are put in e-mails?? Lucky you !! I'm find

Using Readfile to get serial port data with Cygwin...

2008-07-21 Thread skaught
I'm trying to pull data from the serial port using a C++ program in Cygwin, but can't find the answers on how the data comes through. My programming is a bit rusty, so please go easy on me... :) I have a device that puts out a constant stream of data to the serial port and I always want to acce

Re: cron and mail: a stupid question (please don't kill me)

2008-07-21 Thread Brian Dessent
Julio Emanuel wrote: > I've searched a bit already, and have been through the cron, ssmtp, > and crontab manpages. Still, there is something that I don't quite > understand: why on earth the cron job's output are put in e-mails?? cron was written with the intention of being able to run jobs for n

Re: postgresql: libpq4 and libpq5 collide

2008-07-21 Thread Reini Urban
Corinna Vinschen schrieb: On Jul 21 14:15, Reini Urban wrote: 2008/7/21 Yaakov (Cygwin Ports): Both libpq4 and libpq5 contain the same /usr/bin/cygpq.dll file. setup.exe cannot handle a file coming from more than one package; this is bound to cause problems. Yes, I did this on purpose, resp. a

cron and mail: a stupid question (please don't kill me)

2008-07-21 Thread Julio Emanuel
Hi all, I've searched a bit already, and have been through the cron, ssmtp, and crontab manpages. Still, there is something that I don't quite understand: why on earth the cron job's output are put in e-mails?? I don't have any experience with the "mailing subsystem" of unix / cygwin worlds, so I

Re: setup.exe for 1.7 and patches?

2008-07-21 Thread Christopher Faylor
On Mon, Jul 21, 2008 at 10:59:10AM -0400, Ralph Hempel wrote: > Starting a new thread from an email from about a month ago... > > I've got a series of three patches from Reini as follows: > > For reference: > The current three command-line patches at the tracker are all against > current HEAD and

Re: ssh client disconnect error

2008-07-21 Thread luciop
> Looks like a DNS problem. Do you have a 127.0.0.1 <-> localhost mapping > in your $SYSTEMROOT/system32/drivers/etc/hosts file? Does forward and > reverse lookup for localhost and 127.0.0.1 work outside of sshd? i have check the hosts and the nslookup. what tools to use for reverse lookup? $l

setup.exe for 1.7 and patches?

2008-07-21 Thread Ralph Hempel
Starting a new thread from an email from about a month ago... I've got a series of three patches from Reini as follows: For reference: The current three command-line patches at the tracker are all against current HEAD and should applied in the following order: [EMAIL PROTECTED] /usr/src/cygwi

Re: lpr works? FAQ in error?

2008-07-21 Thread Wilfried
Ehh, I just saw that Rodrigo Medina addressed all these problems. So the script would probably look like this: --snip- #!/bin/sh $1 $2 $3 $4 $5 | unix2dos > tmp_file cygstart notepad.exe /p tmp_file rm tmp_file --snip- -- Wilfried Hennings -- Un

Re: lpr works? FAQ in error?

2008-07-21 Thread Wilfried
"jrsyangl" <[EMAIL PROTECTED]> wrote: > As a follow-up and clarification to my previous post, what I would like > to be able to do is to pipe output to a printer, e.g. > ls -l | lpr > This doesn't work for me as I explained previously. Using notepad /P > instead of lpr doesn't work either. It

Re: ssh client disconnect error

2008-07-21 Thread Corinna Vinschen
On Jul 21 10:45, luciop wrote: > luciop hotmail.com> writes: > > > > > hi all > > > > i cant connect to my local sshd using vista home. > > after numerous attempts to install (10) i have read every posting on this > > issue > > but still my problem persisted. > > i have my mcfee fiewall turne

Re: postgresql: libpq4 and libpq5 collide

2008-07-21 Thread Corinna Vinschen
On Jul 21 14:15, Reini Urban wrote: > 2008/7/21 Yaakov (Cygwin Ports): > > Both libpq4 and libpq5 contain the same /usr/bin/cygpq.dll file. > > setup.exe cannot handle a file coming from more than one package; this > > is bound to cause problems. > > Yes, I did this on purpose, resp. all the libpq

Re: postgresql: libpq4 and libpq5 collide

2008-07-21 Thread Reini Urban
2008/7/21 Yaakov (Cygwin Ports): > Both libpq4 and libpq5 contain the same /usr/bin/cygpq.dll file. > setup.exe cannot handle a file coming from more than one package; this > is bound to cause problems. Yes, I did this on purpose, resp. all the libpq packagers don't version their so's. The postgre

Re: bash load

2008-07-21 Thread r
On 2008-07-18, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 02:56:05PM +, r wrote: >> >>> But the short answer is that bash reads either .bashrc (non-login >>> shell) or .bash_profile (login shell), but not both. If you want the >>> stuff in your .bashrc to be loaded

Re: ssh client disconnect error

2008-07-21 Thread luciop
luciop hotmail.com> writes: > > hi all > > i cant connect to my local sshd using vista home. > after numerous attempts to install (10) i have read every posting on this > issue > but still my problem persisted. > i have my mcfee fiewall turned off. > > the error > ssh_exchange_identificatio

postgresql: libpq4 and libpq5 collide

2008-07-21 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Both libpq4 and libpq5 contain the same /usr/bin/cygpq.dll file. setup.exe cannot handle a file coming from more than one package; this is bound to cause problems. Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using