rsync horribly broken

2003-12-05 Thread linda w
Went to copy a dir:

rsync pooped all over the place:
law> rsync -avv --progress //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9 /us
r/src/packages/BUILD/
building file list ...
expand file_list to 4000 bytes, did move
199 files to consider
delta-transmission disabled for local transfer or --whole-file
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/ANNOU
NCE: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/COPYI
NG: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/Chang
eLog: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/Makef
ile.conf: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/Makef
ile.in: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/READM
E: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/TODO:
No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/clien
tparse.y: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/clien
tscan.l: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/codes
.h: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/confi
g.guess: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/confi
g.h.in: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/confi
g.sub: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/confi
gure: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/confi
gure.in: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/daemo
n.c: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/data.
c: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/decl.
h: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dict.
1: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dict.
c: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dict.
h: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictP
.h: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictd
.8: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictd
.c: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictd
.conf: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictd
.h: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictz
ip.1: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictz
ip.c: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/dictz
ip.h: No such file or directory
dictd-1.4.9/doc/
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/M
akefile.in: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/d
icf.ms: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/r
fc.ms: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/r
fc.sh: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/r
fc2229.txt: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/s
ecurity.doc: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/doc/t
oc.ms: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/examp
le.conf: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/examp
le.dictrc: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/examp
le.site: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/examp
le2.conf: No such file or directory
send_files failed to open //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9/examp
le3.conf: No such file or directory
send_files faile

Re: d --tree problem with "line draw" characters

2003-12-05 Thread Yaakov S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
First, my apologies for the delay in response.  My old computer on which
I packaged 'd' died soon after, and I was without a computer for a few
weeks.  I just tonight got online with my new(er) computer.
I duplicated this bug with similar results in every shell, except for
rxvt, which just shows two boxes in place of the ASCII characters.  This
is likely a bug in the upstream version, and I have passed this along to
the author.  When I have more news I hope to get back to you.
Yaakov Selkowitz
'd' maintainer
Buchbinder, Barry (NIH/NIAID) wrote:

| d -t in bash in a command shell gives string like "0xB", "0mqB", "0tqB",
| etc, instead of line draw characters or ASCII characters that can
substitute
| for line draw characters (e.g., "|-\+").
|
| for example
| /c/dw2> d -t -c- | head
| /c/DW2/:
|   0tqBNIAID/:
|   0xB   0mqBNIAID.batch
|   0tqBout/:
|   0xB   0tqBCC/:
|   0xB   0tqBCDC/:
|   0xB   0tqBCIT/:
|   0xB   0tqBFDA/:
|   0xB   0tqBFIC/:
|   0xB   0tqBIHS/:
| /c/dw2> d -t -c- | head | od -c
| 000   /   c   /   D   W   2   /   :  \n 033   (   0   t   q
| 020 033   (   B   N   I   A   I   D   /   :  \n 033   (   0
| 040   x 033   (   B 033   (   0   m   q 033   (   B   N
| 060   I   A   I   D   .   b   a   t   c   h  \n 033   (   0
| 100   t   q 033   (   B   o   u   t   /   :  \n 033   (   0
| 120   x 033   (   B 033   (   0   t   q 033   (   B   C
| 140   C   /   :  \n 033   (   0   x 033   (   B
| 160 033   (   0   t   q 033   (   B   C   D   C   /   :  \n
| 200 033   (   0   x 033   (   B 033   (   0   t   q 033
| 220   (   B   C   I   T   /   :  \n 033   (   0   x 033   (
| 240   B 033   (   0   t   q 033   (   B   F   D   A   /
| 260   :  \n 033   (   0   x 033   (   B 033   (
| 300   0   t   q 033   (   B   F   I   C   /   :  \n 033   (
| 320   0   x 033   (   B 033   (   0   t   q 033   (   B
| 340   I   H   S   /   :  \n
| 346
|
| What environmental variable need to be set to get to get this to work?
|
| Might the maintainer patch d so that it detects the state and
automatically
| puts out the characters that work?  (I know, PTC, but I'm not a
programmer.)
|
| For the record, one can do the following (note the reintroduction of
| colorization), but it is a severely inconvenient:
| /c/dw2> d -t | head | sed -e 's/^[(B//g' -e 's/^[(0x/|/g' -e
's/^[(0tq/+/g'
| -e 's/^[(0mq/\\/g'
| /c/DW2/:
|   +NIAID/:
|   |   \NIAID.batch
|   +out/:
|   |   +CC/:
|   |   +CDC/:
|   |   +CIT/:
|   |   +FDA/:
|   |   +FIC/:
|   |   +IHS/:
|
| - Barry Buchbinder
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/0DgWpiWmPGlmQSMRAhZ/AJ4ukqDmUjdvqQGC60zaTDm2uS/sIQCaAlis
yC0mjDisYigJCRy/iw+JriE=
=67ew
-END PGP SIGNATURE-


--
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 port of Perl broken on Win32? Or does Cygwin not run on win32?

2003-12-05 Thread linda w
I've always wanted to put cygwin tools *first* in my path before win32 
tools since
in some cases, there are hidden win32 tools that obscure well known *nix 
tools, like
'find' (being a primitive file string search).

Do you actually install both Perl installs?  I'm still running on a 
laptop for my  main desktop...not
having the best of luck these days since Dell decided to go 
middle-ware-only dealer and
not go for cutting edge HW in business capable computers (they have 
their consumer line of
Wide-screen laptops, incompatible with most monitors, making them 
unsuitable for business, but
make their business sized laptops incompatible with any docking station 
-- also incompatible with
business usage -- forcing you to use lattitudes where you pay $1000 more 
for less features.

Marketing poopoo all over customers -- like their customer support -- 
business customers will
get support personel who can speak english, but home customers still get 
sexist thick accent
Indians who only know how to read a script and "act" real polite (it's 
the left over Britsh influence)
while telling you to * off.  It took me 10 months to solve what should 
have been a simple 3 week
problem because they don't talk to each other on each side of the ocean 
and the Indian side has no authority to do anything, but the american 
side that has authority won't talk with customers, so you
go around in circles for 10 months to fix screwed up orders that used to 
be fixable in 3 weeks.

It's an attempt to tire out the customer because Indians can talk on the 
phone for hours without really
saying or accomplishing anything and get paid, per year about the cost 
of 2-3 machines, so it's
very cost effective to route customer problem calls to India where all 
but the most diehard customers
will just give up.  It was only the  possibility of losing large 
business customers that got them special
treatment and the ability to contact US support centers (which they'll 
have to restaff, most likely with
ex employees hired back as contractors so Dell won't have to pay 
benefits.  I hear they took
business management courses from Microsoft on how to \detain\ the best 
without really paying
for them.

:-/

Joaquin wrote:

I just always use non-Cygwin tools first before Cygwin ports.
Thus, for Perl, I use the ActiveState Perl in my path ahead of the
Cygwin perl.  I also do the same for other things like Apache.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of linda w
Sent: Wednesday, December 03, 2003 2:52 PM
To: [EMAIL PROTECTED]
Subject: Cygwin port of Perl broken on Win32? Or does Cygwin
not run on win32?
I was told this is a problem specific to Cygwin -- that
Cygwin believes it isn't runing on a Win platform.  Is this
true?  I knowt he goal is to
provide
posix compatibility, but that doesn't mean it has to strive
for windows incompatibility unless it breaks posix
compatibility ...no?  yes?  maybe?
-linda

linda w wrote:

   

I'm trying to run a program that needs Registry.pm.  I
 

pull it down
   

as part of Win32::Registry, but when I try to 'make' it, it fails:

...
Writing Makefile for Win32::ODBC
Checking if your kit is complete...
Looks good
Processing hints file hints/cygwin.pl
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32 Note
(probably harmless): No library found for -luuid Note (probably
harmless): No library found for -lmsvcrt40 Writing Makefile for
Win32::OLE Checking if your kit is complete...
Looks good
Writing Makefile for Win32::PerfLib
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Pipe
ERROR from evaluation of
//ishtar/share/CPAN/build-win/libwin32-0.191/Process/Ma
kefile.PL: Undefined subroutine &Win32::IsWinNT called at
./Makefile.PL line 4.
Anyone have any ideas on why this is breaking or how to make this
work?  Is
it something broken in the cygwin "port", of perl, on Win32?
Thanks!
Linda W.


--
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/
 

--
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/


   



--
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/
 



--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Jörg Schaible
Jon A. Lambert wrote on Thursday, December 04, 2003 7:03 PM:
> "Nguyen, Huu-Dung" wrote:
>> Thank for the answers
>> 
>> Can any gurus tell me what is the real use of /usr/bin as a mount
>> point and /usr/bin as a physically existing directory in the Cygwin
>> directory ? Sometime i am too much curious !?
>> 
>> Nguyen
> 
> I'm stumped as I can't think of any use.
> Why did you create the physical directory?

It is the way mount works (in any Unix)! You can force a mount without a mount point, 
but ls the parent directory and you see why. The only question you could arise for 
Cygwin here is why they use a mount at all for /usr/bin, but that's in the FAQ 
although I suppose it is more for historical reasons and the (unnecessary) hassle that 
would arise separating these directories now.

Regards,
Jörg

--
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: bug in gcc3.3.1

2003-12-05 Thread Jörg Schaible
Brian Ford wrote on Thursday, December 04, 2003 10:47 PM:
> On Thu, 4 Dec 2003, Jörg Schaible wrote:
>> [EMAIL PROTECTED] wrote on Thursday, December 04, 2003 2:38 PM:
>>> what was the reason for dropping the support?
>>> ( I have to now fix few lines of code!!)
>> 
>> It is not ANSI compatible and therefore not portable.
>> 
> In case you didn't know, ANSI defined string literal concatination:
> 
> "This is "
>   "one sentence."
> 
> is the same as:
> 
> "This is one sentence."


But the poster refers:


printf (" ..
 xxx ", ..)


This is not ANSI!

In case you did not know ...

Regards,
Jörg

--
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: bug in gcc3.3.1

2003-12-05 Thread Jörg Schaible
Jörg Schaible wrote on Friday, December 05, 2003 10:04 AM:
> In case you did not know ...

Sorry, could not resist.

Regards,
Jörg

--
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/



[ANNOUNCEMENT] Win32:: Perl library updated for latest Cygwin

2003-12-05 Thread Rafael Kitover
It's been almost a year, and I've received some reports about builds
failing. I've resolved a few problems and everything should be working.
Hoping to pick this up a bit again and maybe make a Cygwin package.

This project provides the core Win32:: and libwin32 ability for Cygwin
Perl. It is available at:

https//sourceforge.net/projects/libwin32-exp/

To use:

Download and install the Win32CORE module (via perl Makefile.PL; make;
make install).

Then install the libwin32-exp module distribution, using the same set of
commands.

Please report any problems to me.

-- 
Rafael

--
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: Cygrunsrv and spawned processes

2003-12-05 Thread Corinna Vinschen
On Dec  4 16:33, Frank Seesink wrote:
> Igor Pechtchanski wrote:
> >On Thu, 4 Dec 2003, Frank Seesink wrote:

[LOTS OF USELESS FULL QUOTES DELETED]

> This tells me that cygrunsrv is not giving you a full environment within 
> which to run the app.  I've looked into spawnlp() and the P_NOWAIT mode, 

It gives you the system environment plus everything specified by the -e
option.  Where else should it get its environment from?

> Anyway, I'm grasping at straws.  I'd just love to get this working 
> properly without leftover processes building up.  Any more 
> thoughts/ideas I can try?  I'll give anything a whack. :-)

I'm guessing that jabber is by default using fork/exec.  Why didn't
you just leave it this way?

A look into the jabberd sources should give a hint which signal is
expected.  In theory there should be a signal handler which then cares
for jabberd's child process.  Assuming it is a SIGHUP handler, send
SIGHUP from cygrunsrv.  Cygrunsrv has no idea about child processes
started from it's inferior process.  It's the responsibility of that
process to care for its children.  This is different from the situation
in the shell where a Ctrl-C results in a SIGINT sent to all processes
not detached from the console.  A process started with spawn(_P_NOWAIT)
is not detached from the console.

Debugging jabberd might give a clue, too.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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 execute bash file under /usr/bin despite setting PATH= "/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Nguyen, Huu-Dung
OK

Now i understand a little bit (NOT 100%) the fine features of /usr/bin as
mount point and as physicically existing directory.

I encounter the problem while installing a tool running on Cygwin, that
comes from MicroCross (www.microcross.com) XTools
The tool installs all important things and the bash setup file to /usr/bin.

In this case i can only rename my /usr/bin to some thing e.g. /usr/local/bin
or the same.


Regards


nguyen
--
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/

--
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/



rcp problem

2003-12-05 Thread mohanlal jangir
I tried to do rcp from cygwin to linux machine but I got following error :

$ rcp   temp.txt  10.10.10.45:/home/mohanlal
10.10.10.45:  Permission denied

This seems to be user validity issue. Command "whoami" at cygwin as well as
at linux machine returns "mohanlal".
On machine 10.10.10.45, I have created file .rhosts in /home/mohanlal
directory granting permission to the machine I am doing rcp from. Password
on windows machine running cygwin and on linux machine are same. Any clue,
how can I get it work?

Regards
Mohanlal

--
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: rcp problem

2003-12-05 Thread Joe
Some things to check:

- the .rhosts file on Linux must be owned by you or by root and have
permissions of 0600.

- did you use a hostname or IP address in .rhosts?  It must be a hostname.
Also, ping that hostname and make sure it displays the IP address of the
cygwin system to be sure it resolves correctly.

- passwords being the same does not matter - rcp does not use passwords


"mohanlal jangir" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I tried to do rcp from cygwin to linux machine but I got following error :
>
> $ rcp   temp.txt  10.10.10.45:/home/mohanlal
> 10.10.10.45:  Permission denied
>
> This seems to be user validity issue. Command "whoami" at cygwin as well
as
> at linux machine returns "mohanlal".
> On machine 10.10.10.45, I have created file .rhosts in /home/mohanlal
> directory granting permission to the machine I am doing rcp from. Password
> on windows machine running cygwin and on linux machine are same. Any clue,
> how can I get it work?
>
> Regards
> Mohanlal
>




--
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/



Download discrepencies

2003-12-05 Thread Vinod Gupta
I tried to download cygwin, using setup.exe version 2.416, chosing
"default" for all packages except "install" for XFree86. Tried 3
different mirrors and all gave me me different number of packages
and MBytes downloaded, like:
ufl.edu   122 files  88.8 MB
rcn.net   120 files  81.1 MB
anl.gov33 files  23.2 MB
Am I doing something wrong?

Vinod.



--
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: Broken links on page http://cygwin.com/ported.html

2003-12-05 Thread Christopher Faylor
On Thu, Dec 04, 2003 at 10:50:16PM -0800, Spirit Traveller wrote:
>Hello, I am enjoying cygwin quite a good bit.  So I decided to spend a
>little time helping out the website.
>
>I apologize in advance if this is the wrong place for this, but I was
>unable to find an email address of a webmaster for the cygwin.com
>website.

To quote from the bottom of the cygwin page:

"Please send notification of technical problems (bad html, broken links)
concerning these web pages to cygwin mailing list."

>I have checked each of the links on http://cygwin.com/ported.html and
>found many broken ones.
>
>Following is a list of the broken links with explanations for each one.
>I hope someone who can fix these will find this useful.

Thanks.  I've swept through the list myself and removed all dead links.

cgf

--
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: rsync horribly broken

2003-12-05 Thread Christopher Faylor
On Thu, Dec 04, 2003 at 11:53:41PM -0800, linda w wrote:
>Went to copy a dir:
>
>rsync pooped all over the place:
>law> rsync -avv --progress //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9 
>/usr/src/packages/BUILD/

I doubt that rsync understands Windows '//' style paths.

--
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 port of Perl broken on Win32? Or does cygwin not run on win32?

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 12:06:34AM -0800, linda w wrote:
>I've always wanted to put cygwin tools *first* in my path before win32
>tools since in some cases, there are hidden win32 tools that obscure
>well known *nix tools, like 'find' (being a primitive file string
>search).
>
>Do you actually install both Perl installs?  I'm still running on a
>laptop for my main desktop...not having the best of luck these days
>since Dell decided to go middle-ware-only dealer and not go for cutting
>edge HW in business capable computers (they have their consumer line of
>Wide-screen laptops, incompatible with most monitors, making them
>unsuitable for business, but make their business sized laptops
>incompatible with any docking station -- also incompatible with
>business usage -- forcing you to use lattitudes where you pay $1000
>more for less features.
>
>Marketing poopoo all over customers -- like their customer support --
>business customers will get support personel who can speak english, but
>home customers still get sexist thick accent Indians who only know how
>to read a script and "act" real polite (it's the left over Britsh
>influence) while telling you to * off.  It took me 10 months to solve
>what should have been a simple 3 week problem because they don't talk
>to each other on each side of the ocean and the Indian side has no
>authority to do anything, but the american side that has authority
>won't talk with customers, so you go around in circles for 10 months to
>fix screwed up orders that used to be fixable in 3 weeks.
>
>It's an attempt to tire out the customer because Indians can talk on
>the phone for hours without really saying or accomplishing anything and
>get paid, per year about the cost of 2-3 machines, so it's very cost
>effective to route customer problem calls to India where all but the
>most diehard customers will just give up.  It was only the possibility
>of losing large business customers that got them special treatment and
>the ability to contact US support centers (which they'll have to
>restaff, most likely with ex employees hired back as contractors so
>Dell won't have to pay benefits.  I hear they took business management
>courses from Microsoft on how to \detain\ the best without really
>paying for them.

Ok.  This is your first and only warning.  This is complete and utter
garbage and does not belong on the cygwin mailing list.  If you persist
in sending off-topic and inflammatory messages like this you will be
blocked.

This is not the first time you've felt compelled to tell us a story
about your life but I've let it slide.  This is not a support forum
where you get to vent or fill us in on your life's frustrations.  It is
a mailing list designed to discuss cygwin.  If you can't understand the
distinction then you should refrain from posting entirely.

cgf

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 09:59:15AM +0100, J?rg Schaible wrote:
>It is the way mount works (in any Unix)! You can force a mount without
>a mount point, but ls the parent directory and you see why.  The only
>question you could arise for Cygwin here is why they use a mount at all
>for /usr/bin, but that's in the FAQ although I suppose it is more for
>historical reasons and the (unnecessary) hassle that would arise
>separating these directories now.

Nah.  It's just because we are so frigging mean.

WASFM

cgf

--
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 execute bash file under /usr/bin despite setting PATH= "/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 12:45:43PM +0100, Nguyen, Huu-Dung wrote:
>Now i understand a little bit (NOT 100%) the fine features of /usr/bin
>as mount point and as physicically existing directory.
>
>I encounter the problem while installing a tool running on Cygwin, that
>comes from MicroCross (www.microcross.com) XTools The tool installs all
>important things and the bash setup file to /usr/bin.

Then contact MicroCross.  This is not a MicroCross support forum.

--
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: Download discrepencies

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 09:00:24AM -0500, Vinod Gupta wrote:
>I tried to download cygwin, using setup.exe version 2.416, chosing
>"default" for all packages except "install" for XFree86. Tried 3
>different mirrors and all gave me me different number of packages
>and MBytes downloaded, like:
>
>ufl.edu   122 files  88.8 MB
>rcn.net   120 files  81.1 MB
>anl.gov33 files  23.2 MB
>
>Am I doing something wrong?

Yes.

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Jörg Schaible
Christopher Faylor wrote on Friday, December 05, 2003 3:23 PM:
> Nah.  It's just because we are so frigging mean.

Walking on the edge for so many years now 

> WASFM

Igor, wtf cannot translate ... :)

--
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: Where are mount points stored?

2003-12-05 Thread Igor Pechtchanski
Ok, so (1) is curiousity.  As for (2), why not simply run "mount" instead
of the reg query?  It will give you the same exact information.
Igor

On Thu, 4 Dec 2003, Joaquin wrote:

> No.  For one (1) I don't want to be ignorant and want to learn how
> things work.  Secondly (2) this helps me find diagnose and isolate
> problems.  I found weird behavior with Japanese Windows XP Home, where a
> mount point is being auto-created.  This would help me diagnose exactly
> when this is happening.  I could do a reg query between operations.
>
>   - Joaquin
>
>
> > The main question is (seriously): why do you care?  If it's simply to
> > satisfy your curiousity, the mounts are stored (for the moment) in
> > registry keys, as you could have found out by reading the Cygwin
> > sources (namely winsup/cygwin/path.cc).  However, when people find
> > this out they usually start wanting to go into the registry and change
> > the mounts there, and that's unacceptable[*].  So, here's a big
> > DISCLAIMER: do not attempt to change the mounts via regedit or other
> > registry editing software. Always use "mount" to change your mounts.
> > That way, you won't be blindsided when mounts do move to /etc/fstab or
> > something.
> >   Igor
> > [*] The only legitimate use of the registry mount knowledge
> > that I can think of is checking whether there are user mounts
> > for the SYSTEM user (there shouldn't be).

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Jon A. Lambert
"Jörg Schaible" wrote:
> Jon A. Lambert wrote on Thursday, December 04, 2003 7:03 PM:
>>"Nguyen, Huu-Dung" wrote:
>>> Thank for the answers
>>>
>>> Can any gurus tell me what is the real use of /usr/bin as a mount
>>> point and /usr/bin as a physically existing directory in the Cygwin
>>> directory ? Sometime i am too much curious !?
>>>
>>> Nguyen
>>
>> I'm stumped as I can't think of any use.
>> Why did you create the physical directory?
>
> It is the way mount works (in any Unix)! You can force a mount without a mount 
> point, but ls the parent directory and
you see
> why. The only question you could arise for Cygwin here is why they use a mount at 
> all for /usr/bin, but that's in the
FAQ
> although I suppose it is more for historical reasons and the (unnecessary) hassle 
> that would arise separating these
directories
> now.

And all this time I've been running cygwin with no physical c:\cygwin\usr\bin 
directory.
Maybe I should open up a DOS window and create it.  No I don't think I will.
I think the mount of "C:/cygwin/bin" "/usr/bin" is sufficient.

--
J. Lambert




--
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 October 2003 mbox archives

2003-12-05 Thread Igor Pechtchanski
Ok, the files are there now, but the links to the October mbox archives on
the archive pages are still broken for the following lists:
, .
, .

While we're on the topic, the cygwin-developers list has not been archived
in mbox format since March 2003, and cygwin-xfree seems to have both
monthly and quarterly archives for some periods of time (2002-q[1234] and
2003-q1).

Oh, and could cygwin-announce please be archived quarterly?  It would make
the archives much easier to search.

Thanks,
Igor

On Fri, 28 Nov 2003, Igor Pechtchanski wrote:

> On Fri, 28 Nov 2003, Baurjan Ismagulov wrote:
>
> > [snip]
> > BTW, I couldn't find the cygwin-2003-10.bz2 mbox archive under
> > ftp://sources.redhat.com/pub/cygwin/mail-archives. There are some
> > problems/delays, or these archives will not be available any more?
>
> The file seems to have been misplaced.  The Cygwin mailing list archives
> page () seems to have a link to
>  (invalid), with the text
> "mbox-formatted archive (/pub/cygwin/mail-archives bytes)".  A hiccup in
> the archive generation script?
> Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: bug in gcc3.3.1

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Jörg Schaible wrote:
> Brian Ford wrote on Thursday, December 04, 2003 10:47 PM:
> > On Thu, 4 Dec 2003, Jörg Schaible wrote:
> >> [EMAIL PROTECTED] wrote on Thursday, December 04, 2003 2:38 PM:
> >>> what was the reason for dropping the support?
> >>> ( I have to now fix few lines of code!!)
> >>>
> >> It is not ANSI compatible and therefore not portable.
> >>
> > In case you didn't know, ANSI defined string literal concatination:
> >
> > "This is "
> > "one sentence."
> >
> > is the same as:
> >
> > "This is one sentence."
> >
> But the poster refers:
>
> printf (" ..
>  xxx ", ..)
>
> This is not ANSI!
>
> In case you did not know ...
>

I did.

The "you" above was meant to refer to the poster.  I just thought no one
had offered him a simple standard compliant alternative.

"This is not ANSI!" is good to know, but "This is ANSI and does the same
thing." is usually better.
<\OT>

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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 execute bash file under /usr/bin despite setting PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Igor Pechtchanski
On Fri, 5 Dec 2003, Jörg Schaible wrote:

> Christopher Faylor wrote on Friday, December 05, 2003 3:23 PM:
> > Nah.  It's just because we are so frigging mean.
>
> Walking on the edge for so many years now 

You mean "teetering on the edge", don't you? ;-)

> > WASFM
>
> Igor, wtf cannot translate ... :)

Jörg, wtf is just a dumb program -- you can't expect it to unveil the
meaning of newly-invented acronyms on its own.  The OLOCA has it, though:
.  FWIW, wtf will have it on the next
package update (as usual).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: Download discrepencies

2003-12-05 Thread Vinod Gupta
Christopher Faylor wrote:

On Fri, Dec 05, 2003 at 09:00:24AM -0500, Vinod Gupta wrote:
 

I tried to download cygwin, using setup.exe version 2.416, chosing
"default" for all packages except "install" for XFree86. Tried 3
different mirrors and all gave me me different number of packages
and MBytes downloaded, like:
ufl.edu   122 files  88.8 MB
rcn.net   120 files  81.1 MB
anl.gov33 files  23.2 MB
Am I doing something wrong?
   

Yes.

 

Thanks for the short precise answer. Could you please elaborate a little 
bit.



--
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 October 2003 mbox archives

2003-12-05 Thread Baurjan Ismagulov
Hello, Igor!

On Fri, Dec 05, 2003 at 10:03:23AM -0500, Igor Pechtchanski wrote:
> Ok, the files are there now...

Thanks much!

With kind regards,
Baurjan.

--
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/



[ANNOUNCEMENT] New Package: WordNet-2.0-1 - An online lexical reference system

2003-12-05 Thread Dr. Volker Zell
Hi

The package WordNet is now available with the Cygwin distribution:

 * http://www.cogsci.princeton.edu/~wn/ (Homepage)
 * ftp://ftp.cogsci.princeton.edu/pub/wordnet/2.0/  (Download location) 
 
DESCRIPTION:


WordNet is an online lexical reference system. Word forms in WordNet are
represented in their familiar orthography; word meanings are represented 
by synonym sets (synsets) - lists of synonymous word forms that are 
interchangeable in some context. Two kinds of relations are recognized: 
lexical and semantic. Lexical relations hold between word forms; semantic 
relations hold between word meanings.

This package has a command-line and a Tcl/Tk interface included.


Enjoy
Volker

--

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and select "Text"
and then click on the appropriate fields until the above announced
version numbers appear if they are not displayed already.

If your mirror doesn't yet have the latest version of this package after
24 hours, you can either continue to wait for that site to be updated or
you can try to find another mirror.

Please send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED]

If you want to subscribe go to:
http://cygwin.com/ml/cygwin/

I would appreciate if you would use this mailing list rather than
emailing me directly.  This includes ideas and comments about the setup
utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


--
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: rsync horribly broken

2003-12-05 Thread linda w
If that's the case, how did rsync generate the list of files to copy?  
Why would rsync
not be able to read them but cp would?  Seems like an odd restriction 
"rsync can read
and compare network paths, but can't actually open the paths to copy 
them because
it can't understand the paths that it created through it's own iteration.

2nd, how would half the files succeed/compare successfully after being 
copied via "cp".
Are you saying other linux commands have special processing in them to 
handle "//"?  I've
just always assumed that was handled transparently by the cygwin path layer?

Rsync's handling of the paths is "inconsistent" with other utils under 
cygwin, thus the
reporting of it as a bug.

Christopher Faylor wrote:

On Thu, Dec 04, 2003 at 11:53:41PM -0800, linda w wrote:
 

Went to copy a dir:

rsync pooped all over the place:
law> rsync -avv --progress //ishtar/root/usr/src/packages/BUILD/dictd-1.4.9 /usr/src/packages/BUILD/
   

I doubt that rsync understands Windows '//' style paths.

--
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/
 



--
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/


[Fwd: perl-enabled vim]

2003-12-05 Thread linda w


At one point there was some talk of enabling perl with the functionality 
being
loadable (that's the default, actually).  When the perl command is used, 
that's
when it goes off and looks for perl61.dll.

I was wondering what ever happened to that effort -- were people afraid 
perl61.dll
was always autoloaded?   That seemed to be the main objection I saw for 
it...

-linda

--
---
Capitalism:   The rewarding of software companies for producing software
of the least quality the consumer will buy.




--
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/


setup hangs when installing keychain

2003-12-05 Thread Karl M
Hi All...

I just tried to update keychain on two machines, both win2k. In both cases, 
setup (the version
currently on the Cygwin web page) downloads and then when it says it is 
installing, goes to 100%
CPU and starts eating up memory until the machine runs out of memory.

I tried a reboot, and an uninstall/reinstall to no avail.

I looked at the downloaded files (I was looking for a postinstall) and 
didn't get any clues.

I can send a cygcheck, but I'm not sure that is is relevant for this.

1) Can others reproduce this?

2) What else can I do to track it down?

Thanks,

...Karl

_
Get holiday tips for festive fun. 
http://special.msn.com/network/happyholidays.armx

--
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 hangs when installing keychain

2003-12-05 Thread Igor Pechtchanski
On Fri, 5 Dec 2003, Karl M wrote:

> Hi All...
>
> I just tried to update keychain on two machines, both win2k. In both
> cases, setup (the version currently on the Cygwin web page) downloads
> and then when it says it is installing, goes to 100% CPU and starts
> eating up memory until the machine runs out of memory.
>
> I tried a reboot, and an uninstall/reinstall to no avail.
>
> I looked at the downloaded files (I was looking for a postinstall) and
> didn't get any clues.
>
> I can send a cygcheck, but I'm not sure that is is relevant for this.
>
> 1) Can others reproduce this?
>
> 2) What else can I do to track it down?
>
> Thanks,
> ...Karl

Karl,

This could be some weird mount issue. or a directory in place where a
symlink should be in the package...

Can you "Cancel" out of setup?  If so, look at the resultant
/var/log/setup.log.full for clues.  If not, run setup under gdb - even
with a non-debug version, the log messages should be printed on the
console, and you'll able to see them.

I think someone also reported similar behavior when the package file was
corrupted.  Try downloading the package using 'wget' instead, and check
its MD5 sum.  Also, try to 'tar tjf' the package tarball.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Jon A. Lambert
"Nguyen, Huu-Dung" wrote:
> 
> I encounter the problem while installing a tool running on Cygwin, that
> comes from MicroCross (www.microcross.com) XTools
> The tool installs all important things and the bash setup file to /usr/bin.
>

Right.  They are the ones creating a physical c:\cygwin\usr\bin directory
because their installation mechanism is to Win(un)zip all the files.
Their installation instructions also tell you to uninstall Cygwin and remove
all the cygwin files and directories, and to remove all the registry entries 
for Cygwin Solutions, (which happen to include the mount points).
Looks like their version of Cygwin is ancient, either 1.2 or 1.3.22. 

--
J. Lambert



--
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/



[ANNOUNCEMENT] Test: pdksh-5.2.14-3

2003-12-05 Thread Igor Pechtchanski
I've updated pdksh to version 5.2.14-3.  This is a maintainership change
release, so it's marked "test".  Please install and test it.  If no
problems crop up, we'll make it "curr" in a week or so.  See below for a
list of changes.

NOTE: this version requires Cygwin 1.5.*, and *will not* work with earlier
versions of Cygwin.  If you still use Cygwin 1.3.22 (although why you'd
want to is beyond me), install pdksh-5.2.14-2.


PD-ksh is a clone of the AT&T Korn shell. At the moment, it has most of
the ksh88 features, not much of the ksh93 features, and a number of it's
own features.

Changes since 5.2.14-2:

- Maintainer switch (previous ports maintained by Elfyn McBratney)
- Minimized the amount of struct option changes.
- Switched to the new FHS
- Fixed up the postinstall script
- Switched to build method 2 and fixed the source package to fully
  recreate the distribution
  - in particular, changed the default binary name to "pdksh"
- Changed configure and autoconf files to detect Cygwin
- Updated the README


To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Once you've downloaded setup.exe, run it and select "Shells" and
then click on the appropriate field until the above announced version
number appears if it is not displayed already.

If you have questions or comments, please send them to the Cygwin mailing
list at:  cygwin at cygwin dot com .  I would appreciate it if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list is
the appropriate place.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send email
to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain dot com at cygwin dot com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

I implore you to READ this information before sending email about how you
"tried everything" to unsubscribe.  In 100% of the cases where people were
unable to unsubscribe, the problem was that they hadn't actually read and
comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing list,
reading the instructions at the above URL is guaranteed to provide you with
the info that you need.

Igor Pechtchanski
Cygwin PDKsh Maintainer
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
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: rsync horribly broken

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 09:01:40AM -0800, linda w wrote:
>If that's the case, how did rsync generate the list of files to copy?
>Why would rsync not be able to read them but cp would?  Seems like an
>odd restriction "rsync can read and compare network paths, but can't
>actually open the paths to copy them because it can't understand the
>paths that it created through it's own iteration.

Because it doesn't really understand the // prefix, as I said.  It
probably "optimizes" multiple slashes to one slash at some point in
its filename manipulation.

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 12:57:22PM -0500, Jon A. Lambert wrote:
>"Nguyen, Huu-Dung" wrote:
>>I encounter the problem while installing a tool running on Cygwin, that
>>comes from MicroCross (www.microcross.com) XTools The tool installs all
>>important things and the bash setup file to /usr/bin.
>
>Right.  They are the ones creating a physical c:\cygwin\usr\bin
>directory because their installation mechanism is to Win(un)zip all the
>files.  Their installation instructions also tell you to uninstall
>Cygwin and remove all the cygwin files and directories, and to remove
>all the registry entries for Cygwin Solutions, (which happen to include
>the mount points).  Looks like their version of Cygwin is ancient,
>either 1.2 or 1.3.22.

Does MicroCross provide source code for the cygwin
they provide?

I'm sure this has come up before but I'd like to hear from anyone who has
purchased something recently.

--
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/



Cygwin Package List Web Page Suggestion

2003-12-05 Thread Buchbinder, Barry (NIH/NIAID)
Often I have question about package (for example, what it requires) and must
look up the answer in setup.ini.  If it wouldn't be too much trouble, it
would be convenient if the mechanism that makes
http://sources.redhat.com/cygwin/packages/ or
http://sources.redhat.com/cygwin/packages/package_name would include a link
to the setup.hint for the package.

Thanks for your consideration,

- Barry Buchbinder

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Jon A. Lambert
"Christopher Faylor" wrote:
> Does MicroCross provide source code for the cygwin
> they provide?
> 
> I'm sure this has come up before but I'd like to hear from anyone who has
> purchased something recently.
> 

http://www.microcross.com/html/copying_rights.html

"Microcross provides customers source code along with distributions that it 
sells with no copy/duplication restrictions as required by the Free Software 
Foundation and the General Public License (GPL)." 
 
--
J. Lambert


--
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/



test post: how2 prevent a cygwin post from being spam-blocked?

2003-12-05 Thread Tom Rodman
Yesterday (12/5/03) I posted a question 3 times to [EMAIL PROTECTED]
For two of these I was able to watch and verify that a redhat MTA
accepted the mail.  None of the posts shown yesterday, and no
bounced e-mail was returned.

What checks are done before a post is accepted, so I/we can adjust.
Yesterday I used a procedure that had worked many times (weeks earlier).

--
thanks/regards,
Tom Rodman
perl -e 'print unpack("u", "\.\=\$\!T\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: test post: how2 prevent a cygwin post from being spam-blocked?

2003-12-05 Thread Igor Pechtchanski
On Fri, 5 Dec 2003, Tom Rodman wrote:

> Yesterday (12/5/03) I posted a question 3 times to [EMAIL PROTECTED]
> For two of these I was able to watch and verify that a redhat MTA
> accepted the mail.  None of the posts shown yesterday, and no
> bounced e-mail was returned.
>
> What checks are done before a post is accepted, so I/we can adjust.
> Yesterday I used a procedure that had worked many times (weeks earlier).
> --
> thanks/regards,
> Tom Rodman

.
At a guess, you probably changed the From: address.
It's surprising that you got no bounce messages, though - usually ezmlm is
very good about sending those.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: postgresql /usr/include/sqltypes.h conflicts with /usr/include/w32api/sqltypes.h (was RE: broken?)

2003-12-05 Thread Jason Tishler
Rafael,

On Thu, Dec 04, 2003 at 02:25:38AM -0800, Rafael Kitover wrote:
> Looks like /usr/include/w32api/sql.h does an #include ,
> which if you have postgresql installed, will read postgres's version
> when building under cygwin.
> 
> Any chance the postgres /usr/include/sqltypes.h could be moved to
> /usr/include/postgresql/sqltypes.h or something along those lines?

Hmm...  I have to think about (and research) this one.

Thanks for the heads up.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: InitDB with Postgresql after logging in as different user with ssh

2003-12-05 Thread Jason Tishler
Sheela,

On Thu, Dec 04, 2003 at 12:36:21PM -0800, Sheela Rayala wrote:
> Creating template1 database in
> /usr/share/postgresql/data/base/1/... FATAL:could not
> create shared memory segment: Function not implemented
> 
> Detail: Failed system call was shmget(key=1,
> size=1081344, 03600)
> 
> initdb: Failed
> 
> How do I recover from this and start initdb?

Did you start ipc-daemon2?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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 Package List Web Page Suggestion

2003-12-05 Thread Sam Steingold
> * Buchbinder, Barry (NIH/NIAID) <[EMAIL PROTECTED]> [2003-12-05 13:09:43 -0500]:
>
> Often I have question about package (for example, what it requires) and must
> look up the answer in setup.ini.  If it wouldn't be too much trouble, it
> would be convenient if the mechanism that makes
> http://sources.redhat.com/cygwin/packages/ or
> http://sources.redhat.com/cygwin/packages/package_name would include a link
> to the setup.hint for the package.
>
> Thanks for your consideration,

Hear! Hear!
so, to be specific, it would be nice to be able to see

and

(the latter possibly as content-type=text/html)
it might also make sense to include a link to the official package
homepage somethere...

and while you are at it, please fix the gmane link from
 to


thanks

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
  
 
Takeoffs are optional.  Landings are mandatory.


--
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 hangs when installing keychain

2003-12-05 Thread Karl M
Hi All...

Thanks Igor. I looked at /var/log/setup.log.full and saw that it failing to 
write to /usr/share/doc/keychain-2.0.3/ChangeLog. The directory had no write 
permission for the owner (administrator).

I have never touched this directory, so I don't know how the permissions got 
broken. Looking around, I also saw some other directories with dxrxrxr (no 
w). I don't know where they are getting it from, perhaps postinstall 
scripts?

I don't know why this would make setup go to 100% CPU and start eating 
memory.

Thanks,

...Karl



From: Igor Pechtchanski <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Karl M <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: setup hangs when installing keychain
Date: Fri, 5 Dec 2003 12:51:54 -0500 (EST)
On Fri, 5 Dec 2003, Karl M wrote:

> Hi All...
>
> I just tried to update keychain on two machines, both win2k. In both
> cases, setup (the version currently on the Cygwin web page) downloads
> and then when it says it is installing, goes to 100% CPU and starts
> eating up memory until the machine runs out of memory.
>
> I tried a reboot, and an uninstall/reinstall to no avail.
>
> I looked at the downloaded files (I was looking for a postinstall) and
> didn't get any clues.
>
> I can send a cygcheck, but I'm not sure that is is relevant for this.
>
> 1) Can others reproduce this?
>
> 2) What else can I do to track it down?
>
> Thanks,
> ...Karl
Karl,

This could be some weird mount issue. or a directory in place where a
symlink should be in the package...
Can you "Cancel" out of setup?  If so, look at the resultant
/var/log/setup.log.full for clues.  If not, run setup under gdb - even
with a non-debug version, the log messages should be printed on the
console, and you'll able to see them.
I think someone also reported similar behavior when the package file was
corrupted.  Try downloading the package using 'wget' instead, and check
its MD5 sum.  Also, try to 'tar tjf' the package tarball.
Igor
--
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton
--
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/
_
Wonder if the latest virus has gotten to your computer? Find out. Run the 
FREE McAfee online computer scan! 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

--
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/


Setup hangs in postinstall

2003-12-05 Thread Michael Robbert
A co-worker and I are trying to debug a problem that we came across 
while trying to do a new install of Cygwin on a clients computer. We 
have the current version of Setup.exe(2.416) and we have tried to 
install from a couple of mirrors, but even when doing just a base 
install the process hangs on two postinstall scripts. 
base-files-mketc.sh and base-files-profile.sh
If you hit cancel in setup you end up with a partially working system. I 
have been able to open a bash shell and kill those processes and the 
rest of the scripts run fine. I then try to run the scripts manually and 
they still hang. I have run them with sh -x to see where they're getting 
stuck and I have found that it is any time they try to assign a variable 
to the output of a command i.e.: OSNAME="`/bin/uname -s`"
I can reproduce the problem with just that line on from a bash or sh 
shell prompt. I have also tried to strace this command, but I get no 
output at all. Setting variables to a simple string works fine.

What is interesting is that the problem happens on both my laptop and 
the clients workstation, but not my co-workers laptop. They are all 
running XP SP1. I also can not reproduce the problem on another laptop 
that is running Windows 2000 SP4. There are a few less minor patches on 
my co-workers laptop, but that is the only difference that we can think 
of. What else can we look at to find out why this problem is happening 
on two computers, but not others?

--
Michael "Murph" Robbert
System Administrator for Math/CS
Colorado School of Mines, Golden, CO  80401-1887
Office: GC249
Office phone: 303-273-3786
Pager: 303-461-6543
Email: [EMAIL PROTECTED]
--
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 hangs in postinstall

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Michael Robbert wrote:

> A co-worker and I are trying to debug a problem that we came across
> while trying to do a new install of Cygwin on a clients computer. We
> have the current version of Setup.exe(2.416) and we have tried to
> install from a couple of mirrors, but even when doing just a base
> install the process hangs on two postinstall scripts.
> base-files-mketc.sh and base-files-profile.sh
> If you hit cancel in setup you end up with a partially working system. I
> have been able to open a bash shell and kill those processes and the
> rest of the scripts run fine. I then try to run the scripts manually and
> they still hang. I have run them with sh -x to see where they're getting
> stuck and I have found that it is any time they try to assign a variable
> to the output of a command i.e.: OSNAME="`/bin/uname -s`"
> I can reproduce the problem with just that line on from a bash or sh
> shell prompt. I have also tried to strace this command, but I get no
> output at all. Setting variables to a simple string works fine.
>
> What is interesting is that the problem happens on both my laptop and
> the clients workstation, but not my co-workers laptop. They are all
> running XP SP1. I also can not reproduce the problem on another laptop
> that is running Windows 2000 SP4. There are a few less minor patches on
> my co-workers laptop, but that is the only difference that we can think
> of. What else can we look at to find out why this problem is happening
> on two computers, but not others?
>
Maybe the mailing list archives or google?

http://www.cygwin.com/ml/cygwin-announce/2003-10/msg00022.html

Let us know if this does not lead you to the solution.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/



Anonymous ftp - ls hangs

2003-12-05 Thread Andrew DeFaria
I decided to resurrect anonymous ftp on a server here under Cygwin and 
managed to get it working again except that when one ftp's and types ls 
the ls hangs. I search the list and found one person having a similar 
problem but his question was never answered.

Why is ls hanging and how do I fix it?

Cygwin 1.5.4
inetutils 1.3.2-24
This hangs both under regular ftp and ncftp. ncftp's trace file shows:

SESSION STARTED at:  Fri Dec  5 12:38:49 2003
   Program Version:  NcFTP 3.1.4/023 Jul 02 2002, 05:24 AM
   Library Version:  LibNcFTP 3.1.4 (July 2, 2002)
Process ID:  4000
  Platform:  cygwin_nt-5.0
  Hostname:  adefaria.SALIRA.COM  (rc=3)
  Terminal:  cygwin
12:38:49  Fw: firewall.SALIRA.COM  Type: 0  User: adefaria  Pass: 
  Port: 21
12:38:49  FwExceptions: .SALIRA.COM,localhost,localdomain
12:38:49  Resolving sons-clearcase...
12:38:49  Connecting to 192.168.0.99...
12:38:49  LibNcFTP 3.1.4 (July 2, 2002) compiled for cygwin_nt-5.0
12:38:49  Uname: CYGWIN_NT-5.1|adefaria|1.5.5(0.94/3/2)|2003-09-20 
16:31|i686
12:38:49  Logging in...
12:38:49  220:  Welcome to sons-clearcase's ftp service
12:38:49   SONS-CLEARCASE FTP server (GNU inetutils 1.3.2) ready.
12:38:49  Connected to 192.168.0.99.
12:38:49  Cmd: USER anonymous
12:38:49  331: Guest login ok, send your complete e-mail address as 
password.
12:38:49  Cmd: PASS [EMAIL PROTECTED]
12:38:50  Logging in...
12:38:50  230:  N O T I C E
12:38:50---
12:38:50
12:38:50You have been connected to the common anonymous ftp 
area. There have been
12:38:50directories created here to mimick the ftp structure 
that Simon's FTP server
12:38:50used to provide (e.g. system1-12).
12:38:50   Guest login ok, access restrictions apply.
12:38:50  Cmd: PWD
12:38:50  257: "/" is current directory.
12:38:50  Logged in to 192.168.0.99 as anonymous.
12:38:50  Cmd: FEAT
12:38:50  500: 'FEAT': command not understood.
12:38:50  Cmd: HELP SITE
12:38:50  214:  The following SITE commands are recognized (* =>'s 
unimplemented).
12:38:50  UMASK   IDLECHMOD   HELP
12:38:50   Direct comments to [EMAIL PROTECTED]
12:38:50  Logged in to sons-clearcase.
12:38:50  Cmd: CLNT NcFTP 3.1.4 cygwin_nt-5.0
12:38:50  500: 'CLNT NcFTP 3.1.4 cygwin_nt-5.0': command not understood.
12:38:52  > ls
12:38:52  Cmd: PASV
12:38:52  227: Entering Passive Mode (192,168,0,99,13,115)
12:38:52  Cmd: LIST
12:38:52  150: Opening ASCII mode data connection for '/bin/ls'.

But then also hangs. There is an ls process running on the server that 
appear to be just hanging there.



--
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 hangs in postinstall

2003-12-05 Thread Michael Robbert
Brian,
Thanks for your quick response, but we have done multiple searches on 
google and the list archives. I read every post that I could find about 
the problems in October where setup was hanging during postinstall. That 
is where I got many of my ideas for debugging already i.e. gdb, strace, 
sh -x
The message that you point my to is about an update to bash, I checked 
my version of bash and it is already 2.05b-16. That is what is installed 
by default with the current installer. So, I'm sorry that doesn't lead 
to a solution.

Brian Ford wrote:
On Fri, 5 Dec 2003, Michael Robbert wrote:


A co-worker and I are trying to debug a problem that we came across
while trying to do a new install of Cygwin on a clients computer. We
have the current version of Setup.exe(2.416) and we have tried to
install from a couple of mirrors, but even when doing just a base
install the process hangs on two postinstall scripts.
base-files-mketc.sh and base-files-profile.sh
If you hit cancel in setup you end up with a partially working system. I
have been able to open a bash shell and kill those processes and the
rest of the scripts run fine. I then try to run the scripts manually and
they still hang. I have run them with sh -x to see where they're getting
stuck and I have found that it is any time they try to assign a variable
to the output of a command i.e.: OSNAME="`/bin/uname -s`"
I can reproduce the problem with just that line on from a bash or sh
shell prompt. I have also tried to strace this command, but I get no
output at all. Setting variables to a simple string works fine.
What is interesting is that the problem happens on both my laptop and
the clients workstation, but not my co-workers laptop. They are all
running XP SP1. I also can not reproduce the problem on another laptop
that is running Windows 2000 SP4. There are a few less minor patches on
my co-workers laptop, but that is the only difference that we can think
of. What else can we look at to find out why this problem is happening
on two computers, but not others?
Maybe the mailing list archives or google?

http://www.cygwin.com/ml/cygwin-announce/2003-10/msg00022.html

Let us know if this does not lead you to the solution.

--
Michael "Murph" Robbert
System Administrator for Math/CS
Colorado School of Mines, Golden, CO  80401-1887
Office: GC249
Office phone: 303-273-3786
Pager: 303-461-6543
Email: [EMAIL PROTECTED]
--
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 hangs in postinstall

2003-12-05 Thread Antoine Labour
Michael Robbert wrote:
Brian,
Thanks for your quick response, but we have done multiple searches on 
google and the list archives. I read every post that I could find about 
the problems in October where setup was hanging during postinstall. That 
is where I got many of my ideas for debugging already i.e. gdb, strace, 
sh -x
The message that you point my to is about an update to bash, I checked 
my version of bash and it is already 2.05b-16. That is what is installed 
by default with the current installer. So, I'm sorry that doesn't lead 
to a solution.

Brian Ford wrote:

On Fri, 5 Dec 2003, Michael Robbert wrote:


A co-worker and I are trying to debug a problem that we came across
while trying to do a new install of Cygwin on a clients computer. We
have the current version of Setup.exe(2.416) and we have tried to
install from a couple of mirrors, but even when doing just a base
install the process hangs on two postinstall scripts.
base-files-mketc.sh and base-files-profile.sh
If you hit cancel in setup you end up with a partially working system. I
have been able to open a bash shell and kill those processes and the
rest of the scripts run fine. I then try to run the scripts manually and
they still hang. I have run them with sh -x to see where they're getting
stuck and I have found that it is any time they try to assign a variable
to the output of a command i.e.: OSNAME="`/bin/uname -s`"
I can reproduce the problem with just that line on from a bash or sh
shell prompt. I have also tried to strace this command, but I get no
output at all. Setting variables to a simple string works fine.
What is interesting is that the problem happens on both my laptop and
the clients workstation, but not my co-workers laptop. They are all
running XP SP1. I also can not reproduce the problem on another laptop
that is running Windows 2000 SP4. There are a few less minor patches on
my co-workers laptop, but that is the only difference that we can think
of. What else can we look at to find out why this problem is happening
on two computers, but not others?
Maybe the mailing list archives or google?

http://www.cygwin.com/ml/cygwin-announce/2003-10/msg00022.html

Let us know if this does not lead you to the solution.
How about that one : http://cygwin.com/ml/cygwin/2003-12/msg00032.html
I'm having similar problems (random hangs with bash on command 
substitution under cygwin), still unresolved.

Cheers,
Antoine
--
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/


Bash file doesn't appear

2003-12-05 Thread Skews Me
I've installed Cygwin twice from two different mirrors, but the bash file
is nowhere to be found.

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

--
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/



setup seems to miss a few packages

2003-12-05 Thread Karl M
Hi All...

I noticed during a full install, that setup seems to miss a few packages. 
What I mean is that I ran
setup for a new install. I then ran setup again, as soon as it finished from 
the same mirror and it
found a few more packages to install. I was asleep at the wheel, so I didn't 
notice what I got the
second time. I didn't select anything the second time, just quickly clicked 
yes to all the panels.
I don't understand why it didn't get all of the packages the first time.

Thanks,

...Karl

_
Winterize your home with tips from MSN House & Home. 
http://special.msn.com/home/warmhome.armx

--
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 execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 02:06:40PM -0500, Jon A. Lambert wrote:
>"Christopher Faylor" wrote:
>> Does MicroCross provide source code for the cygwin
>> they provide?
>> 
>> I'm sure this has come up before but I'd like to hear from anyone who has
>> purchased something recently.
>> 
>
>http://www.microcross.com/html/copying_rights.html
>
>"Microcross provides customers source code along with distributions that it 
>sells with no copy/duplication restrictions as required by the Free Software 
>Foundation and the General Public License (GPL)." 

Yes, I saw that, too.  I'd like actual confirmation however.

cgf

--
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/



A cygwin backup function?

2003-12-05 Thread Aldi Kraja
Hi,
I am wandering if in cygwin exist any function or package that can do 
any automatic backup of a hard drive?
TIA,
Aldi



--
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: Cygrunsrv and spawned processes

2003-12-05 Thread Frank Seesink
Igor,

Just to be clear, I have now spent the better part of the day working on
this, trying to fathom what's going on.  All I can say is, cygrunsrv is
doing _something_ differently when it comes to running Cygwin apps
compared to running them from the BASH shell.
I have now tested this every way from Sunday, and sure enough, if I run
Jabberd from BASH ('-D' is for debug mode):
$ cd /usr/local/jabber
$ ./jabberd/jabberd.exe -D
jabberd.exe fires up and spawns jabadns.exe.  When I hit CTRL-C, both
die gracefully.  When I use cygrunsrv, for example with the following:
cygrunsrv --install jabberd --path /usr/local/jabber/jabberd/jabberd
--args "-D" --chdir /usr/local/jabber --env
PATH=/usr/local/bin:/usr/bin:/bin --disp "JABBER Server" --user jabber
--termsig INT --shutdown
and then type

	net start jabberd

jabberd.exe fires up and spawns jabadns.exe.  However, when I type

	net stop jabberd

only jabberd.exe dies.  jabadns.exe remains behind.  Again, if I repeat
this process, I end up with zombie jabadns.exe processes, each consuming
a few MB RAM.
It's not so much the RAM usage as the inconsistency.  I would love to
have this working cleanly.
I've also run Jabberd in debug mode (it's quite verbose), and using the
example above, the debug logs are _identical_.  They show the same
signal (2) being received, and the exact same sequence of debug
messages.  So it's not like jabberd.exe is being killed off viciously
with a 'kill -9' type termination.  But for some reason, jabadns.exe is
not being terminated.
The only thing I can think to do now is add a bunch of environment vars
to the cygrunsrv line, but not sure what could possibly be needed by
cygrunsrv to kill a process.  Only thought I have left.
Igor Pechtchanski wrote:

...
Frank,

When you press Ctrl-C in bash, the application gets SIGINT.  When you stop
the service installed by cygrunsrv, by default the signal is SIGTERM,
which the application may not handle gracefully.  Try the '--termsig INT'
('-s 2') cygrunsrv option.
Igor




--
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: test post: how2 prevent a cygwin post from being spam-blocked?

2003-12-05 Thread Tom Rodman
This is just FYI, no response needed.

(BTW - I did get the answer to my post to via the package maintainer. )

--
thanks,
Tom Rodman

# 
# header for first failed msg, sent ~12:47 CST 12/4/03 
#   o e-mail sent to the below From or (same as Sender address)
# is designed to bounce politely but I think sendmail logs the bounce (did not see)
#   o admittedly this From is looks "spammy"
#   o I hope the "X-note" fields are ignored
# 

  To: [EMAIL PROTECTED]
  X-note: 1G0!G/usr/sbin/sendmail -v -t -f"[EMAIL PROTECTED] (Tom Rodman)" # for less 
traceable mail
  From: [EMAIL PROTECTED] (Tom Rodman)
  Subject: exim: setting up "smarthost" (without a domainlist (router) driver?)
  Mime-Version: 1.0
  Content-Type: Text/Plain; charset=US-ASCII
  X-note: careful: sendmail insists on just a blank line to end mail headers
  X-note: careful: update the sig!!

# 
# header for second failed msg sent Dec  4 14:32 CST
#   o I know the From field is OK, I used that From with success today,
# It's valid I can receive e-mails on that address as long as I
# keep that alias alive.
# 

  To: [EMAIL PROTECTED]
  X-note: 1G0!G/usr/sbin/sendmail -v -t -f"[EMAIL PROTECTED] (Tom Rodman)" # for less 
traceable
  From: [EMAIL PROTECTED] (Tom Rodman)
  Subject: exim: setting up "smarthost" (without a domainlist (router) driver?)
  X-note: careful: sendmail insists on just a blank line to end mail headers
  X-note: careful: update the sig!!

# 
# header for third failed msg sent ~2:10 pm CST Dec  4
#   I'm surprised this one did not post or bounce.
#   This was initiated on a different UNIX host.
#   Trustme the actual value of "MyNyxUserName" is not spammy looking.
# 

  To: [EMAIL PROTECTED]
  Bcc: [EMAIL PROTECTED]
  From: [EMAIL PROTECTED] (Tom Rodman)
  Subject: exim: setting up "smarthost" (without a domainlist (router) driver?)

# 
# header for this msg
# 
  To: [EMAIL PROTECTED]
  X-note: 1G0!G/usr/sbin/sendmail -v -t -f"[EMAIL PROTECTED] (Tom Rodman)" # for less 
traceable mail 
  From: [EMAIL PROTECTED] (Tom Rodman)
  References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
  Subject: Re: test post: how2 prevent a cygwin post from being spam-blocked?
  Mime-Version: 1.0
  Content-Type: Text/Plain; charset=US-ASCII
  X-note: careful: sendmail insists on just a blank line to end mail headers
  X-note: careful: update the sig!!

--
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: Cygrunsrv and spawned processes

2003-12-05 Thread Frank Seesink
Corinna Vinschen wrote:

*snip*

This tells me that cygrunsrv is not giving you a full environment within 
which to run the app.  I've looked into spawnlp() and the P_NOWAIT mode, 
It gives you the system environment plus everything specified by the -e
option.  Where else should it get its environment from?
Hey Corinna,

Sorry, poor choice of words.  Basically, cygrunsrv does not provide a 
shell within which to run the app.  Better? :-)  I'm afraid I didn't 
know quite how to word this.

Anyway, I'm grasping at straws.  I'd just love to get this working 
properly without leftover processes building up.  Any more 
thoughts/ideas I can try?  I'll give anything a whack. :-)
I'm guessing that jabber is by default using fork/exec.  Why didn't
you just leave it this way?
Actually, no, not in the DNS portion.  Bear in mind I was working with 
code written long before I got involved with Jabber/XMPP.  Jabberd 1.4.x 
relies on GNU Pth to do its threading, with 2 exceptions:  one call in 
the base portion of code, and one call in the dnsrv (DNS resolver) 
portion.  The base code (for Linux/BSD/etc.) does use fork(), but it 
seems that--along with the lack of BIND/libresolv under Cygwin as a 
package--fork() was problematic at the time, so the dnsrv code was 
apparently overhauled for Cygwin, using spawnlp() instead of fork(), 
with several other minor mods done.

Now, with the recent introduction of minires as a proper Cygwin package, 
I tried again yesterday to build Jabberd v1.4.3 using the original code 
(i.e., no Cygwin-specific source w/ spawnlp(), etc.).  I _WAS_ able to 
build Jabberd once I added -lresolv to LIBS and made a few minor 
adjustments to Makefiles, notably adding an EXPORT value to the main 
executable so the dnsrv module could 'see' certain variables.

Unfortunately, upon firing up Jabberd, I get...

$ ./jabberd/jabberd.exe
C:\cygwin\tmp\jabberd-1.4.3\jabberd\jabberd.exe: *** heap allocated but 
not at 0
x100F
972 [main] jabberd 1984 sync_with_child: child 1400(0x694) died 
before initi
alization with status code 0x1
  14134 [main] jabberd 1984 sync_with_child: *** child state waiting 
for longjmp

20031205T22:35:39: [notice] (-internal): initializing server
20031205T22:35:39: [alert] (dnsrv): dnsrv failed to start, unable to 
fork and/or
 create pipes


And it hangs so bad that CTRL-C will not kill it.  I have to use the 
Windows Task Manager to kill the process outright (I assume 'kill -9' 
from another BASH shell would work as well).

It took me awhile to track this down to the fork() call in dnsrv, but 
that is definitely where this occurred.  I added some debug code just 
before/after the fork(), then ran Jabberd in debug mode (its debug mode, 
not gdb, where it outputs text to a file) to confirm.  Tried Googling on 
the error messages about heap allocation and sync_with_child, but not 
much out there at all.

After noting some info about DLLs not loading where they should, I tried 
using Jason Tishler's rebase tool (copy/rewritten version of 'rebaseall' 
to rebase the DLLs in Jabber, not the one that only works on the Cygwin 
DLLs), but no good.  So any thoughts/ideas on where to look next would 
be greatly appreciated.

A look into the jabberd sources should give a hint which signal is
expected.  In theory there should be a signal handler which then cares
for jabberd's child process.  Assuming it is a SIGHUP handler, send
SIGHUP from cygrunsrv.
Well, using signal() they have mapped functions to handle SIGHUP, 
SIGINT, and SIGTERM.  I've tried sending SIGINT (what you effectively do 
when hitting CTRL-C), SIGHUP, SIGTERM, you name it.  Also tried adding 
every env var I could think of to the cygrunsrv --install command to 
match the BASH shell, in case there was something there I was missing.

>Cygrunsrv has no idea about child processes
started from it's inferior process.  It's the responsibility of that
process to care for its children.  This is different from the situation
in the shell where a Ctrl-C results in a SIGINT sent to all processes
not detached from the console.  A process started with spawn(_P_NOWAIT)
is not detached from the console.
BINGO!  This is EXACTLY the reason then.  So my statement stands.  There 
most definitely IS a difference between running a Cygwin app under a 
shell vs. via cygrunsrv.  And you just pointed it out.

This is what I wanted to know.  Now the question is, is there any way to 
get similar behavior to what you get with a shell like BASH?  I've tried 
having cygrunsrv run a shell within which to launch Jabberd, but all I 
end up is the shell dying and BOTH jabberd.exe and jabadns.exe left 
behind.  So I'm guessing that sending a SIGINT from cygrunsrv to a BASH 
shell is also different than doing it manually, as it does not propogate 
(or whatever technical term you wish to throw at it).  The BASH shell 
does NOT react the sa

Re: Bash file doesn't appear

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Skews Me wrote:

> I've installed Cygwin twice from two different mirrors, but the bash file
> is nowhere to be found.
>
You mean /bin/bash.exe?  What is "the bash file"?

Please have a look at http://www.cygwin.com/problems.html.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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: Cygrunsrv and spawned processes

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Frank Seesink wrote:
> Corinna Vinschen wrote:
> > Cygrunsrv has no idea about child processes
> > started from it's inferior process.  It's the responsibility of that
> > process to care for its children.  This is different from the situation
> > in the shell where a Ctrl-C results in a SIGINT sent to all processes
> > not detached from the console.  A process started with spawn(_P_NOWAIT)
> > is not detached from the console.
> >
> BINGO!  This is EXACTLY the reason then.  So my statement stands.  There
> most definitely IS a difference between running a Cygwin app under a
> shell vs. via cygrunsrv.  And you just pointed it out.
>
> This is what I wanted to know.  Now the question is, is there any way to
> get similar behavior to what you get with a shell like BASH?  I've tried
> having cygrunsrv run a shell within which to launch Jabberd, but all I
> end up is the shell dying and BOTH jabberd.exe and jabadns.exe left
> behind.  So I'm guessing that sending a SIGINT from cygrunsrv to a BASH
> shell is also different than doing it manually, as it does not propogate
> (or whatever technical term you wish to throw at it).  The BASH shell
> does NOT react the same way under cygrunsrv as it does normally.
>
Actually, it does.  What you did was send the bash process a signal.  If
you did that "normally", you would see the same behavior.  However, you
sent the signal via a key stroke interpreted by bash.  That is the difference.

> I realize one way is to modify the source to have the main process kill
> the child, but that's a bit of code change.
>
> I was wondering, how hard would it be to have cygrunsrv provide the same
> functionality as a full shell?  That is, this issue does not occur under
> Linux, even when Jabberd is run as a daemon on startup, so it's
> definitely a Cygwin/cygrunsrv-specific issue.  Are there any plans to
> offer such functionality?  Just curious.
>
What do you define as the equivalent of "net stop jaberd" on Linux?

Anyway, the attached patch to cygrunsrv seems like a good idea and should
accomplish this, I think.

2003-12-05  Brian Ford  <[EMAIL PROTECTED]>

* cygrunsrv.cc (terminate_child): Send the signal to the whole
processes group.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444--- cygrunsrv.cc2003-12-05 17:48:26.25000 -0600
+++ cygrunsrv.cc.orig   2003-12-05 17:48:13.52000 -0600
@@ -978,7 +978,7 @@ terminate_child ()
   sleep (1);
 else
   {
-   kill (-server_pid, termsig);
+   kill (server_pid, termsig);
report_service_status ();
return 0;
   }
--
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: Re: Bash file doesn't appear

2003-12-05 Thread Skews Me
On Fri, 5 Dec 2003, Skews Me wrote:

> I've installed Cygwin twice from two different mirrors, but the bash
file
> is nowhere to be found.
>
You mean /bin/bash.exe?  What is "the bash file"?

-
Version: 1.5.5-1

No executables were installed on either of my hard drives.  The c:\cygwin
folder that was created contains an .\etc\setup folder with a few
temporary files, but that's it.  There's no /bin folder, no bash.exe,
nothing.  Could it be that my Windows logon name contains a space or that
I downloaded to a hard drive other than c:?

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

--
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: Re: Bash file doesn't appear

2003-12-05 Thread Christopher Faylor
On Fri, Dec 05, 2003 at 05:30:06PM -0800, Skews Me wrote:
>On Fri, 5 Dec 2003, Skews Me wrote:
>
>> I've installed Cygwin twice from two different mirrors, but the bash
>file
>> is nowhere to be found.
>>
>You mean /bin/bash.exe?  What is "the bash file"?
>
>-
>Version: 1.5.5-1
>
>No executables were installed on either of my hard drives.  The c:\cygwin
>folder that was created contains an .\etc\setup folder with a few
>temporary files, but that's it.  There's no /bin folder, no bash.exe,
>nothing.  Could it be that my Windows logon name contains a space or that
>I downloaded to a hard drive other than c:?

It's because you chose the "download" option rather than the "install"
option when you ran setup.exe.

--
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/



HSBC ENQUIRY.

2003-12-05 Thread Cappa Consultants
My name is Sarah Cappa.
I am a senior partner in the firm of Cappa Consultants: Private Investigators
and Security Consultants.

We are conducting a standard process investigation on behalf of HSBC, the
international Banking conglomerate. This
investigation involves a client who shares the same surname with you and
also the circumstances surrounding investments
made by this client at HSBC Republic,the Private Banking arm of HSBC.

The HSBC Private Banking client died in intestate and nominated no successor
in title over the investments made with the bank. The essence of this communication
with you is to request you provide us information/comments on any or all
of the four issues:


1-Are you aware of any relative/relation who shares your same name whose
last known contact address was Brussels Belgium?

2-Are you aware of any investment of considerable value made by such a person
at the Private Banking Division of HSBC Bank PLC?

3-Born on the 1st of october 1930

4-Can you establish beyond reasonable doubt your eligibility to assume status
of successor in title to the deceased?

It is pertinent that you inform us ASAP whether or not you are familiar
with this personality that we may put an end to this
communication with you and our inquiries surrounding this personality.

You must appreciate that we are constrained from providing you with more
detailed information at this point. Please respond to this mail as soon
as possible to afford us the opportunity to close this investigation.

Thank you for accommodating our enquiry.


Ms Sarah Cappa
For:Cappa Consultants
06-12-2003




--
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/



HSBC ENQUIRY.

2003-12-05 Thread Cappa Consultants
My name is Sarah Cappa.
I am a senior partner in the firm of Cappa Consultants: Private Investigators
and Security Consultants.

We are conducting a standard process investigation on behalf of HSBC, the
international Banking conglomerate. This
investigation involves a client who shares the same surname with you and
also the circumstances surrounding investments
made by this client at HSBC Republic,the Private Banking arm of HSBC.

The HSBC Private Banking client died in intestate and nominated no successor
in title over the investments made with the bank. The essence of this communication
with you is to request you provide us information/comments on any or all
of the four issues:


1-Are you aware of any relative/relation who shares your same name whose
last known contact address was Brussels Belgium?

2-Are you aware of any investment of considerable value made by such a person
at the Private Banking Division of HSBC Bank PLC?

3-Born on the 1st of october 1930

4-Can you establish beyond reasonable doubt your eligibility to assume status
of successor in title to the deceased?

It is pertinent that you inform us ASAP whether or not you are familiar
with this personality that we may put an end to this
communication with you and our inquiries surrounding this personality.

You must appreciate that we are constrained from providing you with more
detailed information at this point. Please respond to this mail as soon
as possible to afford us the opportunity to close this investigation.

Thank you for accommodating our enquiry.


Ms Sarah Cappa
For:Cappa Consultants
06-12-2003




--
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/



Installing from local directory, fatal error

2003-12-05 Thread SonyMaster
This is my first time using Cygwin, and my first time on the mailing list. I 
have downloaded the full Cygwin packages, meaning everyone single one. Then, I 
run setup.exe, click Next, and select Install from Local Directory. Then, I 
select the folder of where all the packages where downloaded to, select where I 
want it to be installed to, and I get a windows error. The small error is this

AppName: cygwinsetup.exe  AppVer: 0.0.0.0  ModName: cygwinsetup.exe
ModVer: 0.0.0.0  Offset: 000608b0

I cannot seem to get past this no matter what I do. How would I fix this?

--
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/



Cygwin GPG + Outlook 2000 + G-Data plugin

2003-12-05 Thread Vlad Edmond Gradin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

If somebody wants to use Cygwin GPG with Outlook with G-Data plugin.
G-Data plugin is available from www3.gdata.de, with sources.
I had to rebuild GDGPG.dll with some small changes, because I got "wrong
passphrase" error and then, an outlook fopen error.
I used Visual C++ 6.0 and I had to download Windows Template Library from
MS. Also, the program can be debuged attaching outlook.exe to the project
settings.
For the key management I use only cygwin gpg from commnad line.


- --- GDATA_sources/Gdgpg/GDGPG.cpp   2003-12-05
23:03:30.527054400 -0500
+++ GDATA_sources_original/Gdgpg/GDGPG.cpp  2001-08-10
11:45:12.0 -0400
@@ -192,8 +192,7 @@
// send passpharse (if spezified)
if (bSuccess && (sPassphrase.size() > 0))
{
- -   //string s = sPassphrase + "\r\n";
- -   string s = sPassphrase + "\n";
+   string s = sPassphrase + "\r\n";
DWORD dwWritten = 0;
WriteFile(hWritePipeIn, s.c_str(), s.size(), &dwWritten,
NULL);
}



- --- GDATA_sources/Gdgpg/GDGPGO.cpp  2003-12-05
22:59:11.384425600 -0500
+++ GDATA_sources_original/Gdgpg/GDGPGO.cpp 2001-08-10
11:37:48.0 -0400
@@ -615,10 +615,8 @@
USES_CONVERSION;

*pvReturn = GDGPG_SUCCESS;
- -   //if (OLE2A(strFilenameDest) == "")
- -   //{
- -   _bstr_t sir(strFilenameDest);
- -   if (sir.length() == 0){
+   if (OLE2A(strFilenameDest) == "")
+   {
m_sEncryptCommandNextFile = "";
m_sEncryptPassphraseNextFile = m_sPassphraseInvalid;
return S_OK;
@@ -677,10 +675,8 @@
hWndParent = (ULONG) ::GetActiveWindow();

*pvReturn = GDGPG_SUCCESS;
- -   //if (OLE2A(strFilenameDest) == "")
- -   //{
- -   _bstr_t sir(strFilenameDest);
- -   if (sir.length() == 0){
+   if (OLE2A(strFilenameDest) == "")
+   {
m_sDecryptPassphraseNextFile = m_sPassphraseInvalid;
return S_OK;
}
@@ -712,6 +708,3 @@

return S_OK;
 }
- -
- -
- -



- --- GDATA_sources/GPGExch/GPGExch.cpp   2003-12-05
23:08:07.335084800 -0500
+++ GDATA_sources_original/GPGExch/GPGExch.cpp  2001-06-12
16:13:52.0 -0400
@@ -22,7 +22,7 @@
 #include "stdafx.h"

 #include 
- -//#include 
+#include 
 #include 

 #include "GPGExchange.h"



- --- GDATA_sources/GPGExch/GPG.cpp   2003-11-13
14:45:08.0 -0500
+++ GDATA_sources_original/GPGExch/GPG.cpp  2001-08-09
20:49:38.0 -0400
@@ -29,9 +29,7 @@
 #include "GPGExch.h"
 #include "..\GDGPG\Wrapper\GDGPGWrapper.h"

- -//DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);
- -
- -#define INITGUID
+DEFINE_OLEGUID(IID_IMessage, 0x00020307, 0, 0);

 // actions for ProcessAttachments()
 #define PROATT_SAVE  1


Key ID 0x1D4FFB96
Key Server http://www.keyserver.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (Cygwin)

iD8DBQE/0WUe8dGAeh1P+5YRAnA5AKClQ/uny7EwQ+79VHNljOUtJt3DGwCeMS4p
37tlBQkgc5WXlKMXzR+A5xw=
=gMYo
-END PGP SIGNATURE-


--
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/



Some questions about ImageMagick and cygwin

2003-12-05 Thread Charles Wilson
(for more background, see 
http://www.cygwin.com/ml/cygwin-apps/2003-12/msg00072.html )

Bob ---

It looks like we have a sucker^W volunteer to contribute (and maintain) 
an ImageMagick package for the cygwin platform.  However, a few 
packaging questions have arisen.  I raise a bunch of issues below, but I 
do have a solution -- and a question (or three).

Because IM provides two shared libraries that can be used from other 
third party applications, the DLLs need to 'live' in their own, 
versioned, package -- like we do for ncurses, for instance:

  libncurses7   (contains cygncurses7.dll, cygform7.dll, etc)
  libncurses-devel (contains the .a's, .dll.a's, .h's, and API docs)
  ncurses   (contains the utility progs, etc)
That way, if rxvt is linked against cygncurses7.dll, but the next 
version of ncurses causes an API change, we simply bump the DLL version 
number, and create a new matching package to distribute the new DLL: 
libncurses8-X.Y-Z.tar.bz2   Thus, the user can install both 
libncurses7(-A.B-C.tar.bz2) and libncurses8(-X.Y-Z.tar.bz2), and get the 
new dll but keep the old dll so that rxvt keeps working without 
requiring a recompile or relink.  Note tho, that the -devel and (main) 
packages get replaced -- so any newly linked 3rd party apps after this 
would use cygncurses8.dll; and of course the ncurses apps shipped with 
ncurses itself would all use the new dll.

In this case, IM creates 'cygMagick-6.dll' (and cygMagick++-6.dll).  So, 
naturally those go into

  libMagick6
 (with release versioning info tacked on after the actual
  "package name":  libMagick6-5.5.7-1.tar.bz2)
  libMagick-devel
  ImageMagick
So that it can coexist with a later 'libMagick7' package which contains 
cygMagick-7.dll if there is ever an API breakage.

Now, let us assume that in the fullness of time, package "FOO" is 
released which uses libMagick.  So, it's linked against cygMagick-6.dll. 
 Then, there's a new release of ImageMagick, version 5.9.2 or whatever, 
which has an API breakage, leading to cygMagick-7.dll.  Fine and dandy.

But IM shared libs "know" about their modules directories; they load 
their modules -- which can be "dropped in" at any time of course -- 
specifically from the **compiled in** path: in this case, 
/usr/lib/ImageMagick-5.5.7/*.  (let's call this "MODULEDIR")  Now, if 
the files in MODULEDIR are part of the 'ImageMagick' package, then when 
I upgrade to the ImageMagick-5.9.2-1 package, it will replace 
(uninstall) my old IM-5.5.7 package.  So

   /usr/lib/ImageMagick-5.5.7/* goes away, to be replaced by
   /usr/lib/ImageMagick-5.9.2/*
But now my poor cygMagick-6.dll (which is still needed by the FOO 
package, remember) can't find its modules (and it can't use the 5.9.2 
modules, of course).

Okay, so it seems that the files in MODULEDIR need to follow the same 
scheme as the DLL's: keep 'em around in a separate package, using the 
DLLVER numbering scheme:

  libMagick6  -- contains the (main) DLLs
  ImageMagick6-- contains the modules (also dlls)
  libMagick-devel -- implibs, statlibs, headers, man
  ImageMagick -- progs, man, docs
This way, 5.9.2 can provide ImageMagick7 and libMagick7, which can 
coexist with ImageMagick6 and libMagick6 -- so FOO still works.  (of 
course, I replace my 5.5.7 -devel and (main) package with the 5.9.2 
version, so that I get to use the latest-n-greatest IM applications)

But now, there are possibly two other problems: (MARKER ONE), suppose 
that instead of 5.9.2 being released, we release 5.5.8 -- which does NOT 
change the main DLL's API.  So, the DLLVER stays at 6, so we have

  libMagick6-5.5.8-1 contains a new version of cygMagick-6.dll et.al.
  ImageMagick6-5.5.8-1 now contains /usr/lib/ImageMagick-5.5.8/* (and 
because the package name is the same, this replaces -- e.g. uninstalls 
-- my old ImageMagick6-5.5.7-1 package, so /usr/lib/ImageMagick-5.5.7/* 
is gone.

But this is probably okay, because FOO was dynamically linked against 
cygMagick-6.dll, so it'll dynamically use the NEW cygMagick-6.dll, which 
knows to look in /usr/lib/ImageMagick-5.5.8, not -5.5.7.

(I'm assuming that if FOO was statically linked against libMagick.a, it 
would then ALSO statically link against all of the modules, and use 
ltdl's fake "dlopen-from-a-statlib" stuff to access module 
functionality.  If that is NOT the case [e.g. if you could link 
statically against the old libMagick.a, but still access the DLLs of the 
modules from /usr/lib/ImageMagick-5.5.7/ using "real" dlopen() -- which 
is, I believe, the case] then we've got another big problem, because 
/usr/lib/ImageMagick-5.5.7 is gone and with it, those module dlls -- but 
that problem is also solved by my "solution" below.)

(MARKER TWO) Now, suppose that after the cygwin version of IM-5.5.7 hits 
the streets, something happens which changes the API -- but only on 
cygwin, and BEFORE the IM-5.5.8 release.  Say, for instance, we have to 
recompile all of the packages to enable 64bit file