Re: Building DLL

2004-07-11 Thread Jani tiainen
Maarten Boekhold wrote:

Gerrit P. Haase wrote:
You don't need .def files on Cygwin.  Just add -no-undefined to
libxyz_LDFLAGS.

OK, I'm making progress with getting XFCE to compile under cygwin (with 
help of one of the XFCE developers), but now we're running into the 
following:

XFCE has a plugin mechanism, based on shared libraries. These plugins 
use functions/symbols from the program that they 'plug in to'. I.e. if I 
have appA, and libB is a plugin for appA, then libB contains calls that 
are defined in appA.

How do I get this to work under cygwin? Obviously I can't link libB 
against appA!
Done this, been there. And it's all possible.. =)

You can use DLLTOOL to produce .def files from .exe if needed so you
don't have to do them by hand. But in most cases you just need few funcs
or variables it's simpler to write .def by hand.
--
Jani Tiainen
--
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] Updated: neon 0.24.7-1

2004-07-11 Thread Max Bowsher
Neon, a WebDAV client library, used by subversion, has been updated to
0.24.7-1

This is a new upstream bugfix release.

Upstream release announcement:
Changes in release 0.24.7:
* Compression interface fixes:
 - fix issues handling content decoding and request retries from
 authentication challenges (Justin Erenkrantz)
 - fix places where reader callback would receive spurious size=0 calls
 - fix to pass user-supplied userdata to user-supplied acceptance callback
* Fix for RFC2617-style digest authentication (Hideaki Takahashi).
* Fix to pick up gethostbyname() on QNX 6.2.

--

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.  Then, run setup and answer all of the questions.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.  This includes ideas and comments about the
setup utility or Cygwin in general.

  *** 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:

[EMAIL PROTECTED]

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.


--
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: Start up Help

2004-07-11 Thread Holger Krull
gcc hello.c
On my version, "gcc" was an unknown command, so I did:
bash hello.c
1. Maybe you didn't install gcc? -> install it
2. Maybe you installed it but, you try to start it from cmd.exe? -> open a bash shell 
first
--
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: Options for Source Code Control: RCS v. SCCS v. CVS

2004-07-11 Thread Reini Urban
Robert Collins schrieb:
On Sun, 2004-07-11 at 03:09, Richard Heintze wrote:
I need some help understanding how RCS works. I typed
"info RCS" and felt confused.
Not surprisingly. RCS doesn't model what any modern revision control
system does.
??
For single developers (and esp. single file versioning) it's still 
perfect. KISS-style (http://xarch.tu-graz.ac.at/acadwiki/KissStyle).

CVS is just a layer on top of RCS, having to maintain special CVS and 
cvsroot directories. RCS has everything it needs in the ,v ("versioned") 
files. Better is of course a decent filesystem which does versioning 
automatically. LispOS comes to my mind.

If so, (1) how do I start the service or deamon for
RCS?
 (2) does RCS lock out other programmers while one 
works on a file or is RCS like CVS and everyone merges
their differences later?
RCS locks out everyone per file. One of CVS's big advances was the
ability to modify a file without locking everyone out.
rcs -U changes to option to unlocked by default per file. That's what I 
use everyday. I still maintain a bunge of my private filesets with rcs.

In the last 10 years I moved some projects to CVS but always came back 
to the simpliest form, RCS. You can easily interchange the ,v files from 
RCS to CVS forth and back. For CVS you have to move them to a cvsroot 
directory tree. For RCS you keep them together with your project.

I personally use arch - its offline work mode, built in distributed
operation & mirroring support make it a dream to use. It versions more
aspects of project trees than any other RCS I've encountered - it even
supports file modes, and symlinks.
True. arch is much better and btw. IMHO much more stable and mature than 
subversion.
BTW: "Magically" changing file modes and symlinks violates kiss-style. 
Once you are used to it, ok. But when you have to think 10 minutes 
before every simpliest action it's getting hard. This cannot happen with 
RCS (and CVS also).
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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 is the gnu/cygwin GUI Source code debugger?

2004-07-11 Thread James Merritt
Another GUI debugger is DDD, also part of Cygwin. 
Can't say how it compares to insight, though.

Have a great day!!

James E. Merritt

--- Arturus Magi <[EMAIL PROTECTED]> wrote:
> Richard Heintze wrote:
> > I remember running a GUI based source code
> debugger
> > for gcc. I was very impressed. Can anyone remind
> me of
> > the command I used to start it?
> 
> What you're looking for is insight, and it is,
> AFAIK, part of the gdb 
> package.
> 
> --
> 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/
> 
> 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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



processor at 100%

2004-07-11 Thread Shawn Henderson
when I reboot my pc my processor is at 100% the task manager reveals 
that cygserv and the sshd is the culprit. After ending the processes 
this drops the processor back to its normal levels. What is strange is 
that I can still use these processes afterwords like normal but it does 
not max out the processor until the next time I reboot. I have a xp 
antholon 2700 with 512mb ram. what is going on? any ideas on how to stop 
this activity.

Thanks
--
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: processor at 100%

2004-07-11 Thread Igor Pechtchanski
On Sun, 11 Jul 2004, Shawn Henderson wrote:

> when I reboot my pc my processor is at 100% the task manager reveals
> that cygserv and the sshd is the culprit.

There is no such program as "cygserv".  I presume you mean "cygrunsrv".
Also, which of the two processes consumes 100% of the CPU?  Or do they
each consume 50% (or some other numbers that add up to 100%)?

> After ending the processes this drops the processor back to its normal
> levels.

How do you end the processes?  If you used "kill", did you try to simply
stop the service (via "cygrunsrv -E sshd" or "net stop sshd") instead?

> What is strange is that I can still use these processes afterwords like
> normal but it does not max out the processor until the next time I
> reboot.

Huh?  Do you mean you can restart the service afterwards?

> I have a xp antholon 2700 with 512mb ram. what is going on? any ideas on
> how to stop this activity.
>
> Thanks

Well, you could attach to the process consuming the most CPU with strace
(for a bit) and see what that shows...  It doesn't look like this is
something others can reproduce, so you'll have to do a bit of debugging on
your system.

FWIW, as a workaround, you can change the startup type of the sshd service
to "manual", and start it yourself (with "cygrunsrv -S sshd" or "net start
sshd") whenever you need it.
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/



How to run debugger?

2004-07-11 Thread Richard Heintze
Ah hah! Write a short program called test.c and gcc -g
test.c -o test.exe and ddd test.exe and then I see

Error: can't open display:

  Why does this not work?

So I download the insight debugger and tried
/cygdrive/c/dev/insight/bin/gdb.exe test.exe

This gives the error
stat "/cygdrive/c/tmp/test.c" no such file or
directory
  while executing

Well that is not true, the file is there! I tried
chmod 777 test.c but that did not help. The debugger
works, it just cannot load test.c for some reason!

Anyone know why?
Siegfried


--- James Merritt <[EMAIL PROTECTED]> wrote:
> Another GUI debugger is DDD, also part of Cygwin. 
> Can't say how it compares to insight, though.
> 
> Have a great day!!
> 
> James E. Merritt
> 
> --- Arturus Magi <[EMAIL PROTECTED]> wrote:
> > Richard Heintze wrote:
> > > I remember running a GUI based source code
> > debugger
> > > for gcc. I was very impressed. Can anyone remind
> > me of
> > > the command I used to start it?
> > 
> > What you're looking for is insight, and it is,
> > AFAIK, part of the gdb 
> > package.
> > 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
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 is libxml2.dll?

2004-07-11 Thread Richard Heintze
Problem fixed! I had to put c:\cygwin\usr\local\bin in
my system path. I did not realize that c:\cygwin\bin
(which was already in my path) was different than
c:\cygwin\usr\bin.

Why are there two bin directories?
Siegfried


--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> On Sat, 10 Jul 2004, Richard Heintze wrote:
> 
> > See below:
> >
> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > > Siegfried,
> > >
> > > .
> > > Thanks.
> >
> > I'm not sure how to do that so I did it by hand.
> Good
> > point.
> 
> That's about the only way to do this from a Yahoo
> Mail interface...
> Thanks for the effort.
> 
> > > It does sound like you do need to put
> "C:\cygwin\bin" in your Windows
> > > PATH, and make sure it gets propagated to Emacs.
>  Alternatively, you
> > > could try to get Emacs to run "bash -l" as its
> shell (don't ask me
> > > how, I don't use Emacs).
> > >   Igor
> >
> > I just checked and C:\cygwin\bin is already in the
> > path. Any other ideas?
> >   Thanks,
> >  Sieg
> 
> Well, according to the output of cygcheck, you have
> two nd.exe's, and
> c:\util\nd.exe doesn't seem to be the same as
> c:\cygwin\usr\local\bin\nd.exe...  The one in
> c:\cygwin\usr\local\bin
> seems to have correct DLL dependencies, so that's
> the one you should use.
> 
> Judging from the fact that emacs couldn't find
> /usr/local/bin/nd.exe, I'd
> say you need to have c:\cygwin\usr\local\bin in your
> PATH within emacs,
> too.
> 
> Or, as I suggested earlier, you could instruct emacs
> to start bash with a
> --login (-l) flag.  Someone fluent in emacs can
> probably help you with it
> better than I.
>   Igor
> 
> > > On Fri, 9 Jul 2004, Richard Heintze wrote:
> > >
> > > > Igor,
> > > >  That is a handy command! here is the results
> (from the emacs
> > > > compile command:
> > > >
> > > > cd c:/busines/
> > > > cygcheck nd.exe
> > > > Found: c:\util\nd.exe
> > > >
> > > > c:/util/nd.exe
> > > >   C:\cygwin\bin\cygwin1.dll
> > > > C:\WINDOWS\system32\ADVAPI32.DLL
> > > >   C:\WINDOWS\system32\KERNEL32.dll
> > > > C:\WINDOWS\system32\ntdll.dll
> > > >   C:\WINDOWS\system32\RPCRT4.dll
> > > > Error: could not find libxml2.dll
> > > >
> > > > Here is the same command from the bash command
> window:
> > > > [EMAIL PROTECTED] ~ $ cygcheck nd
> > > > Found: C:\cygwin\usr\local\bin\nd.exe
> > > > Found: c:\util\nd.exe
> > > > C:/cygwin/usr/local/bin/nd.exe
> > > >   C:\cygwin\bin\cygwin1.dll
> > > > C:\WINDOWS\system32\ADVAPI32.DLL
> > > >   C:\WINDOWS\system32\KERNEL32.dll
> > > > C:\WINDOWS\system32\ntdll.dll
> > > >   C:\WINDOWS\system32\RPCRT4.dll
> > > >   C:\cygwin\bin\cygxml2-2.dll
> > > > C:\cygwin\bin\cygz.dll
> > > > C:\cygwin\bin\cygiconv-2.dll
> > > >
> > > > When I removed nd.exe from c:\util the bash
> shell
> > > > running under emacs could not find nd.exe.
> > > >
> > > > Anybody know why?
> > > > Anybody know how to fix this?
> > > >
> > > >   Thanks,
> > > >
> > > >  Siegfried
> > > >
> > > > --- Igor Pechtchanski <[EMAIL PROTECTED]>
> wrote:
> > > > > On Fri, 9 Jul 2004, Richard Heintze wrote:
> > > > >
> > > > > > I am running Windows 2003 server with on
> which I have installed
> > > > > > cygwin within the last month.
> > > > > >
> > > > > > I found a terrific little utility (webdav
> client) at
> > > > > > http://www.gohome.org/nd/ which I
> downloaded and compiled (with
> > > > > > gcc) with cygwin. At the bash command
> prompt, it appears to
> > > > > > work.
> > > > > >
> > > > > > However, it is intended to be run from
> emacs. When I create a
> > > > > > shell with emacs, it starts up a bash
> shell as a sub process and
> > > > > > I get the error: "this application has
> failed to start because
> > > > > > libxml2.dll was not found. Re-installing
> the application my fix
> > > > > > this problem.". Well there is no
> libxml2.dll on my system but
> > > > > > the command works from the bash command
> prompt! HOw could this
> > > > > > be?
> > > > > >
> > > > > > I notice there are libxml2.dll.a and
> libxml2.a and libxml2.la in
> > > > > > my /usr/lib directory! This must be the
> one! Why cannot the bash
> > > > > > shell find it when run under emacs? Do I
> need to put
> > > > > > c:\cygwin\lib in my PATH environment
> variable?
> > > > > >
> > > > > >   Thanks,
> > > > > >   Siegfried
> > > > >
> > > > > Siegfried,
> > > > >
> > > > > You don't need c:\cygwin\lib in your path,
> but you do need
> > > > > c:\cygwin\bin there if you intend to run
> Cygwin applications from
> > > > > Win32 ones. FWIW, the actual name of the DLL
> is cygxml2-2.dll
> > > > > (which you could have determined by
> examining
> > > > > /usr/lib/libxml2.la), but it's surprising
> that it looks for
> > > > > libxml2.dll.  Can you start a regular bash
> shell from Emacs? Can
> > > > > you run "cygcheck yourapp" from that shell
> before running
> > > > > "yourapp"? What does the output of the above
> cygcheck co

Re: Where is the gnu/cygwin GUI Source code debugger?

2004-07-11 Thread Richard Heintze
What is the command to run the GUI GNU debugger? when
I type gdb test.exe I get the old command line
interface. How do I get the GUI? I have done a
(nearly) complete installation of cygwin. I only
omitted emacs, and perl and xemacs.

I explicitly downloaded insight seperately and had
troubles with that too, see my earler post. (gdb.exe
started the GUI interface, but it could not load the
source code file -- something to do with stat failing.
chmod 777 test.c did not help).

  Siegfried

--- Arturus Magi <[EMAIL PROTECTED]> wrote:
> Richard Heintze wrote:
> > I remember running a GUI based source code
> debugger
> > for gcc. I was very impressed. Can anyone remind
> me of
> > the command I used to start it?
> 
> What you're looking for is insight, and it is,
> AFAIK, part of the gdb 
> package.
> 
> --
> 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/
> 
> 




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

--
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: processor at 100%

2004-07-11 Thread Shawn Henderson
you are correct it is Cygrunsrv (woops shouldve looked while typing 
mail) I use the task manager to end the processes. I dont restart the 
services and I can ssh from a remote computer like if was running but 
does not show up in the task manager. I think it might be related to me 
installing everything. This is my test pc and I installed everything 
till I figured out the basics of what I needed is there a way to 
uninstall and reinstall . I have tried using setup.exe but It doesnt 
take it off.

Thanks
Igor Pechtchanski wrote:
On Sun, 11 Jul 2004, Shawn Henderson wrote:

when I reboot my pc my processor is at 100% the task manager reveals
that cygserv and the sshd is the culprit.

There is no such program as "cygserv".  I presume you mean "cygrunsrv".
Also, which of the two processes consumes 100% of the CPU?  Or do they
each consume 50% (or some other numbers that add up to 100%)?

After ending the processes this drops the processor back to its normal
levels.

How do you end the processes?  If you used "kill", did you try to simply
stop the service (via "cygrunsrv -E sshd" or "net stop sshd") instead?

What is strange is that I can still use these processes afterwords like
normal but it does not max out the processor until the next time I
reboot.

Huh?  Do you mean you can restart the service afterwards?

I have a xp antholon 2700 with 512mb ram. what is going on? any ideas on
how to stop this activity.
Thanks

Well, you could attach to the process consuming the most CPU with strace
(for a bit) and see what that shows...  It doesn't look like this is
something others can reproduce, so you'll have to do a bit of debugging on
your system.
FWIW, as a workaround, you can change the startup type of the sshd service
to "manual", and start it yourself (with "cygrunsrv -S sshd" or "net start
sshd") whenever you need it.
HTH,
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: Source Code for cygwin1.dll

2004-07-11 Thread Larry Hall
At 12:26 AM 7/10/2004, you wrote:

>Larry, these messages are being repeated twice on the list.


Actually, no they aren't.  I haven't seen the repeats and the email archives
show one message only. 


>Josh, from now on, use reply to all. And take out your email address. 


I can't see any harm in doing this.


>That's
>what causing the repeats.


No, it's not.  I'm not sure why you're seeing the repeats though.


>Just use mailto:[EMAIL PROTECTED]
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>Larry Hall
>Sent: Friday, July 09, 2004 11:11 PM
>To: Joshua Halls; 'Cygwin List'
>Subject: RE: Source Code for cygwin1.dll
>
>
>At 10:58 PM 7/9/2004, you wrote:
>>Is it just the cygwin-1.5.10-3.tar.bz2 file or do I need anything else?  I
>>remember hearing it is about 1.2MB in size so this sounds right.  Thanks
>>
>>--Josh
>>
>
>
>That's the tarball you want.  Oh, and see 
>for specifics on the licensing.
>
>
>
>--
>Larry Hall  http://www.rfk.com
>RFK Partners, Inc.  (508) 893-9779 - RFK Office
>838 Washington Street   (508) 893-9889 - FAX
>Holliston, MA 01746
>
>
>--
>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: Thanks !

2004-07-11 Thread Larry Hall
At 11:32 AM 7/10/2004, you wrote:

>I wanted to thank you for cygwin. In particular I've updagraded setup.exe
>  today and you can now change its size, which makes it even better. Thanks
>  once again,


I'll second that.  Though the change has been in a while, it's one I've
come to appreciate as a user and as a frequent reader of this list.  
Since this was one of the most regularly requested features, its addition
has had the additional benefit of reducing email list volume.  Thanks!


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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem while copying .EXE files

2004-07-11 Thread Larry Hall
At 02:42 PM 7/10/2004, you wrote:
>When copying an EXE file there is no problem when the target does not exist
>but it fails for me when the target is present leaving a directory in place
>of the desired file.
>
>Below is the sequence of commands to reproduce this.
>
>[EMAIL PROTECTED] ~
>$ mkdir exetest
>
>[EMAIL PROTECTED] ~
>$ cd exetest
>
>[EMAIL PROTECTED] ~/exetest
>$ cp /bin/ls.exe fred.exe
>
>[EMAIL PROTECTED] ~/exetest
>$ ls -l
>total 48
>-rwxrwxrwx1 Administ None71680 Jul 10 19:31 fred.exe
>
>[EMAIL PROTECTED] ~/exetest
>$ cp /bin/ls.exe fred.exe
>cp: writing `fred.exe': Invalid request code
>
>[EMAIL PROTECTED] ~/exetest
>$ ls -l
>total 0
>drwxrwxrwx+   2 Administ None0 Jul 10 19:31 fred.exe
>
>This is on a fully up to date cygwin installation.
>
>cygcheck.out attached.

WFM.  Did you need to reboot after the last update?  Did you?


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


--
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 run debugger?

2004-07-11 Thread Chris Taylor


On Sun, July 11, 2004 6:36 pm, Richard Heintze said:
> Ah hah! Write a short program called test.c and gcc -g
> test.c -o test.exe and ddd test.exe and then I see
> 
> Error: can't open display:

This one's easy. It's almost certainly looking for a running X server, of which there 
almost certainly isn't one.
I suggest you install the X.org packages, and then start XWin.exe .. (It's worth 
reading the documentation to decide how you want to start it, but I found that 
XWin.exe -multiwindow -emulate3buttons was useful (I use emu3buttons because the 
laptop I use it on only has 2 :( )

> 
> 
> Why does this not work?
> 
> 
> So I download the insight debugger and tried
> /cygdrive/c/dev/insight/bin/gdb.exe test.exe
> 
> 
> This gives the error
> stat "/cygdrive/c/tmp/test.c" no such file or directory while executing
> 
> Well that is not true, the file is there! I tried
> chmod 777 test.c but that did not help. The debugger works, it just cannot
> load test.c for some reason!

Just ensure that is the correct path to the file? I would be surprised if it was 
/cygdrive/c/tmp ... More likely is /cygdrive/c/cygwin/tmp/test.c .
Does that work?

Chris

-- 
Your mode of life will be changed to EBCDIC.


-- 
Dammit Jim, I'm a doctor, not a computer engineer!


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Problem while copying .EXE files

2004-07-11 Thread Mike Lerwill
> -Original Message-
> From: Larry Hall
> Sent: 11 July 2004 20:29
> To: Mike Lerwill;
> Subject: Re: Problem while copying .EXE files
>
>
>
> WFM.  Did you need to reboot after the last update?  Did you?



Apologies for not mentioning this with the original post, but this is not
something that just started happening but has been happening since moving
from 1.5.9 to 1.5.10, it happens while re-building a gcc cross compiler and
I have only just got round to tracking it down.



--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread Chris Taylor

On Sun, July 11, 2004 10:22 pm, LDR said:
> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> 
> 
>> *PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw
>> E-mail Addresses In Your Replies.
>> 
> 
>> .
>> 
> 
> - What mailers (mail clients?) do support this auto-editing
> function? - Does Mozilla?
> 
> 
> Lee
> 

Well, if you're using outlook/outlook express, there's a program called 
Outlook-quotefix or OE-quotefix, depending on which you're using. They latch into 
outlook/oe to provide this functionality.
Don't know if thunderbird or moz mail do it or not.

Chris

-- 
BOFH excuse #141: disks spinning backwards - toggle the hemisphere jumper.


--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread Robert Pendell
I don't think that Mozilla Thunderbird supports this.  Gmail doesn't
either as someone mentioned this but I am trying to get them to add
this kind of functionality.

On Sun, 11 Jul 2004 23:11:11 +0100 (BST), Chris Taylor wrote:
> 
> On Sun, July 11, 2004 10:22 pm, LDR said:
> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> >
> >
> >> *PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw
> >> E-mail Addresses In Your Replies.
> >>
> >
> >> .
> >>
> >
> > - What mailers (mail clients?) do support this auto-editing
> > function? - Does Mozilla?
> >
> >
> > Lee
> >
> 
> Well, if you're using outlook/outlook express, there's a program called 
> Outlook-quotefix or OE-quotefix, depending on which you're using. They latch into 
> outlook/oe to provide this functionality.
> Don't know if thunderbird or moz mail do it or not.
> 
> Chris
> 
> --
> BOFH excuse #141: disks spinning backwards - toggle the hemisphere jumper.
> 
> 
> 
> 
> --
> 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/
> 
> 


-- 
Robert Pendell
[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: Where is libxml2.dll?

2004-07-11 Thread Larry Hall
At 02:18 PM 7/11/2004, you wrote:
>Problem fixed! I had to put c:\cygwin\usr\local\bin in
>my system path. 


OK.


>I did not realize that c:\cygwin\bin
>(which was already in my path) was different than
>c:\cygwin\usr\bin.


It's not really.  Cygwin mounts /bin as /usr/bin.  See
the output of 'mount' for clarification.

I'm not sure that I see the significance of this
realization as part of the solution to your problem
though.


>Why are there two bin directories?


See above.


>Siegfried
>
>
>--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> On Sat, 10 Jul 2004, Richard Heintze wrote:
>> 
>> > See below:
>> >
>> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> > > Siegfried,
>> > >
>> > > .
>> > > Thanks.
>> >
>> > I'm not sure how to do that so I did it by hand.
>> Good
>> > point.
>> 
>> That's about the only way to do this from a Yahoo
>> Mail interface...
>> Thanks for the effort.
>> 
>> > > It does sound like you do need to put
>> "C:\cygwin\bin" in your Windows
>> > > PATH, and make sure it gets propagated to Emacs.
>>  Alternatively, you
>> > > could try to get Emacs to run "bash -l" as its
>> shell (don't ask me
>> > > how, I don't use Emacs).
>> > >   Igor
>> >
>> > I just checked and C:\cygwin\bin is already in the
>> > path. Any other ideas?
>> >   Thanks,
>> >  Sieg
>> 
>> Well, according to the output of cygcheck, you have
>> two nd.exe's, and
>> c:\util\nd.exe doesn't seem to be the same as
>> c:\cygwin\usr\local\bin\nd.exe...  The one in
>> c:\cygwin\usr\local\bin
>> seems to have correct DLL dependencies, so that's
>> the one you should use.
>> 
>> Judging from the fact that emacs couldn't find
>> /usr/local/bin/nd.exe, I'd
>> say you need to have c:\cygwin\usr\local\bin in your
>> PATH within emacs,
>> too.
>> 
>> Or, as I suggested earlier, you could instruct emacs
>> to start bash with a
>> --login (-l) flag.  Someone fluent in emacs can
>> probably help you with it
>> better than I.
>>   Igor
>> 
>> > > On Fri, 9 Jul 2004, Richard Heintze wrote:
>> > >
>> > > > Igor,
>> > > >  That is a handy command! here is the results
>> (from the emacs
>> > > > compile command:
>> > > >
>> > > > cd c:/busines/
>> > > > cygcheck nd.exe
>> > > > Found: c:\util\nd.exe
>> > > >
>> > > > c:/util/nd.exe
>> > > >   C:\cygwin\bin\cygwin1.dll
>> > > > C:\WINDOWS\system32\ADVAPI32.DLL
>> > > >   C:\WINDOWS\system32\KERNEL32.dll
>> > > > C:\WINDOWS\system32\ntdll.dll
>> > > >   C:\WINDOWS\system32\RPCRT4.dll
>> > > > Error: could not find libxml2.dll
>> > > >
>> > > > Here is the same command from the bash command
>> window:
>> > > > [EMAIL PROTECTED] ~ $ cygcheck nd
>> > > > Found: C:\cygwin\usr\local\bin\nd.exe
>> > > > Found: c:\util\nd.exe
>> > > > C:/cygwin/usr/local/bin/nd.exe
>> > > >   C:\cygwin\bin\cygwin1.dll
>> > > > C:\WINDOWS\system32\ADVAPI32.DLL
>> > > >   C:\WINDOWS\system32\KERNEL32.dll
>> > > > C:\WINDOWS\system32\ntdll.dll
>> > > >   C:\WINDOWS\system32\RPCRT4.dll
>> > > >   C:\cygwin\bin\cygxml2-2.dll
>> > > > C:\cygwin\bin\cygz.dll
>> > > > C:\cygwin\bin\cygiconv-2.dll
>> > > >
>> > > > When I removed nd.exe from c:\util the bash
>> shell
>> > > > running under emacs could not find nd.exe.
>> > > >
>> > > > Anybody know why?
>> > > > Anybody know how to fix this?
>> > > >
>> > > >   Thanks,
>> > > >
>> > > >  Siegfried
>> > > >
>> > > > --- Igor Pechtchanski <[EMAIL PROTECTED]>
>> wrote:
>> > > > > On Fri, 9 Jul 2004, Richard Heintze wrote:
>> > > > >
>> > > > > > I am running Windows 2003 server with on
>> which I have installed
>> > > > > > cygwin within the last month.
>> > > > > >
>> > > > > > I found a terrific little utility (webdav
>> client) at
>> > > > > > http://www.gohome.org/nd/ which I
>> downloaded and compiled (with
>> > > > > > gcc) with cygwin. At the bash command
>> prompt, it appears to
>> > > > > > work.
>> > > > > >
>> > > > > > However, it is intended to be run from
>> emacs. When I create a
>> > > > > > shell with emacs, it starts up a bash
>> shell as a sub process and
>> > > > > > I get the error: "this application has
>> failed to start because
>> > > > > > libxml2.dll was not found. Re-installing
>> the application my fix
>> > > > > > this problem.". Well there is no
>> libxml2.dll on my system but
>> > > > > > the command works from the bash command
>> prompt! HOw could this
>> > > > > > be?
>> > > > > >
>> > > > > > I notice there are libxml2.dll.a and
>> libxml2.a and libxml2.la in
>> > > > > > my /usr/lib directory! This must be the
>> one! Why cannot the bash
>> > > > > > shell find it when run under emacs? Do I
>> need to put
>> > > > > > c:\cygwin\lib in my PATH environment
>> variable?
>> > > > > >
>> > > > > >   Thanks,
>> > > > > >   Siegfried
>> > > > >
>> > > > > Siegfried,
>> > > > >
>> > > > > You don't need c:\cygwin\lib in your path,
>> but you do need
>> > > > > c:\cygwin\bin there if you intend to run
>> Cygwin applications from

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-11 Thread Christopher Faylor
On Sat, Jul 10, 2004 at 09:54:05AM -0500, Eduardo Chappa wrote:
>That was CGF himself, he volunteered to not to volunteer. He brought this
>topic onto himself.

This statement is disingenuous.  For shame.

--
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: cygwin1.dll

2004-07-11 Thread Christopher Faylor
On Fri, Jul 09, 2004 at 09:49:46PM -0500, Joshua Halls wrote:
>Yes it is open source (not GPL but the source code is freely available for
>no fee of any kind, it is DIKU derived).  
>
>The whole point of releasing this is for people who would never download or
>touch cygwin (or code for that matter) to simply run on their machines for
>building/testing purposes.  Anyway, thanks for the information.

The GPL doesn't really care why you are releasing the software.  If you
provide the cygwin*-src.tar.bz2 archive you should be fine.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Problem while copying .EXE files

2004-07-11 Thread Larry Hall
At 04:20 PM 7/11/2004, you wrote:
>> -Original Message-
>> From: Larry Hall
>> Sent: 11 July 2004 20:29
>> To: Mike Lerwill;
>> Subject: Re: Problem while copying .EXE files
>>
>>
>>
>> WFM.  Did you need to reboot after the last update?  Did you?
>
>
>
>Apologies for not mentioning this with the original post, but this is not
>something that just started happening but has been happening since moving
>from 1.5.9 to 1.5.10, it happens while re-building a gcc cross compiler and
>I have only just got round to tracking it down.



OK.  I've seen similar peculiarities after installing but then not rebooting
when required (I know, shame on me ;-) ).  

Hm, I don't have lots of great ideas for you to help resolve this problem 
you're seeing.  Not that I expect this to show anything useful but you could
see if the permissions returned by getfacl look suspect.  strace on the 
offending instance might help too.  Otherwise, I can only suggest building 
the DLL and trying to debug through it.  Sorry I don't have any better/
quicker ideas for you.
  

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


--
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: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-11 Thread GARY VANSICKLE
> On Sat, Jul 10, 2004 at 09:54:05AM -0500, Eduardo Chappa wrote:
> >That was CGF himself, he volunteered to not to volunteer. He brought 
> >this topic onto himself.
> 
> This statement is disingenuous.  For shame.
> 

Perhaps, perhaps not.  I'm still waiting for somebody, other than you
Chris[1], to tell me who asked you to do anything about anything discussed
here (prior to the replied-to post; I see there was a "deal" subsequently
proposed that did in fact ask for some tit-for-tat action).

[1] This exception is of course an attempt to help prevent this message from
being misinterpreted as a demand for you to do anything.  It is not, and is
not to be misconstrued as such.  Nor, in fact, is it to be construed as a
demand for anybody else to do anything either.  One would hope this would be
clear from the complete lack of demands or implications of demands contained
herin, but when in Rome

Oh, and BTW, whatever anybody wants to convince themselves of, if you're
pointing folks to Google to get info out of your archives (which contain
their own seach feature), your archives are broken.  DISCLAIMER: That was
the Royal "Your", not to be construed as "Chris' archives" etc.

Remember, denial is stage one.

-- 
Gary R. Van Sickle
 


--
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: Source Code for cygwin1.dll

2004-07-11 Thread Larry Hall
At 05:04 PM 7/11/2004, you wrote
>On Sat, Jul 10, 2004 at 12:10:59AM -0400, Larry Hall wrote:
>>At 10:58 PM 7/9/2004, you wrote:
>>>Is it just the cygwin-1.5.10-3.tar.bz2 file or do I need anything else?  I
>>>remember hearing it is about 1.2MB in size so this sounds right.  Thanks
>>
>>That's the tarball you want.  Oh, and see 
>>for specifics on the licensing.
>
>Actually, you need the cygwin-1.5.10-3-src.tar.bz2 tar ball.
>  


Yikes!  I guess I'm seeing what I want in some of these messages.
Thanks for the catch Chris.


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


--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread GARY VANSICKLE
> On Sun, July 11, 2004 10:22 pm, LDR said:
> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >> *PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw 
> >> E-mail Addresses In Your Replies.
> >> 
> > 
> >> .
> >> 
> > 
> > - What mailers (mail clients?) do support this auto-editing 
> function? 
> > - Does Mozilla?
> > 
> > 
> > Lee
> > 
> 
> Well, if you're using outlook/outlook express, there's a 
> program called Outlook-quotefix or OE-quotefix, depending on 
> which you're using. They latch into outlook/oe to provide 
> this functionality.

Are you sure this is true?  I downloaded it and can't get it to provide that
functionality.  Am I missing some checkbox somewhere?

-- 
Gary R. Van Sickle
 


--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread GARY VANSICKLE
cygwin-ownerXXXYOU_KNOW_THE_REST wrote on Sunday, July 11, 2004 7:54 PM:


>> On Sun, July 11, 2004 10:22 pm, LDR said:
>>> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>>> 
>>> 
 *PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw
 E-mail Addresses In Your Replies.
 
>>> 
 .
 
>>> 
>>> - What mailers (mail clients?) do support this auto-editing
>>> function? 
>>> - Does Mozilla?
>>> 
>>> 
>>> Lee
>>> 
>> 
>> Well, if you're using outlook/outlook express, there's a program
>> called Outlook-quotefix or OE-quotefix, depending on which you're
>> using. They latch into outlook/oe to provide this functionality.
> 
> Are you sure this is true?  I downloaded it and can't get it
> to provide that functionality.  Am I missing some checkbox somewhere?
> 
> --
> Gary R. Van Sickle

Ok, it can be configured to do what's mentioned in the acronym dealy, but it
will always say something like:

"Cygwin Owner wrote on Wednesday, Smarch 25"

So I guess it can't hurt, but

-- 
Gary R. Van Sickle


--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread Larry Hall
Lots of email clients do this automatically.  Personally, I know that 
Thunderbird supports it.  I believe Mozilla Mail does as well, though 
neither of these have this option configurable in the default GUI (get the
"Preferential" extension).  Eudora allows you to do this too.  Though
it will quote the email address if the name of the person isn't 
available. :-(  The only solution I've found for this is to always 
use something generic like "you".  There are plenty of email clients
out there that will do this automatically for you though.

Larry


At 06:17 PM 7/11/2004, you wrote:
>I don't think that Mozilla Thunderbird supports this.  Gmail doesn't
>either as someone mentioned this but I am trying to get them to add
>this kind of functionality.
>
>On Sun, 11 Jul 2004 23:11:11 +0100 (BST), Chris Taylor wrote:
>> 
>> On Sun, July 11, 2004 10:22 pm, LDR said:
>> > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> >> *PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw
>> >> E-mail Addresses In Your Replies.
>> >>
>> >
>> >> .
>> >>
>> >
>> > - What mailers (mail clients?) do support this auto-editing
>> > function? - Does Mozilla?
>> >
>> >
>> > Lee
>> >
>> 
>> Well, if you're using outlook/outlook express, there's a program called 
>> Outlook-quotefix or OE-quotefix, depending on which you're using. They latch into 
>> outlook/oe to provide this functionality.
>> Don't know if thunderbird or moz mail do it or not.
>> 
>> Chris
>> 
>> --
>> BOFH excuse #141: disks spinning backwards - toggle the hemisphere jumper.
>> 
>> 
>> 
>> 
>> --
>> 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/
>> 
>> 
>
>
>-- 
>Robert Pendell
>[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/ 


--
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: Extending long threads

2004-07-11 Thread GARY VANSICKLE
> GARY VANSICKLE wrote:
>> There's three reasons people knee-jerk against HTML email:
>> 
>> 1.  It isn't ASCII (i.e. the "Back in my day a child would open up a
>> gift and within seconds he'd either burst into flames or lose a limb!
>> That's the way it was and we liked it!"[1] Defense).
>> 2a.  There isn't an email program alive which can do a "Reply" to an
>> HTML email properly.
> I'm using one right now...
> 
> Mozilla (Thunderbird) handles replying to HTML email just fine.
> 

Yep, it does the best job last I checked.

>> 2b. ...especially those which support VT-100 terminals.
>> 3.  The lines are longer than 80 characters ;-).
>> 
>> I fall under category 2a, but my knee isn't jerking: If Outlook
>> didn't absolutely s*ck *ss at "editing" HTML I wouldn't care.
> You can't blame everything on your choice to use Outlook.

I don't blame anything on my choice to use Outlook.

-- 
Gary R. Van Sickle


--
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: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-07-11 Thread Larry Hall
At 08:47 PM 7/11/2004, you wrote:
>> On Sat, Jul 10, 2004 at 09:54:05AM -0500, Eduardo Chappa wrote:
>> >That was CGF himself, he volunteered to not to volunteer. He brought 
>> >this topic onto himself.
>> 
>> This statement is disingenuous.  For shame.
>> 
>
>Perhaps, perhaps not.  I'm still waiting for somebody, other than you
>Chris[1], to tell me who asked you to do anything about anything discussed
>here (prior to the replied-to post; I see there was a "deal" subsequently
>proposed that did in fact ask for some tit-for-tat action).
>
>[1] This exception is of course an attempt to help prevent this message from
>being misinterpreted as a demand for you to do anything.  It is not, and is
>not to be misconstrued as such.  Nor, in fact, is it to be construed as a
>demand for anybody else to do anything either.  One would hope this would be
>clear from the complete lack of demands or implications of demands contained
>herin, but when in Rome
>
>Oh, and BTW, whatever anybody wants to convince themselves of, if you're
>pointing folks to Google to get info out of your archives (which contain
>their own seach feature), your archives are broken.  DISCLAIMER: That was
>the Royal "Your", not to be construed as "Chris' archives" etc.
>
>Remember, denial is stage one.


I'm not sure what you're looking to get from someone responding to your
inquiry but from my perspective, based on what you've said, this just 
prolongs a thread that has drifted beyond the scope of the original 
inquiry and no longer serves a constructive purpose.  If you can succinctly
point to one, then perhaps it's still worthwhile to continue this thread.
Otherwise, let's just let it die and move on.  I think all relevant points
have been made already. 



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


--
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: processor at 100%

2004-07-11 Thread Larry Hall


At 02:38 PM 7/11/2004, you wrote:
>you are correct it is Cygrunsrv (woops shouldve looked while typing mail) I use the 
>task manager to end the processes. I dont restart the services and I can ssh from a 
>remote computer like if was running but does not show up in the task manager. I think 
>it might be related to me installing everything. This is my test pc and I installed 
>everything till I figured out the basics of what I needed is there a way to uninstall 
>and reinstall . I have tried using setup.exe but It doesnt take it off.


OK, you should visit, read, and follow 
then.  What you're describing doesn't make much sense so we'll need more 
details to figure out what's going wrong on your end.


>Igor Pechtchanski wrote:
>
>>On Sun, 11 Jul 2004, Shawn Henderson wrote:
>>
>>>when I reboot my pc my processor is at 100% the task manager reveals
>>>that cygserv and the sshd is the culprit.
>>
>>There is no such program as "cygserv".  I presume you mean "cygrunsrv".
>>Also, which of the two processes consumes 100% of the CPU?  Or do they
>>each consume 50% (or some other numbers that add up to 100%)?
>>
>>>After ending the processes this drops the processor back to its normal
>>>levels.
>>
>>How do you end the processes?  If you used "kill", did you try to simply
>>stop the service (via "cygrunsrv -E sshd" or "net stop sshd") instead?
>>
>>>What is strange is that I can still use these processes afterwords like
>>>normal but it does not max out the processor until the next time I
>>>reboot.
>>
>>Huh?  Do you mean you can restart the service afterwards?
>>
>>>I have a xp antholon 2700 with 512mb ram. what is going on? any ideas on
>>>how to stop this activity.
>>>
>>>Thanks
>>
>>Well, you could attach to the process consuming the most CPU with strace
>>(for a bit) and see what that shows...  It doesn't look like this is
>>something others can reproduce, so you'll have to do a bit of debugging on
>>your system.
>>FWIW, as a workaround, you can change the startup type of the sshd service
>>to "manual", and start it yourself (with "cygrunsrv -S sshd" or "net start
>>sshd") whenever you need it.
>>HTH,
>>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/

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


--
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 is libxml2.dll?

2004-07-11 Thread Richard Heintze
What I meant to say was:

What is the difference between /usr/local/bin and
/usr/bin? Why are there two directories? It probably
has something to do with unix compatibility.

  Thanks,
 Siegfried

--- Larry Hall <[EMAIL PROTECTED]> wrote:
> At 02:18 PM 7/11/2004, you wrote:
> >Problem fixed! I had to put c:\cygwin\usr\local\bin
> in
> >my system path. 
> 
> 
> OK.
> 
> 
> >I did not realize that c:\cygwin\bin
> >(which was already in my path) was different than
> >c:\cygwin\usr\bin.
> 
> 
> It's not really.  Cygwin mounts /bin as /usr/bin. 
> See
> the output of 'mount' for clarification.
> 
> I'm not sure that I see the significance of this
> realization as part of the solution to your problem
> though.
> 
> 
> >Why are there two bin directories?
> 
> 
> See above.
> 
> 
> >Siegfried
> >
> >
> >--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> >> On Sat, 10 Jul 2004, Richard Heintze wrote:
> >> 
> >> > See below:
> >> >
> >> > --- Igor Pechtchanski <[EMAIL PROTECTED]>
> wrote:
> >> > > Siegfried,
> >> > >
> >> > > .
> >> > > Thanks.
> >> >
> >> > I'm not sure how to do that so I did it by
> hand.
> >> Good
> >> > point.
> >> 
> >> That's about the only way to do this from a Yahoo
> >> Mail interface...
> >> Thanks for the effort.
> >> 
> >> > > It does sound like you do need to put
> >> "C:\cygwin\bin" in your Windows
> >> > > PATH, and make sure it gets propagated to
> Emacs.
> >>  Alternatively, you
> >> > > could try to get Emacs to run "bash -l" as
> its
> >> shell (don't ask me
> >> > > how, I don't use Emacs).
> >> > >   Igor
> >> >
> >> > I just checked and C:\cygwin\bin is already in
> the
> >> > path. Any other ideas?
> >> >   Thanks,
> >> >  Sieg
> >> 
> >> Well, according to the output of cygcheck, you
> have
> >> two nd.exe's, and
> >> c:\util\nd.exe doesn't seem to be the same as
> >> c:\cygwin\usr\local\bin\nd.exe...  The one in
> >> c:\cygwin\usr\local\bin
> >> seems to have correct DLL dependencies, so that's
> >> the one you should use.
> >> 
> >> Judging from the fact that emacs couldn't find
> >> /usr/local/bin/nd.exe, I'd
> >> say you need to have c:\cygwin\usr\local\bin in
> your
> >> PATH within emacs,
> >> too.
> >> 
> >> Or, as I suggested earlier, you could instruct
> emacs
> >> to start bash with a
> >> --login (-l) flag.  Someone fluent in emacs can
> >> probably help you with it
> >> better than I.
> >>   Igor
> >> 
> >> > > On Fri, 9 Jul 2004, Richard Heintze wrote:
> >> > >
> >> > > > Igor,
> >> > > >  That is a handy command! here is the
> results
> >> (from the emacs
> >> > > > compile command:
> >> > > >
> >> > > > cd c:/busines/
> >> > > > cygcheck nd.exe
> >> > > > Found: c:\util\nd.exe
> >> > > >
> >> > > > c:/util/nd.exe
> >> > > >   C:\cygwin\bin\cygwin1.dll
> >> > > > C:\WINDOWS\system32\ADVAPI32.DLL
> >> > > >   C:\WINDOWS\system32\KERNEL32.dll
> >> > > > C:\WINDOWS\system32\ntdll.dll
> >> > > >   C:\WINDOWS\system32\RPCRT4.dll
> >> > > > Error: could not find libxml2.dll
> >> > > >
> >> > > > Here is the same command from the bash
> command
> >> window:
> >> > > > [EMAIL PROTECTED] ~ $ cygcheck nd
> >> > > > Found: C:\cygwin\usr\local\bin\nd.exe
> >> > > > Found: c:\util\nd.exe
> >> > > > C:/cygwin/usr/local/bin/nd.exe
> >> > > >   C:\cygwin\bin\cygwin1.dll
> >> > > > C:\WINDOWS\system32\ADVAPI32.DLL
> >> > > >   C:\WINDOWS\system32\KERNEL32.dll
> >> > > > C:\WINDOWS\system32\ntdll.dll
> >> > > >   C:\WINDOWS\system32\RPCRT4.dll
> >> > > >   C:\cygwin\bin\cygxml2-2.dll
> >> > > > C:\cygwin\bin\cygz.dll
> >> > > > C:\cygwin\bin\cygiconv-2.dll
> >> > > >
> >> > > > When I removed nd.exe from c:\util the bash
> >> shell
> >> > > > running under emacs could not find nd.exe.
> >> > > >
> >> > > > Anybody know why?
> >> > > > Anybody know how to fix this?
> >> > > >
> >> > > >   Thanks,
> >> > > >
> >> > > >  Siegfried
> >> > > >
> >> > > > --- Igor Pechtchanski <[EMAIL PROTECTED]>
> >> wrote:
> >> > > > > On Fri, 9 Jul 2004, Richard Heintze
> wrote:
> >> > > > >
> >> > > > > > I am running Windows 2003 server with
> on
> >> which I have installed
> >> > > > > > cygwin within the last month.
> >> > > > > >
> >> > > > > > I found a terrific little utility
> (webdav
> >> client) at
> >> > > > > > http://www.gohome.org/nd/ which I
> >> downloaded and compiled (with
> >> > > > > > gcc) with cygwin. At the bash command
> >> prompt, it appears to
> >> > > > > > work.
> >> > > > > >
> >> > > > > > However, it is intended to be run from
> >> emacs. When I create a
> >> > > > > > shell with emacs, it starts up a bash
> >> shell as a sub process and
> >> > > > > > I get the error: "this application has
> >> failed to start because
> >> > > > > > libxml2.dll was not found.
> Re-installing
> >> the application my fix
> >> > > > > > this problem.". Well there is no
> >> libxml2.dll on my system but
> >> > > > > > the command works from the bash command
> >> prompt! HOw could th

Re: Where is libxml2.dll?

2004-07-11 Thread Larry Hall
At 10:04 PM 7/11/2004, you wrote:
>What I meant to say was:
>
>What is the difference between /usr/local/bin and
>/usr/bin? Why are there two directories? It probably
>has something to do with unix compatibility.


/usr/local is reserved for stuff local to a particular machine, 
while /usr is commonly installed software, sometimes even from 
a network source.  But keep in mind that Cygwin doesn't use /usr/local
in it's packages.  On the other hand, 'nd.exe' isn't in any current 
Cygwin package so it's clearly not required to conform to Cygwin 
packaging guidelines.  As such though, discussion of it's 
packaging or really any sort of problems with it is off-topic for
this list.  But I hope that answers your basic questions about 
using it from emacs.


>  Thanks,
> Siegfried
>
>--- Larry Hall <[EMAIL PROTECTED]> wrote:
>> At 02:18 PM 7/11/2004, you wrote:
>> >Problem fixed! I had to put c:\cygwin\usr\local\bin
>> in
>> >my system path. 
>> 
>> 
>> OK.
>> 
>> 
>> >I did not realize that c:\cygwin\bin
>> >(which was already in my path) was different than
>> >c:\cygwin\usr\bin.
>> 
>> 
>> It's not really.  Cygwin mounts /bin as /usr/bin. 
>> See
>> the output of 'mount' for clarification.
>> 
>> I'm not sure that I see the significance of this
>> realization as part of the solution to your problem
>> though.
>> 
>> 
>> >Why are there two bin directories?
>> 
>> 
>> See above.
>> 
>> 
>> >Siegfried
>> >
>> >
>> >--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> >> On Sat, 10 Jul 2004, Richard Heintze wrote:
>> >> 
>> >> > See below:
>> >> >
>> >> > --- Igor Pechtchanski <[EMAIL PROTECTED]>
>> wrote:
>> >> > > Siegfried,
>> >> > >
>> >> > > .
>> >> > > Thanks.
>> >> >
>> >> > I'm not sure how to do that so I did it by
>> hand.
>> >> Good
>> >> > point.
>> >> 
>> >> That's about the only way to do this from a Yahoo
>> >> Mail interface...
>> >> Thanks for the effort.
>> >> 
>> >> > > It does sound like you do need to put
>> >> "C:\cygwin\bin" in your Windows
>> >> > > PATH, and make sure it gets propagated to
>> Emacs.
>> >>  Alternatively, you
>> >> > > could try to get Emacs to run "bash -l" as
>> its
>> >> shell (don't ask me
>> >> > > how, I don't use Emacs).
>> >> > >   Igor
>> >> >
>> >> > I just checked and C:\cygwin\bin is already in
>> the
>> >> > path. Any other ideas?
>> >> >   Thanks,
>> >> >  Sieg
>> >> 
>> >> Well, according to the output of cygcheck, you
>> have
>> >> two nd.exe's, and
>> >> c:\util\nd.exe doesn't seem to be the same as
>> >> c:\cygwin\usr\local\bin\nd.exe...  The one in
>> >> c:\cygwin\usr\local\bin
>> >> seems to have correct DLL dependencies, so that's
>> >> the one you should use.
>> >> 
>> >> Judging from the fact that emacs couldn't find
>> >> /usr/local/bin/nd.exe, I'd
>> >> say you need to have c:\cygwin\usr\local\bin in
>> your
>> >> PATH within emacs,
>> >> too.
>> >> 
>> >> Or, as I suggested earlier, you could instruct
>> emacs
>> >> to start bash with a
>> >> --login (-l) flag.  Someone fluent in emacs can
>> >> probably help you with it
>> >> better than I.
>> >>   Igor
>> >> 
>> >> > > On Fri, 9 Jul 2004, Richard Heintze wrote:
>> >> > >
>> >> > > > Igor,
>> >> > > >  That is a handy command! here is the
>> results
>> >> (from the emacs
>> >> > > > compile command:
>> >> > > >
>> >> > > > cd c:/busines/
>> >> > > > cygcheck nd.exe
>> >> > > > Found: c:\util\nd.exe
>> >> > > >
>> >> > > > c:/util/nd.exe
>> >> > > >   C:\cygwin\bin\cygwin1.dll
>> >> > > > C:\WINDOWS\system32\ADVAPI32.DLL
>> >> > > >   C:\WINDOWS\system32\KERNEL32.dll
>> >> > > > C:\WINDOWS\system32\ntdll.dll
>> >> > > >   C:\WINDOWS\system32\RPCRT4.dll
>> >> > > > Error: could not find libxml2.dll
>> >> > > >
>> >> > > > Here is the same command from the bash
>> command
>> >> window:
>> >> > > > [EMAIL PROTECTED] ~ $ cygcheck nd
>> >> > > > Found: C:\cygwin\usr\local\bin\nd.exe
>> >> > > > Found: c:\util\nd.exe
>> >> > > > C:/cygwin/usr/local/bin/nd.exe
>> >> > > >   C:\cygwin\bin\cygwin1.dll
>> >> > > > C:\WINDOWS\system32\ADVAPI32.DLL
>> >> > > >   C:\WINDOWS\system32\KERNEL32.dll
>> >> > > > C:\WINDOWS\system32\ntdll.dll
>> >> > > >   C:\WINDOWS\system32\RPCRT4.dll
>> >> > > >   C:\cygwin\bin\cygxml2-2.dll
>> >> > > > C:\cygwin\bin\cygz.dll
>> >> > > > C:\cygwin\bin\cygiconv-2.dll
>> >> > > >
>> >> > > > When I removed nd.exe from c:\util the bash
>> >> shell
>> >> > > > running under emacs could not find nd.exe.
>> >> > > >
>> >> > > > Anybody know why?
>> >> > > > Anybody know how to fix this?
>> >> > > >
>> >> > > >   Thanks,
>> >> > > >
>> >> > > >  Siegfried
>> >> > > >
>> >> > > > --- Igor Pechtchanski <[EMAIL PROTECTED]>
>> >> wrote:
>> >> > > > > On Fri, 9 Jul 2004, Richard Heintze
>> wrote:
>> >> > > > >
>> >> > > > > > I am running Windows 2003 server with
>> on
>> >> which I have installed
>> >> > > > > > cygwin within the last month.
>> >> > > > > >
>> >> > > > > > I found a terri

Re: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread Arturus Magi
LDR wrote:
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
*PCYMTNQREAIYR* -- Please Configure Your Mailer To Not Quote Raw
 >   E-mail Addresses In Your Replies.
.

- What mailers (mail clients?) do support this auto-editing
  function?
- Does Mozilla?
Mozilla quotes only the name by default, unless the original message had 
only an email address in the From: header.

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


How to run ddd in XWin?

2004-07-11 Thread Siegfried Heintze
OK, I apparently already have that installed. I typed "info XWin" and
learned about the options. Nothing terribly relevant to ddd here -- did I
miss something.

OK, I type XWin& and "ddd test.exe" and same error. Any other ideas?
 Test.exe is compiled with the "-g" option in g77.

I also tried ddd convex.pl and still got the same error. Ddd debugs perl
too, correct?


Thanks,
Siegfried


On Sun, July 11, 2004 6:36 pm, Richard Heintze said:
> Ah hah! Write a short program called test.c and gcc -g
> test.c -o test.exe and ddd test.exe and then I see
> 
> Error: can't open display:

This one's easy. It's almost certainly looking for a running X server, 
of which there almost certainly isn't one.
I suggest you install the X.org packages, and then start XWin.exe .. 
(It's worth reading the documentation to decide how you want to start it, 
but I found that XWin.exe -multiwindow -emulate3buttons was useful (I 
use emu3buttons because the laptop I use it on only has 2 :( )

> 
> 
> Why does this not work?
> 
> 
> So I download the insight debugger and tried
> /cygdrive/c/dev/insight/bin/gdb.exe test.exe
> 
> 
> This gives the error
> stat "/cygdrive/c/tmp/test.c" no such file or directory while 
executing
> 
> Well that is not true, the file is there! I tried
> chmod 777 test.c but that did not help. The debugger works, it just 
cannot
> load test.c for some reason!

Just ensure that is the correct path to the file? I would be surprised 
if it was /cygdrive/c/tmp ... More likely is 
/cygdrive/c/cygwin/tmp/test.c .
Does that work?

Chris

-- 
Your mode of life will be changed to EBCDIC.


-- 
Dammit Jim, I'm a doctor, not a computer engineer!


--
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: PCYMTNQREAIYR Please Configure Your Mailer To Not Quote Raw E-mail Addresses In Your Replies.

2004-07-11 Thread Elvin Peterson
--- Larry Hall wrote:
> Lots of email clients do this automatically. 

This should be done server side, by the mailing list
manager.  If you subscribe to any of the sourceforge
lists, you will know that they do this automatically. 
Much better than requesting each person to do it
everytime (something always gets through and then it
is spam city).




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
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: Building DLL

2004-07-11 Thread boekhold
Hi all,

I've been trying the suggestions mentioned on this list:

1. Create an import library
echo EXPORTS > foo.def
nm foo.exe | grep ' T _' | sed 's/.* T _//' >> foo.def
dlltool --def foo.def --dllname foo.exe --output-lib foo.a

I couldn't get this to work. In the executable I am trying to load the
library using g_module_open (from glib2.0), which fails no matter what I
specify for the library name.

2. use __attribute__ ((__dllexport__)) / __attribute__ ((__dllimport__))

compiled with:
> gcc -shared -o my_dll.dll dll.def dll.c
> gcc -o my_exe.exe exe.c  my_dll.dll

Following the suggestions from Danny Smith, I *do* manage to get this
working. However, I'm a little hazy about how to use this method within 
XFCE.

The above compile command creates a my_dll.dll, and g_module_open
manages to open this library. However, XFCE uses libtool for
compiling/linking, and this creates a 'cygmy_dll.dll' in addition to
libmy_dll.dll.a and libmy_dll.la.

In short, I'm not sure how I can integrate this method with all the
automake/libtool stuff.

Does anybody have an example of how to use this method together with
automake/libtool?

Kind regards,

Maarten


--
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: /proc and /cygdrive insvisible

2004-07-11 Thread Oliver Geisen
Hello,
is there a reason (i bet there is :-) why the /proc and /cygdrive 
directory isn't visible when "ls -l /" ?

Regards,
Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [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/


Is there a /dev directory, or how to use /dev/stderr

2004-07-11 Thread Oliver Geisen
Hello,
i'm missing the /dev directory. Espacially the stdin,stdout,stderr 
nodes to do shell-redirection.
Is this implementation missing or am i to blind to find it ?

Bye,
Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [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: Options for Source Code Control: RCS v. SCCS v. CVS

2004-07-11 Thread Elvin Peterson
--- Robert Collins wrote:
> On Sun, 2004-07-11 at 03:09, Richard Heintze wrote:
> > I need some help understanding how RCS works. I
> typed
> > "info RCS" and felt confused.
> 
> Not surprisingly. RCS doesn't model what any modern
> revision control
> system does.

He should've used "man rcsintro", which would've given
a simple explanation.  

> Really, one doesn't. One chooses between anything
> other than CVS or RCS.
> RCS is not suitable for programming projects, as
> each file is versioned
> separately, the same goes for CVS.

You can always tag the releases for the package.

Most of the "modern" version control systems are so
arcane that almost all the organizations using them
have a dedicated engineer to manage it.  




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



access to event log of windows

2004-07-11 Thread Oliver Geisen
Hello,
is there a way to read/write from/to the event log of windows ?
I think it would be a great thing to have event-logs in a UNIX-style 
underneath /var/log/...
Mayby one can make a interface-file where events are mapped into 
log-files, like Unix does with /etc/syslog.conf.

Or is there already a SYSLOG implementation for cygwin ?
Thanks,
Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [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/