Re: after recent update, svn tools exiting with code 57

2008-12-31 Thread Larry Hall (Cygwin)

Dave Steenburgh wrote:

I haven't been able to find any info related to this problem;
hopefully someone can point me in the right direction.


From time to time, I use setup.exe to update all the packages I have

installed.  After doing that earlier today, I found out that svn,
svnadmin, and svnserve (and presumably all other svn tools) are
exiting with code 57 and no error message, with complete disregard for
command-line options.  


Assuming this is a propogation of a Windows error:

$ net helpmsg 57

A network adapter hardware error occurred.

Any chance?


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

For all we know bldmake could be bldmake.bat which contains a line such as:

sh E:\Symbian\M04765_Symbain_OS_V9.5\bin\Tech\Viewepoc32\tools\bldmake.bat

Intending to use Symbian's version of sh which can handle backslashes but
due to how your PATH is setup it's using Cygwin's version of sh which
doesn't like the backslashes. I'm not saying that's exactly what's going on,
I'm saying that we don't know given your description so far.


I think I've make little progress in this regard: I compared
environment variables from an original cmd.exe and that of cmd.exe
invoked from cygwin bash. I noticed that, for the one invoked from
cygwin, the %Path% variable had cygwin\bin directories before all
Windows paths. After I removed the cygwin\bin directories, the same
utility seem to work fine (as of now). How can I prevent cygwin\bin
directories occupying at the beginning of %path%?


The Cygwin paths are added in '/etc/profile'.  Obviously, you can
remove them though that will make your configuration non-standard
and unsupported.  Essentially, this would make Cygwin tools
inaccessible when running 'bash', which doesn't sound like what
you really want.  Obviously, you could add the Cygwin paths
somewhere else to give Symbian priority but this is likely to just
cause other conflicts and, again, not be what you really want.  So
to me, the question comes down to which tools to you really want to
use, Symbian's, Cygwin's, or something else?  Once you can answer
that, you should be able to configure things so that you get the
proper set for your needs.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Dodgy adding a package to Setup.exe

2009-01-05 Thread Larry Hall (Cygwin)

Paul Keeble wrote:

Environment
Windows XP
Setup.exe - 2.573.2.3 (Unix, 


Currently what I do is have a setup.exe + release directory that contains
all of the packages downloaded. When we install to another machine we
choose all the local packages, and hence we have a nice simple(ish)
definition of what our system uses in the cygwin packages and a way to
install it. However due to a problem in csih I would like to have a
custom package that replaces the script file, This is not a bug in csih,
its a special case for terminal services disabling that I would like to
be seamless. There seems to be two basic approaches - 1) Add a new
version of csih into the release directory and say that this is the
latest version in the setup.ini, 2) Add a whole new package that replaces
the file/uses post install to replace the file file.

I have tried both approaches but in both cases when doing an install from
local my version did not appear, and nor did my package. My ideal
scenario was that I can put a tar.bz2 into the release directory in the
right place, modify the setup.ini and it'll show on the list and I can
use either post install or file replacement to achieve my goal. I can't
find an error in my tar.bz2 or the setup.ini but if it should work that
would be good to know that its possible to do this way.

Submitting this as a real package I maintaining it doesn't make any sense
as no one else needs this change. On the other hand I need the change to
be installed on many machines and I would like it as seamless as possible
and hence a custom makes sense until 1.7 is production ready and fixes my
specific issue.

How can I achieve what I am trying to do?


It's not immediately obvious to me why what you're doing isn't working
for you but it seems to me that you've ignored one option that may be
the easiest of all to implement - change the existing package without
changing the version.  Of course, you may need update the md5sum in
'setup.ini' to make this work.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Mon, Jan 5, 2009 at 9:53 PM, Larry Hall (Cygwin)
reply-to-list-only...@cygwin.com wrote:


The Cygwin paths are added in '/etc/profile'.  Obviously, you can
remove them though that will make your configuration non-standard
and unsupported.  Essentially, this would make Cygwin tools
inaccessible when running 'bash', which doesn't sound like what
you really want.  Obviously, you could add the Cygwin paths
somewhere else to give Symbian priority but this is likely to just
cause other conflicts and, again, not be what you really want.  So
to me, the question comes down to which tools to you really want to
use, Symbian's, Cygwin's, or something else?  Once you can answer
that, you should be able to configure things so that you get the
proper set for your needs.



Thanks for the info. My intention is not to throw Cygwin and it's
utilities away; but to move Cygwin path towards the end when--and only
when--I run Symbian tool chain, because, AFAIK, Symbian tool chain
doesn't ask for any tools from Cygwin.


But your batch file is invoking Cygwin's bash.  Perhaps if you decouple
things there, then they will work as you expect without changing other
things in your environment.  Moving Cygwin paths to the end of the path
in '/etc/profile' would have the effect of making everything else in
the system with a like name override the Cygwin version, even when you're
using Cygwin and want the Cygwin versions.  I expect this is not at all
what you want.


By the way, did anybody get a change to look at my screencast?


I did not have a chance to, no.  Is there something there that you believe
significantly changes the context of your original question?


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Disable Toolbar

2009-01-05 Thread Larry Hall (Cygwin)

Jose Luis wrote:

Hi,

When I start XWin Server, the Toolbar is enabled by default. How can I
disable it, so it is not shown in when XWin Server is launched?


Wrong list.  You want the Cygwin-X list.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

On 01/05/2009, Jeenu V wrote:

 I did not have a chance to, no.  Is there something there that you believe
  significantly changes the context of your original question?

Well, I initially thought these two problems were related. But now
that one appear to be solved, and and other remains, I think it's
worth taking a look. I'll also check with other Cygwin users around me
if they face the same problem. Or is it best that I start another
thread altogether?


You mean the part about the text overwrtiting itself?  Your 'TERM'
environment variable is set to 'screen'.  Make sure that it's set
to 'cygwin' and you'll see less trouble. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 8:36 AM, Larry Hall (Cygwin) wrote:

You mean the part about the text overwrtiting itself?  Your 'TERM'
environment variable is set to 'screen'.  Make sure that it's set
to 'cygwin' and you'll see less trouble. ;-)


Ehm... that was because I was using screen when I generated that
cygcheck output and when recorded screen cast. I tried invoking
cmd.exe from a fresh Cygwin shell (i.e. $TERM is set to 'cygwin'), but
the problems still exist.


I can't reproduce this.  Do you have that problem before you invoke
'cmd'?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Installing cygwin failing - some Windows errors

2009-01-05 Thread Larry Hall (Cygwin)

On 01/05/2009, Phil Reynolds wrote:
I find that I can start cygwin bash but if I try to ls (for example), it 
fails. Nothing happens, and then bash closes.


I want cygwin mainly for X but I need to solve this first, of course. 


So you're saying that you're starting bash from an xterm or similar
X proggie?  If so, is this not just an instance of this?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-i-cant-type-anything

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?




--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 9:37 AM, Larry Hall (Cygwin)
reply-to-list-only-lh AT cygwin SQUAT com wrote:

  ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.


I can't reproduce this.  Do you have that problem before you invoke
'cmd'?


Sad :(. I don't have any problems before invoking cmd.exe; bash just
works fine. Would you suggest a fresh install of Cygwin? I hope you
watched the screencast to see what's going on.


And I assume that you don't have this problem if you just invoke
'cmd.exe' from Windows and try the same thing and further that it
does reproduce if you then invoke 'bash' from that command prompt
and then 'cmd.exe' again.

I watched the screencast.  That's how I came to understand the
problem you were seeing.  I wouldn't say I couldn't reproduce it
otherwise.  I try really hard not to lie about this kind of thing. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 10:00 AM, Larry Hall (Cygwin)
reply-to-list-only...@cygwin.com wrote:

And I assume that you don't have this problem if you just invoke
'cmd.exe' from Windows and try the same thing and further that it
does reproduce if you then invoke 'bash' from that command prompt
and then 'cmd.exe' again.


cmd.exe from Windows: no; it behaves normally
cmd.exe - bash - cmd.exe: same problem


OK, sounds like an environment problem then.  You could probably spot
the issue by comparing the environment you get in bash with the one
you get in cmd.exe.


I watched the screencast.  That's how I came to understand the
problem you were seeing.  I wouldn't say I couldn't reproduce it
otherwise.  I try really hard not to lie about this kind of thing. ;-)


Just making sure, you know :)


Yep.


I checked with one of my colleagues who has Cygwin installed, but he
doesn't seem to have this problem. I feel like going with a fresh
installation.


Fair enough.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-05 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 10:51 AM, Larry Hall (Cygwin)
reply-to-list-only...@cygwin.com wrote:

OK, sounds like an environment problem then.  You could probably spot
the issue by comparing the environment you get in bash with the one
you get in cmd.exe.


I did that already and that was how I came to know I could solve the
original problem by modifying %path%. PATH is the only variable whose
contents differed - %path% was prefixed with Cygwin bin directories.
Also there were new variables inherited from bash which were:


snip


But, I don't see anything harmful here.


Not obviously to cmd.exe anyway...

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-06 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 10:43 AM, Jeenu V wrote:
[...]

I checked with one of my colleagues who has Cygwin installed, but he
doesn't seem to have this problem. I feel like going with a fresh
installation.


I did a fresh, quick and bare-minimum installation (to a different
directory, but keeping the old one intact), but the problem still seem
to exist. Do you think this is a bug? If so what if I want to report
this as one - where would I do that, in this list or dev?



Bugs are reported to this list.

I know you've looked at the environment differences on your machine
between a plain cmd and one under bash.  How about comparing yours
under bash with your colleague's?  Also, does the shell matter?  Does
it happen for you with tcsh, pdksh, or zsh too?  This might provide
some insight.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-06 Thread Larry Hall (Cygwin)

Larry Hall (Cygwin) wrote:

Jeenu V wrote:

On Tue, Jan 6, 2009 at 10:43 AM, Jeenu V wrote:
[...]

I checked with one of my colleagues who has Cygwin installed, but he
doesn't seem to have this problem. I feel like going with a fresh
installation.


I did a fresh, quick and bare-minimum installation (to a different
directory, but keeping the old one intact), but the problem still seem
to exist. Do you think this is a bug? If so what if I want to report
this as one - where would I do that, in this list or dev?



Bugs are reported to this list.

I know you've looked at the environment differences on your machine
between a plain cmd and one under bash.  How about comparing yours
under bash with your colleague's?  Also, does the shell matter?  Does
it happen for you with tcsh, pdksh, or zsh too?  This might provide
some insight.


Almost forgot.  One more thing and probably the most important.  Is this
reproducible with the upcoming Cygwin 1.7 release?

http://cygwin.com/ml/cygwin-announce/2008-12/msg9.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Missing telnet, rlogin, and rsh on cygwin

2009-01-06 Thread Larry Hall (Cygwin)

Freddy Jensen wrote:


I just realized that my current cygwin installation is  missing
telnet, rsh, and rlogin. I cannot find them in the cygwin setup.exe
package list.

Does anyone know where to find them?


Sure.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=telnet.exe


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-06 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Tue, Jan 6, 2009 at 11:23 PM, Larry Hall (Cygwin)
reply-to-list-only...@cygwin.com wrote:

Larry Hall (Cygwin) wrote:



I know you've looked at the environment differences on your machine
between a plain cmd and one under bash.  How about comparing yours
under bash with your colleague's?  Also, does the shell matter?  Does
it happen for you with tcsh, pdksh, or zsh too?  This might provide
some insight.

Almost forgot.  One more thing and probably the most important.  Is this
reproducible with the upcoming Cygwin 1.7 release?


I installed 1.7
I tried with other shells you mentioned
I sourced my colleagues enviornement variables to my bash

None made a difference! :(. I started suspecting my PC more, though
I'm not sure how to pin the problem down. Any clues?


With cgf's help and a good look at your cygcheck output, I believe I was
able to reproduce something like your problem.  If I'm right, then you
want to remove 'tty' from your CYGWIN environment variable.  Make sure
you exit *all* Cygwin processes, including services, before firing up
bash again and invoking 'cnd' from there to test.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Empty include file on samba share

2009-01-07 Thread Larry Hall (Cygwin)

Fabian Cenedese wrote:

Hi

I have a problem that may be cygwin or not. I'll just ask here if anybody knows
something (or to show me some better place to go to).

We use a quite old cross-gcc (2.95.2), built with cygwin and running on various
windows (since NT on to vista). The currently used cygwin is version
1.5.19-cr-0x5ef, but we have also worked with other versions. We have
some projects that are C++ with header files and can be compiled with
no problems on a local drive.

However if the whole C++ project is moved from the local drive to a
share (samba, probably also windows) the compilation may fail with
various errors. The main problem seems to be that include files are not
read properly. They are found (gcc emits an error if the name is wrong)
but the content seems not to be read. Even if such a problematic
header file contains crap it is not mentioned by gcc. To make things
worse is that on different computers the compilation may fail differently
or even work without problems.

I don't know if there's anything I could change in cygwin to improve
this (except updating, but I'd like to hear first, if this is known).

Has anybody ever experienced something similar? Or an idea what I
could look into (from the cygwin side)? I have already asked on the
gcc mailinglist, but it was unknown so far.


We're missing some information about your system configuration.  Please
read the problem reporting guidelines found at the link below, paying
particular attention to the part about the cygcheck output.  A STC might
also be warranted.


Problem reports:   http://cygwin.com/problems.html


Absent the above, my WAG is that you need to add 'smbntsec' to your
CYGWIN environment variable.

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Exit all Cygwin processes/services for good measure.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Missing telnet, rlogin, and rsh on cygwin

2009-01-07 Thread Larry Hall (Cygwin)

Freddy Jensen wrote:

== Begin included message ==


From: Larry Hall (Cygwin) XXX
Date: Tue Jan 6 2009  2:55pm
To:   cygwin XXX
Subj: Re: Missing telnet, rlogin, and rsh on cygwin



[ Attachment (text/plain): 1301 bytes
  Character set: utf-8
  plain text
  Encoded with base64 ]

== End included message ==
Got it.

Thanks

Freddy


You're welcome.  For future reference, we ask that you not include
header information in your replies, since they:

  1. Serve no purpose
  2. Provide raw addresses that spammers can harvest.

Thanks,

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Pointers on Making a Cygwin CD (including source)?

2009-01-07 Thread Larry Hall (Cygwin)

Grant Edwards wrote:

I need to put a Cygwin snapshot on CD[*].

To that end I've been searching the mailing list archive. So
far the scripts wirtten by Vin Shelton look like they're
awfully close to what I want.

  http://www.Cygwin.com/ml/Cygwin/2007-03/msg00606.html


This link goes nowhere for me.


The only thing that (AFAICT) is missing is the inclusion of the
source packages for the binary packages on the CD.  I think I
can figure out enough zsh to do that.

Before I have a go at it, is there something else I ought to be
using instead?


 [*] Why, you ask, do I need a CD?  Because we're distributing
 a bunch of tools along with the Cygwin snapshot.  If we
 distribute just the tools along with instructions on
 installing a current Cygwin, then we'll have to worry
 about constantly updating the tools as updates to Cygwin
 cause them to stop working.  We've got a half-way decent
 chance of supporting a static snapshot of Cygwin+tools,
 but supporting the tools on top of a constantly changing
 Cygwin base would require more resources than we have
 available.

 Even distributing the source code to the tools along with
 a build script doesn't work, because future versions of
 Cygwin will undoubtedly stop being able to compile the
 tools.  For example, the previous version of the tool
 binaries won't run on current Cygwin install. The previous
 version of tools won't build on a current Cygwin install
 either. FWIW, the component of the tools that causes the
 most problems is gcc -- Cygwin stopped being able to build
 gcc/g++ 3.2.1 sometime in 2005.  The next version of the
 tools will use gcc/g++ 3.4.3.  That version can be built
 on current Cygwin (as of yesterday at some point in
 mid-morning GMT-6), but there's no guarantee that will be
 true tomorrow or that the binaries built today will run on
 tomorrow's current Cygwin.


The Cygwin DLL is meant to be backward compatible through the 1.5
series.  There will, of course, be a difference moving from 1.5 to
1.7.  After that, later 1.7 releases will be compatible with
earlier ones.  And by compatible, I mean binary compatible.  No
rebuild necessary.  If you find this is not the case with 1.7,
then that would be good to report.  Since 1.5 is a dead end, it
doesn't make allot of sense to report these kinds of problems for
it.  Of course, as you note, other packages aren't necessarily
compatible through all their versions or even their minor version
bumps.  If you need to support a particular set of Cygwin tools, it
can make sense to lock the set you're working with.  Of course, you'll
still need to contend with users that already may have Cygwin installed
and the version conflicts there.  And, as you noted, you need to
distribute the source of your application along with that for the
Cygwin DLL and the tools you're distributing to comply with the GPL,
but I expect you already know this.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Pointers on Making a Cygwin CD (including source)?

2009-01-07 Thread Larry Hall (Cygwin)

Grant Edwards wrote:

On 2009-01-07, Larry Hall (Cygwin) reply-to-list-only-lh AT cygwin DOT

com wrote:
  ^
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Thanks.


Grant Edwards wrote:

I need to put a Cygwin snapshot on CD[*].

To that end I've been searching the mailing list archive. So
far the scripts wirtten by Vin Shelton look like they're
awfully close to what I want.

  http://www.Cygwin.com/ml/Cygwin/2007-03/msg00606.html

This link goes nowhere for me.


Doh!  My spell-checker capitalized Cygwin.  It should be

  http://www.cygwin.com/ml/cygwin/2007-03/msg00606.html


Got it.  Looks OK.


The Cygwin DLL is meant to be backward compatible through the
1.5 series.  There will, of course, be a difference moving
from 1.5 to 1.7.  After that, later 1.7 releases will be
compatible with earlier ones.  And by compatible, I mean
binary compatible.  No rebuild necessary.  If you find this is
not the case with 1.7, then that would be good to report.
Since 1.5 is a dead end, it doesn't make allot of sense to
report these kinds of problems for it.  Of course, as you
note, other packages aren't necessarily compatible through all
their versions or even their minor version bumps.  If you need
to support a particular set of Cygwin tools, it can make sense
to lock the set you're working with.  Of course, you'll still
need to contend with users that already may have Cygwin
installed and the version conflicts there.


Users who already have Cygwin installed are probably savvy
enough to build the tools from sources.  If that doesn't work
then they're out of luck, and should just do things right and
install Linux.


And, as you noted, you need to distribute the source of your
application


I don't see what my application has to do with anything.  Just
because I compile an application with gcc, that doesn't place
the application under the GPL.


OK, I missed that part then.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cd to the path including space.

2009-01-08 Thread Larry Hall (Cygwin)

On 01/08/2009, Hongyi Zhao wrote:

3- In the cygwin/bash, if the space are included in the path, it will
be troublesome.


FWIW, this is not specific to Cygwin.  You'd see the same problem in Windows
using the command prompt.  Quoting, as Eric points out, is the solution.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: cmd.exe from Cygwin

2009-01-08 Thread Larry Hall (Cygwin)

Jeenu V wrote:

On Thu, Jan 8, 2009 at 9:36 PM, Christopher Faylor
cgf-use-the-mailinglist-please AT cygwin DOT com wrote:

   
 http://cygwin.com/acronyms/#PCYMTNQREAIYR.  It's not good to feed the
spammers.  Thanks.




Do you think screen is the only thing that uses ptys in the whole
distribution?


Nope; I've no idea.


ptys are a commonly used facility under Linux/Unix and so also on Cygwin.
'screen' is not the only Cygwin package that makes use of them.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Empty include file on samba share

2009-01-09 Thread Larry Hall (Cygwin)

Fabian Cenedese wrote:

At 11:28 08.01.2009 -0500, Larry Hall (Cygwin) wrote:


snip


1. Your installation is outdated.  You may have better luck if you upgrade.


I might try that, but I guess I need to rebuild the tools to use 1.7.
I have now used gcc 3.4.3. and 4.1. with exactly the same cygwin1.dll.
They both could compile without showing these errors. So I guess 
cygwin is not at fault.


OK, good to know.


2. You seem to have competing tools installed and to not have Cygwin tools
  in your path.  These two things make it unclear what parts of Cygwin
  are actually in use in your scenario.


Why do you say competing tools? There's only 1 cygwin1.dll in the path.
And the other cygwin tools are not needed. gcc, as, ld etc are all in the
same directory, built with the same environment.


Your installation is grabbing tools from 'C:\programme\rtksupport\' and
'N:\IMD\Bin\'.  These match Cygwin counterparts but aren't overridden by
the Cygwin tools in your environment.  This can lead to strange failures
if these different sets of tools with different requirements interact.


3. Since you mention your share is just a samba share, I'm not sure if
  you mean it's from a Linux machine or simply a Windows server with a
  FAT* partition.  If the former, have you tried using NFS?


Yes, it's a linux file server with samba shares, underlying FS probably ext3.
I have not tried NFS as we mostly use windows and we have customer
reports with the same problem that only use windows (no linux server).


Perhaps 'smbntsec' would be a help there, though it may only be useful
if it is set prior to unpacking stuff into those remote locations (or
if unpacked on that system locally under Cygwin, you may need to make
sure you have that user in your '/etc/passwd' and/or set the POSIX
permissions appropriately.)


4. Are you sure there aren't network issues here?


Do you mean IP-address conflicts? Or what else? As the windows network
doesn't show problems the basic setup seems fine.


I mean anything that could cause sporadic, intermittent drop-outs.  This
could certainly explain why sometimes it works and sometimes it doesn't.


Thanks for the help, I'll start looking into gcc changes.


Does sound the most promising, though it's not clear to me why gcc would
be having problems here.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: New Cygwin User, Cygwin doesn't seem to see my hardrive

2009-01-09 Thread Larry Hall (Cygwin)

Greg Chicares wrote:

On 2009-01-09 14:18Z, Bluehat85 wrote:

I cannot navigate to the C: directory


http://www.cygwin.com/faq/faq.using.html#faq.using.accessing-drives


or to My Documents


http://www.cygwin.com/faq/faq.using.html#faq.using.filename-spaces


You would also likely benefit from taking a gander at the User's Guide:

http://cygwin.com/cygwin-ug-net/

There's lots of good stuff in there that explains how Cygwin works.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Octave has stopped running for me - no error msg

2009-01-09 Thread Larry Hall (Cygwin)

Bruce McNamara wrote:

Bruce McNamara wrote:

Before: I have cygwin (ver 1.5.25-15) with octave (ver 3.0.2-1), X

and a

few other packages.  My OS is XP with Service Pack 3.  Everything

works

fine.

Possible cause: I installed the GNUARM tools

  Argh.  http://cygwin.com/acronyms/#3PP alert!


After: When I run octave, either from a bash shell or an xterm

window, it

just thinks for a couple of seconds and then gives me another prompt

- if

octave ran, it quit right away.  There is no error message or other
indication of what went wrong.  Other /usr/bin executables run just

fine.

  Standard shell advice: use echo $? to check the exit status if

there's no

error message.


When I run echo $? after running octave I get: 53


That means you're missing a DLL octave needs to run.  Run
'cygcheck octave' and look for DLL(s) it reports missing.  Then, look
up the packages that contain the DLL(s) that are missing with
http://cygwin.com/packages/.  Install those packages with 'setup.exe'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Help me please install OpenSSH Server on Windows Vista

2009-01-12 Thread Larry Hall (Cygwin)

Alexey Eremenko wrote:

On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko al4...@gmail.com wrote:

Hi All !

I have installed Cygwin on Vista -- but was unable to install SSH server on it.

ssh-host-config returns an error no matter what I do. Diabling UAC doesn't help.



Here is what I get when I try to setup SSH on Vista:

$ ssh-host-config
chmod: changing permissions of `/etc': Permission denied
setfacl: Permission denied
chmod: changing permissions of `/var/log': Permission denied
setfacl: Permission denied


Are you running with elevated Administrator permissions?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Became root within cygwin.

2009-01-12 Thread Larry Hall (Cygwin)

Hongyi Zhao wrote:

Hi all,

The cygwin doesn't has the root user by default.  How can I add it and
then login as root only when I require root privilege to do something?


Windows doesn't have the concept of 'root' so neither does Cygwin.
Probably the closest thing is to either 'ssh' in as a Windows
privileged user (on XP and lower) or use Windows Run as administrator
to start the Cygwin shell you want to work in.  I know, it's not the
same.  I feel your pain.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How to make setup.exe default to local-install?

2009-01-12 Thread Larry Hall (Cygwin)

On 01/12/2009, Grant Edwards wrote:

It looks like a batch file would work, but it pops up a
nuisance console window.  [Question: does local directory
refer to the directory where setup.exe is located or to the
current working directory?]


It refers to the local directory containing all the packages in the
directory structure you get when you download packages.  So it is
neither the directory where 'setup.exe' is located not the current
working directory.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: file mirroring

2009-01-12 Thread Larry Hall (Cygwin)

jedalaurin wrote:

We are on implementation stage for a scalability and we a currently looking
for suggestion on file mirroring real time or near real time?


Please clarify how the above is a Cygwin-specific question.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How to make setup.exe default to local-install?

2009-01-13 Thread Larry Hall (Cygwin)

Grant Edwards wrote:

On 2009-01-13, Larry Hall (Cygwin) reply-to-list-only-lh AT cygwin DOT com 
wrote:

  ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

On 01/12/2009, Grant Edwards wrote:

It looks like a batch file would work, but it pops up a
nuisance console window.  [Question: does local directory
refer to the directory where setup.exe is located or to the
current working directory?]

It refers to the local directory containing all the packages
in the directory structure you get when you download packages.
So it is neither the directory where 'setup.exe' is located
not the current working directory.


If it's neither the current working directory nor the directory
where setup.exe is located, then how does setup.exe know where
to find it?


Are you only interested in knowing where the local directory defaults
to the first time it is run on a machine without a Cygwin installation?
If so, then yes, it is CWD.  Otherwise, the local directory is the local
package directory where packages were downloaded last time, which may
not be the synonymous with the CWD at the time that you start 'setup.exe'.
In any case, the local directory to use is stored in
'/etc/setup/last-cache'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Help me please install OpenSSH Server on Windows Vista

2009-01-13 Thread Larry Hall (Cygwin)

Alexey Eremenko wrote:

On Mon, Jan 12, 2009 at 4:32 PM, Larry Hall (Cygwin)
reply-to-list-only...@cygwin.com wrote:

Alexey Eremenko wrote:

On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko al4...@gmail.com wrote:

Hi All !

I have installed Cygwin on Vista -- but was unable to install SSH server
on it.

ssh-host-config returns an error no matter what I do. Diabling UAC
doesn't help.


Here is what I get when I try to setup SSH on Vista:

$ ssh-host-config
chmod: changing permissions of `/etc': Permission denied
setfacl: Permission denied
chmod: changing permissions of `/var/log': Permission denied
setfacl: Permission denied

Are you running with elevated Administrator permissions?


Yes, I tried running that with:-- right click-run as
administrator-cygwin bash shell

If this is what you mean by elevated Administrator permissions... or
something else?
It does not help.



Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
http://cygwin.com/problems.html would help.  What does 'ls -ld /etc'
say?  What does 'getfacl /etc' say?  What about 'cacls c:\cygwin\etc'?

In other words, who has permissions to change '/etc' and who's it's
owner?  Sounds like you need to rejigger ownerships/permissions to make
this work.  Perhaps try that based on the output of the above.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: rm seems to fail

2009-01-13 Thread Larry Hall (Cygwin)

Mark J. Reed wrote:

On Tue, Jan 13, 2009 at 2:52 PM, greenup wrote:

your perl test was a nice try; but it also did not remove the file,
which is revealing.


I should have included a return code check:

perl -e 'unlink(goo/foo) or die $!'

I suspect that will still run silently without removing the file,
indicating that the problem is indeed in the unlink(2) system call.
Which *should* succeed in any case; unlink() doesn't care about the
permissions of the target file, only of the directory containing it.

I see your original message confirmed that you were running Cygwin's
rm, btw; sorry for the extra hoop-jumping there.

So at this point I'm at a loss.  I'm running the same version of
Cygwin (though on Vista, not XP) on the same type of filesystem (NTFS)
and not seeing the issue.  Is there any way this could be
BLODA-induced?


Sounds like it.  His cygcheck output names one possible source of conflict:


Potential app conflicts:

Sonic Solutions burning software containing DLA component



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: fetchmail pops up console windows

2009-01-13 Thread Larry Hall (Cygwin)

Gary Johnson wrote:

On 2009-01-13, Jason Tishler wrote:

Gary,

On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:

On 2009-01-13, Jason Tishler wrote:

FWIW, I don't have this problem when running fetchmail as a service.

I saw that in an earlier post and tried to follow the instructions in
/usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:

[snip]

$ cygrunsrv -S fetchmail
cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
The service did not start due to a logon failure.

I have both cron and sshd running as services, so that much works,
but they may be running as the system user (whatever it's called).
I don't know how to diagnose this sort of failure.

Did you heed the following from the README?

o the $USERDOMAIN\\$USERNAME account must have the Log on as a
  service user right for Cygwin fetchmail to start as a NT service


I heeded it in the sense that I read it and understood that it might
be the problem.  I did go searching in the Control Panel for likely
utilities, but I couldn't find anything in User Accounts or anywhere
else that would let me set user rights or that even told me what
they were.  I did not search Windows Help and Support.  That sort of
cluelessness was meant to be implicit in the statement, I don't
know how to diagnose this sort of failure, but I suppose I should
have been more clear.

So how does one set that right?


'/usr/share/csih/cygwin-service-installation-helper.sh' has this:

editrights -u ${user} -t SeServiceLogonRight

Try that, substituting the appropriate user for your situation and
Windows version.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: rm seems to fail

2009-01-13 Thread Larry Hall (Cygwin)

greenup greenup wrote:

broken again/still.

On 1/13/09, Mark J. Reed wrote:

On Tue, Jan 13, 2009 at 2:52 PM, greenup wrote:
  your perl test was a nice try; but it also did not remove the file,
  which is revealing.
I should have included a return code check:

 perl -e 'unlink(goo/foo) or die $!'


d...@w2 ~
$ perl -e 'unlink(goo/foo) or die $!'

d...@w2 ~
$ echo $?
0

d...@w2 ~
$ ls -la goo
total 0
drwxr-xr-x+  2 dz mkgroup-l-d 0 Jan 13 14:47 .
drwxrwx---+ 25 Administrators SYSTEM  0 Jan 13 14:46 ..
-r   1 dz mkgroup-l-d 0 Jan 13 14:47 foo


Any luck on the BLODA front?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: rm seems to fail

2009-01-13 Thread Larry Hall (Cygwin)

greenup greenup wrote:

On Tue, Jan 13, 2009 at 5:34 PM, Larry Hall (Cygwin) wrote:

greenup greenup wrote:

broken again/still.

On 1/13/09, Mark J. Reed wrote:

Any luck on the BLODA front?


Afraid I don't know BLODA, but disabling the virus scanner for a few
minutes didn't work.


http://cygwin.com/acronyms/#BLODA

Certainly sounds like something is locking that file.  Perhaps Process
Explorer http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
or Handle http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
can help you figure out who might be doing this.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How do I shut down Cygwin cleanly?

2009-01-14 Thread Larry Hall (Cygwin)

johun...@postoffice.utas.edu.au wrote:

I can find no recent discussion of how to cleanly shut down Cygwin - by
this I mean shutting down all Cygwin processes, but not the Windows
operating system (in my case XP). Not cleanly shutting down Cygwin
processes tends to invoke Windows error messages on starting up Cygwin (I 
use the X startup script startxwin.bat) and sometimes a failure to

generate an X-window from startxwin.bat (which then has to be called
again - generally successfully). Shutting down Cygwin by just closing
all Cygwin windows does not seem to be a satisfactory option - other
things are clearly going on in the background.


If your question really is directed just at Cygwin-X, you're probably
better off sending it to the cygwin-xfree list.  If you're experiencing
issues beyond that of X, then it would be helpful to anyone here who can
help to list those issues.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Can't read lock file /tmp/.X0-lock problem (answer to FAQ 3.4. does not solve the problem)

2009-01-14 Thread Larry Hall (Cygwin)

Leonardo Vanneschi wrote:

Dear sirs,

when trying to launch /usr/bin/startxwin.bat, I have a problem.
The problem reported in file /var/log/XWin.0.log is
Can't read lock file /tmp/.X0-lock

I have tried to apply the solutions in the FAQ page (FAQ 3.4), but they
do not work. More precisely, what I tried to do as follows:


This is the wrong list for Cygwin-X questions.  Please use cygwin-xfree
for this.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: rm seems to fail

2009-01-14 Thread Larry Hall (Cygwin)

greenup greenup wrote:

I notice someone else is having problems with their X lock files; that
was one of the things that got me started fiddling with rm.  Today is
busy for me, so I'm not sure that I'll get to strace/etc, but
hopefully tomorrow.  I checked another box in my house, that seems to
be working fine with mostly similar packages, I'm scared to upgrade
any of its parts  in case it breaks it.  It's not on the domain,
though, could that be related?


Certainly.  Try a local user and see if you see the same problems or
not.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Help me please install OpenSSH Server on Windows Vista

2009-01-14 Thread Larry Hall (Cygwin)

Alexey Eremenko wrote:

Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
http://cygwin.com/problems.html would help.  What does 'ls -ld /etc'
say?  What does 'getfacl /etc' say?  What about 'cacls c:\cygwin\etc'?

In other words, who has permissions to change '/etc' and who's it's
owner?  Sounds like you need to rejigger ownerships/permissions to make
this work.  Perhaps try that based on the output of the above.


I have attached output in text-files.


You've sanitized your cygcheck output so that I can't see what groups
user belongs to.  According to your 'ls'/'getfacl' output, user is
the owner of '/etc' (and I assume '/var/log').  Try 'chmod 755 /etc'
from the command line instead.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How do I shut down Cygwin cleanly?

2009-01-14 Thread Larry Hall (Cygwin)

john.hun...@utas.edu.au wrote:

Thanks Larry, but I'm loath to waste space on this and other lists, and also
people's time by listing any of the knock-on effects of not terminating all
Cygwin processes (and resetting locks etc.) prior to firing up Cygwin again -
it seems reasonable to me that these effects would exist (I've experienced
them) but it also seems largely irrelevant to my present question to discuss
them. This is not a bug report - it is a howto request.

So I'll summarise my original post into a single question:

When running the latest version of Cygwin on Windows XP, what is the best simple
way of terminating all Cygwin processes, and resetting XP to effectively the
same state as it was before Cygwin was started?


It depends on what you're running.  If you've just started a Cygwin shell or
shells, exiting them is enough.  If you have a Cygwin service or services
running, then you must stop them (with 'cygrunsrv --stop' or 'net stop').
If you have X running, you must exit X (typically through the menu on the
X taskbar item).  If you have a combination of these running, then you
must do some combination of them.  This will return you to a state where
cygwin1.dll is not loaded anymore, which is the same process state
relative to Cygwin as you were before you started any of them.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: SSH Setup Issue

2009-01-16 Thread Larry Hall (Cygwin)

Syphon wrote:

I cant seem to get sshd service to start on my Windows Vista box.
I tried a few different things, I turned off UAC, I ran bash as Admin.
Also, 'chown system:system /var/empty /etc/ssh_*' , 'chmod 755 /etc'.   

 ^
Why did you do that?  'ssh-host-config' will handle all this for you and
do it correctly.  What you have above won't work for Vista.


Still when I run 'ssh-host-config', I seem to be missing a few prompts

$ ssh-host-config
Overwrite existing /etc/ssh_config file? (yes/no) yes
Generating /etc/ssh_config file
Overwrite existing /etc/sshd_config file? (yes/no) yes
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read /usr/share/doc/openssh/README.
.
Should privilege separation be used? (yes/no) yes
Generating /etc/sshd_config file

Host configuration finished. Have fun!

And 'net start sshd'

$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

Any suggestions ? I attached my cygcheck output.


Other than the above, which I think is at least a large part of your
problem, you can take a look at '/var/log/sshd.log'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: setup.exe 2.573.2.3 signature failure

2009-01-16 Thread Larry Hall (Cygwin)

George R Nelson wrote:

As a newcomer to cygwin, my attempts to download from ctgwin.com or a
number of mirror sites all failed with signature errors. WHy do I get
this problem? The error I get is:

Setup.ini signature http://cygwin.com/setup.bz2.sig from
http//cygwin.com failed to verify.

I have managed to download cygwin using the setup.exe from redhat.


So what were you downloading it with before?  'setup.exe' is the
prescribed way to download (for installation) and/or install.  If you
want a mirror, you want to use another tool but barring that,
stick with 'setup.exe'.


On a related topic, is there any way to change the URL for the
download? Or do you just add download sites then highlight the one you
wish to use?


There are plenty of download sites in the list to choose from.  But if
you want another one not listed, you can add it by typing it into the
edit control below the list and clicking Add.  Then you can select it
from the list.  You can select up to 4 from the list.


Finally, I am trying to build some C sources using cygwin but the
build fails as it is not finding some libraries: libsocket.a, libnsl.a
and libxnet.a. I've searched both the package lists and the installed
libraries without success. I am sure that the functions defined in
these libraries do exist in the cygwin distribution but may be in
differently named libraries. Can anybody help?


Not significantly with that description.  I'd recommend reading the
problem reporting guidelines and trying again if you're still having
problems.  The guidelines can be found at the link below.


Problem reports:   http://cygwin.com/problems.html




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: SSH Setup Issue

2009-01-16 Thread Larry Hall (Cygwin)

Syphon wrote:

Had the issue before I did all of the above, I know all this is already
performed by ssh-host-config, So does this mean ssh-host-config is not
working properly ? 


For you, perhaps.


Took a look at '/var/log/sshd.log'.

'/var/empty must be owned by root and not group or world-writable.'

So, 'chown SYSTEM empty'


SYSTEM does not have the proper permissions on Vista for 'sshd' to
run properly.  If 'ssh-host-config' did it's job correctly, it set
up a new user for this.  Look for 'sshd_server'.  If you have this,
then that's the user you want to use above and in all places where
you used 'SYSTEM'.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Uninstall/reinstall

2009-01-16 Thread Larry Hall (Cygwin)

royma...@verizon.net wrote:

I encountered a problem with v1.5.25-15 on Windows XP.  My application is
C/C++ with an embedded Perl interpreter.  The C/C++ code worked fine until
I attempted to invoke the perl script.  I got an invalid DLL error.
I'm not really asking about this -- it's the steps I took to address the
DLL problem where I must have overlooked something.

Thinking their might have been an install error or a conflict between
multiple perl interpreters, I decided to uninstall/reinstall cygwin.
ActivePerl had been installed on the machine as well.  I checked out
the web pages for uninstalling cygwin and cleaning out the registry and
carried out the steps.

When I re-installed cygwin, two things went wrong.  The first was that
bash was not installed by setup.exe.  I was able to remidy this problem
simple enough by finding the tar.gz file containing bash and restoring it
to the right location.

The second problem was that cygwin1.dll was not installed.  Nor could I
find it in the distribution package.  (I assume it is built on the fly
somehow.)

Ultimately, the sys admin re-loaded windows on my machine.  (Not only does
this solve a re-install problem, but it would clean out the registry and
possibly remove any corrupt dlls, so overall it made sense.)  I am about to
re-install a version of cygwin on my computer, but I am concerned about
encountering the original dll problem again -- meaning that I could have to
uninstall/reinstall cygwin again -- maybe go to a different version of Perl
or an earlier version of cygwin.

What I want to know is, what did I do wrong in the uninstall?  Or in the
reinstall?


Impossible to tell given the generalities you mentioned here.  Personally,
I wouldn't have chosen to uninstall and reinstall Cygwin to try to fix
your original problem.  I would have looked for what the problem was and
tried to fix that.  It does sound like you had some clash in your tools
(ActiveState's perl and Cygwin's perhaps) but I can't be sure.  One thing
I can say that you shouldn't do is install packages manually if you don't
know exactly what you're doing.  'setup.exe' is designed to handle all
the little details you wouldn't normally think of so using it is the
safest route.  My WAG is that you had some Cygwin service or bash process
(or both) running when you uninstalled, which would leave those in place
and inhibit the installation of the reinstalled versions.  Also note that
the Cygwin DLL comes from the cygwin package.  It is not built on the fly.

HTH,

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: setup.exe 2.573.2.3 signature failure

2009-01-16 Thread Larry Hall (Cygwin)

George R Nelson wrote:

On Fri, Jan 16, 2009 at 3:31 PM, Larry Hall (Cygwin)
reply-to-list-only-lh AT cygwin DOT com wrote:

   ^^^
.  Thanks.


George R Nelson wrote:

As a newcomer to cygwin, my attempts to download from ctgwin.com or a
number of mirror sites all failed with signature errors. WHy do I get
this problem? The error I get is:

Setup.ini signature http://cygwin.com/setup.bz2.sig from
http//cygwin.com failed to verify.

I have managed to download cygwin using the setup.exe from redhat.

So what were you downloading it with before?  'setup.exe' is the
prescribed way to download (for installation) and/or install.  If you
want a mirror, you want to use another tool but barring that,
stick with 'setup.exe'.


I downloaded setup.exe from the cygwin site - my apologies as I
presumed that was assumed. This failed as described with the signature
error. 


From http://cygwin.com/:

The signature for setup.exe can be used to verify the validity of this 
binary using this public key.


Sounds like your download didn't work for some reason.  Try again.

See the link below for background:

http://www.cygwin.com/ml/cygwin-announce/2008-08/msg1.html

I then downloaded setup.exe from the Redhat site and that

worked on the Redhat site. The setup.exe from Cygwin did not work on
the Redhat site or any of the mirrors I tried. 


Cygwin != Red Hat.  Use Cygwin's site for Cygwin and support from this
site.


Since I had no idea how
to select a site from the list of sites I had added, I wasn't able to
check if the Redhat setup.exe worked on other systems. It was only
while making this request that it occurred to me that I might be able
to select one from the list by highlighting it.


From http://cygwin.com/cygwin-ug-net/setup-net.html#setup-mirror:

Since there is no way of knowing from where you will be downloading Cygwin, 
you need to choose at least one mirror site. Cygwin mirrors are 
geographically distributed around the world; check the list at 
http://cygwin.com/mirrors.html to find one near you. You can select multiple 
mirrors by holding down CTRL and clicking on each one.



On a related topic, is there any way to change the URL for the
download? Or do you just add download sites then highlight the one you
wish to use?

There are plenty of download sites in the list to choose from.  But if
you want another one not listed, you can add it by typing it into the
edit control below the list and clicking Add.  Then you can select it
from the list.  You can select up to 4 from the list.



The setup.exe I downloaded had an empty download list. I added
cygwin.com and got the error described. I then added a mirror from the
list on the ctgwin site and that too produced the same error. Likewise
any mirror I picked from the site displayed the same signature error.
The Redhat setup.exe had their own site added to the list already.


Finally, I am trying to build some C sources using cygwin but the
build fails as it is not finding some libraries: libsocket.a, libnsl.a
and libxnet.a. I've searched both the package lists and the installed
libraries without success. I am sure that the functions defined in
these libraries do exist in the cygwin distribution but may be in
differently named libraries. Can anybody help?

Not significantly with that description.  I'd recommend reading the
problem reporting guidelines and trying again if you're still having
problems.  The guidelines can be found at the link below.



I have read the submission guidlines and the installation
documentation as well as searching the FAQ before submitting. I could
find no details on the steps carried out by setup.exe or any
explanation of the error I was getting. I have read the relevant
portions of the user guide and all other links that I could follow
from the initial description of how to get cygwin but could find
nothing that described how to select a URL from the list that I had
created.


See the User's Guide link above.  I think if you read it carefully, it's
pretty clear that you can select from the list of mirrors.  Also, although
'setup.exe' does have a non-standard control for package selection that
has been known to throw some people off, the mirrors list is a standard
Windows list box.  So despite the User's Guide not taking you by the hand
and walking you through the selection of a mirror in the list, generally
speaking I think it's fairly explicit.  I'm guessing that you just glossed
over this part and/or got confused by your attempt to use the 'setup.exe'
you found somewhere on the Red Hat site.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying

Re: setup.exe 2.573.2.3 signature failure

2009-01-16 Thread Larry Hall (Cygwin)

On 01/16/2009, Larry Hall (Cygwin) wrote:

George R Nelson wrote:
 On Fri, Jan 16, 2009 at 3:31 PM, Larry Hall (Cygwin)
 reply-to-list-only-lh AT cygwin DOT com wrote:
   ^^^
.  Thanks. 


Ugh!   should have been http://cygwin.com/acronyms/#PCYMTNQREAIYR

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Manage Cygwin packages in command-line (without using graphical Setup.exe)

2009-01-16 Thread Larry Hall (Cygwin)

Salokine Terata wrote:

Dear Cygwin users,

I have installed Cygwin on few PC; To install Cygwin, I use graphical
setup method to install vim, rsync and openssh packages.

Now I would like to install cron on all PC. Could I use SSH service and a
command line to install cron package ?

How can manage Cygwin without go on all PC and reload Setup.exe.

My goal is to manage all my PC with my server via dsh -f list.pc.txt --
aptitude -y install cron or something like.
Is there an equivalent of aptitude or apt-tools ? How to manage the
cygwin distribution (update package list from repository
and upgarde all cygwin)


http://cygwin.com/faq/faq-nochunks.html#faq.setup.automated
http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli


I found Setup.exe options: 
http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html
But I don't understand how manage list of packages.


There was talk about this in the past.  I forget where it ended up.  But
you don't really need a list of packages if you have a local package
directory with all the packages you want to install.  If some are already
installed at the current version, those will be skipped.  Of course, doing
this through 'ssh' means you need the OpenSSH server to have access to
the desktop, assuming you're PCs are  Vista.  See the '-i' switch on
cygrunsrv.


Optional Question: Is there an official wiki for Cygwin project ?


No.  The Cygwin site is the place to go for official, supported information.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: setup.exe 2.573.2.3 signature failure

2009-01-16 Thread Larry Hall (Cygwin)

On 01/16/2009, George R Nelson wrote:
There's only few points I wanted to follow-up on here, since it seems like
you've gotten resolutions to your start-up issues in one form or another.


Did I ever say Cygwin = Redhat. I think if you read carefully that I
said I downloaded Cygwin from the Redhat site (following a link on the
Cygwin home page - third link down on the left-hand column).


Actually, I didn't say that you said Cygwin = Red Hat (and at the risk
of being accused of being antagonistic, it is Red Hat, not Redhat.)  The
fact that Red Hat has an association with the project and has their own
version of the software that they distribute and sell support for is
exactly the point I was trying to make.  I'm not suggesting that you
were somehow inappropriately looking at Red Hat's offering, just that
you were really mixing two separate things that shouldn't be mixed and
that doing so wasn't going to help you.  While I think this is clear to
you now, I wanted to answer it for others that might come across this
thread and have similar confusion.


My apologies for taking up time and bandwidth. I have an installer
that works and will resolve any other issues I have with Cygwin
myself.


It seems you've misinterpreted my responses.  I was not lambasting you
for not reading documentation.  I was pointing you to Cygwin documentation
that addressed some of the specific issues you raised.  As you say, there
is allot of documentation there and there are allot of posters here who
don't read it or even if they do, miss some key points.  So I was pointing
to some specific things that I thought would help you with some specific
problems you mentioned.  But my pointer to http://cygwin.com/problems.html
was actually in response to your general inquiry for help with some C
sources you were building and the issues you were having getting things
to link.  Perhaps I needed to be more direct there but I try hard not
to cover the same ground that is already covered in existing links.  OK,
my bad.  Let's see if I can rectify that with you.  You need to provide
specific code, command line invocations of the compiler/linker, and error
statements that are emitted in this process, in addition to basic boot-strap
configuration information requested at the above link, in order for someone
on this list to take a stab at what the solution to your problem might be.

Well, that's all I can do.  I'll bow out of this thread now, in case you
want to continue it with someone else, taking into account the information
I mentioned that will be needed for someone else on this list to continue
fruitfully.  I would ask, if I could, that you read this link before replying:

http://cygwin.com/acronyms/#PCYMTNQREAIYR

I realize that I only included the placeholder in my original reply to you
and that this was the reply that you felt was lambasting you, so you had
little incentive to heed my follow-up which included it. But other
responders to you would likely appreciate the courtesy.

Good luck,


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Bash in batch mode !

2009-01-18 Thread Larry Hall (Cygwin)

Sébastien Major wrote:

Hi,

Thanks for all the done job : packages, setup and mirrors.

I would like to know if there's a way to lauch some cygwin program
without have windows console box _on screen_.

I whould lauch at start-up, via services.msc, a command line to have a
resident like program. Is that possible ?


See 'cygrunsrv --help'.  You can use this to install and run a service,
just like Cygwin does with OpenSSH, Cron, etc.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: GNU coreutils does not work on Cygwin because of freopen() ?

2009-01-18 Thread Larry Hall (Cygwin)

dazjorz wrote:

Hey all,

I'm not very great with the inner workings of GNU or Cygwin libc, so 
please bear with me if I make any mistakes or misunderstandings.


I was trying to get GNU coreutils to work on Cygwin. Maybe this seems 
weird to you guys, because Cygwin has coreutils, but there are a few 
reasons:

- Cygwin didn't have md5sum, GNU coreutils did (and I need md5sum)


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin%2Fmd5sum

Did you miss this?

- It should work, and Because I Can is always a valid reason in UNIX 
world
- I'm trying to bootstrap Debian on Cygwin, and coreutils from Debian is 
my first try; getting coreutils from Cygwin may be done later.


However, I noticed there are some very weird bugs happening. See for 
example, this bug in cat (don't look at the title of the page, I blamed 
bash first)

http://paster.dazjorz.com/?p=3845


Your example works fine for me with the latest coreutils.  Perhaps you're
working with a buggy locally built version?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Question about windows shortchts to start a bash script

2009-01-18 Thread Larry Hall (Cygwin)

On 01/18/2009, LMHmedchem wrote:

Can anyone tell me why this is not working, especially since it works on
another computer with the same setup?


Without any configuration information from the machine having this problem,
it's hard to say anything too definitive.  However, my WAG is that you don't
have Cygwin in your Windows path on this new machine but do on the other.

If you need to follow-up with this list on this issue, I recommend reading
http://cygwin.com/problems.html to find out the necessary information
required for a problem report.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Question about windows shortchts to start a bash script

2009-01-18 Thread Larry Hall (Cygwin)

LMHmedchem wrote:

I added c:\cygwin\bin; to the path and that seems to have corrected the
problem, thanks for the tip.

Two questions if you have a minute,

1. At first I tried adding cygwin to the end of the path, but that didn't
work. I checked my other machine and found cygwin immediately after
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
I stuck cygwin in as the first entry after Wbem, and it worked after that. I
am surprised that it matters where it is in the list. Does it actually
matter or do you think I made an error in my first entry?


The order doesn't matter.


2. There was another variable on my other machine,
Variable name:
CYGWIN
Variable value:
ntsec tty

I did not set up that environment and I am wondering if that really needs to
be there.


No, it's not a requirement.  'ntsec' is default now, so that setting is
redundant.  'tty' is only needed if you require pty emulation in a
Cygwin shell started from a Windows cmd.exe window.  See:

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Apache2 under Cygwin on Vista

2009-01-19 Thread Larry Hall (Cygwin)

On 01/19/2009, Myron Turner wrote:
So, I assume, cygserver is not working or not working properly.  I do have 
the CYGWIN environment variable set to server:

$ set | grep server
CYGWIN=server 


And you set this before starting any Cygwin processes (including services)?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Manage Cygwin packages in command-line (without using graphical Setup.exe)

2009-01-19 Thread Larry Hall (Cygwin)

Salokine Terata wrote:

Hi,


http://cygwin.com/faq/faq-nochunks.html#faq.setup.automated
http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli

Yes, I have read them, but I don't find how to use it to install a specified 
package.
Coud you give me an example to install my cron package?


Well I haven't done this myself, mind you, so this is untested but:

setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror -l 
c:\localPackageDir


There isn't a flag that specifies individual packages, so this will get
and install all current packages.  If you want to control what gets
installed, you could pull down the package(s) you want using 'wget' or
'curl' to your local package directory and then use the '-L' flag
instead of the '-s' flag to install the package(s) you got, which will
happen by default since these are the only new packages in your local
package directory.  Alternatively, you can look in the cygwin and
cygwin-apps email archives for discussions about this.  I believe there
was a patch offered to do this, but I'm not sure of its status.  You
could also check the source in CVS for the current state of the
available options.


Of course, doing
this through 'ssh' means you need the OpenSSH server to have access to
the desktop, assuming you're PCs are  Vista.  See the '-i' switch on
cygrunsrv.

Yes, it's work fine.

I search how to install/remove/update a package through SSH.
If someone have an exemple (with Setup.exe or other method)

What do you think about apt-cyg 
(http://stephenjungels.com/jungels.net/projects/apt-cyg/)
Is it a perennial solution ? Is it in de Cygwin repository ? (I don't find it 
in http://cygwin.com/cgi-bin2/package-grep.cgi?grep=apt-cyg)


This suffers from the same bootstrap problem that rpm, dpkg, and other
established Linux install facilities have.  Only 'setup.exe' can install
Cygwin from scratch as well as maintain the installation.  So these other
facilities/options can usually help with the maintenance for those who
want to try them.  But they aren't considered a supported installation/
maintenance procedure.  If you plan to use one of these methods, you're
on your own.

apt-cyg is not a Cygwin package.  It is not part of the distribution and
therefore not in the Cygwin repository.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Help me please install OpenSSH Server on Windows Vista

2009-01-19 Thread Larry Hall (Cygwin)

Alexey Eremenko wrote:

On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov linu...@gmail.com wrote:

On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote:

$ cygrunsrv -S sshd
and I hope SSH service started but have no idea if it really started...

cygrunsrv -Q sshd



Thanks Dmitry...

u...@user-pc ~
$ cygrunsrv -Q sshd
Service : sshd
Display name: CYGWIN sshd
Current State   : Running
Controls Accepted   : Stop
Command : /usr/sbin/sshd -D


C:\cygwin\binssh localhost
ssh_exchange_identification: Connection closed by remote host

It still does not work. What else info I can provide?

man ssh:

 -v  Verbose mode.  Causes ssh to print debugging messages about
its progress.  This is helpful in debugging connection,
authentication, and configuration problems.  Multiple -v options
increase the verbosity.  The maximum is 3.


C:\cygwin\binssh -v localhost
OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host

What does it tell ?
SSH Server is running - but it does not offer login or user name to enter. Why?


Did you read '/usr/share/doc/Cygwin/openssh.readme'?  Did you run
ssh-user-config?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: /usr/bin/sh: /usr/bin/awk: No such File or Directory Message

2009-01-19 Thread Larry Hall (Cygwin)

blazt wrote:

I am trying to create a portable cygwin install. I downloaded all the
packages I needed and installed Cygwin on a Box. I then tried to Zip them
all into a self extracting.exe. When I unzip them on a clean machine it
appears to work. However when I try to run ssh-host-config I get these
errors. I am assuming Cygwin does some sort of post Install on a normal
setup when running the exe. I checked the C:\etc\postinstall directory and
found a bunch of files that are .sh.done.  I tried rerunning these but I
still get this message. Is it possible to do what I am trying to do? Or what
do I have to run after to get things setup on the new machine.


See this link for guidelines on submitting a problem report.


Problem reports:   http://cygwin.com/problems.html


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Questions about missing DLLs and program behvior, and symlinks to DLLs

2009-01-21 Thread Larry Hall (Cygwin)

Ray Simard wrote:

Christopher Faylor wrote:

On Sun, Jan 11, 2009 at 08:28:25PM -0800, rhs.cyg...@sylvan-glade.com wrote:

Hello!  I haven't been able to find anything about this in the archives.

...



shows, programs simply exit silently and unceremoniously when that happens.

That is fixed in Cygwin 1.7.x.


Good news.

Second, symlinking to DLLs doesn't enable programs to find them, as is
also shown below.

Right.  Symlinks are a Cygwin invention.  Cygwin doesn't start running
until after DLLs are loaded.  So, since Windows does not know about Cygwin
symlinks there is no way that they can be used to symlink DLLs.


True; they are .lnk files with a special comment, IIRC. I'd just like to
make sure I understand this.  Suppose I compile bar.dll and
libbar.dll.a, and then foo.exe with -lbar.dll, so it uses that DLL, and
these are compiled entirely within the Cygwin environment (thus using
Cygwin's gcc and related tools). I then launch it from the command line
of a bash shell running in a Cygwin xterm. What I think you're saying is
that there there is something that foo.exe needs to do before it can
understand Cygwin symlinks, and that something is done sometime *after*
it needs to actually load bar.dll, which prevents it from finding
bar.dll if the DLL's name is actually bar-froob.dll and bar.dll is a
symlink to it.  Is that the idea?


Ah, not quite.  DLLs are loaded by the O/S, not Cygwin.  So if the O/S
can't find the DLL referenced, it won't load it.  Since the O/S
doesn't know that Cygwin's bar.dll.lnk is a symbolic link to bar.dll,
it's not going to find bar.dll.


If so, then it's just a matter of putting the real DLLs in the paths
Windoze searches for them.  Symlinks would be nice, but if you can't,
you can't.


Right.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Connecting to other PC's on a network using cygwin

2009-01-22 Thread Larry Hall (Cygwin)

foulis wrote:
Hi 


Im currently running cygwin on a windows pc on our company network.  In
windows to connect to a machine I can do \\pcname\c$ from the run command to
view someone elses c:


Cygwin uses //host/share syntax to do the same thing.


I am very new to cygwin and unix, is there a similair command that can be
run from cygwin to view other pc's on the network in the same way?


I'd recommend reading through the Cygwin User's Guide:

http://cygwin.com/cygwin-ug-net/

It will help answer allot of questions you will likely have.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Problem accessing GRASS setup.ini file

2009-01-22 Thread Larry Hall (Cygwin)

Karen M Weston wrote:

Hi Mark

Hello

I am trying to download GRASS GIS software onto a windows laptop and am
having some problems with downloading the setup file required from
http://geni.ath.cx.  I wonder if you can help me.

When I come to the I need to select 2 sites - 1) any mirror site and 2)
http://geni.ath.cx.

The mirror site seems fine but I receive an error message 'unable to get
setup.ini from http://geni.ath.cx/grass/setup.ini'.  Therefore there seems
to be a problem with my getting the correct access to the
http://geni.ath.cx site.

I would really appreciate any advice on how I would be able to resolve this.


If you're sure the problem is with a particular site, then contacting that
site's owner is likely to be a more expedient solution.  However, in this
case, I suspect the problem is on your end since I was able to call up
the file in my browser by clicking on its link.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Status of Compatibility with Windows Server 2008 (2k8)

2009-01-22 Thread Larry Hall (Cygwin)

Oren Elrad wrote:

Perhaps it's bad form to reply to my own message, but I've got the 2k8
installation (x86) up and running and I'm ready to take the plunge and
report back on what works and what doesn't work.

Should I use the 1.5 release on the main page, or use the 1.7 release
(setup-1.7.exe)?
Alternatively, should I not even bother because it is known that
Win2k8 and Cygwin just don't play well together?

~Oren

PS. If the lack of reply to my previous question was due to some
failure on my part, I'm quite sorry. I did check the FAQ and the
archives of this list for any information in Cygwin's relationship
with Win2k8. Google was also rather unhelpful in finding up-to-date
information.


There have been some reports here on Cygwin and W2K8, though generally
none that I recall suggest any major issue with W2K8.  Since I don't
use W2K8, I can't say whether 1.5 or 1.7 would work better there.  It
depends on your needs.  1.7 is definitely where things are headed and
should give you a better experience overall, especially for things
like sshd that wants to change users (see
/usr/share/doc/Cygwin/openssh.readme and/or
http://cygwin.com/ml/cygwin-developers/2006-11/msg0.html).  If
you're up to using beta software, I'd recommend trying that.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: problem - installing in 64 bit os

2009-01-23 Thread Larry Hall (Cygwin)

kavitha s wrote:

i installed cygwin-2.249.2.5 in 32 bit os..it installed correctly.


There is no cygwin-2.249.2.5.  Please read and follow the problem reporting
guidelines found here:

http://cygwin.com/problems.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Cygwin and domain users...

2009-01-23 Thread Larry Hall (Cygwin)

garethrichardadams wrote:

Hi all,

I've set up Cygwin on a portable usb drive and would like to use it on
different machines.

The problem is that one of the machines is a standalone, the other is a
domain machine. When I used it from the standalone it worked fine. When I
started it on the domain machine I got:

Your group is currently mkpasswd. This indicates that the /etc/passwd
files should be re-built...

What are the consequences of being in the mkpasswd group??

Is there anyway I can get Cygwin to run as a cygwin user - i.e. nothing to
do with the user that's currently logged into windows?


It's best to just add the users and groups needed the passwd and group
files.  This will allow Cygwin to work with these users as Windows sees
them, which is really what you want.  If you just have the current user
to add, try:

  mkpasswd -c /etc/passwd
  mkgroup -c /etc/passwd

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Trouble installing ssh server on Vista Home 64

2009-01-26 Thread Larry Hall (Cygwin)

Dan Kegel wrote:

Followup: I tried again, with

cygrunsrv --stop sshd
cygrunsvr --remove sshd
ssh-host-config
and then saying yes to everything except do you want to use a different name.
This time configuration succeeded, net start sshd succeeded,
and ssh localhost succeeded!

I then added an exception for port 22 in Windows Firewall,
and ssh from the next machine also worked.

Whew.  That was a struggle!   I wonder if ssh-host-config's -y
option should be changed to default do you want to use a different name
to no.


Yes, this is a known issue.  Currently I think it's best to _not_ use
the '-y' option for 'ssh-host-config'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Paulianna2002 wrote:

Hi,

I am trying to build the package 'SRecord' from source.  When I configure I get

===
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

You need to install the Boost C++ library to be able to compile SRecord.
http://boost.org/

If you have a package based system, the package you need to
install will be called libboost-devel or something similar.
===


I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!!


Try starting here:


Problem reports:   http://cygwin.com/problems.html





--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Problems with pair key auth and sftp server

2009-01-26 Thread Larry Hall (Cygwin)

Benjamin Stössel wrote:

Hi there,

I hope I write to the right place.


Yes, it is.


I got a problem with my cygwin setup.

I got a setup running at the moment but as I want to upgrade to the
latest  version soon, I installed it on my test machine. Which is running a
plain Windows Server 2008 Setup.

I did the normal setup procedure, just added a few packages like all
basic  ones, some editors, openssh, openssl and syslog-ng.

After that I run the ssh-host-config and created the group and passwd
files. All this has been done in local admin.


And exactly how did you do this?  What were your answers to the questions?
Is 'sshd' actually running now?


Now I switched to my user, which is domain admin and changed the group
and  passwd files with mkgroup -d and so on.


Hm, why is this?


Changed to sshd_config file to activate RSAAuth, Logs, Authfiles, etc.


RSAAuth is activated by default.  Why are you changing things here before
you know the defaults work?


Then I created the key files with ssh-keygen. After that I copied the
id_rsa file to my local machine and created with the puttygen and .pkk file
for putty and winscp.


Why not use 'ssh-user-config' to create your user SSH config files with
proper locations, permissions, etc.?


And now comes the strange part where I dont get further. I tried
everything, read everything I found for about a day with no result.

When I try to login it says, Refused our key and in the log files it says
that the sftp-server file could not be found. Which is strange as I have not
changed the folder where it is and did also not change the entry line in the
config.

I hope someone can help as my boss is not happy that he has to pay all
these hours without progress :D


We're really going to need to know what you're doing exactly and what
your configuration is:

http://cygwin.com/problems.html

I'd really recommend using the existing utilities for configuring 'sshd'
and 'ssh' and testing out your new configuration with 'ssh'.  This may
not be as you want it or the exact interface you're looking for but it
will help narrow down the myriad of possibilities.  I'd also recommend
looking at the email archives for others who may have had similar issues
to what you're experiencing.  There's allot of OpenSSH discussion and
help there.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Paulianna2002 wrote:

Larry Hall wrote:
Paulianna2002 wrote: 
Hi,


I am trying to build the package 'SRecord' from source. When I configure I get


snip


checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

You need to install the Boost C++ library to be able to compile SRecord.
http://boost.org/

If you have a package based system, the package you need to
install will be called libboost-devel or something similar.
===

I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!! 

Try starting here:

Problem reports: http://cygwin.com/problems.html 

I am not sure what you are implying.  Sorry if I have not been a smart question asker.  I was trying to follow the cygwin etiquette. 
If I have violated cygwin mailing list protocol in some way, I apologize.  I am not sure what I should do differently to post my problem.  Thanks.


I'm saying that you should read the entirety of the link I pointed you to.
Without information about your configuration at the very least, no one
here can make an informed attempt to solve the problem you're seeing.
We need at least the output of 'cygcheck -s -r -v' *attached* to your
problem report.  And since the package you're trying to build can't find
Boost, it would be logical to assume that a STC
http://cygwin.com/acronyms/#STC wouldn't either or if it does, that
would tell us something about the package you're trying.  So please
consider including a STC as well with the commands you invoked and
the results you get.  That should make it pretty easy for anyone here
to try and help you track down, if the process itself doesn't help
you resolve the problem yourself.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Claude Sylvain wrote:

Paulianna2002 wrote:


snip


  I did install the boost package(s) under Cygwin.
 
  Any advice is appreciatedthanks!!
 

I had the same problem.

It seems that boost library include files are not located in 
/usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or 
something like that, depending of the cygwin version you use.


A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/ 
directory into /usr/include/.  This make the boost directory appear at 
the right place.


Not sure if it is the best solution, but its work for me.


If this is the problem Paulianna is having, then I would say two better
solutions would be adding '-I/usr/include/boost-1_33_1' to CFLAGS or
creating a symbolic link from '/usr/include/boost' to
'/usr/include/boost-1_33_1'.  But I agree that your solution would
indeed work, though it would be less maintainable and would take up
more disk space.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: syntax highlighting on Joe

2009-01-26 Thread Larry Hall (Cygwin)

Julio Emanuel wrote:

snip


I also would like to grab this opportunity to (once again) ring the
service bell to whoever maintain this package 'joe'.
It's my favorite (actually the only) editor in the Unix/Cygwin

^
Perhaps it's your only favorite editor but it is not the only editor
in the Unix, Linux, or Cygwin environments, in case anyone gets the
wrong immression. ;-)


environments, and that's unfortunate to see this package negleted,
because this seems to be a simple packaging problem. Also, currently
the upstream version is already 3.7 (TWO versions beyond the Cygwin
current!).

Could all this whining give us joe'ers a brand new version of this
package? Pretty Please? :)


If this really is just a packaging issue, you may have better luck
reporting it to the cygwin-apps list (where packaging issues are on-
topic).  Jari has responded to things there of-late.  Of course, if
you're desperate for a newer 'joe' and aren't going to build it yourself,
you can take advantage of the version packaged and announced here:

http://cygwin.com/ml/cygwin-apps/2008-11/msg1.html

Of course, if you go this route, you can't come back to this list with
your whining if something doesn't work.  Perhaps it's a small price
to pay. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Problems with pair key auth and sftp server

2009-01-27 Thread Larry Hall (Cygwin)

Benjamin,

Please try to keep the quoting format.  It makes it easier to follow the
discussion and pick out your replies to my questions.  Also, it is
preferable to reply to the messages as this maintains the message
threading.

Benjamin Stössel wrote:

And exactly how did you do this? What were your answers to the questions?
Is 'sshd' actually running now?


about the answers I used ssh-host-config -y so every answer was yes.
And the sshd is running. Except that it throws the error about the
sftp-server.


Unless you had the foresight to answer 'sshd-server' when asked for a
user name for the service, this won't work for you.  I recommend you
rerun 'ssh-host-config' without the '-y' and just answer the questions.
You can just take the defaults.


Hm, why is this?


I switched the user to set up the key pair for my own user and not the
local admin. As I do not want that the local admin can connect except for
console.


I'd recommend working with a local user first.

RSAAuth is activated by default. Why are you changing things here before 
you know the defaults work?


RSAAuth was in the config as comment with a # in front.


That means the setting that's in the comment is the default.

Why not use 'ssh-user-config' to create your user SSH config files with 
proper locations, permissions, etc.?


I did use the ssh-user-config up front, forgot to mention. And it did not
work afterwards.


That's where we want to start looking at the problem then.  You should
reinstate things as you had them, though using a local user, and we can
proceed from there, assuming changing the user running the service to
'sshd-server' doesn't resolve your problems.


If you need anything like config or so let me know.


I've already asked for this information:


We're really going to need to know what you're doing exactly and what
your configuration is:

http://cygwin.com/problems.html


And in case this also was glossed over:


I'd really recommend using the existing utilities for configuring 'sshd'
and 'ssh' and testing out your new configuration with 'ssh'.  This may
not be as you want it or the exact interface you're looking for but it
will help narrow down the myriad of possibilities.  I'd also recommend
looking at the email archives for others who may have had similar issues
to what you're experiencing.  There's allot of OpenSSH discussion and
help there.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: jmp_buf size?

2009-02-04 Thread Larry Hall (Cygwin)

Jay wrote:

What is up with the size of jmp_buf?
It appears that setjmp.h confuses bytes and ints, specifically in the Cygwin 
case.
_JBLEN should be 13, not 13*4.
or #define _JBTYPE to char, but that doesn't work as easily.


snip

Did you see this reply to your first inquiry on this subject?

http://cygwin.com/ml/cygwin/2009-01/msg00863.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Problems with X surfaced recently

2009-02-05 Thread Larry Hall (Cygwin)

Linda Walsh wrote:


I updated my Cygwin software about 2 weeks ago but didn't try
out the X-server.


Cygwin-X questions go to the cygwin-xfree list.


I mostly use the shell tools which seemed fine.  But today I noticed
some problems in my X-based utils -- first from Linux-based
computers displaying onto my cygwin-box, and 2nd a slightly
different error when trying run X-utils locally.

I looked through the recent announcements/postings and saw the I
the ANNOUNCEMENTS about setup and X problems and updated everything
to the latest.

I'm still having problems.

The main and most serious problem for me is that remote X
apps and the local X-version of rxvt, open X-display windows
on the local cygwin-box, BUT allow no keyboard input.


Did you miss this FAQ?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-i-cant-type-anything


I also found that Local X-apps, Xterm and Xmined (randomly
chosen x-app) fail with (displayed in local cmd-BASH window):

Warning: Cannot convert string 
-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* to type 
FontStruct

Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found


Or this one?

http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-where-are-my-fonts


FYI: If I start the non-X version of rxvt, I get double-wide
spacing of characters -- as if it is having some unicode
spacing problem.

Attached is output of cygcheck.txt.


Thanks for following the problem reporting protocol concerning cygcheck
output. :-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: how to install libtoolize

2009-02-05 Thread Larry Hall (Cygwin)

On 02/05/2009, Wynfield Henman wrote:

Though I am building a different package, I have the same problem as
mentioned below.  The libtool package downloaded is 46 bytes
(effectively null) and get stashed into the _obsolete folder without
ever getting installed.


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Fbin%2Flibtoolize

Don't install obselete packages unless you really know what you're doing.

Given the above, why doesn't just installing the 'libtool' package get
you what you need?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: how to install libtoolize

2009-02-07 Thread Larry Hall (Cygwin)

wynfi...@gmail.com wrote:

Re:

Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote:
On 02/05/2009, Wynfield Henman wrote:

Though I am building a different package, I have the same problem as
mentioned below.  The libtool package downloaded is 46 bytes
(effectively null) and get stashed into the _obsolete folder without
ever getting installed.

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=usr%2Fbin%2Flibtoolize

Don't install obselete packages unless you really know what you're doing.

Given the above, why doesn't just installing the 'libtool' package get
you what you need?



That is just the problem it doesn't get what is needed, but only shows the obsolete (from what you say) versions as the newest. 


I even tried experimental to try to find newer libtool version, but none show 
up.
Version1.5b or whatever was presented as the newest version by setup.

There was no intentional _obsolete gets on my part.
I solved the problem by hand getting the new vesion and untarring it in the appropriate location, but that shouldn't have to be done. 


I believe it is a setup related problem, either hints or ini file data.


It may have been related to a problem with 'upset' late last week.  I
just tried it now using ftp://mirrors.xmission.com/cygwin and
http://sources-redhat.mirror.redwire.net/cygwin and had no trouble
getting version 2.2.6.a-1.  After the install, I have '/usr/bin/libtoolize'.
If you continue to see problems with 'setup.exe', report back with the
process you went through and the problems you're seeing.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: /bin /usr/bin

2009-02-07 Thread Larry Hall (Cygwin)

Lee D. Rothstein wrote:

Peter Rosin wrote:

  Den 2009-02-07 00:37 skrev Lee D.Rothstein:

   
First, PATH must include the Windows path of the /bin, where 
typically
 both mintty.exe and cygwin1.dll' will be found. Remember, this 
is a


  Here, I think I have the path right, since, the Windows equivalent 
of '/bin'
  is 'c:\Cygwin\bin', which means I don't understand the following 
comment

  at all:

  My (minor) point was that from the mintty point of view, the fact
  that /bin and /usr/bin are equivalent is a coincidence - it's a
  Cygwin quirk. Since mintty installs in /usr/bin,

Not on my Vista 64b System! Everything is in /bin, (c:\_r\bin) NOTHING is
in /usr/bin. (c:\_r\usr\bin). I thought, I had remembered that, in prior
systems almost the reverse was true, but I checked before I wrote the last
reply (and checked again, just now).

As everyone has implied, all items in /bin, are accessible through 
/usr/bin.


Is my system different? Why? Pilot error?


No.  In a default installation, there will be a 'C:\usr\bin' and a
'C:\usr\lib' that are empty as far as Windows is concerned.  'C:\bin'
and 'C:\lib' are mounted to these directories, respectively, so that
they are equivalent in the Cygwin environment.  See the output of
'mount' for further clarification.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: X server causing IE lockups

2009-02-07 Thread Larry Hall (Cygwin)

rhubbell wrote:

Recently started using the Xserver and have issues now with IE. IE will become
unresponsive. When I kill the xserver IE becomes responsive again.

I also have issues with any vncclient sessions I'm running. The cut-n-paste
buffers stop working in vnc. Vnc doesn't require the xserver.

It's not a showstopper because I can kill the xserver and get expected
behavior back. Is this a known issue/limitation? This is on winxp.


Wrong list.  Use the cygwin-xfree list for X-specific items.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: 1.5.25: changed dev/ino error with shared drives

2009-02-07 Thread Larry Hall (Cygwin)

Correa, Wagner wrote:

Hello,

I'm using Cygwin 1.5.25, and when I try removing directories in shared
drives, I get an error message like this:

rm: FATAL: directory `foo' changed dev/ino

Could this be a reoccurrence of this old problem?
http://www.cygwin.com/ml/cygwin/2006-02/msg00315.html.


Given the different format of the message and the abundance of alternate
but like-named tools on your machine, I have to wonder if you're getting
this message from Cygwin's 'rm'.  Are you?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: 1.5.25: changed dev/ino error with shared drives

2009-02-08 Thread Larry Hall (Cygwin)

Correa, Wagner wrote:

-Original Message-


snip



Correa, Wagner wrote:

Hello,

I'm using Cygwin 1.5.25, and when I try removing 

directories in shared

drives, I get an error message like this:

rm: FATAL: directory `foo' changed dev/ino

Could this be a reoccurrence of this old problem?
http://www.cygwin.com/ml/cygwin/2006-02/msg00315.html.
Given the different format of the message and the abundance 
of alternate but like-named tools on your machine, I have 
to wonder if you're getting this message from Cygwin's 'rm'.

 Are you?


snip


I think so:
$ which rm
/usr/bin/rm

But how can I be sure?


Invoke '/usr/bin/rm' directly.  If you still see a problem, we need
to see the permissions of the directory you're working with ('ls -l'
and 'getfacl') and its contents as well as the input and results you
get.  Perhaps stracing might be necessary as well but I'll hold off
asking for that right now.  Let's see if the above helps you find the
problem.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: 1.5.25: changed dev/ino error with shared drives

2009-02-08 Thread Larry Hall (Cygwin)

Correa, Wagner wrote:

-Original Message-
From: XXX
[mailto:XXX] On Behalf Of Larry Hall (Cygwin)
Sent: Sunday, February 08, 2009 2:44 PM
To: XXX

   ^^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  No sense in feeding the
spammers after all.


Subject: Re: 1.5.25: changed dev/ino error with shared drives


Before pursuing this much further, it makes sense to try this with
Cygwin 1.7 and see if the problem reproduces there.  If so, that will
be where any fix will happen.  If not, then there's no need to chase
it under 1.5.  See the link below for more details on 1.7.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Are there vnc packages?

2009-02-09 Thread Larry Hall (Cygwin)

rhubbell wrote:

I looked for vnc packages in cygwin but didn't find any.
Do they exist? Maybe no need since there are plenty of vnc packages
that run on winxp already?


http://cygwin.com/packages/ is the official answer to whether any package
is available with the Cygwin distribution.  There's also cygwin-ports
which has a number of other packages but those aren't in the distribution
and aren't supported by this list.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: ssh muliple authentication

2009-02-09 Thread Larry Hall (Cygwin)

Jody Burnett wrote:

Can public key authentication and password authentication be set in the
openssh 5.1 that is packaged with cygwin 1.5.25. There is a .patch file on

 https://bugzilla.mindrot.org/show_bug.cgi?id=983 but this is for openssh

4.7. As well i do not know how to install the patch for ssh. Any help is
much appreciated.


You mean the requirements part?  If it's part of the vanilla release
of OpenSSH, then I would say the facility is there.  Haven't tried it
myself though.  But I'd recommend trying it with the version available
from 'setup.exe' before you do much patching of local source.  It's
just easier. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How does one find cygdrive path in a Win .bat file (was Re: Bug in startXwin.bat)

2009-02-09 Thread Larry Hall (Cygwin)

Linda Walsh wrote:

Larry Hall (Cygwin X) wrote:

Linda Walsh wrote:

The startxwin.sh script works, but startxwin.bat does not work if
your Cygwin installation isn't in the default location.

You could use mount -p (presuming your cygwin\bin is in your 
windows path, as mine is).


If not, need to look in the registry:
\HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\cygdrive prefix


No, you don't need to look in the registry.  There's nothing there that
'mount' won't tell you.  Forget about the registry.  You'll be better
off, especially when Cygwin 1.7 is released.

---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.


How it finds it is an implementation detail.  There's no need to know
how it does what it does if it does what you want. ;-)  And, like I said,
the registry won't be used for 1.7 so anyone that uses this as a basis
of anything will find it broken once 1.7 is released.


For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive path'?


That's a different issue.  However you imply a paradox that doesn't
exist.  Whether one knows the 'cygdrive path' or not will not make it
easier to find 'mount.exe'.  'mount.exe' is always in '/bin'.  As for
the issue of finding '/bin', there may be times when it is necessary
to script this, though I would say this is not one of those cases.
For those cases, searching the file-system or spelunking in the
registry are possible avenues, each with their own pluses and minuses.
In this case, just looking at 'cygwin.bat' will provide the answer
needed.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How does one find cygdrive path in a Win .bat file

2009-02-09 Thread Larry Hall (Cygwin)

Linda Walsh wrote:

Larry Hall (Cygwin) wrote:

Linda Walsh wrote:

Larry Hall (Cygwin X) wrote:

Linda Walsh wrote:

The startxwin.sh script works, but startxwin.bat does not work if
your Cygwin installation isn't in the default location.

You could use mount -p (presuming your cygwin\bin is in your 
windows path, as mine is).


If not, need to look in the registry:
\HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\cygdrive prefix


No, you don't need to look in the registry.  There's nothing there that
'mount' won't tell you.  Forget about the registry.  You'll be better
off, especially when Cygwin 1.7 is released.

---
I'm curious -- how does mount find or 'know' the cygdrive path
if it doesn't come from the registry.


How it finds it is an implementation detail.  There's no need to know
how it does what it does if it does what you want. ;-)  And, like I said,
the registry won't be used for 1.7 so anyone that uses this as a basis
of anything will find it broken once 1.7 is released.


For that matter, how would a windows .bat file find the
'mount.exe' binary if the .bat file doesn't know 'cygdrive path'?


That's a different issue. 

---
Then answer the question.  First you avoid the answer by saying
it is an implementation detail.


long winded response deleted

Linda, you've been around this list long enough to understand how to
handle them.  Please, if you want to berate someone for answering
your posts, do it on one list only.  Of course, I'm having trouble seeing
the benefit of continuing with either thread, given your stubbornness to
hold onto the notion that there must be a complicated way to solve this
problem.  So let me summarize once more.  You can take it as your answer
or not.

  1. Going to the registry in general for information you can get from
 the Cygwin 'mount' command is not supported and is error prone.

  2. Providing the proper path in 'startxwin.bat' does not require
 special analysis of the registry, file system, or any other source
 to find the proper root for Cygwin.  There are at least two ways of
 directly solving this robustly:

   a. Have 'setup.exe' do it, like it does for 'cygwin.bat'
   b. Use the path to 'startxwin.bat' as the path (it is in the
  Cygwin installation path after all).

  3. If you need to do this generically for any batch file, then yes,
 you have to rely on external data and heuristics.  Going to the
 registry to see if it will help or searching the file system are
 two alternatives but there is no one key or one spot that will
 unequivocally give you the installation path.  Looking at the
 mount paths in the registry will work for 1.5 but is flawed for 1.7.
 Looking in the file-system may work depending on what you look
 for and where you start looking.

Hopefully this summary of what I've said already is clear and compact
enough for you to understand what I'm saying.  If not, I'll leave you
to enjoy your continued quest unimpeded by more answers from me.
If you don't like this answer, please feel free to post more long-winded
prose that picks each word of my response apart such that it looses all
context.  But I think it's fair to say that the thread will end after that.
There's really nothing worthwhile that can be said relative to your inquiry
that hasn't already been covered.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: How does one find where Cygwin was installed from Windows?

2009-02-09 Thread Larry Hall (Cygwin)

On 02/09/2009, Linda Walsh wrote:

I.e. maybe Cygwin should add an official dir in the
system (for an all-user install), or user (for a 1-user install)
environment (stored in the registry), so add-on applications that
rely on Cygwin or rely on knowing where it was installed will work.

It's not like in Windows where you can add something to
the linux-registry, /etc, or path-specific part /etc/profile.d
and have other apps pick up this information.  It would make
more sense to put it in a registry environment variable.

What do you think? 


Actually, this has been discussed already and has been resolved by
having 1.7's 'setup.exe' putting the Cygwin root installation directory
in... the registry!  See HKLM/Software/Cygwin/setup, the rootdir
value.

I know, it's not in the environment.  That might be nicer.  But such
a change could spoil my there's no good way statement so I can't
endorse it. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: xterm losing accent keys

2009-02-10 Thread Larry Hall (Cygwin)

Hans-Georg Scherneck wrote:
When I press ` ^ ¨ or ~ and then space keys in xterm, it ignores the 
accents and puts a simple space.  The same with composition of accented 
characters like é. What worse is: this behaviour can change back to 
normal and back to improper, and I have no clue as to upon exactly what? 
Seems that sometimes just a change of focus to another window (xemacs) 
is sufficient, and the accent keys get deprived of function.


It's a really dangerous problem. Imagine: I'd launch   rm -f *
(instead of  rm -f *~)and pop would go the weasel. Anyway it's darn 
annoying.


The question is: How can I force proper handling of accent keys? 
Preferably a method more elegant than a reboot.


If this problem occurs for xterm and not in the shell as started by
cygwin.bat, then it's an X issue and should be directed to the
cygwin-xfree list if available xterm documentation doesn't provide
a working solution (i.e. if there is a Cygwin-specific issue with enabling
the right behavior here).  If it is reproducible in the shell started
by cygwin.bat, then perhaps this FAQ will help:

http://cygwin.com/faq/faq-nochunks.html#faq.using.unicode

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)

On 02/10/2009, Linda Walsh wrote:

Plblblblb! (*raz*)

Um...so..um...
I know it could spoil your day and all...but it really would
be more *linux* like if it was added to the environment variables.


OK, I need to be clear.  I have nothing against the enviroment variable
idea.  I was making (a little) joke.

If you'd like to see this happen, I'd suggest offering it as a patch
to 'setup.exe'.  Since I'm not the gatekeeper for 'setup.exe' code,
whether or not I'm convinced it's a good idea isn't necessarily
going to help or hurt your cause.  The patch is likely to be the path of
least (though not necessarily 'no') resistence.

I forget, does Cygwin offer the option of installing for 1 user vs. 
all users? I only remember it being installed for all...? 


Both are offered in 1.7.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)

rhubbell wrote:

Are you and Linda married by any chance?


Now that's funny! :-)

In case I need to be crystal clear on this subject, no we have no
common relationship beyond that of both being participants on this
list.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)

Tim McDaniel wrote:

On Tue, 10 Feb 2009, Linda Walsh cygwin AT tlinx DOT org wrote:


http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.


Then anything else in Cygwin that uses paths -- including setup's
cygwin.bat could use %CygWinDir%


Not that there's being a vote taken or anything, but I would like to
support that notion.  I have several trampoline scripts, a bat file
doing nothing but invoking a corresponding bash shell script or Perl
program.  I have to hard-code a location for the bash / perl
interpreter, but those locations change from user to user (some people
install under c:\, some under the standard location).  I would like to
have the scripts work for any system.


This can be done now, if you look back through the thread to all the
different options I outlined and even a few scripts others have thrown
in.  What Linda is proposing here is simply having the mechanism for
communicating this be an environment variable.  While this could arguably
make it easier to do what you want, it doesn't mean that you can't do
it now for either Cygwin 1.5 or the upcoming 1.7 (though you may be
required to do something different for 1.5 and 1.7.)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)

Tim McDaniel wrote:

On Tue, 10 Feb 2009, Larry Hall (Cygwin) wrote:

Tim McDaniel wrote:

I have several trampoline scripts, a bat file
doing nothing but invoking a corresponding bash shell script or Perl
program.  I have to hard-code a location for the bash / perl
interpreter, but those locations change from user to user (some people
install under c:\, some under the standard location).  I would like to
have the scripts work for any system.


This can be done now,


That appears to contradict what you wrote yesterday:


Not really.  See below.


] If you need to do this generically for any batch file, then yes, you
] have to rely on external data and heuristics.  Going to the registry
] to see if it will help or searching the file system are two
] alternatives but there is no one key or one spot that will
] unequivocally give you the installation path.  Looking at the mount
] paths in the registry will work for 1.5 but is flawed for 1.7.
] Looking in the file-system may work depending on what you look for
] and where you start looking.

You did mention

] HKLM/Software/Cygwin/setup, the rootdir value.

But you noted that that is in version 1.7.


This would work for 1.5 as well if someone back-ported the 1.7 change.
But unless someone makes some change to both the 'setup.exe' for 1.5
and the one for 1.7, you still won't have one place to look for this
information.  And even if this happens, it would only work for
installations that have used the new 'setup.exe'.  That may cover all
1.7 installations but it will be unreliable for 1.5 for... probably
forever (or long enough that it will seem that way.)  That doesn't mean
that one can't create something that works good enough for one's
needs.  It just means that there's no good way(tm) to do this for
all cases.  If that's not a concern to you, then you diligently read
this thread for its key points for nothing. ;-)

If you're wondering where in the registry to find this information for
1.5 (assuming you're stuck with no other option), this FAQ should
help point you in the right direction:

http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all


(When mentioning it, by the way, you might also mention REG.exe, a
program to do registry access, and the options for FOR that allow
running a program and getting the results in a variable in CMD.exe.
I hadn't heard of REG until I went searching just now.)


Sounds similar to Cygwin's 'regtool'.  Definitely would be helpful
if you're trying to batch script something like this.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)

Tim McDaniel wrote:

On Tue, 10 Feb 2009, Larry Hall wrote:


snip


Sounds similar to Cygwin's 'regtool'.  Definitely would be helpful
if you're trying to batch script something like this.


Well, not in *this* special case, because like this is trying to
find the Cygwin installation in the first place; if it knew where
regtool was, it would already know where Cygwin was installed ...


Yeah, that's what I meant though it could be read either way...

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: xdvi problem: second attempt to get help

2009-02-10 Thread Larry Hall (Cygwin)

Dan Tsafrir wrote:

Hi, a few days ago I reported a problem regarding xdvi and did not get
any response, so I'm trying again:

When opening xdvi, I get the following error message:

   Warning: locale not supported by C library, locale unchanged
   Warning: locale not supported by Xlib, locale set to C
   Warning: X locale modifiers not supported, using default
   Warning: Unable to load any usable fontset

Even though, to my understanding, I don't have any locale related
variables set:

   % printenv | egrep -i 'lang|lc|locale'
   LOCPATH=C:\Programs\IBM\RunTime\locale
   XTERM_LOCALE=C
   % export -n XTERM_LOCALE
   % xdvi
   Warning: locale not supported by C library ...

Any idea how to fix this?


As you may know, Cygwin doesn't support alternate (other than C) locales.
But since this is related to xdvi, there may be something that can be
configured there to help.  If the documentation for xdvi doesn't suggest
a solution or if you believe this is strictly a Cygwin-specific issue,
you may have better luck with the cygwin-xfree list.  X issues are
discussed there.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: GCC 4.3.2 OpenMP Support in Cygwin

2009-02-10 Thread Larry Hall (Cygwin)

Michael Craft wrote:

I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
installed from the repositories. This program compiles in linux with
the exact same compiler fine.

$ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
matrix-vector-bench.c:11:18: error: omp.h: No such file or directory

Can anyone help?


Sorry, I know nothing about OpenMP but the above suggests to me that
the compiler can't find omp.h.  Does it exist?  Is it in the same
directory as matrix-vector-bench.c?  If not, does it work if you
add '-I path' where path is the path to the directory where omp.h
lives?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: new x.org server - startx and xinit fail?

2009-02-16 Thread Larry Hall (Cygwin)

Lloyd Wood wrote:
I've just updated my Cygwin installation (1.5.25), and got the new x.org 
xserver.


startx has stopped working.
After xauth creates a new authority file, it throws up a dialog saying 
it's put help text

in /var/log/XWin.0.log

Perusing /var/log/XWin.0.log shows:

XWin was started with the following command line:

/usr/bin/X :0 -auth /cygdrive/c/Documents and 
Settings/lwood/.serverauth.32660

[..]
unrecognized option: and

suggesting that missing quotes somewhere in startx borked the command.
Adding quotes in throughout startx (xinit command, whenever I saw $HOME)
didn't change this; whatever can't handle spaces is a little hidden.

xinit run alone dies because it can't find supported fonts.

How to get cygwin's x-window-in-Windows-window support running again and
get to an xterm?


X questions and issues should go to the cygwin-xfree list.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: new x.org server - startx and xinit fail?

2009-02-16 Thread Larry Hall (Cygwin)

On 02/16/2009, Lloyd Wood wrote:
Ah, installing a number of fonts in Cygwin setup's X11 list, that allows 
xinit to produce a working X11 virtual desktop window. Once I launch a 
window manager it's usable, with xterms etc.


However, /usr/bin/startx and treating X windows as Windows windows appears 
to have problems with spaces in path names, as outlined below.


http://cygwin.com/ml/cygwin/2009-02/msg00369.html

Please use the recommended list for X questions and issues.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)

Aaron Davies wrote:

is it possible to get sshd working w/o admin privs?


Running 'ssh-host-config' requires adminstrative privileges to create
users to run 'sshd' as a service (for W2K3 and later) and for privilege
separation.  If you don't want/need these, then you can bypass these
as part of the configuration.  This will mean:

  1. You cannot run sshd as a service (on W2K3 or later) so you will not
 be able to use pub-key authentication.  On W2K and XP systems, you
 can use the existing 'SYSTEM' user to run 'sshd' as a service if
 you'd like.

  2. You will always be running 'sshd' as a privileged user but this
 doesn't mean much if you're not running it as a user with elevated
 privileges, which you're likely not if you chose not to run as a
 service, this is likely a non-issue.


i've run ssh-host-config (without creating a new user) and started
sshd manually from the shell.

when i try to connect, i get Connection closed by 127.0.0.1 and an
error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows
up in the event viewer

id idnicates that 45758 is me

any suggestions?


Use password authentication?

If you need to follow-up on this thread, please read and follow the problem
reporting guidelines found here - http://cygwin.com/problems.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: libpng headaches!

2009-02-18 Thread Larry Hall (Cygwin)

David Karlgren wrote:
Hello dear Cygwin users, I hope I'm posting this to the right list. If 
not, then I sincerely apologize!


I'm programming a game using SDL and I compile with gcc under Cygwin and 
link with the mingw libraries. 


So you're really using MinGW then.  The MinGW list would be the appropriate
place to look for help with this problem.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: rsyncd cannot access volume shadow copy

2009-02-18 Thread Larry Hall (Cygwin)

Matthias Meyer wrote:

Hi,

I run cygwin in Vista:

I can create a volume shadow copy with vshadow from the Microsoft SDK as
well as map it to drive B:.

I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the
same user which has mapped the shadow copy to the drive.

But I can not access the shadow copy from terminals of other users AND my 
rsyncd, which runs under the same user where the shadow copy was

mapped, can't access /cygdrive/b.

rsync: chdir /cygdrive/b failed

I try the same under Windows XP and it works only one time :-O
I map the drive with dosdev b: \\?\GLOBALROOT\Device...
rsyncd works but has locked files
2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und
Einstellungen/Administrator/Lokale
Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B):
Device or resource busy (16)

After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device...
I get from rsyncd:
2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server
error
2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1)
2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed
: No such file or directory (2)

In both (XP) cases ls -alh /cygdrive/b will list the content of drive c: 


Is there something of significance here that differs from
http://cygwin.com/ml/cygwin/2009-02/msg00404.html?


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)

Aaron Davies wrote:

On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin)
XX wrote:

   ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Thanks!




Aaron Davies wrote:

is it possible to get sshd working w/o admin privs?

Running 'ssh-host-config' requires adminstrative privileges to create
users to run 'sshd' as a service (for W2K3 and later) and for privilege
separation.  If you don't want/need these, then you can bypass these
as part of the configuration.  This will mean:

 1. You cannot run sshd as a service (on W2K3 or later) so you will not
be able to use pub-key authentication.  On W2K and XP systems, you
can use the existing 'SYSTEM' user to run 'sshd' as a service if
you'd like.

I'm on XP Pro. How would I go about installing it as a service under
SYSTEM? ssh-host-config doesn't seem to be able to do that for me (log
attached, as is cygcheck output).


Of course.  My mistake.  You need admin privileges to install a service.
If you don't have this or can't get it for the configuration portion of
the installation, you won't be able to run as a service. :-(


i've run ssh-host-config (without creating a new user) and started
sshd manually from the shell.

when i try to connect, i get Connection closed by 127.0.0.1 and an
error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows
up in the event viewer

id idnicates that 45758 is me

any suggestions?

Use password authentication?


I don't get to an authentication stage at all AFAICT.


But what authentication methods do you allow?  If you allow
pubkey and have set up the keys for this (via 'ssh-user-config'),
this could be the problem.  Your 'sshd' won't be able to change
user to 'you'.  That's what the 'seteuid' message above means.
I'd recommend removing all ssh key files in ~/.ssh and trying again.

Also, FWIW, using a remote drive as your home adds a level of
complication.  You may want to try to create a local home directory,
point to this in your '/etc/passwd', and rerun 'ssh-user-config' if
you continue to have problems.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-18 Thread Larry Hall (Cygwin)

rhubbell wrote:

On Tue, 10 Feb 2009 15:47:10 -0500
Larry Hall (Cygwin)  wrote:

 
http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.




rhubbell wrote:

Are you and Linda married by any chance?

Now that's funny! :-)


I'm glad you laughed, whew! That exchange had me a little worried
about the list. But now I see all's fine.


Indeed.  I know Linda and she knows me from this list.  We've both been
around here a while.  So there may be some shorthand and references that
the uninitiated may have missed.  But if our exchange made you
uncomfortable, your constitution may be too weak for this list.  If
you doubt me, put on your favorite pair of flame-proof overalls and do
some light reading of the email archives.  :-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)

Aaron Davies wrote:

On Thu, Feb 19, 2009 at 10:03 AM, Larry Hall (Cygwin) wrote:


Aaron Davies wrote:


On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote:

  ^^
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Thanks!


is this even possible in gmail? if not, i'll do it manually for now.


Not sure.  Probably not.  But I don't know much about gmail so I wouldn't
put too much stock in anything I might say about it.

snip


I tried moving all my keys aside (outside of ~/.ssh). Now ssh
localhost on the local box takes my password, prints the banner, then
quits with Connection to localhost closed.

% ssh localhost
adav...@localhost's password:
Last login: Thu Feb 19 10:41:39 2009 from localhost
Connection to localhost closed.

The same setreuid error is left in the event log

Why exactly does it need to setreuid to me when it's already me? This
sshd process is started by and running under the same id it's trying
to become.


I'm not sure.  I thought this was because it was trying to use pub-key
authentication, which is why I suggested password.  So I can't help
here.


Also, FWIW, using a remote drive as your home adds a level of
complication.  You may want to try to create a local home directory,
point to this in your '/etc/passwd', and rerun 'ssh-user-config' if
you continue to have problems.


I'll give this a try next, I guess.


It's worth a shot.  If you get things working that way, you can
always try going back to your remote home and set 'smbntsec' in
your CYGWIN environment variable.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: path to graphics.h

2009-02-20 Thread Larry Hall (Cygwin)

H Le wrote:

Hello,

I wonder where is this lib located?  I have installed cygwin under

 ^^^
You mean header or include file.


d:\cygwin directory.  Thank you for your helps.


I can't answer your question directly but I think I can help you answer
it.

From the main Cygwin page, first line:

Cygwin is a Linux-like environment for Windows.

Where on a Linux machine or from what Linux package would you expect to
find graphics.h?  If you can't answer that, then perhaps an easier
question is why would you expect to find graphics.h with Cygwin?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Setup - command line only

2009-02-22 Thread Larry Hall (Cygwin)

Kevin and Nancy wrote:
I was hoping someone would consider a version of setup.exe that only ran 
on the command line, i.e. a non-graphical setup program.  This would be 
especially helpful for remotely updating packages of the Cygwin suite. I 
think it's ironic that the Cygwin suite which specializes on command 
line utilities only has a graphical user interface for setup/updates.


A separate question might be, why can't setup update itself?  Even, 
click here to download the new setup would be a setup forward.


Just some ideas.  Hopefully, this isn't the 300th time someone has 
asked, but I did do a Google before sending this.


No, it's only the 289th time, which probably accounts for why you couldn't
find it with Google. ;-)  These kinds of features are missing from
'setup.exe' because there hasn't been a volunteer contributor for them.
If you're interested in contributing something, see the link below:

http://sources.redhat.com/cygwin-apps/setup.html

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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/



<    3   4   5   6   7   8   9   10   11   12   >