Signalling of non console application

2006-10-18 Thread Schraner, Philipp
How can applications be signalled (i.e. CTRL+C) if they have no console? My problem is sourced in a GDB cross debugger that does not stop if it is Eclipse controlled, but it stops without problems in a console. On the other hand the cygwin-special gdb (built by redhat/cygwin as I suppose, not by

cygwin + JNI problem with sockets

2006-10-18 Thread Chandra Sekhar
Hi everyone, I am a student trying to create a dll of a socket program in cygwin using -mno- cygwin as following (after compilation). "gcc -mno-cygwin -shared -o udpServer0.dll udpServer0.o" but it throws the following "Errors". udpServer0.o:udpServer0.c:(.text+0x41): undefined reference to `_ht

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-18 Thread Rob Walker
Thanks for reading, Brian. Apologies to all that my recent tend to bulk. The point of my post was to advocate igncr as the default for bash 3. I realize I'm not alone in this advocacy. I'm truly happy that bash 3 is super fast compared to bash 2, but bash 3's "incompatibility" is currently

Re: Re : [ANNOUNCEMENT] Updated [experimental]: bash-3.2-2

2006-10-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Angelo Graziosi on 10/18/2006 1:42 PM: > I have tried to install this but the installation hangs running > /etc/postinstall/00bash.sh. Hmm, I saw that too, but cancelling setup.exe and manually running the script from cmd.com worked. I'm

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-18 Thread Christopher Faylor
On Wed, Oct 18, 2006 at 09:50:00PM -0400, Larry Hall (Cygwin) wrote: >Brian Dessent wrote: >>Rob Walker wrote: >> >>>I looked into my scripts a little harder, have better results, some new >>>conclusions: >> >>I think you are missing the point somewhat. The thing you need to >>benchmark against is

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-18 Thread Larry Hall (Cygwin)
Brian Dessent wrote: Rob Walker wrote: I looked into my scripts a little harder, have better results, some new conclusions: I think you are missing the point somewhat. The thing you need to benchmark against is the older bash version before the 'igncr' option even existed, which read every s

Re: Installation or update using package list

2006-10-18 Thread Larry Hall (Cygwin)
Maurício wrote: Gustavo Seabra wrote: On 10/18/06, Maurício <[EMAIL PROTECTED]> wrote: Hi, Is it possible to write a text file with a list of packages, and ask cygwin to ensure all of them are installed at the latest version, as well as all needed dependencies? Thanks, Maurício

Re: BashHere.reg Explorer add-on and long filenames

2006-10-18 Thread Gary Johnson
On 2006-10-18, Jean-Claude Gervais <[EMAIL PROTECTED]> wrote: > Hello List! > > I found and adapted a Windows registry hack to permit opening Bash > prompts in any folder in Explorer by right-clicking on the folder and > selecting the "Open with Cygwin Shell (bash)" menu entry. > > It works fine,

Re: BashHere.reg Explorer add-on and long filenames

2006-10-18 Thread David Arnstein
On Wed, Oct 18, 2006 at 05:20:00PM -0400, Jean-Claude Gervais wrote: > I found and adapted a Windows registry hack to permit opening Bash > prompts in any folder in Explorer by right-clicking on the folder and > selecting the "Open with Cygwin Shell (bash)" menu entry. You might be interested in t

Re: igncr vs text mode mounts, performance vs compatibility

2006-10-18 Thread Brian Dessent
Rob Walker wrote: > I looked into my scripts a little harder, have better results, some new > conclusions: I think you are missing the point somewhat. The thing you need to benchmark against is the older bash version before the 'igncr' option even existed, which read every script one byte at a t

igncr vs text mode mounts, performance vs compatibility

2006-10-18 Thread Rob Walker
I looked into my scripts a little harder, have better results, some new conclusions: - line ending | mount mode | igncr | "user" time - CRLF | text | set | 1.0114s ---

Re: shopt igncr not working

2006-10-18 Thread Rob Walker
Larry Hall (Cygwin) wrote: On 10/12/2006, Rob Walker wrote: If you're referring to the performance gain realized, I think it could have been accomplished (if not as trivially) without breaking CRLF handling. This seems to be indicated in other posts, ones that talk about reworking line parsin

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Angelo Graziosi
Matthew Woehlke wrote: > IOW, to make sure the problem is not related to case sensitivity, what > does 'ls /c/Documents\ and\ Settings' give you? Matthew, When I wrote 'I confirm this ...' I mean that I confirm ALL the problems described in that post and I have used the link to be 'breviter',

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Matthew Woehlke
Angelo Graziosi wrote: Matthew Woehlke wrote: Have you checked that this isn't a case sensitivity issue? Yes, it isn't. I confirm this http://cygwin.com/ml/cygwin/2006-10/msg00642.html. If I'm being blind/dense/otherwise stupid, you might want to leave the relevant part of your message qu

BashHere.reg Explorer add-on and long filenames

2006-10-18 Thread Jean-Claude Gervais
Hello List! I found and adapted a Windows registry hack to permit opening Bash prompts in any folder in Explorer by right-clicking on the folder and selecting the "Open with Cygwin Shell (bash)" menu entry. It works fine, but for some strange reason, whenever a folder is selected that has a long-

Re: Acronym definition bad link

2006-10-18 Thread Christopher Faylor
On Tue, Oct 17, 2006 at 08:25:40PM -0700, Johnathon Jamison wrote: >In the http://cygwin.com/acronyms/#TANSTAAFL definition, >http://billdennis.net/heinlein/tanstaafl.htm is a bad link now; it >points to an ad site. Please check out the project web page for links to available information and port

Re: Installation or update using package list

2006-10-18 Thread Maurício
Gustavo Seabra wrote: On 10/18/06, Maurício <[EMAIL PROTECTED]> wrote: Hi, Is it possible to write a text file with a list of packages, and ask cygwin to ensure all of them are installed at the latest version, as well as all needed dependencies? Thanks, Maurício Doesn't the Cygwi

Re : [ANNOUNCEMENT] Updated [experimental]: bash-3.2-2

2006-10-18 Thread Angelo Graziosi
I have tried to install this but the installation hangs running /etc/postinstall/00bash.sh. Angelo. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Angelo Graziosi
Matthew Woehlke wrote: > Have you checked that this isn't a case sensitivity issue? Yes, it isn't. I confirm this http://cygwin.com/ml/cygwin/2006-10/msg00642.html. I have installed/reinstalled many times 5.1-5/5.2-2 and only with 5.1-5 the completion works fine. Angelo. -- Unsubscribe

Re: Installation or update using package list

2006-10-18 Thread Gustavo Seabra
On 10/18/06, Maurício <[EMAIL PROTECTED]> wrote: Hi, Is it possible to write a text file with a list of packages, and ask cygwin to ensure all of them are installed at the latest version, as well as all needed dependencies? Thanks, Maurício Doesn't the Cygwin setup program automat

Installation or update using package list

2006-10-18 Thread Maurício
Hi, Is it possible to write a text file with a list of packages, and ask cygwin to ensure all of them are installed at the latest version, as well as all needed dependencies? Thanks, Maurício -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: h

Re: Installing Cygwin on XP laptop part of a domain

2006-10-18 Thread Karl M
Hi All... Here is what I use (excerpt from a script) to see it on the screen and update it. echo echo Setting up /etc/group echo mkgroup -l | tee /etc/group mkgroup -d -g 'Domain Users' | tee -a /etc/group echo echo Setting up /etc/passwd echo mkpasswd -l | tee /etc/passwd mkpasswd -d -p /hom

RE: SCSI tape - device is missing

2006-10-18 Thread Dave Korn
On 18 October 2006 11:43, Meir wrote: > Okay, I got it to work. Sort of. > The SCSI tape device (Wangtek 6130HS) had a question mark in device > manager. Apparently Windows didn't know what it was, even though it > recognized it as a sequential SCSI device that was working properly. I had > to rei

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Larry Hall (Cygwin)
Andrew DeFaria wrote: Corinna Vinschen wrote: As Larry proposed, "StrictModes no" or mapping .ssh to a local directory should help. Another choice would be to start sshd with "nontsec". Pretty much as I suspected. I missed Larry's response. Sorry. But Corina, you're response here will server o

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Matthew Woehlke
Angelo Graziosi wrote: It seems that there is some problem with completion. I have the cygdrive prefix mounted to '/'. Bash 3.1-9 (I have not installed the package bash-completion) With the 'curr' version of these packages, 5.1-5, I can do $ ls -lrt /c/Do ls -lrt /c/Documents\ and\ Setting

Re: Installing Cygwin on XP laptop part of a domain

2006-10-18 Thread Larry Hall (Cygwin)
Billinghurst, David (CALCRTS) wrote: From: Jay NYC Can someone who has experience installing Cygwin on a WinXP desktop part of a Windows Domain let me know what to do? You need to create /etc/passwd and /etc/group files using mkpasswd and mkgroup. The domain I am in has around 3000 group

Re: 1.5.21: problem with xinetd permissions

2006-10-18 Thread Eran Cohanim
I've noticed that when I update a working xinetd system (I mean telnetd and ftpd and others - all work) all the available daemon are not working after that when i try to telnet localhost iget the below result netstat -an | grep 23 TCP0.0.0.0:23 0.0.0.0:0 LISTEN

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Andrew DeFaria
Corinna Vinschen wrote: As Larry proposed, "StrictModes no" or mapping .ssh to a local directory should help. Another choice would be to start sshd with "nontsec". Pretty much as I suspected. I missed Larry's response. Sorry. But Corina, you're response here will server others well I suspect.

Re: gcc & mingw code?

2006-10-18 Thread Christopher Faylor
On Wed, Oct 18, 2006 at 11:41:51AM +, Mike wrote: >On 2006-10-18, Christopher Faylor <[EMAIL PROTECTED]> wrote: >> On Wed, Oct 18, 2006 at 02:22:23AM +, Mike wrote: >>>Does someone have a bit of code that can be compiled static and mingw >>>(the way I understand it) to remove all cygwin dep

Re: gcc & mingw code?

2006-10-18 Thread Mike
On 2006-10-18, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Wed, Oct 18, 2006 at 02:22:23AM +, Mike wrote: >>Does someone have a bit of code that can be compiled static and mingw >>(the way I understand it) to remove all cygwin dependencies that will >>run as a windows (xp) service for st

Re: SCSI tape - device is missing

2006-10-18 Thread Corinna Vinschen
On Oct 18 12:20, Meir wrote: > Hi, > > I'm trying to read a SCSI tape using tar. > Cygwin under XP Home. > > Adapter 0:0, SCSI ID 5. > I was able to access the tape using a "tape snoop" (in XP), so this > information is verified. > > //./tape0 doesn't seem to exist (tried mount -b to /dev/st0).

Re: SCSI tape - device is missing

2006-10-18 Thread Meir
Okay, I got it to work. Sort of. The SCSI tape device (Wangtek 6130HS) had a question mark in device manager. Apparently Windows didn't know what it was, even though it recognized it as a sequential SCSI device that was working properly. I had to reinstall the driver as tape, 4mm DAT, in order f

SCSI tape - device is missing

2006-10-18 Thread Meir
Hi, I'm trying to read a SCSI tape using tar. Cygwin under XP Home. Adapter 0:0, SCSI ID 5. I was able to access the tape using a "tape snoop" (in XP), so this information is verified. //./tape0 doesn't seem to exist (tried mount -b to /dev/st0). How can I fix this? Thanks! Sincerely, Meir G

Re: 'fhandler_dev_zero::fixup_mmap_after_fork' problems.

2006-10-18 Thread Simon Mullis
FYI - I removed all traces of Logitech Web Cam related stuff and - surprise, surprise - all now works SM On 10/18/06, Simon Mullis <[EMAIL PROTECTED]> wrote: Hi Dave, Many thanks for your comments On 10/17/06, Dave Korn <[EMAIL PROTECTED]> wrote: > On 17 October 2006 13:17, Simon Mull

Re: Shared home dir, samba workgroups and ssh

2006-10-18 Thread Corinna Vinschen
On Oct 17 23:50, Andrew DeFaria wrote: > Andrew DeFaria wrote: > >But when dealing with Samba servers who are configured into workgroups > >innocuous activities in Cygwin would elicit permission denied > >messages. For example, touching a file in the home directory and > >indeed even vi'ing a fi

Re: 'fhandler_dev_zero::fixup_mmap_after_fork' problems.

2006-10-18 Thread Simon Mullis
Hi Dave, Many thanks for your comments On 10/17/06, Dave Korn <[EMAIL PROTECTED]> wrote: On 17 October 2006 13:17, Simon Mullis wrote: > I've been a happy Cygwin user for a years now with no issue. Recently > (last few months) I've started having many problems with a variety of > apps.

Re: [ANNOUNCEMENT] Updated [experimental]: readline-5.2-2, libreadline6-5.2-2 (Problems ?)

2006-10-18 Thread Angelo Graziosi
It seems that there is some problem with completion. I have the cygdrive prefix mounted to '/'. Bash 3.1-9 (I have not installed the package bash-completion) With the 'curr' version of these packages, 5.1-5, I can do $ ls -lrt /c/Do ls -lrt /c/Documents\ and\ Settings/ then $ ls -lrt /c

Re: mount usb drive for all user

2006-10-18 Thread Corinna Vinschen
On Oct 16 17:01, [EMAIL PROTECTED] wrote: > After the USB-Drive is connected I could cd to the root directory of the > USB-Drive. > But a ls does not show any file which I can see in the Windows-Explorer. Maybe a permission problem? I can access my USB-Stick from Cygwin just fine, with and withou

Re: Updated: OpenSSH-4.4p1-1

2006-10-18 Thread Charles Wilson
Corinna Vinschen wrote: On Oct 13 11:20, Charles Wilson wrote This is bad. Suppose I am a cygwin user on a machine to which I do not have Administrator privileges. Until now, I could run a personal sshd on a unique port, and connect back to my windows box. Now I can't -- because, as a non-A