Re: Utility to get IP address of the machine

2006-01-05 Thread Andrew DeFaria
Dave Korn wrote: Why not the more simple: ipconfig | grep "IP Address" | awk '{print $NF}' Because that may return more than one result. And it doesn't choose the one with the lowest metric, which is most likely to be the primary gateway to the world-at-large. By and large most people hav

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Karl M
From: Christopher Faylor Subject: Re: services not starting with 20060104 snapshot Date: Thu, 5 Jan 2006 01:05:45 -0500 On Thu, Jan 05, 2006 at 12:42:56AM -0500, Igor Peshansky wrote: >On Wed, 4 Jan 2006, Christopher Faylor wrote: > >> On Wed, Jan 04, 2006 at 11:22:13PM -0500, Igor Peshansky

RE: Does "^G" work on Windows 9x/Me?

2006-01-05 Thread Dave Korn
Christopher Faylor wrote: > On Wed, Jan 04, 2006 at 06:21:11PM -0500, Joe Smith wrote: >>> So, maybe I will just cause the system to use MessageBox(MB_OK) aka >>> MessageBox(0). >> MessageBox??? > > YA observed trend for the new year - not reading the full email thread > before spasmodically typin

[ANNOUNCEMENT] Updated: whois-4.7.11-1

2006-01-05 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Version 4.7.11-1 of whois has been uploaded. Whois is a client for the whois directory service. It allows you to retrieve information on domains name, IP addresses, and more. If you're not sure what version do you have you can use the following comma

Re: basename(1) defect

2006-01-05 Thread Stan Tsu
The slowdown appears to be a problem with WinME, but I'll keep digging. From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: Stan Tsu <[EMAIL PROTECTED]> CC: cygwin@cygwin.com Subject: Re: basename(1) defect Date: Thu, 29 Dec 2005 22:12:04 -0500 Stan Tsu wrote: Than

Re: Utility to get IP address of the machine

2006-01-05 Thread Bernhard Ege
Andrew DeFaria wrote: Dave Korn wrote: Why not the more simple: ipconfig | grep "IP Address" | awk '{print $NF}' Because that may return more than one result. And it doesn't choose the one with the lowest metric, which is most likely to be the primary gateway to the world-at-large. By

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Angelo Graziosi
I do not know if this can help. With the snapshot 20060104 I observe this in association with ZoneAlarm: Running startxwin.bat as user with no admin. priv., the dos box relative to XWin and xterm are not closed, so that, at the end, one gets 3 windows: 2 dos and 1 xterm. With the snapshot 2006

Re: 1.5.18-1: Crash launching COMMAND.COM (W98)

2006-01-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ingo Brueckl on 1/4/2006 12:38 PM: > > So what shall I do? There is one in cygwin\bin (which was the current > directory at this time) and a copy in C:\WINDOWS\SYSTEM for my cygwin > programs to run. As far as I understood, the copy in th

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Christopher Faylor wrote: > On Thu, Jan 05, 2006 at 12:42:56AM -0500, Igor Peshansky wrote: > >On Wed, 4 Jan 2006, Christopher Faylor wrote: > > > >> On Wed, Jan 04, 2006 at 11:22:13PM -0500, Igor Peshansky wrote: > >> >On Wed, 4 Jan 2006, Christopher Faylor wrote: > >> >>On We

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Igor Peshansky wrote: > On Thu, 5 Jan 2006, Christopher Faylor wrote: > > > >> Also, what version of XP are you running? Pro? Is it up-to-date with > > >> all service packs and updates? > > > > > >I'm running XP Pro SP1, with most updates applied (except KB835409 and > > >KB9

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Igor Peshansky wrote: > On Thu, 5 Jan 2006, Igor Peshansky wrote: > > > On Thu, 5 Jan 2006, Christopher Faylor wrote: > > > > > >> Also, what version of XP are you running? Pro? Is it up-to-date > > > >> with all service packs and updates? > > > > > > > >I'm running XP Pro SP

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor Peshansky wrote: >On Thu, 5 Jan 2006, Igor Peshansky wrote: > >> On Thu, 5 Jan 2006, Igor Peshansky wrote: >> >> > On Thu, 5 Jan 2006, Christopher Faylor wrote: >> > >> > > >> Also, what version of XP are you running? Pro? Is it up-to-date >> > > >>

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Christopher Faylor wrote: > On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor Peshansky wrote: > >On Thu, 5 Jan 2006, Igor Peshansky wrote: > > > >> On Thu, 5 Jan 2006, Igor Peshansky wrote: > >> > >> > On Thu, 5 Jan 2006, Christopher Faylor wrote: > >> > > >> > > >> Also, what ve

Re: ping

2006-01-05 Thread Gerrit P. Haase
Ivan wrote: > Many thanks; cross-building from another directory did in fact > eliminate my problem. Anybody want a report saying that cross-build is > required on Cygwin but not on any (of several) other systems? I admit > the bell is more interesting :-) It is usual way to build any package o

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 10:28:23AM -0500, Igor Peshansky wrote: >On Thu, 5 Jan 2006, Christopher Faylor wrote: > >> On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor Peshansky wrote: >> >On Thu, 5 Jan 2006, Igor Peshansky wrote: >> > >> >> On Thu, 5 Jan 2006, Igor Peshansky wrote: >> >> >> >> > On Thu

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Christopher Faylor wrote: > On Thu, Jan 05, 2006 at 10:28:23AM -0500, Igor Peshansky wrote: > >On Thu, 5 Jan 2006, Christopher Faylor wrote: > > > >> On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor Peshansky wrote: > >> >On Thu, 5 Jan 2006, Igor Peshansky wrote: > >> > > >> >> O

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 11:59:40AM -0500, Igor Peshansky wrote: >P.S. The changes with "CygwinInvisible" WindowStation were an attempt to >fix this problem, weren't they? Not exactly. >Are they still needed? Yes. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

Re: Help : can not get cron work

2006-01-05 Thread lin q
From: Brian Dessent <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: Help : can not get cron work Date: Wed, 04 Jan 2006 18:00:46 -0800 lin q wrote: > 1) "cygrunsrv -I cron -p /usr/sbin/cron -a –D" You should run /usr/bin/cron-config, and not try to do this b

Re: Help : can not get cron work

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, lin q wrote: > From: Brian Dessent <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] . Thanks. > Subject: Re: Help : can not get cron work > Date: Wed, 04 Jan 2006 18:00:46 -0800 > > lin q wrote: > > >

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Karl M
Hi All... From: Christopher Faylor Subject: Re: services not starting with 20060104 snapshot Date: Thu, 5 Jan 2006 11:31:13 -0500 On Thu, Jan 05, 2006 at 10:28:23AM -0500, Igor Peshansky wrote: >On Thu, 5 Jan 2006, Christopher Faylor wrote: > >> On Thu, Jan 05, 2006 at 09:38:09AM -0500, Igor P

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Karl M wrote: > > From: Christopher Faylor > > Subject: Re: services not starting with 20060104 snapshot > > Date: Thu, 5 Jan 2006 11:31:13 -0500 > > > > On Thu, Jan 05, 2006 at 10:28:23AM -0500, Igor Peshansky wrote: > > >On Thu, 5 Jan 2006, Christopher Faylor wrote: > > > > >

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Igor Peshansky wrote: On Thu, 5 Jan 2006, Karl M wrote: I tried the latest snapshot cygwin1-200601051745.dll.bz2 on my SP1 box and I still can't start services; went back to cygwin1-20060103.dll.bz2. Karl, sorry to belabor the obvious, but have you completely killed the service processes befo

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: >FWIW, I have only tested this with a self-built DLL, not the snapshot. >Will do so shortly. Make sure that you update to the latest CVS. I made some other changes last night. I don't see how they could resurrect this problem but, w

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: FWIW, I have only tested this with a self-built DLL, not the snapshot. Will do so shortly. Make sure that you update to the latest CVS. I made some other changes last night. I don't see how they could

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 03:36:05PM -0500, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: >> >>>FWIW, I have only tested this with a self-built DLL, not the snapshot. >>>Will do so shortly. >> >> >>Make sure that you update to

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 03:36:05PM -0500, Larry Hall (Cygwin) wrote: Christopher Faylor wrote: On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: FWIW, I have only tested this with a self-built DLL, not the snapshot. Will do so shortly. Make sure t

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 03:43:08PM -0500, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Thu, Jan 05, 2006 at 03:36:05PM -0500, Larry Hall (Cygwin) wrote: >> >>>Christopher Faylor wrote: >>> On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: >FWIW, I have

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 03:43:08PM -0500, Larry Hall (Cygwin) wrote: >Sure. But I can't run sshd as a service with the current snapshot or >local build. Do you want me to run it with a SYSTEM-owned shell or >with the latest snapshot (1/3?) that I can start sshd as a service >useful? Larry, could

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 03:43:08PM -0500, Larry Hall (Cygwin) wrote: Sure. But I can't run sshd as a service with the current snapshot or local build. Do you want me to run it with a SYSTEM-owned shell or with the latest snapshot (1/3?) that I can start sshd as a ser

Re: COMSPEC environment variable missing

2006-01-05 Thread Ingo Brueckl
Just tried the 20060104 snapshot. Bug is fixed. Thanks a lot. Ingo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Christopher Faylor wrote: > On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: > >FWIW, I have only tested this with a self-built DLL, not the snapshot. > >Will do so shortly. > > Make sure that you update to the latest CVS. I made some other changes > last night.

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Karl M
Hi Igor... From: Igor Peshansky CC: cygwin@cygwin.com Subject: Re: services not starting with 20060104 snapshot Date: Thu, 5 Jan 2006 15:21:37 -0500 (EST) On Thu, 5 Jan 2006, Karl M wrote: > > From: Christopher Faylor > > Subject: Re: services not starting with 20060104 snapshot > > Date: Thu,

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Angelo Graziosi
snapshot 20060103 all worked fine. Now with 20060105 12:35:59 all works fine. Best regards, Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Karl M wrote: > Hi Igor... > > > From: Igor Peshansky > > CC: [EMAIL PROTECTED] Ahem... > > Subject: Re: services not starting with 20060104 snapshot > > Date: Thu, 5 Jan 2006 15:21:37 -0500 (EST) > > > > On Thu, 5 Jan 2006, Karl M wrote: > > > > > I tried the latest snapshot

Re: Help : can not get cron work

2006-01-05 Thread lin q
From: Igor Peshansky <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: lin q <[EMAIL PROTECTED]> CC: cygwin@cygwin.com Subject: Re: Help : can not get cron work Date: Thu, 5 Jan 2006 14:23:06 -0500 (EST) On Thu, 5 Jan 2006, lin q wrote: > From: Brian Dessent <[EMAIL PROTECTED]> > Reply-To: [E

Re: Help : can not get cron work

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, lin q wrote: > > From: Igor Peshansky <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: lin q <[EMAIL PROTECTED]> > > CC: [EMAIL PROTECTED] Again, . Thanks. > > Subject: Re: Help : can not get cron work > > Date: Thu, 5 Ja

'su' no longer working?

2006-01-05 Thread Igor Peshansky
Hi, 'su' used to be an executable that worked correctly from a SYSTEM-owned shell, but now it's a shell script that simply prints a "not supported" message. Is it possible to resurrect the old "su" executable (that perhaps prints the same message if run from a non-SYSTEM account)? This was the o

Re: chere problem with directories with single quote marks

2006-01-05 Thread Dave
--- Eric Blake wrote: > According to Dave on 1/3/2006 2:03 PM: > >> > >>the here-doc correctly preserved the input string. So applying that to > >>the above problem, the registry entry MIGHT work (untested by me) if it is > >>written as: > >> > >>SHELL_CMD="-l -c \\\"xargs -0 cd << 'EOF'\n%L\nEOF

Re: Help : can not get cron work

2006-01-05 Thread lin q
From: Igor Peshansky <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: lin q <[EMAIL PROTECTED]> CC: cygwin@cygwin.com Subject: Re: Help : can not get cron work Date: Thu, 5 Jan 2006 17:32:17 -0500 (EST) On Thu, 5 Jan 2006, lin q wrote: > > Subject: Re: Help : can not get cron work > > Date: T

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Karl M
Hi Igor... From: Igor Peshansky Subject: Re: services not starting with 20060104 snapshot Date: Thu, 5 Jan 2006 16:34:59 -0500 (EST) On Thu, 5 Jan 2006, Karl M wrote: > Hi Igor... > > > From: Igor Peshansky > > CC: [EMAIL PROTECTED] Ahem... > > Subject: Re: services not starting with 200601

cygwin and rsync

2006-01-05 Thread Ken Senior
Hi. I posted the message listed below to the rsync list, but one of the readers there suggested I post it here indicating that there's a known/common problem in cygwin of data loss in local pipes (whatever that means I am not sure). I find my rsync command hanging, whether or not I run it over

Re: Help : can not get cron work

2006-01-05 Thread Igor Peshansky
I guess including this in the body wasn't prominent enough... AGAIN: . Please read the meaning of this acronym before continuing this thread. Thanks. On Thu, 5 Jan 2006, lin q wrote: > > From: Igor Peshansky <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PRO

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
Ken, I run rsync both Windows and Linux to Linux, Linux always being the 'server'. In my case I found the hang to be up front, before secure shell even attempted to access the network and also in my case changing from a local socket to a local pipe resolved the issue: http://cygwin.com/ml/cygwin

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Igor Peshansky wrote: On Thu, 5 Jan 2006, Christopher Faylor wrote: On Thu, Jan 05, 2006 at 03:21:37PM -0500, Igor Peshansky wrote: FWIW, I have only tested this with a self-built DLL, not the snapshot. Will do so shortly. Make sure that you update to the latest CVS. I made some other cha

Re: cygwin and rsync

2006-01-05 Thread Ken Senior
Thanks Brett for the quick reply. The multiple -v is a handy thing to remember. In fact this is not my problem though. It looks like the listing of files just hangs midstream. Some local directories are created and sometimes a few files make it too, but it just hangs. For example: . .

Setup.exe: Package validation failure

2006-01-05 Thread Iain Alexander
(Re: http://sourceware.org/ml/cygwin/2005-09/msg00347.html) Is there any progress on this problem? I still get Fatal Error: Uncaught Exception Thread: DialogProc Type: 9Exception Message: Package validation failure for file://G:\Xfer\Cygwin/ftp%3a%2f%2fftp.mirror.ac.uk%2fsites%2fsources.redhat.com

1.5.18: ruby warning: Insecure world writable dir /usr/local/bin, mode 040777

2006-01-05 Thread Elliott Hughes
Ruby (on all Unixes, including Cygwin) warns if you try to run an external program and your $PATH contains a world-writable directory. It doesn't just check the directories on $PATH: it checks each of their parents, too, because if /usr/local (say) is world-writeable, /usr/local/bin is subverted

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: >It appears your supposition is right. The first call to >CreateWindowStation() fails for me. Reason = "Access is denied". So >there is some weird permissions problem. I'll see if I can find >something... But, it didn't fail

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
Ken, The rsync protocol actually does check-suming of blocks to efficiently detect and transfer files. While it may look like it is hung, it may actually be just transfering check sums on each file. When I perform long transfers it looks hung from time to time, but my use of the extra v switches

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: It appears your supposition is right. The first call to CreateWindowStation() fails for me. Reason = "Access is denied". So there is some weird permissions problem. I'll see if I can find somethin

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 08:29:09PM -0500, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: >> >>>It appears your supposition is right. The first call to >>>CreateWindowStation() fails for me. Reason = "Access is denied".

Re: cygwin and rsync

2006-01-05 Thread Ken Senior
Let me say again, THANKS for helping! Well, the screen has stayed frozen for some 10 minutes. Some observations: 1. Killing the rsync process (CTRL-C) on [LOCAL/Linux] does not kill the process on [REMOTE/Windows]. I have to kill the process manually on [REMOTE]. 2. The process seems to stop

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 08:29:09PM -0500, Larry Hall (Cygwin) wrote: Christopher Faylor wrote: On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: It appears your supposition is right. The first call to CreateWindowStation() fails for me. Reason

cat /dev/ttyS?

2006-01-05 Thread steven woody
why can't get incoming COM2 data by the following command: $ cat /dev/ttyS2 but i can get the data by other windows serial monitor programs on the same port. -- woody -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docu

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 09:02:52PM -0500, Larry Hall (Cygwin) wrote: >Christopher Faylor wrote: >>On Thu, Jan 05, 2006 at 08:29:09PM -0500, Larry Hall (Cygwin) wrote: >> >>>Christopher Faylor wrote: >>> On Thu, Jan 05, 2006 at 07:24:16PM -0500, Larry Hall (Cygwin) wrote: >It appea

Re: cat /dev/ttyS?

2006-01-05 Thread Brian Dessent
steven woody wrote: > > why can't get incoming COM2 data by the following command: > > $ cat /dev/ttyS2 > > but i can get the data by other windows serial monitor programs on the > same port. ttyS2 is the third serial port. The first serial port is /dev/ttyS0, so for COM2 you want /dev/ttyS1.

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: >That was supposed to fix the problem of console windows appearing when the >service is allowed to interact with the desktop. But, actually, this code won't be called now that Igor has corrected the set_console_state_for_spawn cal

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: >That was supposed to fix the problem of console windows appearing when the >service is allowed to interact with the desktop. Does this do anything, Larry? cgf Index: fhandler_console.cc =

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: That was supposed to fix the problem of console windows appearing when the service is allowed to interact with the desktop. Does this do anything, Larry? Yes, it does. Now the first call to Creat

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
I'm not sure, other than what you've already pointed out, the number of bytes being close to a magic number, almost like a counter or index is overflowing. I'd be inclined to build my own rsync for debugging, start it under gdb, continue and when it hangs, use control-c and trace to see where it

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: That was supposed to fix the problem of console windows appearing when the service is allowed to interact with the desktop. Does this do anything, Larry? cgf Index: fhandler_console.cc ===

Re: cat /dev/ttyS?

2006-01-05 Thread steven woody
On 1/6/06, Brian Dessent <[EMAIL PROTECTED]> wrote: > steven woody wrote: > > > > why can't get incoming COM2 data by the following command: > > > > $ cat /dev/ttyS2 > > > > but i can get the data by other windows serial monitor programs on the > > same port. > > ttyS2 is the third serial port. Th

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Larry Hall (Cygwin) wrote: Christopher Faylor wrote: On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: That was supposed to fix the problem of console windows appearing when the service is allowed to interact with the desktop. Does this do anything, Larry? cgf Index:

Re: cat /dev/ttyS?

2006-01-05 Thread steven woody
On 1/6/06, steven woody <[EMAIL PROTECTED]> wrote: > On 1/6/06, Brian Dessent <[EMAIL PROTECTED]> wrote: > > steven woody wrote: > > > > > > why can't get incoming COM2 data by the following command: > > > > > > $ cat /dev/ttyS2 > > > > > > but i can get the data by other windows serial monitor pro

Re: cat /dev/ttyS?

2006-01-05 Thread Eric Blake
> > oh, i found the 'cat /dev/ttyS1' really outputs, but it has a very > *big* delay that leads me thought it does not response. is the > output buffered? what do i do? thanks! Yes, cat with no options calls read(), which typically uses buffers. Try cat -u to get unbuffered output. Or there

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Larry Hall (Cygwin)
Larry Hall (Cygwin) wrote: Larry Hall (Cygwin) wrote: Christopher Faylor wrote: On Thu, Jan 05, 2006 at 09:34:07PM -0500, Christopher Faylor wrote: That was supposed to fix the problem of console windows appearing when the service is allowed to interact with the desktop. Does this do

Re: cat /dev/ttyS?

2006-01-05 Thread steven woody
On 1/6/06, Eric Blake <[EMAIL PROTECTED]> wrote: > > > > > oh, i found the 'cat /dev/ttyS1' really outputs, but it has a very > > *big* delay that leads me thought it does not response. is the > > output buffered? what do i do? thanks! > > Yes, cat with no options calls read(), which typically u

link count wrong for pseudo-dirs (?); find gets confused

2006-01-05 Thread Linda A. Walsh
You may have not had a chance to drill into the details of the "cygcheck.out" I attached last email, but... Eric Blake wrote: Without further info, my guess is that it may be related to the snapshots simulating the existance of /proc and /cygdrive, but neglecting to update the link count of /

Set serial port arttributs under cygwin

2006-01-05 Thread steven woody
Hi, under cygwin, how can i set a serial port's attributes? such as, speed, trun on or turn off hardware flow control. thanks -- woody -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.c

Re: 'su' no longer working?

2006-01-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Igor Peshansky on 1/5/2006 3:37 PM: > Hi, > > 'su' used to be an executable that worked correctly from a SYSTEM-owned > shell, but now it's a shell script that simply prints a "not supported" > message. Is it possible to resurrect the ol

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
'su' used to be an executable that worked correctly from a SYSTEM-owned shell, but now it's a shell script that simply prints a "not supported" message. Is it possible to resurrect the old "su" executable (that perhaps prints the same message if run from a non-SYSTEM account)? I know. It has

Re: 'su' no longer working?

2006-01-05 Thread Igor Peshansky
On Thu, 5 Jan 2006, Eric Blake wrote: > According to Igor Peshansky on 1/5/2006 3:37 PM: > > Hi, > > > > 'su' used to be an executable that worked correctly from a SYSTEM-owned > > shell, but now it's a shell script that simply prints a "not supported" > > message. Is it possible to resurrect the

Re: Set serial port arttributs under cygwin

2006-01-05 Thread Igor Peshansky
On Fri, 6 Jan 2006, steven woody wrote: > under cygwin, how can i set a serial port's attributes? such as, > speed, trun on or turn off hardware flow control. thanks Most should be settable via 'stty', just like on Unix. Don't forget that COM1 is /dev/ttyS0. Igor --

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
"Eric Blake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Igor Peshansky on 1/5/2006 3:37 PM: Hi, 'su' used to be an executable that worked correctly from a SYSTEM-owned shell, but now it's a shell script that simply p

Re: Set serial port arttributs under cygwin

2006-01-05 Thread Eric Blake
steven woody gmail.com> writes: > > Hi, > > under cygwin, how can i set a serial port's attributes? such as, > speed, trun on or turn off hardware flow control. thanks A little more googling would show that you are not the first person to ask this question. The short answer is the same way as

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Christopher Faylor
On Thu, Jan 05, 2006 at 11:04:55PM -0500, Larry Hall (Cygwin) wrote: >Chris, you asleep? Good. No need to disturb a good night's sleep with >some bad news. > >I figured out why it didn't work for me the first time and why it did >after that. I think I'm finally up-to-speed with what these two co

Re: services not starting with 20060104 snapshot

2006-01-05 Thread Igor Peshansky
On Fri, 6 Jan 2006, Christopher Faylor wrote: > On Thu, Jan 05, 2006 at 11:04:55PM -0500, Larry Hall (Cygwin) wrote: > >Chris, you asleep? Good. No need to disturb a good night's sleep with > >some bad news. > > > >I figured out why it didn't work for me the first time and why it did > >after th

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
Reply to my own message: Actually Igor's suggestion of just testing the context switch is far better. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: 'su' no longer working?

2006-01-05 Thread Brian Dessent
Joe Smith wrote: > For passworded user switching: > SE_ASSIGNPRIMARYTOKEN_NAME && > SE_INCREASE_QUOTA_NAME && > SE_TCB_NAME for pr in AssignPrimaryToken IncreaseQuota Tcb; do editrights -a Se${pr}Privilege -u user done > For passwordless user switching: > SE_CREATE_TOKEN_NAME && > SE_ASSIGN

Re: 'su' no longer working?

2006-01-05 Thread Joe Smith
"Brian Dessent" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Joe Smith wrote: It was for this very reason (command-line automated privilege manipulation) that editrights was written and placed in the 'base' Cygwin install so that *-config scripts can use it for creating servic

cygwin and getline

2006-01-05 Thread Vijay Kiran Kamuju
Hi, I am using cygwin 1.18. I am trying to compile a simple test program using the function getline which is defined in stdio.h I am getting symbol unreferenced errors while linking. Is the function unimplemented. i think its unimplemented as i even tried to find the string entry for getline funct