Re: 'which' command does not expand '~' in path (base-files update needed)

2004-09-29 Thread John Morrison
cgf wrote: > Dropping the quotes from the original example will just cause > everything to work correctly everywhere. > > John Morrison, would you mind doing this, please? Hi cgf, As I said, I wasn't following this thread for a while, so here are the changes I'll do (I'm also trying to clean the

[ANNOUNCEMENT] Updated: man-1.5o-1

2004-09-29 Thread Dr. Volker Zell
Hi A new version of 'man' has been uploaded to a server near you. DESCRIPTION: Man, apropos and whatis. CYGWIN NEWS: Please remove the following lines from /usr/share/misc/man.conf or copy /usr/share/misc/man.conf.default to /usr/share/misc/man.conf as these direct

SSH Environment

2004-09-29 Thread David E. Meier
Hi, I try the running ssh client with only the required dll's from a .net application and without a full cygwin installation. Basically that works fine. However, I have a problem regarding the known_hosts file: It does not get written anywhere and therefore asks to add the key each time the app r

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello again, Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and entered: ssh-host-config -y ssh-user-config -y cygrunsrv -S sshd yielded: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. I have also tried: cygrunsrv

Re: "which" command does not expand "~" in path (base-files update needed)

2004-09-29 Thread Corinna Vinschen
On Sep 28 15:40, Christopher Faylor wrote: > On Tue, Sep 28, 2004 at 06:49:44PM +0100, Dave Korn wrote: > > Wonder if this is a real bug then, or if I've misread the shell parsing rules? > >They are a bit ridiculously complicated and full of exceptions and special > >cases. > > It seems like

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
a12 wrote: > I have also tried: > cygrunsrv -S -D sshd > with the following response: > cygrunsrv: trailing commandline argument not allowed > and: > cygrunsrv -D -S sshd > cygrunsrv: unknown option -- D Why? There is no such option -D to cygrunsrv. Run "cygrunsrv --help" for a summary. > Here

Re: SSH Environment

2004-09-29 Thread Brian Dessent
"David E. Meier" wrote: > I try the running ssh client with only the required dll's from a .net > application and without a full cygwin installation. Basically that works > fine. SSH looks in /etc/passwd for the user's home directory, I believe. It uses the mount table to know where /etc is actu

Re: Problems on Itanium: Found the Cause, What's Next?

2004-09-29 Thread Corinna Vinschen
On Sep 28 16:32, Alexei Alexandrov wrote: > If you compile this code with 32-bit compiler and then run it on 64-bit Server 2003 > it will crash. At the same time it > works on 32-bit machines. It also works fine on a x86_64 machine in 32 bit mode. > So the questions is to cygwin developers: wha

Re: SSH Environment

2004-09-29 Thread Corinna Vinschen
On Sep 29 02:17, Brian Dessent wrote: > "David E. Meier" wrote: > > > I try the running ssh client with only the required dll's from a .net > > application and without a full cygwin installation. Basically that works > > fine. > > SSH looks in /etc/passwd for the user's home directory, I believe.

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello Brian, /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. chown SYSTEM /etc/ssh_host*_key chmod 600 /etc/ssh_host*_key followed by: cygrunsrv -S sshd started the sshd

Re: Installing from downloaded files or CD

2004-09-29 Thread Peter Flynn
On Tue, 2004-09-28 at 19:12, Jan Nieuwenhuizen wrote: > Peter Flynn writes: > > > error: libkpathsea3abi13 not in [curr] > > error: libkpathsea3abi13 no install > > Sorry. This *is* a showstopper. I've updated cyg-apt. This time > I've tested it too (under Wine), and it works fine. Thanks ver

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
a12 wrote: > /usr/share/doc/Cygwin/openssh.README states: > If you start sshd as deamon via cygrunsrv.exe you MUST give the > "-D" option to sshd. Otherwise the service can't get started at all. That isn't telling to you use -D on the cygrunsrv command line directly. It means that the sshd argum

Re: Convert Word/html/pdf/TeX to Postscript

2004-09-29 Thread Alex Vinokur
"Roger Leigh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > "Alex Vinokur" <[EMAIL PROTECTED]> writes: > > > "Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED] > > [snip] > >> TeX->PS: need you ask? LaTeX! :-) > > [snip]

RE: "which" command does not expand "~" in path (base-files update needed)

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Corinna Vinschen > Sent: 29 September 2004 09:55 > On Sep 28 15:40, Christopher Faylor wrote: > > On Tue, Sep 28, 2004 at 06:49:44PM +0100, Dave Korn wrote: > > > Wonder if this is a real bug then, or if I've misread > the shell pars

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Brian Dessent
Brian Dessent wrote: > > ssh_host_*_key.pub are owned by the user that has run ssh-host-config > > Is it OK ? > > If you ran the above commands they should be owned by SYSTEM. The idea > here is that those files contain the private half of the host's > public/private keypair, and this is sensiti

RE: Problems building setup from CVS.

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Brian Keener > Sent: 28 September 2004 20:41 > Dave Korn wrote: > > [ repeated here, from > > http://www.cygwin.com/ml/cygwin/2004-09/msg01531.html ] > > > > > > Index:

ssh appear to hang; xauth; X forwarding

2004-09-29 Thread Peter Ring
Recently, probably after upgrading ssh to openssh-3.9p1-2, ssh appeared to hang, whether invoked by itself or as transport for cvs. Well, the culprit was xauth, or rather X forwarding. Starting ssh invoked xauth which subsequently hung because X wasn't running, even though DISPLAY was defined.

Re: "which" command does not expand "~" in path (base-files update needed)

2004-09-29 Thread Corinna Vinschen
On Sep 29 12:19, Dave Korn wrote: > > QUOTING > > [...] > > Enclosing characters in double quotes preserves the lit- > > eral value of all characters within the quotes, with the > > exception of $, `, and \. > > Well, yeh, but, like, y'know, the tilde was _outside

Excessive CPU load (cygrunsrv.exe, tail.exe, etc)

2004-09-29 Thread Steve B
When I am playing the freely available standalone version of Return to Castle Wolfenstein called Enemy Territory and I have various cygwin programs such as apache's httpd, tail.exe, cygrunsrv.exe, bash.exe, or whatnot running, ET will lock up and when I bring up the task manager, seemingly random c

Re: Excessive CPU load (cygrunsrv.exe, tail.exe, etc)

2004-09-29 Thread Steve B
Oh, it should probably be noted that when I manually end-task the cygrunsrv.exe when it is hogging the cpu it will immediately crash. None of the other processes demonstrate this behavior. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: Excessive CPU load (cygrunsrv.exe, tail.exe, etc)

2004-09-29 Thread Brian Dessent
Steve B wrote: > > When I am playing the freely available standalone > version of Return to Castle Wolfenstein called Enemy > Territory and I have various cygwin programs such as > apache's httpd, tail.exe, cygrunsrv.exe, bash.exe, or > whatnot running, ET will lock up and when I bring up > the ta

Re: SSH Environment

2004-09-29 Thread David E. Meier
OK, I tested the app without any cygwin installation and then SSH uses that HOME environment variable I set when starting it. So far so good. However, I would like to change the behaviour of SSH to first use that HOME variable. What and where are the relevant code elements? Or is this too dangerou

RE: "which" command does not expand "~" in path (base-files update needed)

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Corinna Vinschen > Sent: 29 September 2004 12:30 > On Sep 29 12:19, Dave Korn wrote: > > > QUOTING > > > [...] > > > Enclosing characters in double quotes preserves the lit- > > > eral value of all characters with

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Thank you very much for your reply. Brian Dessent wrote: a12 wrote: /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. That isn't telling to you use -D on the cygru

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello again, I have just checked the ownership of .pub files, and they are readable by everyone. Brian Dessent wrote: Brian Dessent wrote: ssh_host_*_key.pub are owned by the user that has run ssh-host-config Is it OK ? If you ran the above commands they should be owned by SYSTEM. The idea here

Re: SSH Environment

2004-09-29 Thread Corinna Vinschen
On Sep 29 14:21, David E. Meier wrote: > OK, I tested the app without any cygwin installation and then SSH uses > that HOME environment variable I set when starting it. So far so good. > > However, I would like to change the behaviour of SSH to first use that So you think it's easier to patch Ope

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread Igor Pechtchanski
On Wed, 29 Sep 2004, a12 wrote: > Hello again, > > Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and > entered: > > ssh-host-config -y > ssh-user-config -y > cygrunsrv -S sshd > yielded: > cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: > The servi

Re: ssh-host-config requires cygminires.dll

2004-09-29 Thread a12
Hello Igor, /usr/share/doc/Cygwin/openssh.README states: If you start sshd as deamon via cygrunsrv.exe you MUST give the "-D" option to sshd. Otherwise the service can't get started at all. chown SYSTEM /etc/ssh_host*_key chmod 600 /etc/ssh_host*_key solved my problem. Igor Pechtchanski wrote: On W

Programming problem with POSIX threads and stdout

2004-09-29 Thread Mauro Brunato
The following has probably already been noticed by someone, but I could not find any reference (at least, comprehensible to me), so I apologize if my problem has already been taken care of. Consider the following code: #include #include #include void *mythread (void *p) {

Re: SSH Environment

2004-09-29 Thread Andrew DeFaria
David E. Meier wrote: Hi, I try the running ssh client with only the required dll's from a .net application and without a full cygwin installation. Basically that works fine. However, I have a problem regarding the known_hosts file: It does not get written anywhere and therefore asks to add the

Re: Excessive CPU load (cygrunsrv.exe, tail.exe, etc)

2004-09-29 Thread Andrew DeFaria
Brian Dessent wrote: Steve B wrote: When I am playing the freely available standalone version of Return to Castle Wolfenstein called Enemy Territory and I have various cygwin programs such as apache's httpd, tail.exe, cygrunsrv.exe, bash.exe, or whatnot running, ET will lock up and when I bring

cp to flash drive very slow

2004-09-29 Thread David A. Rogers
I tried using cp to copy a zip file 106MB from my hard drive to my flash drive (sandisk mini cruzer). After 20 minutes it still had not completed. xcopy copied the file in 22 seconds. Why would cp be so much slower? Any ideas as to work-arounds? cygcheck output is enclosed. TIA, dar Cygwin Co

Re: Programming problem with POSIX threads and stdout

2004-09-29 Thread Brian Ford
On Wed, 29 Sep 2004, Mauro Brunato wrote: > The following has probably already been noticed by someone, Yup. > but I could not find any reference (at least, comprehensible to me), so > I apologize if my problem has already been taken care of. How 'bout this thread?: http://cygwin.com/ml/cygwin

Re: cygserver won't start

2004-09-29 Thread Michael Hipp
Alder wrote: Michael Hipp wrote:: Hello, I realize this topic was discussed at length quite recently but in all those posts I was not able to discern a solution. That would have been my original post that spawned that thread, Michael. In the end, it appeared to be related to my PATH variable c

Re: Programming problem with POSIX threads and stdout

2004-09-29 Thread Mauro Brunato
Thanks, Brian! Actually, I had seen that posting, but I missed the fact that the third reply was from Faylor, and not from the original poster, who said that the problem had been fixed *after* the last stable release. I'll go get a recent snapshot of the DLL. Thank you again, Mauro. - Origi

[PATCH] cygrunsrv --recovery

2004-09-29 Thread Rainer Hochreiter
the attached patch implements the options -r or --recovery to set service failure actions. allowed actions are 'none', 'boot' or 'restar'. not implemented are actions for running commands on failed actions, like supported by the windows SCM. the patch also uses ChangeServiceConfig2() for setting t

Re: cygserver won't start

2004-09-29 Thread Michael Hipp
Brian Dessent wrote: Hmm. You should also check that /etc/cygserver.conf is readable by SYSTEM and that /var/log/cygserver.log is readable and writable by SYSTEM. You could always just do "chown SYSTEM:root" and "chmod 644" on them if unsure, but I suspect they're fine. Well, you're on the right

Re: cygserver won't start (FAQ alert)

2004-09-29 Thread Igor Pechtchanski
On Wed, 29 Sep 2004, Michael Hipp wrote: > Brian Dessent wrote: > > Hmm. You should also check that /etc/cygserver.conf is readable by > > SYSTEM and that /var/log/cygserver.log is readable and writable by > > SYSTEM. You could always just do "chown SYSTEM:root" and "chmod 644" on > > them if un

Re: cygserver won't start (FAQ alert)[SOLVED]

2004-09-29 Thread Michael Hipp
Igor Pechtchanski wrote: One thing, when I installed this cygwin I checked the "Install For Just Me" option. Could this have anything to do with it? Bingo. As I was reading your message, I thought "he should check that he has system mounts". You've just confirmed that you don't. Re-mount all of

make-3.80-1: "virtual memory exhausted" bug

2004-09-29 Thread Andrew Schulman
make-3.80-1 suffers from the "virtual memory exhausted" bug: http://www.mail-archive.com/[EMAIL PROTECTED]/msg02871.html Following that discussion thread leads to a patch available at https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1517 (although I had to reformat the patch: t

Re: 'which' command does not expand '~' in path (base-files update needed)

2004-09-29 Thread John Morrison
> cgf wrote: >> Dropping the quotes from the original example will just cause >> everything to work correctly everywhere. >> >> John Morrison, would you mind doing this, please? > > Hi cgf, > > As I said, I wasn't following this thread for a while, so here are the > changes I'll do (I'm also trying

Re: make-3.80-1: "virtual memory exhausted" bug

2004-09-29 Thread Andrew Schulman
Sorry, the link to the bug should have been http://www.mail-archive.com/[EMAIL PROTECTED]/msg02871.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Problems on Itanium: Found the Cause, What's Next?

2004-09-29 Thread Alex Alexandrov
Hi, Corinna Vinschen, you wrote It also works fine on a x86_64 machine in 32 bit mode. Yes, I've checked it too - it really works on Intel EM64T (didn't test it on AMD64). No, because this would also exclude x86_64 machines. Probably, a better approach is needed. It is possible to check PROCESSO

Re: Updated: rsync-2.6.2-3

2004-09-29 Thread Barry Jaspan
If you're using 2.6.2-1 or earlier version to avoid the textmode bug, you're now strongly advised to upgrade to 2.6.2-4 Is this a typo, or is there a 2.6.2-4? Barry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documenta

select call does block unless data arrives at socket (when waiting for serial port and ip socket)

2004-09-29 Thread Stefan Mahr
Hi... I want to use select() to wait for a serial port and a ip socket. Following problem: If data arrives the serial port, select() works as aspected and returns 1. If data arrives the ip socket, select() doesn't return. If data arrives the serial port and before there was some data at the ip soc

Re: select call does block unless data arrives at socket (when waiting for serial port and ip socket)

2004-09-29 Thread Christopher Faylor
On Wed, Sep 29, 2004 at 11:09:03PM +0200, Stefan Mahr wrote: >Hi... > >I want to use select() to wait for a serial port and a ip socket. >Following problem: >If data arrives the serial port, select() works as aspected and returns 1. >If data arrives the ip socket, select() doesn't return. >If data

Re: SSH Environment

2004-09-29 Thread Brian Dessent
Andrew DeFaria wrote: > Why would a home directory be under "Program Files"?!? "Program Files" > is a directory that contains a space in it so you might try escaping it. > Well further reading of this thread suggests that OpenSSH uses the home > directory in /etc/passwd anyway but still are ya gon

Re: Excessive CPU load (cygrunsrv.exe, tail.exe, etc)

2004-09-29 Thread Brian Dessent
Andrew DeFaria wrote: > In any event what version of Procexp do you use and suspect is causing > this problem. I have 5.20 running at home and I forget which version is > running at work but I know it's a newer version. > > When starting Procexp to check the version I noticed that he problem has

RE: Installing from downloaded files or CD

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Peter Flynn > Sent: 29 September 2004 11:43 > But installing it on an NT machine broke setup.exe. It > started off fine, > checked all the MD5s down as far as lilypond-2.2.5-1, and > then popped up > a window saying: > > > Microsoft

Re: select call does block unless data arrives at socket (when waiting for serial port and ip socket)

2004-09-29 Thread Brian Ford
On Wed, 29 Sep 2004, Stefan Mahr wrote: > I want to use select() to wait for a serial port and a ip socket. > Following problem: > If data arrives the serial port, select() works as aspected and returns 1. > If data arrives the ip socket, select() doesn't return. > If data arrives the serial port

bash, filename completion and spaces in path components [was RE: SSH Environment]

2004-09-29 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Andrew DeFaria > Sent: 29 September 2004 16:16 > However, one trick that I do to more easily deal with the "Program > Files" think is: > > $ mount -bsf "/cydrive/c/Program Files" /apps > > Then it's simply /apps//. Much easier to d

Re: cygserver won't start (FAQ alert)[SOLVED]

2004-09-29 Thread Larry Hall
At 01:57 PM 9/29/2004, you wrote: >Igor Pechtchanski wrote: >>>One thing, when I installed this cygwin I checked the "Install For Just Me" >>>option. Could this have anything to do with it? >> >>Bingo. As I was reading your message, I thought "he should check that he >>has system mounts". You've

RE: cp to flash drive very slow

2004-09-29 Thread Gary R. Van Sickle
> I tried using cp to copy a zip file 106MB from my hard drive > to my flash drive (sandisk mini cruzer). After 20 minutes it > still had not completed. > > xcopy copied the file in 22 seconds. > > Why would cp be so much slower? Any ideas as to work-arounds? > Last I checked, cp was slower

Cygwin df -l option has wrong sense?

2004-09-29 Thread luke . kendall
According to df --help, the -l option means to list only local drives. But in practice it seems to do the exact opposite: $ df -k /cygdrive/c/cygwin Filesystem 1k-blocks Used Available Use% Mounted on C:\cygwin 39070048 32015012 7055036 82% / $ df -k

Re: bash, filename completion and spaces in path components [was RE: SSH Environment]

2004-09-29 Thread Andrew DeFaria
Dave Korn wrote: I use the same trick myself because a lot of apps can't handle a filename with a space in it, not even if it gets correctly escaped and passed through to argv, but I've never known bash filename completion to have a problem: it escapes all the spaces and other metachars beautif

Re: Undifined reference to _WinMain@16 (Attn: FAQ maintainer)

2004-09-29 Thread Joshua Daniel Franklin
On Mon, 13 Sep 2004 16:51:27 -0400 (EDT), Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > > http://sources.redhat.com/cygwin/faq/faq.html#SEC91 > > This won't work with gcj. You need to pass a "--main" flag, e.g., > > gcj --main=Hello Hello.java > > Would it be possible to add this to the above

Re: Problem regarding CYGWIN (FAQ alert)

2004-09-29 Thread Joshua Daniel Franklin
On Tue, 21 Sep 2004 09:31:41 -0400 (EDT), Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > @David: This is a pretty frequently asked question, but I couldn't find > the exact FAQ entry for it. Perhaps we could add a 'Where is "make" > ("gcc", "vi", etc)' heading to the above FAQ entry? Done. --

Re: Crontab issue

2004-09-29 Thread Joshua Daniel Franklin
On Thu, 09 Sep 2004 14:29:16 -0400, Larry Hall wrote: > Access to network shares seems to come up allot in the context of Cygwin > services. Maybe it would be good to add something to the FAQ on this. > What do you think Joshua? See how this does: Some Cygwin services normally run as the SYS

Re: BUG in /etc/pinforc (Attn: pinfo maintainer)

2004-09-29 Thread Joshua Daniel Franklin
On Mon, 30 Aug 2004 10:52:17 -0400 (EDT), Igor Pechtchanski wrote: > Every time I run pinfo, I get the following message: > > Security warning: Unable to get GID of group called: nobody > > Looking in /etc/pinforc, I see > > SAFE-USER=nobody > SAFE-GROUP=nobody > > AFAIK, "nobody" is not a sta

Re: Problems on Itanium: Found the Cause, What's Next?

2004-09-29 Thread Alex Alexandrov
Hi, Alex Alexandrov, you wrote I've posted the bug report to public.win32.programming.kernel and private.windowsserver_64bit msft mailing lists - no answer so far... OK, there is a reply from msft: "The problem is being checked out". Does it mean that they were able to reproduce the bug? With bes

Re: cygserver won't start (FAQ alert)

2004-09-29 Thread Joshua Daniel Franklin
On Wed, 29 Sep 2004 13:25:06 -0400 (EDT), Igor Pechtchanski wrote: > David, this is definitely an FAQ, but there is nothing in the FAQ about > services (other than the "how do I install snapshots" entry). Should we > add something along the lines: > > Why don't my services work? > > Most Wi

Re: cygserver won't start (FAQ alert)

2004-09-29 Thread Christopher Faylor
On Wed, Sep 29, 2004 at 10:25:23PM -0700, Joshua Daniel Franklin wrote: >Well, I updated that FAQ. I left out the registry-permission bits >since it seemed superfluous. KISS! > > Thanks for doing this and welcome back from vacation. cgf -- Unsubscribe info:

Solution for: RE: ./configure in any package fails to create Makefile

2004-09-29 Thread Mark Aufflick
Followup: The process is below, the solution is right here: The problem is that config.status will use an environment variable to choose which files to create instead of it's own list (if it exists). The trouble was I had cleared this variable with: export CONFIG_FILES= but to the shell, an e