Slashdot: Cygwin in a Production Environment?

2004-08-12 Thread Frédéric L. W. Meunier
I noticed that story on Slashdot -
http://ask.slashdot.org/article.pl?sid=04/08/12/1932246 . May
be of interest for some people (or not).
--
How to contact me - http://www.pervalidus.net/contact.html
--
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: INT32: jmorecfg.h

2004-07-27 Thread Frédéric L. W. Meunier
On Wed, 28 Jul 2004, Charles Wilson wrote:
Unfortunately, the ijg group does not distribute the autoconf 
source for libjpeg's configure script.  It's on my todo list 
to really truly autoconfiscate libjpeg (and libtiff) -- which 
will make things like this easier.  But it's not a very high 
priority.
libtiff moved to Autoconf, Automake, and Libtool in the 3.7.0 
alpha release.

--
How to contact me - http://www.pervalidus.net/contact.html
--
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: higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)

2004-06-27 Thread Frédéric L. W. Meunier
On Sun, 27 Jun 2004, Christopher Faylor wrote:
On Sun, Jun 27, 2004 at 05:29:50PM -0400, Pierre A. Humblet wrote:
Your change makes getc work almost as fast a getc_unlocked.
This is on Win98. Yesterday's results were on WinME, where the
differences were larger. That hard drive died this morning :(
Sorry to hear that.  I've been going through hard disk problems
myself.
Is Cygwin killing hard drives ?
--
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: mailx mail replacement - solution in shell script

2004-05-09 Thread Frédéric L. W. Meunier
On Sun, 9 May 2004, Andrew DeFaria wrote:

> jerzy szczudÅowski wrote:
>
> > Since mailx package is not ported to Cygwin, and from time to time
> > someone miss it, I wrote short shell script that enables straight
> > compatibility with some programs which by default depend on "mail"
> > command (i.e. smartmontools). Since this is really simple script, it is
> > very limited. In example, it emulates only batch mode (actually, you
> > may type form stdin but there are no hints about headers), only few
> > options are avaiable (eascb) and recipient address must come at the end
> > of line (due to getopts shortcomings). But, what is actually important
> > here, you can type: "cat /var/log/syslog | mail root", just like on real
> > unices :)
> >
> > URL:
> > http://jedwab.net.pl/~jerzy/shell/mail.bz2
>
> Have you looked at ssmtp?

His script uses ssmtp. ssmtp isn't a mailx or nail replacement.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Not a Cygwin problem ( Was Re: Midnight Commander screen corruption w/ built-in editor)

2004-05-02 Thread Frédéric L. W. Meunier
On Sun, 2 May 2004, Frédéric L. W. Meunier wrote:

> On Sun, 2 May 2004, Frédéric L. W. Meunier wrote:
>
> > On Sun, 2 May 2004, Errol Smith wrote:
> >
> > > I'm having a problem with mc's editor (4.6.0-4, also tried
> > > mc-4.6.0a-20030721 with same issue). (cygwin 1.5.9-1 on 98se)
> > > If you are editing a file wider than the screen, sometimes
> > > the display becomes corrupted, with odd parts of lines
> > > appearing at the left screen edge and the display seems to
> > > lose left/right alignment with mc's internal idea of where it
> > > is (so if you go to insert a character, it actually gets
> > > inserted several characters up the line from where you
> > > thought).
> >
> > I don't think this is Cygwin specific. I also get it (or
> > something similar) on Linux.
>
> I confirm it also happens on Linux. Since you wrote it doesn't
> for you, I suspect your binary was compiled with the internal
> (the default) or an external S-Lang. The Cygwin binary is
> linked against ncurses, as is my Linux binary from CVS as of
> March 17 (using ncurses 20040417).
>
> I suggest you report it to mc at gnome dot org if you can't
> reproduce it on Linux with a binary compiled with ncurses.
>
> Take in mind that ldd showing libncurses doesn't mean the
> binary is using it. It may be a dependency from libgpm. Use mc
> -V, which here reports "Using the ncurses library".

I recompiled latest CVS (there was only a header change
compared to my last binary) on Linux using
--with-screen=mcslang.

It doesn't happen anymore. So, a suggestion to Pavel Tsekov.
If a fix isn't available, recompile with the above switch.

-- 
http://www.pervalidus.net/contact.html

--
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: Midnight Commander screen corruption w/ built-in editor

2004-05-02 Thread Frédéric L. W. Meunier
On Sun, 2 May 2004, Frédéric L. W. Meunier wrote:

> On Sun, 2 May 2004, Errol Smith wrote:
>
> > I'm having a problem with mc's editor (4.6.0-4, also tried
> > mc-4.6.0a-20030721 with same issue). (cygwin 1.5.9-1 on 98se)
> > If you are editing a file wider than the screen, sometimes
> > the display becomes corrupted, with odd parts of lines
> > appearing at the left screen edge and the display seems to
> > lose left/right alignment with mc's internal idea of where it
> > is (so if you go to insert a character, it actually gets
> > inserted several characters up the line from where you
> > thought).
>
> I don't think this is Cygwin specific. I also get it (or
> something similar) on Linux.

I confirm it also happens on Linux. Since you wrote it doesn't
for you, I suspect your binary was compiled with the internal
(the default) or an external S-Lang. The Cygwin binary is
linked against ncurses, as is my Linux binary from CVS as of
March 17 (using ncurses 20040417).

I suggest you report it to mc at gnome dot org if you can't
reproduce it on Linux with a binary compiled with ncurses.

Take in mind that ldd showing libncurses doesn't mean the
binary is using it. It may be a dependency from libgpm. Use mc
-V, which here reports "Using the ncurses library".

-- 
http://www.pervalidus.net/contact.html

--
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: Midnight Commander screen corruption w/ built-in editor

2004-05-02 Thread Frédéric L. W. Meunier
On Sun, 2 May 2004, Errol Smith wrote:

> I'm having a problem with mc's editor (4.6.0-4, also tried
> mc-4.6.0a-20030721 with same issue). (cygwin 1.5.9-1 on 98se)
> If you are editing a file wider than the screen, sometimes
> the display becomes corrupted, with odd parts of lines
> appearing at the left screen edge and the display seems to
> lose left/right alignment with mc's internal idea of where it
> is (so if you go to insert a character, it actually gets
> inserted several characters up the line from where you
> thought).

I don't think this is Cygwin specific. I also get it (or
something similar) on Linux.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Re: GNU coreutils?

2004-04-29 Thread Frédéric L. W. Meunier
On Thu, 29 Apr 2004, Keith Thompson wrote:

> Cygwin still includes the GNU fileutils (4.1), sh-utils (2.0.11), and
> textutils (2.0) packages.  These were merged some time ago into the new
> coreutils package; the lastest release is 5.2.1.
>
> Note that upgrading would result in some changes in behavior, particularly
> in ls output format and some locale-specific behavior.

http://sources.redhat.com/ml/cygwin-apps/2004-04/msg5.html

-- 
http://www.pervalidus.net/contact.html

--
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 can i link the libiberty.a

2004-04-28 Thread Frédéric L. W. Meunier
On Thu, 29 Apr 2004, [GB2312] 张丽 wrote:

> I use a function I know is in the libiberty.a,but still get a
> link error.how can i link the libiberty.a.Thank you!

What about posting your error ? Maybe it's due to
http://www.cygwin.com/ml/cygwin/2003-09/msg01496.html (no
longer the case for gcc).

-- 
http://www.pervalidus.net/contact.html

--
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: nmap and cygwin

2004-04-17 Thread Frédéric L. W. Meunier
On Sat, 17 Apr 2004, Daniel Houle wrote:

> I'm new to the Cygwin world, in fact, I'm prety new to linux.
>
> I'm trying to nstall nmap on CTGWIN and I always get the following ewrror.
>
> error: Failed dependencies:
> ld-linux.so.2 is needed by nmap-3.50-1
> libc.so.6 is needed by nmap-3.50-1
> libm.so.6 is needed by nmap-3.50-1
> libstdc++-libc6.2-2.so.3 is needed by nmap-3.50-1
> libc.so.6(GLIBC_2.0) is needed by nmap-3.50-1
> libc.so.6(GLIBC_2.1) is needed by nmap-3.50-1
> libc.so.6(GLIBC_2.1.3) is needed by nmap-3.50-1
> libc.so.6(GLIBC_2.2) is needed by nmap-3.50-1
>
> I've seen many posts about difficulties with trying to
> accomplish this. is it realistic to get this to work?

You're trying to run a Linux binary on Cygwin, which obviously
won't work.

Since it hasn't been ported to Cygwin, you can't even compile
it, so get the Windows binary, which runs from a command
prompt.

-- 
http://www.pervalidus.net/contact.html

--
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: lftp 'put' problem

2004-04-16 Thread Frédéric L. W. Meunier
On Fri, 16 Apr 2004, Chris Herborth wrote:

> I've got a consistently repeatable problem with lftp when
> sending data, either with "put" or "mirror -R"; the transfer
> goes extremely slowly, and then lftp dumps core (see
> attached).  This is over a fish protocol connection.

This is a known issue -
http://www.cygwin.com/ml/cygwin-announce/2003-08/msg9.html

-- 
http://www.pervalidus.net/contact.html

--
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: Comparative Performance of C++ Compilers (including gcc cygming special)

2004-04-14 Thread Frédéric L. W. Meunier
On Wed, 14 Apr 2004, Dave Korn wrote:

> > From: cygwin-owner On Behalf Of Frédéric L. W. Meunier
> > Sent: 14 April 2004 07:35
>
> > Anyway, does anybody know if GCC in Cygwin is compiled with
> > --disable-checking ? gcc -v didn't return it, so it doesn't
> > look like. It seems using it causes compilation times to
> > decrease a lot.
>
>
>   --disable-checking is the default.  You only get a checking build of gcc
> if you explicitly specify --enable-checking on the configure command line.
> So cygming gcc should be a non-checking build.

If it's, then configure is misleading.

In 3.4.0 I see "default is no checking"

In 3.3.3 "default is misc,tree,gc,rtlflag"

-- 
http://www.pervalidus.net/contact.html

--
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: Comparative Performance of C++ Compilers (including gcc cygming special)

2004-04-13 Thread Frédéric L. W. Meunier
On Tue, 13 Apr 2004, Hans Horn wrote:

> Are there other benchmarks around that compare gcc3.x, gcc3.x
> (cygwin), etc against the gcc2.9x vintage?

2.95.x has always been much faster for both C and C++ when
compared to 3.x.

At least on Linux, 3.4.0 prerelease was around 10% faster to
compile the 2.6.5-mm2 kernel when compared to 3.3.3:

2.6.5-mm2
-
real 473.96 user 413.13 sys 33.94 (GCC 3.4.0)
real 524.27 user 476.70 sys 40.53
real 372.73 user 336.88 sys 30.90 (GCC 2.95.4)

Anyway, does anybody know if GCC in Cygwin is compiled with
--disable-checking ? gcc -v didn't return it, so it doesn't
look like. It seems using it causes compilation times to
decrease a lot.

-- 
http://www.pervalidus.net/contact.html

--
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: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll

2004-04-03 Thread Frédéric L. W. Meunier
On Fri, 2 Apr 2004, Hans Horn wrote:

> this was something I did try out as well. However, the dll produced with
> "-no-cygwin" was just as "bad" as before.
> Then I recalled faintly reading some discussion a while back, that
> "mingw-gcc != gcc -no-cygwin" (don't remember details, though).

-no-cygwin ? I thought it was -mno-cygwin. Or are both the same
thing ?

-- 
http://www.pervalidus.net/contact.html

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



Re: 1.5.10 release?

2004-03-27 Thread Frédéric L. W. Meunier
On Sun, 28 Mar 2004, Christopher Faylor wrote:

> On Sat, Mar 27, 2004 at 10:18:58PM -0800, Yitzchak Scott-Thoennes wrote:
> >WADR to CGF's hard work, I can tell you even before it is released that
> >1.5.10 has bugs.  So do 1.5.11, 1.5.12, etc.  With a software project of
> >sufficient size, it's a given.  The question is, do the bugs bite *you*?
> >Have you tried 1.5.9?  If you had problems with it, have you tried a
> >snapshot to see if those problems are resolved?
>
> How dare you imply that cygwin has bugs?
>
> I'm sending this email from cygwin right now and I

cygwin1.dll caused a BSOD ? Next time make a screenshot.

-- 
http://www.pervalidus.net/contact.html

--
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: SDL on Cygwin

2004-03-22 Thread Frédéric L. W. Meunier
On Mon, 22 Mar 2004, Yaakov Selkowitz wrote:

> OK, I know we've been through this before, but there's now a new version
> of SDL (1.2.7), with a new development:  it builds OOTB on Cygwin, all I
> had to do was reautotool.
>
> There are problems however:
>
> 1) when building on Cygwin, the default is to call -mno-cygwin.  This of
> course will make it difficult to build other libraries, e.g. SDL_image
> which wants other (cygwin-dependent) libraries like libjpeg, etc.

By "it builds OOTB on Cygwin" I assumed it was without
-mno-cygwin. If you want to use it, you should rebuild all
other libraries with -mno-cygwin.

-mno-cygwin is probably more appropriate for a MinGW
mailing-list.

> 2) by default a /usr/lib/libSDLmain.a is built, and sdl-config spits out
> - -Dmain=SDLmain and -lSDLmain, but this is only a static library.  This
> makes it impossible to build a shared library which is dependent on libSDL.

I see no references to SDLmain on Linux. Actually, it's a dummy
file:

840 Mar 15 16:57 libSDLmain.a

Maybe you get the same compiling with Cygwin
(without -mno-cygwin).

-- 
http://www.pervalidus.net/contact.html

--
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: glib can not be installed(win2000+cygwin)

2004-03-22 Thread Frédéric L. W. Meunier
This is probably off topic here. gtk-list at gnome dot org is a
better place. Anyway, 2.0.7 is very old and you didn't show the
errors (probably a bunch of undefined references everyone get
also with 2.4.0).

See
http://mail.gnome.org/archives/gtk-list/2004-March/msg00152.html
for recent patches.

On Mon, 22 Mar 2004, hhw wrote:

> To install GTK ,I have installed
> pkgconfig-0.15.0,make-3.80,jpeg-6b,libiconv-1.9.1,libng,tiff-3.6.1,fontconfi
> g-2.2.2,freetype-2.1.7.
>
> Now I must install glib,but I can not make it.After make,cygwin show me(all
> >2 versions) :
>
> make[2]: *** [glib-genmarshal.exe] Error 1
> make[2]: Leaving directory `/usr/src/glib-2.0.7/gobject'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/glib-2.0.7'
> make: *** [all] Error 2

-- 
http://www.pervalidus.net/contact.html

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



Re: gcc and -lang-c89

2004-03-20 Thread Frédéric L. W. Meunier
On Sun, 21 Mar 2004 [EMAIL PROTECTED] wrote:

> I have the lastest stable version of cygwin installed and when I try to compile som 
> programs (e.g. gnugo 3.0 (http://www.gnu.org/software/gnugo/gnugo.html)) i get the 
> following error:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../engine-I../utils  -I../interface -g 
> -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align 
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wp,-lang-c89 -c sgfgen.c
> cc1: error: unrecognized option `-lang-c89'
>
> Does anyone know how to fix it?

What about using Google ?
http://mail.gnu.org/archive/html/gnugo-devel/2002-06/msg00035.html

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.9-1

2004-03-20 Thread Frédéric L. W. Meunier
On Sat, 20 Mar 2004, Christopher Faylor wrote:

> On Sat, Mar 20, 2004 at 06:05:23PM -0300, Fr?d?ric L. W. Meunier wrote:
> >On Fri, 19 Mar 2004, Christopher Faylor wrote:
> >
> >$ cygcheck.exe -f /usr/lib/libiberty.a
> >binutils-20040312-1
> >cygwin-1.5.9-1
> >
> >Since you maintain both, what's the consensus ?
>
> That you have too much time on your hands?

Sorry, but I don't get it (sarcasm ?).

Anyway, I have time to report it. Maybe you'll have to "fix" it
once you figure which should be part of Cygwin.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.9-1

2004-03-20 Thread Frédéric L. W. Meunier
On Fri, 19 Mar 2004, Christopher Faylor wrote:

$ cygcheck.exe -f /usr/lib/libiberty.a
binutils-20040312-1
cygwin-1.5.9-1

Since you maintain both, what's the consensus ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: sed-4.0.9-1

2004-03-18 Thread Frédéric L. W. Meunier
I can't see for myself now, but what changed that made the
binary size jump from 90624 to 934424 ?

On Thu, 18 Mar 2004, Corinna Vinschen wrote:

> I've updated the version of sed to 4.0.9-1.
>
> This is the latest stable sed release 4.0.9.
>
> Changes from 4.0.8:
>
>   0 address behaves correctly in single-file (-i and -s) mode.
>
>   documentation improvements.
>
>   tested with many hosts and compilers.
>
>   updated regex matcher from upstream, with many bugfixes and speedups.
>
>   the `N' command's feature that is detailed in the BUGS file was disabled
>   by the a patch in sed 4.0.8.  The behavior has now been restored, and is
>   only enabled if POSIXLY_CORRECT behavior is not requested.

-- 
http://www.pervalidus.net/contact.html

--
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: man rxvt

2004-03-10 Thread Frédéric L. W. Meunier
On Thu, 11 Mar 2004 [EMAIL PROTECTED] wrote:

> All responses to man present properly to screen as far as I
> can tell with the exception of man rxvt which contains a lot
> of explicit code of the style .YODLTAGSTART roffcmd ...
> .YODLTAGEND.

True. The man page is messed up. If the maintainer used CVS, he
needs Yodl to generate it, what also raiser another issue.
Since Yodl isn't part of Cygwin, one can't generate it from the
source package.

BTW, this is just to report that I noticed there are 2 empties
directories in the binary package, namely /usr/include and
/usr/lib, and rxvt-2.7.10.README is installed in
/usr/doc/Cygwin, not /usr/share/doc/Cygwin. The same for the
man page, which should go in /usr/share/man/man1.

And the source package includes autom4te.cache.

-- 
http://www.pervalidus.net/contact.html

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



Re: 1.5.7-1 rollback to gcc 3.2

2004-03-10 Thread Frédéric L. W. Meunier
On Wed, 10 Mar 2004, Brian Mohr wrote:

> I have recently installed Cygwin and am attempting to
> rollback from gcc 3.3.1 to 3.2.x.  A friend of mine was able
> to do this a few days before I tried it.  However, I only see
> gcc 3.3.1 when running setup.exe by either using the "Prev"
> button or by clicking on the version.  Is 3.2.x no longer
> being offered?

Right.

> After reading the mail archive, I found a relevant discussion
> about rolling back to gcc 2.95.  I followed the advice given
> there and searched on google for the appropriate
> gcc-3.2xxx.tar.bz2 file.  Unfortunately, all of the sites I
> found actually directed me to 3.3.1.

The only reports I've seen so far where from people trying to
compile broken code. But follow what others suggested: find an
outdated mirror, install it, and be on your own if there are
any problems.

-- 
http://www.pervalidus.net/contact.html

--
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: LANL MCNP5

2004-03-10 Thread Frédéric L. W. Meunier
Why are you asking it on a Cygwin mailing-list ? You should ask
the author / maintainers of such application.

On Wed, 10 Mar 2004, John Cox wrote:

> What should I download to be able to use the geometry plotting capability of this 
> program?
> Your software is recommended in the MCNP5 documentation?

-- 
http://www.pervalidus.net/contact.html

--
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: what's the software for making slide under cygwin, please?

2004-03-01 Thread Frédéric L. W. Meunier
Yes, the mailing-list software could be changed to obfuscate
them. Is it so hard ?

On Mon, 1 Mar 2004, Randall R Schulz wrote:

> I think it's pretty unreasonable to rely on every individual posting to
> this list to obfuscate email addresses in their submissions. It's
> inherently error prone, will never be done anywhere near thoroughly
> enough and properly is a responsibility of the list software.
>
> IMO, of course.
>
> On Monday 01 March 2004 22:14, Gregory Borota wrote:
> > PLEASE, configure your email client not to show email addresses in
> > reply!!! (or if you can't take this off list)

-- 
http://www.pervalidus.net/contact.html

--
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: 'less' can not find dll

2004-02-27 Thread Frédéric L. W. Meunier
On Fri, 27 Feb 2004, Christopher Faylor wrote:

> On Fri, Feb 27, 2004 at 02:55:16PM -0800, Brian Dessent wrote:
> >As far as setup.exe is concerned, it should have installed this package
> >for you.  The setup.hint for the 'less' package includes the line:
> >
> >requires: cygwin termcap libpcre0
> >
> >Which means that if you select 'less' then setup.exe should also select
> >'libpcre0' and 'termcap', unless you override it.  Can someone verify
> >that this works, please?
>
> I verified (to myself) that it works the first few times someone reported
> this problem.

But since it has been reported a month ago by another person,
it looks like something is wrong -
http://sources.redhat.com/ml/cygwin/2004-01/msg00096.html , no
?

-- 
http://www.pervalidus.net/contact.html

--
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: 'less' can not find dll

2004-02-27 Thread Frédéric L. W. Meunier
On Fri, 27 Feb 2004, MEA-MikeFriedrichs wrote:

> When I searched for 'cygpcre-0.dll' at  http://cygwin.com/packages : the
> following is my results.
>
> Found 2 matches for cygpcre-0.dll.
> 1364d60.jpg
> libpcre0/libpcre0-4.4-2
> Perl-Compatible Regular Expressions library
> 1364d70.jpg
> libpcre0/libpcre0-4.5-1
> Perl-Compatible Regular Expressions library
>
> I know how to use setup, but don't know which package to select, for setup
> to install cygpcre-0.dll.

Come on people, it isn't Mike's fault. If he used setup and it
doesn't install the right dependency (libpcre0) listed for
less, then something is wrong.

Or is the right dependency libpcre and not libpcre0 ?

I can't test now (am not on Windows), and never installed less.

-- 
http://www.pervalidus.net/contact.html

--
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: Good news for Cygwin ? Re: [smartmontools-devel]Windows port

2004-02-26 Thread Frédéric L. W. Meunier
smartmontools now has support for Cygwin in CVS. There's a full
package I made for 1.5.7 (just missed a postinstall script for
/etc/smartd.conf - will be in 5.30) that can be installed
through setup.exe.

And a smartctl binary compiled with -mno-cygwin.

More information is available at
http://smartmontools.sourceforge.net/

All thanks go to Christian Franke, who ported it (to MSVC, but
changes to Cygwin were almost cosmetic).

-- 
http://www.pervalidus.net/contact.html

--
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: Good news for cygwin ? Re: [smartmontools-devel]Windows port

2004-02-26 Thread Frédéric L. W. Meunier
On Thu, 26 Feb 2004, Christopher Faylor wrote:

> On Thu, Feb 26, 2004 at 08:09:54PM -0300, Fr?d?ric L. W. Meunier wrote:
> >smartmontools now has support for Cygwin in CVS. There's a full
> >package I made for 1.5.7 (just missed a postinstall script for
> >/etc/smartd.conf - will be in 5.30) that can be installed
> >through setup.exe.
> >
> >And a smartctl binary compiled with -mno-cygwin.
>
> ...which would make it not particularly good news for cygwin...

Correct, but I consider it good news if you have Cygwin, don't
have MinGW, can't afford MSVC, and also want to make a native
Windows binary.

> -mno-cygwin means "no cygwin" which means that cygwin is not
> involved in this port at all.  You used cygwin's compiler to
> build it but you cut cygwin out of the equation by specifying
> -mno-cygwin, making it essentially a native windows port like
> you'd get if you used MSVC.

Yes, but that was only to provide a smartctl binary for non
Cygwin users. smartd hasn't yet been ported by Christian
because -mno-cygwin and MSVC lack at least syslog.h, but it
works with Cygwin.

I think the only problems are those listed at
http://smartmontools.sourceforge.net/ , and:

1- According to Christian, it seems you can't monitor 2 or more
hard drives at the same time.

I can only test on XP Professional with a single ATA drive.

2- smartd logs everything in Event Viewer.

3- Because Cygwin doesn't have mailx or nail, the e-mail
facility doesn't work. Bruce said that a script using -M may
make it work. Will see.

May I ask why /bin/mail isn't in Cygwin ? Nobody volunteered ?
http://www.cygwin.com/ml/cygwin/2003-07/msg00460.html doesn't
help.

But the good news is the initial Cygwin port. I had tried 7
other Windows S.M.A.R.T. tools and suites (free and
commercial), and IMO none were that good or actively developed
/ maintained.

-- 
http://www.pervalidus.net/contact.html

--
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: Good news for cygwin ? Re: [smartmontools-devel]Windows port

2004-02-26 Thread Frédéric L. W. Meunier
On Thu, 26 Feb 2004, Christopher Faylor wrote:

> On Thu, Feb 26, 2004 at 09:44:20PM -0300, Fr?d?ric L. W. Meunier wrote:
> >On Thu, 26 Feb 2004, Christopher Faylor wrote:
> >>On Thu, Feb 26, 2004 at 08:09:54PM -0300, Fr?d?ric L. W. Meunier wrote:
> >>>smartmontools now has support for Cygwin in CVS. There's a full
> >>>package I made for 1.5.7 (just missed a postinstall script for
> >>>/etc/smartd.conf - will be in 5.30) that can be installed
> >>>through setup.exe.
> >>>
> >>>And a smartctl binary compiled with -mno-cygwin.
> >>
> >>...which would make it not particularly good news for cygwin...
> >
> >Correct, but I consider it good news if you have Cygwin, don't
> >have MinGW, can't afford MSVC, and also want to make a native
> >Windows binary.
>
> "Don't have MinGW" doesn't make much sense.  If you are careful you
> don't need anything specific to MinGW to run binaries compiled with it.

I meant to compile, not run, so you don't need to install MinGW
from http://www.mingw.org/ , just Cygwin and any required
packages to use -mno-cygwin.

Not all people are going to install both to make a native
Windows binary that doesn't depend on cygwin1.dll, so it's nice
that Cygwin provides it.

> >>-mno-cygwin means "no cygwin" which means that cygwin is not involved
> >>in this port at all.  You used cygwin's compiler to build it but you
> >>cut cygwin out of the equation by specifying -mno-cygwin, making it
> >>essentially a native windows port like you'd get if you used MSVC.
> >
> >Yes, but that was only to provide a smartctl binary for non Cygwin
> >users.  smartd hasn't yet been ported by Christian because -mno-cygwin
> >and MSVC lack at least syslog.h, but it works with Cygwin.
>
> So you're talking about mixing binaries compiled with and without
> cygwin.  Hmm.

Where did I wrote that ? The -mno-cygwin smartctl is only
available because not all users are going to install Cygwin.
The Cygwin binaries (smartctl and smartd) compiled without
-mno-cygwin are in a separate package.

So, there's no reason for Cygwin users to install the
-mno-cygwin smartctl (which is in a separate .zip file) unless
they want to run it where Cygwin isn't installed.

Anyway, it does no harm (yes, I tested) to run the native
binary under Cygwin. It's like if you ran the native nslookup
or something.

I see -mno-cygwin is off topic. I should have avoided adding it
in my first e-mail.

> >May I ask why /bin/mail isn't in Cygwin ? Nobody volunteered ?
> >http://www.cygwin.com/ml/cygwin/2003-07/msg00460.html doesn't
> >help.
>
> Basically it's because we thought you might need it and we're all
> really mean so we're purposely not including it.

No problem. I already compiled nail. I thought it wasn't
because his author named a file aux.c -
http://www.cygwin.com/ml/cygwin/2003-01/msg01021.html and
doesn't seem to like Windows.

-- 
http://www.pervalidus.net/contact.html

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



Good news for Cygwin ? Re: [smartmontools-devel]Windows port

2004-02-23 Thread Frédéric L. W. Meunier
I'm Cc'ing the Cygwin mailing-list since others may be
interested in a S.M.A.R.T. tool that works with it. And someone
may even be able to help you.

I got it to compile under Cygwin (without -mno-cygwin).

What I did:

mv os_generic.c os_generic.c.old
ln -sf os_win32/os_win32.c os_generic.c

Then configure and make as usual.

During configure I got:

checking for sigset... no

During make I got:

/d/Linux/smartmontools/sm5-Windows/os_generic.c:47: error: conflicting types for 
`strtoull'
/usr/include/stdlib.h:174: error: previous declaration of `strtoull'
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function `strtoull':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:49: warning: int format, different 
type arg (arg 3)
/d/Linux/smartmontools/sm5-Windows/os_generic.c:46: warning: unused parameter `base'
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function `make_device_names':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:99: warning: unused parameter `devlist'
/d/Linux/smartmontools/sm5-Windows/os_generic.c:99: warning: unused parameter `name'
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function `ata_close':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:495: warning: unused parameter `fd'
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function 
`escalade_command_interface':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:613: warning: unused parameter `fd'
/d/Linux/smartmontools/sm5-Windows/os_generic.c:613: warning: unused parameter 
`disknum'
/d/Linux/smartmontools/sm5-Windows/os_generic.c:613: warning: unused parameter 
`command'
/d/Linux/smartmontools/sm5-Windows/os_generic.c:613: warning: unused parameter `select'
/d/Linux/smartmontools/sm5-Windows/os_generic.c:613: warning: unused parameter `data'
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function `aspi_io_call':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:811: warning: long unsigned int 
format, HANDLE arg (arg 2)
/d/Linux/smartmontools/sm5-Windows/os_generic.c: In function `aspi_close':
/d/Linux/smartmontools/sm5-Windows/os_generic.c:849: warning: unused parameter `fd'

So, I commented the "Quick hack strtoull() for MSVC 6.0 using
sscanf" part and it compiled. I don't know if it's the right
thing to do.

I guess the unused warnings won't allow it to work on SCSI
drives ?

Anyway, at least smartctl -a /dev/hda worked on my ATA drive:

smartctl version 5.26 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: MAXTOR 6L060J3
Serial Number:663200252994
Firmware Version: A93.0500
Device is:Not in smartctl database [for details use: -P showall]
ATA Version is:   5
ATA Standard is:  ATA/ATAPI-5 T13 1321D revision 1
Local Time is:Mon Feb 23 18:18:41 2004 ESAST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x05) Offline data collection activity was
aborted by an interrupting command from host.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (  35) seconds.
Offline data collection
capabilities:(0x1b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:(  30) minutes.

SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  WHEN_FAILED 
RAW_VALUE
  1 Raw_Read_Error_Rate 0x0029   100   253   020Pre-fail  Offline  -   0
  3 Spin_Up_Time0x0027   066   066   020Pre-fail  Always   

Re: ldd equivalent

2004-02-05 Thread Frédéric L. W. Meunier
On Thu, 5 Feb 2004, Edward S. Peschko wrote:

> well, I was there - I'm referring to the link *inside* the message.
> It points to some site which no longer exists.

I uploaded the 2 ldd (I got from Google some time ago) to
http://www.pervalidus.net/cygwin/ldd/

-- 
http://www.pervalidus.net/contact.html

--
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: iconv support not detected by configure when using gcc-3.3.1-3

2004-02-04 Thread Frédéric L. W. Meunier
On Wed, 4 Feb 2004, Charles Wilson wrote:

> This is thanks to the new iconv support in newlib.  Even tho it is
> "turned off" in cygwin-1.5.7, the new cygwin package still installs its
> own version of /usr/include/iconv.h -- and the "new" version is not, of
> course, recognized as GNU iconv.
>
> Short-term solution: reinstall 'libiconv'
>
> Medium-term solution: next cygwin release, if it still does not use
> newlib's iconv, should also _not_ include newlib's iconv.h

There's also libiberty.a, which gets install by cygwin and
binutils, but I think it never caused any problems. It did for
me on Linux and others when we compiled ksymoops (it was also
part of gcc). Now I only install the binutils file.

> Long-term solution: we really really need a package linter that detects
> file conflicts like these BEFORE they lead to wierd problems.  Any
> volunteers?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: wincvs and cygwin (tcl DLL naming issue)

2004-02-03 Thread Frédéric L. W. Meunier
On Tue, 3 Feb 2004, Reid Thompson wrote:

> my 2 cents, and what i believe is an easier and more appropriate
> solution ( think like you're on unix/linux) - for your cygwin
> bash/rxvt/etc terminals explicitely set the path in your .bashrc such
> that the cygwin binaries are found first -- and either do not add the
> cygwin binary paths to the windows path, or make sure that they are at
> the end.  i.e. when i open a cygwin terminal any call to a cygwin
> compiled application will find the cygwin binaries first, and vice versa
> for a windows terminal.

Indeed, and this is the default, right ? I didn't change
anything here:

cmd.exe:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

So, Windows applications shouldn't use any Cygwin files.

sh.exe:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem

So, Cygwin applications don't use Windows DLLs if the Cygwin
ones have the same name.

But here I changed it to
export
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$HOME/bin in
profile.

I really can't see what such applications are doing. A full
scan on the hard drive ? Besides that it sounds like a PATH
problem.

I also agree tcl84.dll should be renamed, but that doesn't seem
to be the main problem.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: wincvs and cygwin

2004-02-03 Thread Frédéric L. W. Meunier
On Tue, 3 Feb 2004, Shankar Unni wrote:

> Daniel Atallah wrote:
>
> > If the tcl dll included with cygwin conflicts with the
> > native win32 tcl (still a problem if you don't have
> > native tcl installed)
>
> Yes - I don't think this is a conflict per se, rather than simply
> finding and trying to load the cygwin tcl84.dll.
>
> Have there been any significant recent changes in what non-cygwin
> programs have to do to load and invoke cygwin-compiled DLLs?

Why dou you ask ? If a non Cygwin application stopped working
because it does the wrong thing to locate a DLL, I really doubt
a Cygwin developer will care. I guess it's like if I use the
Cygwin Perl instead of Active Perl. I'm on my own if something
breaks outside Cygwin.

> Just fishing for clues here that can be passed on to the
> WinCVS maintainers..

What about asking them to not scan any Cygwin mounts or ignore
the Cygwin DLLs ?

The site is pretty clear:

* WinCvs compiled for Windows 98, Windows NT/2000 (Optionally
you may want to install TCL8.1 or higher in order to get the
macros working, see the TCL home page).

The TCL link points to http://dev.scriptics.com/ , not Cygwin.

-- 
http://www.pervalidus.net/contact.html

--
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: two versions of cygwin 1.5.7 in the wild

2004-01-31 Thread Frédéric L. W. Meunier
On Sat, 31 Jan 2004, Christopher Faylor wrote:

> There was a few hour period during which an older version of cygwin 1.5.7
> was released.  I hope this doesn't cause any problems.  The correct version
> is dated '2004-01-30 19:32'.

http://mirrors.rcn.net/pub/sourceware/cygwin/release/cygwin/
still has the old, and their setup.ini matches it:

aa4b83738e470f9d57d2b202602c6c29

http://mirrors.kernel.org/sources.redhat.com/cygwin/release/cygwin/
now has the new.

baca557381e4c11391aa71e5ed341c1d

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: This Just In: Mozilla Releases Compiled Using Cygwin

2004-01-26 Thread Frédéric L. W. Meunier
On Mon, 26 Jan 2004, Randall R Schulz wrote:

> Howdy, Folks,
>
> I installed the new Mozila (1.6) yesterday and was exploring the
> "about:*" pages via the new "about:about" master about page. Check out
> "about:buildconfig":
>
>
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> about:buildconfig
>
>
> Build platform
>
> target
> i586-pc-msvc
>
>
> Build tools
>
> Compiler Version Compiler flags
> $(CYGWIN_WRAPPER) cl 12.00.8804 for 80x86 -TC -nologo -W3 -nologo -Gy
> -Fd$(PDBFILE)
> $(CYGWIN_WRAPPER) cl 12.00.8804 for 80x86 -TP -nologo -W3 -nologo -Gy
> -Fd$(PDBFILE)
>
>
> Configure arguments
>
> --disable-debug --enable-optimize --enable-crypto --disable-auto-deps
> --with-extensions=all --without-system-jpg --without-system-zlib
> -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
>
>
> Evidently they're using the MSVC compiler, but use Cygwin for their
> Windows-based build activities. Too bad we can't see what's in
> "$(CYGWIN_WRAPPER)".

See http://www.cygwin.com/ml/cygwin/2003-12/msg00542.html

-- 
http://www.pervalidus.net/contact.html

--
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: ^Z with LFTP in 1.5.6: in handle_threadlist_exception!

2004-01-21 Thread Frédéric L. W. Meunier
On Wed, 21 Jan 2004, Dave Korn wrote:

>
>
> > -Original Message-
> > From: cygwin-owner On Behalf Of Frédéric L. W. Meunier
>
> [...snip!...]
> > I think it happened when I pressed
> > some keys, but it wasn't ^Z.
> [...snip!...]
>
>
> I nominate this for bug report of the year!

Thanks ! Will I earn a can star ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: LFTP 2.6.10-1 missing SSL support and with wrong dependency

2004-01-21 Thread Frédéric L. W. Meunier
On Wed, 21 Jan 2004, Mark Blackburn wrote:

> Frédéric L. W. Meunier wrote:
>
> >I don't see anything in the announcement about the lack of
> >support -
> >http://sources.redhat.com/ml/cygwin-apps/2003-12/msg00225.html
> >. 2.6.8-3 has it.
> >
> >
> I didn't have openssl-devel installed when I built the lftp-2.6.10-1
> package. I'll release a new package soon.
>
> >But I see /usr/share/doc/Cygwin/lftp-2.6.10.README doesn't
> >mention --enable-ssl and lftp-2.6.8.README does.
> >
> The correct option to pass to configure is --with-ssl I believe. The
> README doesn't mention it because it that option is passed in the build
> script.

Reading configure.in, I see SSL is enabled by default if you
have it installed. No need to use --enable-ssl.

> >Also, I think the crypt dependency can be removed:
> >
> >/bin/bash ../libtool --silent --mode=link gcc  -O2 -pipe -Wall
> >-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
> >-fno-implement-inlines -Winline  -Wl,-s -o lftp.exe
> >-export-dynamic  lftp.o complete.o lftp_rl.o libjobs.a
> >libtasks.a liblftp-pty.la liblftp-network.la proto-ftp.la
> >proto-http.la proto-file.la proto-fish.la proto-sftp.la
> >cmd-mirror.la cmd-sleep.la -lreadline ../lib/liblib.a -lssl
> >-lcrypto  -liconv -lcurses -lsupc++
> >
> >No -lcrypt.
> >
> >
> When I rebuilt the package the crypt dependency reappeared:
>
> $ cygcheck lftp-2.6.10/.build/src/lftp.exe
> lftp-2.6.10/.build/src/lftp.exe
>   d:\cygwin\bin\cygcrypto-0.9.7.dll
> d:\cygwin\bin\cygwin1.dll
>   C:\WINDOWS\SYSTEM\KERNEL32.dll
>   d:\cygwin\bin\cygncurses7.dll
>   d:\cygwin\bin\cygreadline5.dll
> C:\WINDOWS\SYSTEM\USER32.dll
>   C:\WINDOWS\SYSTEM\GDI32.dll
> C:\WINDOWS\SYSTEM\ADVAPI32.dll
>   d:\cygwin\bin\cygssl-0.9.7.dll
>   d:\cygwin\bin\cygintl-2.dll
> d:\cygwin\bin\cygiconv-2.dll

cygcrypto-0.9.7.dll, not cygcrypt-0.dll.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: some notes on debugging screen

2004-01-21 Thread Frédéric L. W. Meunier
On Wed, 21 Jan 2004, Christopher Faylor wrote:

> On reflection, the code above (which I happened to have written) didn't
> look right to me, so I did a little digging.  I think I was either
> confused when I wrote it or I'm confused now.  Assuming, as always, that
> I'm less confused now than I was then (an assumption I probably made
> when I made my change in September), I've semi-reverted this code to a
> state that somewhat mirrors what it used to look like last September and
> am regenning a snapshot now.  It will be interesting to see if this
> solves the problem or not.

It seems to work fine with rxvt and XTerm (like in 1.5.5) using
the cygwin1.dll from CVS.

Rafael, I'd give you a gold star if I could !

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: ^Z with LFTP in 1.5.6: in handle_threadlist_exception!

2004-01-20 Thread Frédéric L. W. Meunier
On Tue, 20 Jan 2004, Christopher Faylor wrote:

> On Tue, Jan 20, 2004 at 10:04:29PM -0200, Fr?d?ric L. W. Meunier wrote:
> >I thought ^Z would suspend LFTP, but it's 's'. Anyway, let me
> >report it.
> >
> >In 1.5.5, nothing happens when you start it and press ^Z.
> >
> >In 1.5.6 and 1.5.7 snapshot:
> >
> >in handle_threadlist_exception!
> >Segmentation fault (core dumped)
>
> I've fixed the SEGV but it is back to its old behavior.  AFAICT, lftp
> traps SIGTSTP (CTRL-Z).  It seems to behave the same way on linux, FWIW.

Yes, you can only suspend it with 's' or 'suspend'. There was
some discussion about it -
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01095.html
. When you have running jobs (downloads etc) ^Z is used to move
the current one to the background, like if you started it with
&.

I also got a segfault with the same "in
handle_threadlist_exception!" message running lynx, but
couldn't reproduce it. I think it happened when I pressed some
keys, but it wasn't ^Z.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



LFTP 2.6.10-1 missing SSL support and with wrong dependency

2004-01-20 Thread Frédéric L. W. Meunier
I don't see anything in the announcement about the lack of
support -
http://sources.redhat.com/ml/cygwin-apps/2003-12/msg00225.html
. 2.6.8-3 has it.

But I see /usr/share/doc/Cygwin/lftp-2.6.10.README doesn't
mention --enable-ssl and lftp-2.6.8.README does.

Also, I think the crypt dependency can be removed:

/bin/bash ../libtool --silent --mode=link gcc  -O2 -pipe -Wall
-Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti
-fno-implement-inlines -Winline  -Wl,-s -o lftp.exe
-export-dynamic  lftp.o complete.o lftp_rl.o libjobs.a
libtasks.a liblftp-pty.la liblftp-network.la proto-ftp.la
proto-http.la proto-file.la proto-fish.la proto-sftp.la
cmd-mirror.la cmd-sleep.la -lreadline ../lib/liblib.a -lssl
-lcrypto  -liconv -lcurses -lsupc++

No -lcrypt.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



^Z with LFTP in 1.5.6: in handle_threadlist_exception!

2004-01-20 Thread Frédéric L. W. Meunier
I thought ^Z would suspend LFTP, but it's 's'. Anyway, let me
report it.

In 1.5.5, nothing happens when you start it and press ^Z.

In 1.5.6 and 1.5.7 snapshot:

in handle_threadlist_exception!
Segmentation fault (core dumped)

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: CVS instructions

2004-01-20 Thread Frédéric L. W. Meunier
On Tue, 20 Jan 2004, Christopher Faylor wrote:

> On Tue, Jan 20, 2004 at 06:04:14PM -0200, Fr?d?ric L. W. Meunier wrote:
> >A cvs update from src/ also downloads many other modules (I
> >guess all from
> >http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src),
> >not just the changes from a winsup checkout:
> >
> >U djunpack.bat
> >U bfd/COPYING
> >U bfd/ChangeLog
> >...
> >
> >Am I missing something obvious from the instructions ?
>
> It depends on what instructions you're talking about.  You must have
> specified the '-d' option when you performed your 'cvs update', either
> on the command line ('cvs update -d') or in .cvsrc ('update -d').
>
> Yes, this would pull in everything in the 'src' directory --
> by design.

I had update -d -P in .cvsrc.

Without -d it still downloads djunpack.bat.

I thought -d was recommended, so any directories added to
modules you have checked from repositories are created when you
do an update. Will a cvs update take care of them for Cygwin ?
If yes, I can just use cvs -f update.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



CVS instructions

2004-01-20 Thread Frédéric L. W. Meunier
http://cygwin.com/cvs.html

cvs checkout winsup

"This will create a subdirectory called src and fill it with
the core sources."

Yes, it creates a src directory with a bunch of files and the
config, contrib, etc, include, libiberty, newlib, and winsup
directories.

"Once you have the latest sources, "cvs update" will get any
changes since your last update."

A cvs update from src/ also downloads many other modules (I
guess all from
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src),
not just the changes from a winsup checkout:

U djunpack.bat
U bfd/COPYING
U bfd/ChangeLog
...

Am I missing something obvious from the instructions ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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-1.5.6-1 Vim now broken

2004-01-20 Thread Frédéric L. W. Meunier
On Tue, 20 Jan 2004, Christopher Faylor wrote:

> On Tue, Jan 20, 2004 at 03:47:39AM -0200, Fr?d?ric L. W. Meunier wrote:
> >On Mon, 19 Jan 2004, Christopher Faylor wrote:
> >>And, no, screen becoming screwed up in an rxvt session is not a show
> >>stopper.
> >
> >Yes, but it's something that will make all screen users not upgrade to
> >1.5.6 or downgrade to 1.5.5 when they see how broken it's.  Broken
> >dettach / reattach is nothing compared with such a problem.
> >
> >BTW, it's broken in everything (rxvt, XTerm, and cmd.exe).
> >
> >I guess it'd be a show stopper if screen were part of Cygwin.  Still, I
> >think it's more important than Vim, as there are a dozen editors but no
> >screen alternatives.
>
> That's truly amazing logic.
>
> 1) Vim is probably the most popular editor in cygwin.

And ? Would you care if it weren't part of Cygwin ?

> 2) It's a SEGV from cygwin.  It would be folly to ignore those.

Yes, and with 1.5.6 screen is so useless that a SEGV would be
helpful.

> 3) As you note, screen doesn't even ship with cygwin.

Yes, but screen probably has more users than various packages
that ship with Cygwin. And it'd have many more if it were part
of it.

> >Anyway, I did what I could, reporting it before 1.5.6 -
> >http://www.cygwin.com/ml/cygwin/2003-12/msg00557.html .  I'm not
> >complaining.  I also reported it to the screen mailing-list today as
> >there are a few Cygwin users and one may be able to help you with it.
>
> "Help me with it".  Yeah.  That's one way to look at it.
>
> Why don't you help *us* with it by debugging the problem?  I don't
> really care about screen but if it's important to you then some
> hours with gdb might be in order.  That's what I do with problems
> that I care about.

Do you think all users are Cygwin developers and know how to
debug such things ? I couldn't even debug the ELinks problem I
had, where none of the commands (bt, info threads, thread 1...)
that work on Linux showed anything useful. Now you suggest I
spend some hours with gdb. Doing what ?

I guess it's easier to go through the snapshots from the first
2 months after 1.5.5. Are they available somewhere or tagged in
CVS ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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-1.5.6-1 Vim now broken

2004-01-19 Thread Frédéric L. W. Meunier
On Mon, 19 Jan 2004, Christopher Faylor wrote:

> And, no, screen becoming screwed up in an rxvt session is not
> a show stopper.

Yes, but it's something that will make all screen users not
upgrade to 1.5.6 or downgrade to 1.5.5 when they see how broken
it's. Broken dettach / reattach is nothing compared with such a
problem.

BTW, it's broken in everything (rxvt, XTerm, and cmd.exe).

I guess it'd be a show stopper if screen were part of Cygwin.
Still, I think it's more important than Vim, as there are a
dozen editors but no screen alternatives.

Anyway, I did what I could, reporting it before 1.5.6 -
http://www.cygwin.com/ml/cygwin/2003-12/msg00557.html . I'm not
complaining. I also reported it to the screen mailing-list
today as there are a few Cygwin users and one may be able to
help you with it.

-- 
http://www.pervalidus.net/contact.html

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



Binaries compiled under 1.5.6 don't work with 1.5.5 ?

2004-01-19 Thread Frédéric L. W. Meunier
I compiled Lynx under 1.5.6 and tried to run it under 1.5.5:

"The procedure entry point _fcntl64 could not be located in the
dynamic link library cygwin1.dll"

How many Cygwin applications are supposed to be affected by the
following changes ?

- Make tmpfile 64-bit aware.  (Corinna Vinschen)
- Make fcntl 64-bit aware.  (Corinna Vinschen)

Yes, I know 1.5.5 is now old, but it's the last version which
allows me to run screen -
http://www.cygwin.com/ml/cygwin/2003-12/msg00557.html , so I
switch the DLLs.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 get it working with gdb ?

2003-12-28 Thread Frédéric L. W. Meunier
On Sun, 28 Dec 2003, Igor Pechtchanski wrote:

> On Sun, 28 Dec 2003, Frédéric L. W. Meunier wrote:
>
> > On Sat, 27 Dec 2003, Christopher Faylor wrote:
> >
> > > On Sat, Dec 27, 2003 at 07:42:18PM -0200, Frédéric L. W. Meunier wrote:
> > > >I did the following:
> > > >
> > > >Start the application in a terminal.
> > > >Use ps in another terminal.
> > > >Use gdb -p from that terminal.
> > > >
> > > >Then:
> > > >
> > > >(gdb) c
> > > >Continuing.
> > > >
> > > >Do something with the application.
> > > >
> > > >Then I tried ^C in gdb and it didn't work, but it works on
> > > >Linux.
> > > >
> > > >Sorry, I'm not used to debug things, but I'd like to know why
> > > >the above doesn't work.
> > > >
> > > >I'm trying to investigate the ELinks problem with compressed
> > > >files, but it turns out to be a PITA. I can't reproduce it on
> > > >Linux, but I guess it'd have worked since ^C does.
> > >
> > > Type ^C on the console that is running ELinks.
> >
> > Thanks, I at least got back the gdb prompt, but it always
> > returns the same things with a bt, also with other
> > applications:
> >
> > (gdb) c
> > Continuing.
> >
> > Program received signal SIGINT, Interrupt.
> > [Switching to thread 1452.0x788]
> > 0x77ea31c7 in KERNEL32!GetAtomNameA () from /c/WINDOWS/system32/kernel32.dll
> > (gdb) bt
> > #0  0x77ea31c7 in KERNEL32!GetAtomNameA ()
> >from /c/WINDOWS/system32/kernel32.dll
> > #1  0x77f57d70 in ntdll!RtlAppendStringToString ()
> >from /c/WINDOWS/System32/ntdll.dll
> > #2  0x77f58a3a in ntdll!RtlAppendStringToString ()
> >from /c/WINDOWS/System32/ntdll.dll
> >
> > I compiled ELinks with --enable-debug, which adds -g. Doing the
> > same on Linux (c, bt, ^C) always returns lines from the ELinks
> > sources.
> >
> > Well, I uploaded a new trace in case it helps -
> > http://www.pervalidus.net/tmp/elinks.txt.gz. It's much smaller.
> > I used the latest cygwin1.dll and strace snapshots, strace -p
> > -t, and only started it at the time I connected to the URL.
>
> This may be way off-topic (this list is not intended to provide gdb help),
> but it looks like a lot of debugging with Cygwin goes beyond rudimentary
> gdb capabilities, since, AFAIU, *any* Cygwin program is multi-threaded (in
> the Windows sense).  For more information on the gdb thread commands,
> visit "info -f gdb.info-12 -n 'GDB/MI Thread Commands'".  A short summary
> is below.
>
> To get the list of threads, use the 'info threads' gdb command, and then
> use 'thread NUM' to switch to thread number NUM.  Once you're in the right
> thread, you can get a meaningful backtrace.

I had tried that, but after using ^C in the application it
always returns the same information for all threads. I think
I've given up.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 get it working with gdb ?

2003-12-27 Thread Frédéric L. W. Meunier
On Sat, 27 Dec 2003, Christopher Faylor wrote:

> On Sat, Dec 27, 2003 at 07:42:18PM -0200, Fr?d?ric L. W. Meunier wrote:
> >I did the following:
> >
> >Start the application in a terminal.
> >Use ps in another terminal.
> >Use gdb -p from that terminal.
> >
> >Then:
> >
> >(gdb) c
> >Continuing.
> >
> >Do something with the application.
> >
> >Then I tried ^C in gdb and it didn't work, but it works on
> >Linux.
> >
> >Sorry, I'm not used to debug things, but I'd like to know why
> >the above doesn't work.
> >
> >I'm trying to investigate the ELinks problem with compressed
> >files, but it turns out to be a PITA. I can't reproduce it on
> >Linux, but I guess it'd have worked since ^C does.
>
> Type ^C on the console that is running ELinks.

Thanks, I at least got back the gdb prompt, but it always
returns the same things with a bt, also with other
applications:

(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
[Switching to thread 1452.0x788]
0x77ea31c7 in KERNEL32!GetAtomNameA () from /c/WINDOWS/system32/kernel32.dll
(gdb) bt
#0  0x77ea31c7 in KERNEL32!GetAtomNameA ()
   from /c/WINDOWS/system32/kernel32.dll
#1  0x77f57d70 in ntdll!RtlAppendStringToString ()
   from /c/WINDOWS/System32/ntdll.dll
#2  0x77f58a3a in ntdll!RtlAppendStringToString ()
   from /c/WINDOWS/System32/ntdll.dll

I compiled ELinks with --enable-debug, which adds -g. Doing the
same on Linux (c, bt, ^C) always returns lines from the ELinks
sources.

Well, I uploaded a new trace in case it helps -
http://www.pervalidus.net/tmp/elinks.txt.gz. It's much smaller.
I used the latest cygwin1.dll and strace snapshots, strace -p
-t, and only started it at the time I connected to the URL.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 get it working with gdb ?

2003-12-27 Thread Frédéric L. W. Meunier
I did the following:

Start the application in a terminal.
Use ps in another terminal.
Use gdb -p from that terminal.

Then:

(gdb) c
Continuing.

Do something with the application.

Then I tried ^C in gdb and it didn't work, but it works on
Linux.

Sorry, I'm not used to debug things, but I'd like to know why
the above doesn't work.

I'm trying to investigate the ELinks problem with compressed
files, but it turns out to be a PITA. I can't reproduce it on
Linux, but I guess it'd have worked since ^C does.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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-20031218.dll.bz2 and rxvt

2003-12-23 Thread Frédéric L. W. Meunier
On Tue, 23 Dec 2003, Christopher Faylor wrote:

> On Thu, Dec 18, 2003 at 03:22:10PM -0500, Christopher Faylor wrote:
> >On Thu, Dec 18, 2003 at 02:31:40PM -0200, Fr?d?ric L. W. Meunier wrote:
> >>At least here rxvt dies after started. cmd.exe works. Latest
> >>Cygwin packages on XP Professional SP1 + all updates.
> >
> >As luck would have it, this is due to a change that I made to allow me
> >to track down the other 'rsync segvs' problem.  I think I understand it
> >now.  It's in a section of cygwin code that I've always tried to avoid.
> >Guess I don't have that luxury anymore...
>
> Well, one massive rewrite later, I am uploading a new version of cygwin.
> I've tried it with rxvt, zsh, ssh, and inetd.  I'm sure I've forgotten
> something, though.
>
> Please give today's snapshot a try.

Thanks, rxvt works for me too.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



cygwin1-20031218.dll.bz2 and rxvt

2003-12-18 Thread Frédéric L. W. Meunier
At least here rxvt dies after started. cmd.exe works. Latest
Cygwin packages on XP Professional SP1 + all updates.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: FreeHDL doesnt compile with the latest cygwin .

2003-12-16 Thread Frédéric L. W. Meunier
On Tue, 16 Dec 2003, dezai G wrote:

> I have downloaded and intalled the new cygwin  with
> gcc 3.3.1-3
> My freehdl (http://www.freehdl.seul.org/) no longer
> compile with the new cygwin.
> How can i download the previous setup of cygwin to be
> able to compile my freeHdl program

What about reporting the errors instead of asking how to
downgrade Cygwin, what's almost impossible unless you find a
very outdated mirror ?

If the "problem" is with the new GCC, you can always search on
Google for 2.95.3-10, but take in mind it has been removed from
the distribution, meaning you won't get any support for it.

But if the problem is the compiler, make sure it works with
3.3.1 on other OS before thinking Cygwin broke it.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



cygwin1.dll snapshot messes up screen under rxvt

2003-12-12 Thread Frédéric L. W. Meunier
I noticed the latest cygwin1.dll snapshot messes up screen
under rxvt. I haven't tried spapshots for quite a while, so it
may be an old problem. I know screen isn't part of Cygwin, but
it's very useful, even without the reattaching stuff. I'm using
my package from http://www.pervalidus.net/cygwin/screen/ . The
results with the default terminal (which I never use it since
copy / paste accents never worked for me) are even worse, and
also happen with 1.5.5, but here are screenshots with rxvt:

http://www.pervalidus.net/tmp/screen-release.png is with 1.5.5.

http://www.pervalidus.net/tmp/screen-snapshot.png is with
latest snapshot.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Mozilla Firebird & cygwin

2003-12-12 Thread Frédéric L. W. Meunier
On Fri, 12 Dec 2003, Doug Jenkinson wrote:

> Hey everyone,
> I saw this in a comment about the latest build of Mozilla, 1.6 beta that
> is, and tried on Firebird.  If you open up a window/tab/whatever and
> goto "about:buildconfig", cygwin is mentioned!  I'm just sharing the
> info, as I really no nothing more about this, but its pretty cool
> nonetheless.
> Doug Jenkinson

about:buildconfig

Build platform

target
i586-pc-msvc

Build tools

CompilerVersion Compiler flags
$(CYGWIN_WRAPPER) cl12.00.8804 for 80x86-TC -nologo -W3 -nologo -Gy 
-Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl12.00.8804 for 80x86-TP -nologo -W3 -nologo -Gy 
-Fd$(PDBFILE) -I/usr/X11R6/include

Configure arguments
--without-system-jpg --without-system-zlib --with-extensions=all --enable-crypto 
--disable-auto-deps --disable-debug
--enable-optimize

configure.in: CYGWIN_WRAPPER="${srcdir}/build/cygwin-wrapper"

build/cygwin-wrapper: "Stupid wrapper to avoid win32
dospath/cygdrive issues".

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 making rxvt

2003-11-29 Thread Frédéric L. W. Meunier
On Sat, 29 Nov 2003, David A. Cobb wrote:

> > OK, Now I've reconciled my configure options with those in the
> > document, and defined the libraries as shown.
>
>
> Same result, basically.  This time I got to a recursion about 180 proc's
> deep when something failed ( happily ) and unwound the stack.
> Next experiment is to cd into the source tree to do the build: the
> example does show "./configure".
> THIS IS STILL A BUG!  Building from inside is, in fact, discouraged,
> IIRC, in the Autotools references.

You can try using lndir. I use it when builddir != srcdir
doesn't work.

Anyway, I think only packages that use Automake are supposed to
work without it. The others that only use Autoconf may or not.
rxvt doesn't entirely. On Linux CVS failed for me making the
man page (I had Yodl installed).

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: irc client (irssi) problem

2003-11-28 Thread Frédéric L. W. Meunier
On Fri, 28 Nov 2003, Tomasz Rojek wrote:

> > There are 2 binaries I know of, one I built and doesn't have.
> > Perl support - http://www.pervalidus.net/cygwin/irssi/
> I will try that one. Irssi is much more attractive and user friendly than
> ircII or naim, that's why I prefer it.

I took the time to update my binary. It's now 0.8.8 from CVS,
which contains only 2 additional changes - see
http://irssi.org/?page=changelog-cvs

> > The other, which is older, has and is at
> > http://koti.mbnet.fi/blue/irssi-win32/

I also tried that binary. I had to install cygncurses6.dll and
copied cygperl5_8_2.dll to cygperl5_8_0.dll. My binary with
Perl has the same problem. It just crashes at startup and the
terminal gets messes up, but it ran through strace (strace -o
irssi.txt irssi). I also uploaded it to
http://www.pervalidus.net/cygwin/irssi/ just in case someone is
interested. Still, I don't see any Perl support from /load.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: irc client (irssi) problem

2003-11-28 Thread Frédéric L. W. Meunier
I guess he's talking about irssi, which isn't part of Cygwin.
ircII doesn't include Perl support. But I'm not sure since he
used 'irc'.

There are 2 binaries I know of, one I built and doesn't have
Perl support - http://www.pervalidus.net/cygwin/irssi/

The other, which is older, has and is at
http://koti.mbnet.fi/blue/irssi-win32/

As I stated on my site, I intend to make a 0.8.8 binary, and
another if it builds with Perl. But probably not before
January.

Anyway, if it's about irssi, contact any off-list.

On Fri, 28 Nov 2003, Corinna Vinschen wrote:

> On Fri, Nov 28, 2003 at 03:56:12PM +0100, Tomasz Rojek wrote:
> > Hello group,
> >
> > I would like to inform irc (actually irssi) package maintainer that since
> > upgrade Perl to version 5.8.2-1 it stopped working at all. strace shows:
> >
> > $ strace irc
> > strace.exe: error creating process irc, (error 2)
>
> Works for me.
>
> > Also: irc binaries are quite old, can you compile them under cygwin version
> > 1.5.5-1?
>
> $ tar tvjf irc-20010101-3.tar.bz2 usr/bin
> -rwxr-xr-x corinna/root 1061076 2003-08-11 18:25:27 usr/bin/irc-20010101.exe
> lrwxrwxrwx corinna/root   0 2003-09-19 17:36:54 usr/bin/irc -> irc-20010101.exe
> -rwxr-xr-x corinna/root   14090 2003-08-11 18:25:27 usr/bin/ircbug
> -rwxr-xr-x corinna/root   55699 2003-08-11 18:25:27 usr/bin/ircflush.exe
> -rwxr-xr-x corinna/root   63039 2003-08-11 18:25:27 usr/bin/ircio.exe
> -rwxr-xr-x corinna/root   54925 2003-08-11 18:25:27 usr/bin/wserv.exe
>
> What's old about August 2003?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 making rxvt

2003-11-27 Thread Frédéric L. W. Meunier
On Thu, 27 Nov 2003, Thorsten Kampe wrote:

> * David A. Cobb (2003-11-27 17:54 +0100)
> > My configure/make score is just barely above zero.  I'd be sure it was
> > all me if it was indeed zero - but not quite.
>
> > Latest attempt: rxvt-2.7.10
>
> Install rxvt via Setup.exe.

That won't fix the severe problem he reported.

I had the same problem when I compiled rxvt from CVS to run on
X11.

Compiling from another directory: infinite loop.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Re: Can't build Cscope 15.5 with ncurses 5.3-4 package - no ncurses.h!

2003-11-25 Thread Frédéric L. W. Meunier
On Tue, 25 Nov 2003, Frank P. Hart wrote:

> I am interested in using the Cscope package with ViM on
> my Cygwin/WinXP installation.  Unfortunately, the
> configure script (and subsequent make attempts) for
> Cscope 15.5 fails because the file 'ncurses.h' is
> absent.  The ncurses package on my installation is version
> 5.3-4.
>
> I searched through the setup packages and found that the
> last version of ncurses to have 'ncurses.h' was version
> 5.2-8.  Unfortunately, the choices available to me from
> setup.exe are only 5.3-1 and 5.3-4.
>
> I'd appreciate some advice on how to make this work, if
> at all possible.  Where do I find version 5.2-8, and what
> co-requisite libraries must be installed to make Cscope
> function?

Install libncurses-devel-5.3-4.tar.bz2.

The headers are installed in /usr/include/ncurses, and symlinks
to them in /usr/include.

Or something is wrong on your end.

-- 
http://www.pervalidus.net/contact.html

--
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: Any current plans for an SDL package?

2003-11-23 Thread Frédéric L. W. Meunier
On Sun, 23 Nov 2003 [EMAIL PROTECTED] wrote:

> The only thing I found missing really are the libraries' header files.
>
> One such library is libjpeg, which has no development package, and i
> believe there was some compression lib also.

The headers are in jpeg-6b-11.tar.bz2. As I don't see libjpeg
or any compression library linked in my libSDL and libSDL_mixer
libraries on Linux (I never tried on Windows), I'm assuming all
missing headers are to compile SDL-image.

It'd be nice if you could post the errors or any links to
e-mails.

> Remember that I am talking about SDL, SDL-mixer, and
> SDL-image, as most programs that use one use all 3 (but it
> would not be difficult to package them as 3 seperate
> packages)

-- 
http://www.pervalidus.net/contact.html

--
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: Any current plans for an SDL package?

2003-11-23 Thread Frédéric L. W. Meunier
On Sun, 23 Nov 2003, Larry Hall wrote:

> At 04:40 PM 11/23/2003, [EMAIL PROTECTED] you wrote:
>> I could also try to compile a Cygwin binary version of the
>> library, but that would be at least slightly harder.
> This would be a true Cygwin package so I don't see a reason
> it couldn't be included in setup if it passes successfully
> through the ITP stage.

Sure, if he wants to become a maintainer. He seemed to wrote
the opposite in his first e-mail:

"If nobody plans on creating such a package i may be able to,
however i warn you now: i do not intend on become a cygwin
package maintaner."

You don't want another person who submits a package and doesn't
maintain it. The Links package is a good example.

-- 
http://www.pervalidus.net/contact.html

--
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: Patch and directions for compiling GNU screen 3.9.15 on cygwin

2003-11-21 Thread Frédéric L. W. Meunier
On Fri, 21 Nov 2003, Igor Pechtchanski wrote:

> On Fri, 21 Nov 2003, Christopher Faylor wrote:
>
> > On Fri, Nov 21, 2003 at 02:50:18PM -0600, Parker, Ron wrote:
> > >I created a patch for GNU screen 3.9.15 that will allow it to be compiled
> > >and installed on Cygwin.  The patch is attached below, the basic build and
> > >install procedure is:
> > >
> > >   $ tar xzf {tar-path}/screen-3.9.15.tar.gz
> > >   $ cd screen-3.9.15
> > >   $ patch -p1 -s <{patch-path}/screen-3.9.15-cygwin.diff
> > >   $ autoconf
> > >   $ ./configure
> > >   $ make
> > >   $ make install
> > >
> > >Manual add the termcap and terminfo settings for screen.
> > >   $ cd terminfo
> > >   $ cat screencap >>/etc/termcap
> > >   $ tic screeninfo.src
> > >
> > >If everything works as planned screen should now be in /usr/local/bin.  See
> > >if it is:
> > >   $ which screen
> > >
> > >The patch is attached.
> >
> > Wow, that was *it*?  It seems like a pretty simple patch if this really gets
> > things working.  Can I entice you into being the package maintainer for screen?
> > There's a gold star in it for you!
> >
> > cgf
>
> Indeed.  Mine was a bit more complex (see
> ), but I think it may
> have enabled some features that this one doesn't.  In any case, I think
> the attach feature won't work with this patch either.
>
> Ron, feel free to use any bits of the above patch you may find useful.

Yes, I'm using your patch. Everything seems to work fine,
except what I listed at
http://www.pervalidus.net/cygwin/screen/ . I consider these and
using the latest version (4.0.1) important if someone wants to
become a maintainer.

-- 
http://www.pervalidus.net/contact.html

--
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: running cygwin on mutiple operating systems

2003-11-20 Thread Frédéric L. W. Meunier
On Thu, 20 Nov 2003, Igor Pechtchanski wrote:

> P.P.S. Speaking of Linux, did you know that Cygwin runs under
> WINE? :-D

Really ? Everything, including compiling ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-12 Thread Frédéric L. W. Meunier
On Wed, 12 Nov 2003, Corinna Vinschen wrote:

> On Wed, Nov 12, 2003 at 04:15:46PM -0200, Fr?d?ric L. W. Meunier wrote:
> > On Wed, 12 Nov 2003, Brian Ford wrote:
> >
> > > Corinna,
> > >
> > > Did you get a chance to look at the strace output he posted here:
> > >
> > > http://pervalidus.port5.com/tmp/imap.txt.gz
> > >
> > > A glance there by trained eyes might save him some time.  I don't have the
> > > time or the training for mine :).  It appears to be stuck in close on the
> > > socket after is has shutdown?
> >
> > It seems to be cause by the firewall from my SpeedStream 5200.
> >
> > 'a logout' worked once I disabled filtering 'TCP NULL', but the
> > Pine delays remain.
> >
> > Anyway, why it worked on plain Windows and Linux is another
> > story. I don't have any other firewalls enabled.
>
> fhandler_socket::close() tries to circumvent problems with unexpected
> data loss which can occur, if an application exits without having
> waited for the closesocket() call being successful.  The problem with
> the latter is, that there's no way to find out.  Therefore Cygwin
> lingers on closesocket(), even with non-blocking sockets.  I don't
> know if that helps but you could try to build a Cygwin DLL which only
> lingers if shutdown hasn't been called.  I tried it with ssh and it
> seems at least not to disturb ssh operation.  Patch below.

It behaves the same. I applied your patch and compiled latest
CVS.

6735077 Nov 12 17:02 cygwin1.dll

And in gdb I still see

#2  0x0005 in ?? ()
#3  0x0004 in ?? ()
#4  0x0001 in ?? ()
#5  0x00e3ffd0 in ?? ()
#6  0x81f2eda8 in ?? ()
#7  0x in ?? ()

Anyway, since disabling filtering 'TCP NULL' worked for 'a
logout' I'll see what I can do in the modem configuration to
make the Pine delays go away. Disabling all ADS (Attack
Detection System), which has:

Same Source and Destination Address
Broadcast Source Address
LAN Source Address On WAN
Invalid IP Packet Fragment
TCP NULL
TCP FIN
TCP Xmas
Fragmented TCP Packet
Fragmented TCP Header
Fragmented UDP Header
Fragmented ICMP Header
Inconsistent UDP/IP header lengths
Inconsistent IP header lengths

didn't help.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-12 Thread Frédéric L. W. Meunier
On Wed, 12 Nov 2003, Brian Ford wrote:

> Corinna,
>
> Did you get a chance to look at the strace output he posted here:
>
> http://pervalidus.port5.com/tmp/imap.txt.gz
>
> A glance there by trained eyes might save him some time.  I don't have the
> time or the training for mine :).  It appears to be stuck in close on the
> socket after is has shutdown?

It seems to be cause by the firewall from my SpeedStream 5200.

'a logout' worked once I disabled filtering 'TCP NULL', but the
Pine delays remain.

Anyway, why it worked on plain Windows and Linux is another
story. I don't have any other firewalls enabled.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-12 Thread Frédéric L. W. Meunier
On Wed, 12 Nov 2003, Corinna Vinschen wrote:

> On Wed, Nov 12, 2003 at 12:20:57AM -0200, Fr?d?ric L. W. Meunier wrote:
> > Now I'm trying with gdb, but don't know if the following is
> > right.
> >
> > $ openssl s_client -connect mail.postaccesslite.com:993
> > $ gdb
> > (gdb) attach PPID of openssl
> > (gdb) where
> > #0  0x77f75a59 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/System32/ntdll.dll
> > #1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
> >from /c/WINDOWS/System32/ntdll.dll
> > #2  0x0005 in ?? ()
> > #3  0x0004 in ?? ()
> > #4  0x0001 in ?? ()
> > #5  0x00e3ffd0 in ?? ()
> > #6  0x81f2eda8 in ?? ()
> > #7  0x in ?? ()
> > #8  0x77fa88f0 in wcstombs () from /c/WINDOWS/System32/ntdll.dll
> >
> > Does that help ? What are #2 to #7 ? cygwin1.dll ? The OpenSSL
> > DLLs ?
>
> Nobody can say that.  You should rebuild openssl for Cygwin and
> use CFLAGS=-g for the make.  After unpacking the source package,
> it's as easy as this:
>
> $ cd openssl-0.9.7c-1
> $ ./config --prefix=/usr shared no-idea no-rc5 no-mdc2
> $ make depend CFLAGS=--g
> $ make CFLAGS=-g

If the above gdb commands were right, using

2896329 Nov 12 11:56 cygcrypto-0.9.7.dll
618518 Nov 12 11:56 cygssl-0.9.7.dll
929614 Nov 12 11:56 openssl.exe

didn't change anything.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-11 Thread Frédéric L. W. Meunier
On Tue, 11 Nov 2003, Frédéric L. W. Meunier wrote:

> On Tue, 11 Nov 2003, Brian Ford wrote:
>
> > On Tue, 11 Nov 2003, Frédéric L. W. Meunier wrote:
> > > On Tue, 11 Nov 2003, Corinna Vinschen wrote:
> > > > Me neither.  Seems to be a local problem.
> > >
> > > I don't see what could be wrong with my installation.
> > >
> > More likely, your network setup.
>
> BTW, I forgot that I had built OpenSSL 0.9.7c with Borland C++
> to make a Windows Lynx binary.
>
> I tested with this openssl.exe and it returned to the cmd.exe
> prompt immediately after I issued the 'a logout'.

Now I'm trying with gdb, but don't know if the following is
right.

$ openssl s_client -connect mail.postaccesslite.com:993
$ gdb
(gdb) attach PPID of openssl
(gdb) where
#0  0x77f75a59 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/System32/ntdll.dll
#1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
   from /c/WINDOWS/System32/ntdll.dll
#2  0x0005 in ?? ()
#3  0x0004 in ?? ()
#4  0x0001 in ?? ()
#5  0x00e3ffd0 in ?? ()
#6  0x81f2eda8 in ?? ()
#7  0x in ?? ()
#8  0x77fa88f0 in wcstombs () from /c/WINDOWS/System32/ntdll.dll

Does that help ? What are #2 to #7 ? cygwin1.dll ? The OpenSSL
DLLs ?

Or how am I supposed to see what happens after the 'a logout' ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-11 Thread Frédéric L. W. Meunier
On Tue, 11 Nov 2003, Brian Ford wrote:

> On Tue, 11 Nov 2003, Frédéric L. W. Meunier wrote:
> > On Tue, 11 Nov 2003, Corinna Vinschen wrote:
> > > Me neither.  Seems to be a local problem.
> >
> > I don't see what could be wrong with my installation.
> >
> More likely, your network setup.

BTW, I forgot that I had built OpenSSL 0.9.7c with Borland C++
to make a Windows Lynx binary.

I tested with this openssl.exe and it returned to the cmd.exe
prompt immediately after I issued the 'a logout'.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-11 Thread Frédéric L. W. Meunier
On Tue, 11 Nov 2003, Brian Ford wrote:

> On Tue, 11 Nov 2003, Frédéric L. W. Meunier wrote:
> > On Tue, 11 Nov 2003, Corinna Vinschen wrote:
> > > Me neither.  Seems to be a local problem.
> >
> > I don't see what could be wrong with my installation.
> >
> More likely, your network setup.
>
> > Anyway, any steps I can do to debug it are appreciated.
> >
> You might post/analyze an strace of it to see what call is taking so long.

http://pervalidus.port5.com/tmp/imap.txt.gz

15:51:29 -> 15:53:55

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-11 Thread Frédéric L. W. Meunier
nOn Tue, 11 Nov 2003, Corinna Vinschen wrote:

> On Tue, Nov 11, 2003 at 01:52:36AM -0200, Fr?d?ric L. W. Meunier wrote:
> > OK, so here's what turns out to be an OpenSSL issue. All thanks
> > to Eduardo.
> >
> > On Mon, 10 Nov 2003, Eduardo Chappa wrote:
> >
> > > *** Fr?d?ric L. W. Meunier wrote on Nov 11, 2003:
> > >
> > > :) > Is there any delay?
> > > :)
> > > :) Yes.
> > >
> > > Ok, this means that the problem is not Pine. It's openssl. You may want to
> > > repeat the experiment and see if
> > >
> > > openssl s_client -connect mail.postaccesslite.com:993
> > >
> > > a logout
> > >
> > > repeats the problem.
> >
> > Yes, it does, and may be easier for others to try to reproduce.
> >
> > > In any case, the problem is not Pine. You may want to contact
> > > the openssl maintainer to see what s/he says.
> >
> > At first I'm redirecting it to the Cygwin mailing-list since it
> > works on Linux.
> >
> > For those of you who aren't aware, all started with
> > http://sources.redhat.com/ml/cygwin/2003-11/msg00295.html
> >
> > How to reproduce it:
> >
> > $ openssl s_client -connect mail.postaccesslite.com:993
> > ...
> > a logout
> > * BYE Courier-IMAP server shutting down
> > a OK LOGOUT completed
> > read:errno=0
> >
> > It takes around a minute to return to the shell prompt after
> > the 'a logout'.
> >
> > Eduardo couldn't reproduce it.
>
> Me neither.  Seems to be a local problem.

I don't see what could be wrong with my installation.

Anyway, any steps I can do to debug it are appreciated.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

2003-11-10 Thread Frédéric L. W. Meunier
OK, so here's what turns out to be an OpenSSL issue. All thanks
to Eduardo.

On Mon, 10 Nov 2003, Eduardo Chappa wrote:

> *** Frédéric L. W. Meunier wrote on Nov 11, 2003:
>
> :) > Is there any delay?
> :)
> :) Yes.
>
> Ok, this means that the problem is not Pine. It's openssl. You may want to
> repeat the experiment and see if
>
> openssl s_client -connect mail.postaccesslite.com:993
>
> a logout
>
> repeats the problem.

Yes, it does, and may be easier for others to try to reproduce.

> In any case, the problem is not Pine. You may want to contact
> the openssl maintainer to see what s/he says.

At first I'm redirecting it to the Cygwin mailing-list since it
works on Linux.

For those of you who aren't aware, all started with
http://sources.redhat.com/ml/cygwin/2003-11/msg00295.html

How to reproduce it:

$ openssl s_client -connect mail.postaccesslite.com:993
...
a logout
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
read:errno=0

It takes around a minute to return to the shell prompt after
the 'a logout'.

Eduardo couldn't reproduce it.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX

2003-11-09 Thread Frédéric L. W. Meunier
I don't know what's wrong, but can't reproduce with the
same versions of PC-Pine and Pine for Linux.

I have 5 IMAP accounts. The main INBOX is fastmail.fm.

The others are

incoming-folders=PostaccessLite {mail.postaccesslite.com/[EMAIL PROTECTED],
PostaccessLite-fredlwm {mail.postaccesslite.com/[EMAIL PROTECTED],
Bluebottle {mail.bluebottle.com/[EMAIL PROTECTED],
MyRealBox {imap.myrealbox.com/ssl/user=xxx}INBOX

When I switch from one of the PostAcessLite accounts to
another, no matter if they're empty, have a single message, or
more, Pine stays at the "Closing folder foo" for a very long
time, like 30s to 1 minute, and then opens the one I select.

I have all latest packages on XP Professional SP1 with all
updates, and use NTFS.

Since PostacessLite doesn't seem to allow new users to create
accounts, I'm willing to let Eduardo log in mines.

Or let me know how to "debug" it. Pine's -d imap4 doesn't show
anything different.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: irc: No identd (auth) response

2003-10-31 Thread Frédéric L. W. Meunier
On Fri, 31 Oct 2003, David Andersen wrote:

> I'm trying to get irc to work, but I keep getting the following:
>
> *** Connecting to port 6667 of server irc.freenode.net
> *** Looking up your hostname...
> *** Checking ident
> *** Found your hostname
> *** No identd (auth) response
> *** Closing Link: (Connection Timed Out)
>
> This is on the most recent Cygwin with inetutils installed, running on
> Windows XP.

AFAIK there's no ident daemon in inetutils. You can try
http://freeware.teledanmark.no/identd/ . I got it to work under
XP.

> Disabling the (Microsoft) firewall doesn't seem to help.

I don't think it makes any difference, but make sure the 113
(TCP) port is open, even if you don't have identd installed.
Here's what I got with irssi:

15:09:43 -!- Irssi: Looking up irc.freenode.net
15:09:43 -!- Irssi: Connecting to irc.freenode.net [209.218.71.2] port 6667
15:09:44 -!- Irssi: Connection to irc.freenode.net established
15:09:44 !irc.freenode.net *** Looking up your hostname...
15:09:44 !irc.freenode.net *** Checking ident
15:09:44 !irc.freenode.net *** No identd (auth) response
15:09:45 !irc.freenode.net *** Couldn't look up your hostname

And it connected.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Q: looking for gcc 2.95.3 package

2003-10-23 Thread Frédéric L. W. Meunier
On Thu, 23 Oct 2003, Larry Hall wrote:

> At 09:03 AM 10/23/2003, Heiko Nardmann you wrote:
> >
> >Where do I find a gcc 2.95.3 package for Cygwin?
> >
> With any luck, nowhere.  gcc 2.95.3 is broken and as a result, has been
> removed from the distribution.  You might be able to find it on some out-
> dated mirror, but if you use it and have problems, this list will just tell
> you to upgrade to the current version (i.e. you are on your own).

Not really, as it has been moved to ..

Anyone can download it from
http://mirrors.kernel.org/sources.redhat.com/cygwin/gcc2/
http://mirrors.rcn.net/pub/sourceware/cygwin/gcc2/

and presumably all other mirrors until it gets removed from
ftp://sources.redhat.com/pub/cygwin/gcc2/

Still, I have a question. How are you supposed to uninstall a
package that has been removed from setup ? Manually ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



--disable-checking in GCC ?

2003-10-13 Thread Frédéric L. W. Meunier
I read it makes significant differences for compile times when
GCC is configured with --disable-checking, but 3.3.1-2 doesn't
return it with gcc -v. Does it make any difference on Cygwin ?
It certainly does on Linux.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: multiple consoles in one window

2003-10-13 Thread Frédéric L. W. Meunier
On Mon, 13 Oct 2003, Monique Y. Herman wrote:

> On Mon, 13 Oct 2003 at 01:37 GMT, Edward Peschko penned:
> > On Sun, Oct 12, 2003 at 07:24:29PM -0600, bob wrote:
> >> Is there any way to have more than one console session available in
> >> one rxvt (or dos) window?  I am thinking of the konsole that I used
> >> back when linux was an option.
> >
> > yes, you can use 'screen'... as of v 4.0.1, screen supports multiple
> > consoles on cygwin. It took a couple of small mods to compile, but its
> > worth it...
> >
> > Ed
> >
>
> Do you happen to remember *which* small mods it took?  *grin*

See http://www.pervalidus.net/cygwin/screen/ . I included the
"updated" patch from Igor, which applies cleanly to 4.0.1.

And there's no such thing as "as of v 4.0.1". Multiple windows
always worked on Cygwin.

What doesn't:

- Reattaching (there's a patch somewhere)
- Resizing
- Subshell with Midnight Commander

And probably others.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: merging mingw and cygwin

2003-10-11 Thread Frédéric L. W. Meunier
On Sat, 11 Oct 2003, Edward Peschko wrote:

> (pps - 'screen' - as per 4.0.1, just gained cygwin support.
> You might want to add that to your list of cygwin packages.)

I don't see any Cygwin support in 4.0.1. Where did you read it
? There's nothing in patchlevel.h (which details the changes),
reattaching doesn't work without patches, and Igor's patch
(http://cygwin.com/ml/cygwin/2002-09/msg00419.html) still
applies.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Redistributing cygwin1.dll on a site turns out to be a bad idea

2003-10-08 Thread Frédéric L. W. Meunier
BTW, if you want to see who's distributing cygwin1.dll without
the respective sources, doing this search will return a lot of
results :-)

Anyway, the first link (redistributing cygwin1.dll) is a nice
thread about it, which I suggest for all people distributing
the DLL.

I'm killing my (this) thread.

On Wed, 8 Oct 2003, Frédéric L. W. Meunier wrote:

> mainly because one of my pages is the 10° result of a search
> for download+cygwin1.dll on Google.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Redistributing cygwin1.dll on a site turns out to be a bad idea

2003-10-07 Thread Frédéric L. W. Meunier
I distribute some binaries since 1 1/2 year, and was also
always redistributing the latest cygwin1.dll (and making the
sources available from the same sites due to the license) to
make people's life easier, but it turns out a lot of people
were only downloading it, mainly because one of my pages is the
10° result of a search for download+cygwin1.dll on Google.

Let me know if there's a better link to point them. I used
http://mirrors.kernel.org/sources.redhat.com/cygwin/release/cygwin/
since I also list http://www.cygwin.com/ and
http://www.cygwin.com/setup.exe on every page.

So, I just changed it to:

I no longer distribute cygwin1.dll, mainly because most people
were only downloading it, while my intention was to make it
available only for who needed to run my binaries. If you want
it, download the latest cygwin-1.X.Y-Z.tar.bz2 from
http://mirrors.kernel.org/sources.redhat.com/cygwin/release/cygwin/
and extract it. The DLL is in usr/bin/.  Various Windows
applications can handle .tar.bz2. Also, I no longer distribute
the Cygwin sources (cygwin-1.X.Y-Z-src.tar.bz2), which were
required by the license.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Ash woes. [Was: Re: Installation & Uninstallation issues ]

2003-10-06 Thread Frédéric L. W. Meunier
Thanks, I'll do that. I remember when I tried as a symlink and
something hung setup (I guess setup doesn't handle them ?). It
wasn't the XFree86-bin-icons issue, which also hung when I
reverted the symlink.

I'll go through the archives to see what I should do for
XFree86-bin-icons since I had to use 'Skip' it in the last
installs.

On Mon, 6 Oct 2003, Igor Pechtchanski wrote:

> bash should be fully sh-compatible.  If you want to replicate
> the Linux setup, simply rename /bin/sh to /bin/ash and
> hardlink (or symlink) /bin/bash to /bin/sh (you will get a
> noticeable startup time increase for your scripts, which was
> the original reason for the ash package, but I doubt you'd
> have too many other problems -- except you won't be able to
> detect non-portable shell scripts on Cygwin anymore).

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Ash woes. [Was: Re: Installation & Uninstallation issues ]

2003-10-06 Thread Frédéric L. W. Meunier
On Mon, 6 Oct 2003, Pierre A. Humblet wrote:

> Perhaps the setup postinstall scripts should change to using
> bash. Its behavior is correct and will avoid frustrations.

It'd be nice it I could get rid of it. I have to use
#!/bin/bash in my scripts, change rxvt (the X11 version)
because it defaults to sh, use "shell bash" in my .screenrc...

If setup starts using bash, can I get rid of ash, or something
would still use it ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 java headers

2003-10-04 Thread Frédéric L. W. Meunier
On Sat, 4 Oct 2003, Christopher Faylor wrote:

> On Sat, Oct 04, 2003 at 06:09:15PM -0300, Fr?d?ric L. W. Meunier wrote:
> >On Sat, 4 Oct 2003, Gerrit P. Haase wrote:
> >>>I've repeatedly asked for someone to take over maintainership of gcc.
> >>>If you are producing packages on your web site can I ask you go to all
> >>>of the way and maintain gcc for cygwin?
> >>
> >>I'm thinking about it for a while now.  Ok.  I'll release a first
> >>tarball the next week, including all frontends and Pascal as previously
> >>advertised.
> >
> >While you're at it, I'd (again) suggest splitting it in various parts.
> >Most people only install C and C++.  The rest takes a lot of space,
> >mainly Java and Ada.
>
> Yes, I was going to suggest that, too.

> This is clearly the right way to do this but it is a lot more
> work.

Yes, but once you get it set up in the script...

I don't know how Cygwin handles it (maybe I should download
some source packages - I'll), but the Linux distributions seem
to just split it without recompiling the whole thing various
times with --enable-languages=c++ (you don't need to specify
c), then --enable-languages=c++,java etc.

An example which works and may help Gerrit (I use the resulting
C and C++ packages) is the 3.3.1 script from Slackware -
http://distro.ibiblio.org/pub/Linux/distributions/slackware/slackware-current/testing/source/gcc-3.3.1/gcc.SlackBuild

I guess Cygwin doesn't need a separate C++ package.

Space matters when you enable all languages. In the above, the
resulting .tgz packages use 9.116.303 bytes for C and C++, and
more 21.065.308 for the other languages. Uncompressed...

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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 java headers

2003-10-04 Thread Frédéric L. W. Meunier
On Sat, 4 Oct 2003, Gerrit P. Haase wrote:

> Hallo Christopher,
>
>
> > I've repeatedly asked for someone to take over maintainership of gcc.
> > If you are producing packages on your web site can I ask you go to all
> > of the way and maintain gcc for cygwin?
>
> I'm thinking about it for a while now.   Ok.  I'll release a first
> tarball the next week, including all frontends and Pascal as
> previously advertised.

While you're at it, I'd (again) suggest splitting it in various
parts. Most people only install C and C++. The rest takes a lot
of space, mainly Java and Ada.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: openssl-0.9.7b-1, openssl-devel-0.9.7b-1

2003-10-02 Thread Frédéric L. W. Meunier
On Thu, 2 Oct 2003, Corinna Vinschen wrote:

> On Thu, Oct 02, 2003 at 01:22:03PM -0300, Fr?d?ric L. W. Meunier wrote:
> > On Thu, 2 Oct 2003, Corinna Vinschen wrote:
> > > On Wed, Oct 01, 2003 at 02:50:14PM -0300, Fr?d?ric L. W. Meunier wrote:
> > > > I don't think Links has a maintainer, or one we can contact.
> > >
> > > What do you mean?  Links has a Cygwin maintainer at least.
> >
> > If you mean one who contributed a package almost 2 years ago,
> > doesn't appear to be subscribed to any mailing-list, and whose
> > e-mail address may have changed (see
> > http://sources.redhat.com/ml/cygwin-apps/2003-07/msg00677.html),
> > then yes, it has.
>
> Hmm, now that you mention it...  perhaps we should remove links from
> the distro.

Probably, but before I'd do a search for "Sami Tikka" on Google
and try to get an answer. http://susiraja.lnet.lut.fi/~redneck/
was edited yesterday and has an e-mail.

If he doesn't reply, don't wan't to maintain it anymore, or you
don't find anyone to take the job, go ahead.

Anyway, I suggest anyone to use ELinks, which is IMO much
better than Links. And the only advantages Links2 has over it
are the graphical part (a must have mainly on Linux, where you
can use it on the console with SVGAlib or framebuffer), and
some JavaScript support. But I read all these will be added /
merged in ELinks (hopefully soon).

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: openssl-0.9.7b-1, openssl-devel-0.9.7b-1

2003-10-02 Thread Frédéric L. W. Meunier
On Thu, 2 Oct 2003, Corinna Vinschen wrote:

> On Wed, Oct 01, 2003 at 02:50:14PM -0300, Frédéric L. W. Meunier wrote:
> > I don't think Links has a maintainer, or one we can contact.
>
> What do you mean?  Links has a Cygwin maintainer at least.

If you mean one who contributed a package almost 2 years ago,
doesn't appear to be subscribed to any mailing-list, and whose
e-mail address may have changed (see
http://sources.redhat.com/ml/cygwin-apps/2003-07/msg00677.html),
then yes, it has.

> > And the new releases don't work well with Cygwin.
>
> Hmm, "don't work well" is not much of information...

http://sources.redhat.com/ml/cygwin/2003-09/msg01430.html

Just a correction.

"Another problem remains, though. I compiled Links2 with
graphical support, and with -g the accents don't work."

isn't Cygwin specific. I can reproduce it on Linux.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: openssl-0.9.7b-1, openssl-devel-0.9.7b-1

2003-10-01 Thread Frédéric L. W. Meunier
On Wed, 1 Oct 2003, Corinna Vinschen wrote:

> On Wed, Oct 01, 2003 at 11:28:10AM +0200, Patrick Eisenacher wrote:
> > Corinna,
> >
> > is there an easy way to find out whether I still have a package
> > installed that needs the openssl 0.9.6x compatibility package? I would
> > love to get rid of this thing.
>
> The packages still using 0.9.6 so far are
>
>   links
>   apache/mod_php4
>   apache/mod_ssl
>   mutt
>   wget
>
> The maintainers are informed.  I don't think it will take a lot of time
> until the packages are updated.

I don't think Links has a maintainer, or one we can contact.
And the new releases don't work well with Cygwin.

BTW, the Subject is wrong. "Re: [ANNOUNCEMENT] Updated:
openssl-0.9.7b-1, openssl-devel-0.9.7b-1". Should be 0.9.7c-1.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Convert Cygwin shortcuts to Unix symlinks ?

2003-09-29 Thread Frédéric L. W. Meunier
Anybody know how (better if recursively) ? I extracted a
tarball under Cygwin and later copied it to a Linux partition.
Obviously all Cygwin shortcuts created at extract time are
copied, breaking it.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



libiberty.a present in 3 packages

2003-09-23 Thread Frédéric L. W. Meunier
binutils
cygwin
gcc (not gcc2)

What's the right version ? It seems the last package installed
overwrites it, so I have the one from cygwin.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



PKG_CONFIG_PATH and XFree86

2003-09-22 Thread Frédéric L. W. Meunier
Maybe this should be directed to cygwin-xfree. I don't know,
really.

I read there are plans to make fontconfig a package. It
probably will go to /usr/lib along with FreeType (the
standalone sources also include a .pc file for it), but this
doesn't fix xcursor and xft.

XFree86-prog installs
/usr/X11R6/lib/pkgconfig/{fontconfig,xcursor,xft}.pc, but
/usr/X11R6/lib/pkgconfig isn't in pkg-config's search path.

bash-2.05b$ pkg-config.exe --libs fontconfig
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found

Testing /usr/lib/pkgconfig/openssl.pc:

bash-2.05b$ pkg-config.exe --libs openssl
-lssl -lcrypto

Should pkg-config include /usr/X11R6/lib/pkgconfig ? Should
/usr/X11R6/lib/pkgconfig be a symlink to /usr/lib/pkgconfig ?
Should PKG_CONFIG_PATH be set in /etc/profile ?

I just don't think the user should set PKG_CONFIG_PATH since
XFree86 is part of Cygwin. Just my opinion.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: links, links2 and elinks

2003-09-22 Thread Frédéric L. W. Meunier
Replying to a message from 26 February...

Victor Stepanov wrote:

>> Does anybody using latest "home build" browser from links
>> family? I've tried to compile each, but with same problem -
>> links.exe does not recognize letter commands, only Ctrl
>> ones.
>> After finishing links.exe all letter command appears on
>> shell prompt...

> Someone reported it at
> http://archive.linuxfromscratch.org/mail-archives/links-list/2002/12/0298.html
> http://archive.linuxfromscratch.org/mail-archives/links-list/2002/12/0307.html

> I can't help as I don't have XFree86 installed.

Well, I now have it installed, and could also reproduce with
rxvt.

Mikulas (the Links author and one of the Links2 developers)
replied some days ago that Petr's (the ELinks author)
workaround I've been using for ELinks wasn't the correct fix
since I lose some Windows funcionality, but nobody gave a
proper fix, so...

The first problem was that accentuation didn't work without a
change in os_dep.h:

-#elif defined(_WIN32) || defined(__CYGWIN__)
+#elif defined(_WIN32)

For Links and Links2 you also have to remove the following from
win32.c since you get undefined references at link time:

void terminate_osdep ()
...
}

Or remove it from os_dep.c, I don't know.

Yes, these changes also "fix" your problem.

Another problem remains, though. I compiled Links2 with
graphical support, and with -g the accents don't work.

Since Links is part of Cygwin, and apparently an unmaintained
port for quite some time, maybe it should be dropped...

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



checking for shmat in -lipc... no

2003-09-21 Thread Frédéric L. W. Meunier
While running configure for IceWM (I don't think it's a
question for cygwin-xfree) I noticed the following:

checking for shmat... no
checking for shmat in -lipc... no

The second test returned yes when I created libipc.a and
libipc.dll.a symlinks.

What's the right procedure for this test, which should be
present in other packages ? Ignore ? Create symlinks ? Change
configure.in ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Using both gcc 3.2-3 and gcc 3.3-1

2003-09-20 Thread Frédéric L. W. Meunier
On Sun, 21 Sep 2003, Alex Vinokur wrote:

> I would like to use both gcc 3.2-3 and gcc 3.3-1.
> Is it possible?
> What and how do I download and install?

I have both (only C and C++), but manually installed them. I
renamed the old binaries to *-3.exe and moved the old
libstdc++.a and libsupc++.a to
/usr/lib/gcc-lib/i686-pc-cygwin/3.2 , assuming it first
searches them in that directory and not /usr/lib . I may be
wrong. Anyway, I'll remove 3.2-3 now that 3.3.1-1 is current.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



smartmontools ?

2003-09-20 Thread Frédéric L. W. Meunier
I wonder it anyone has any plans to port it. Even the
commercial S.M.A.R.T. suites for Windows aren't that good. I
tried all. It'd be a nice addition, really.

Unfortunately I'm not (yet) a programmer, still know very
little about Cygwin, but got it to compile removing some code
that may be needed but failed (like missing scsi/scsi_ioctl.h).
At least --help worked. I don't know if major changes would be
needed to at least support IDE drives.

Bruce Allen (the author) removed linux/hdreg.h code (in CVS,
not 5.0-18) to make it easier porting to other OS.

BTW, how do I access /dev/hda under Cygwin or Windows ? Are
there any devices for hard drives ?

I tried with my floppy drive and a partition just as a test to
see if it returned anything, and it did.

bash-2.05b$ ./smartctl.exe -a /dev/fd0
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Error ATA GET HD Identity Failed: Invalid argument
Smartctl: Hard Drive Read Identity Failed

A mandatory SMART command has failed: exiting. To continue, use
the -T option to set the tolerance level to 'permissive'

bash-2.05b$ ./smartctl.exe /c
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Error ATA GET HD Identity Failed: Invalid argument
Smartctl: Hard Drive Read Identity Failed

A mandatory SMART command has failed: exiting. To continue, use
the -T option to set the tolerance level to 'permissive'

bash-2.05b$ ./smartctl.exe /a
smartctl version 5.19 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl open device: /a failed: no medium

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.5-1

2003-09-20 Thread Frédéric L. W. Meunier
Nevermind. I redownload setup.ini from sources.redhat.com. BTW,
no md5sum problem.

On Sat, 20 Sep 2003, Frédéric L. W. Meunier wrote:

> Here setup is crashing / exiting. I downloaded setup.ini from
> sources.redhat.com and the packages from mirrors.rcn.net. I'm
> installing from a local directory. It exits while scanning the
> packages.
>
> On Sun, 21 Sep 2003, Cliff Hones wrote:
>
> > On the two mirrors which I could find which have the new 1.5.5-1,
> > there seems to be a problem with the MD5 checksum in the setup.ini file.
> > Running bzcat on the downloaded cygwin-1.5.5-1.tar.bz2 shows no problem,
> > but manually running md5sum shows it disagrees with the setup.ini entry.
> >
> > I replied yes to the "install anyway" prompt I got from setup.exe
> > (snapshot version 2.407) when it detected the problem, and my installation
> > does appear to be working.
> >
> > (This was with mirrors.rcn.net and mirrors.kernel.org.)

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.5-1

2003-09-20 Thread Frédéric L. W. Meunier
Here setup is crashing / exiting. I downloaded setup.ini from
sources.redhat.com and the packages from mirrors.rcn.net. I'm
installing from a local directory. It exits while scanning the
packages.

On Sun, 21 Sep 2003, Cliff Hones wrote:

> On the two mirrors which I could find which have the new 1.5.5-1,
> there seems to be a problem with the MD5 checksum in the setup.ini file.
> Running bzcat on the downloaded cygwin-1.5.5-1.tar.bz2 shows no problem,
> but manually running md5sum shows it disagrees with the setup.ini entry.
>
> I replied yes to the "install anyway" prompt I got from setup.exe
> (snapshot version 2.407) when it detected the problem, and my installation
> does appear to be working.
>
> (This was with mirrors.rcn.net and mirrors.kernel.org.)

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



3.3.1-1 "solved" it (was Re: Binaries compiled with GCC 3.2-3 much bigger than with 2.95.3-10 ?)

2003-09-12 Thread Frédéric L. W. Meunier
On Fri, 5 Sep 2003, Frédéric L. W. Meunier wrote:

> I just switched to 3.2-3 and was impressed with the following:
>
> Cygwin  -O2 -O2 + -Wl,-s  -Os -Os + -Wl,-s
> --
> 2.95.3-10   15178   665615178   6656
> 3.2-3   26710   14336   26008   13824

  3.3.1-1 18199   768017497   7168

I upgraded to the test 3.3.1-1 package. What a difference from
3.2-3.

> Linux
> -
> 2.95.4.CVS16475   712816283   6936
> 3.2.3 15885   671215427   6292
> 3.3.1 15802   666815320   6216
>
> What's so different in 3.2-3 ? On Linux GCC 3.x produced
> smaller binaries. On Cygwin the size doubled.
>
> On Linux all 3 compilers default to -march=i686. I think it's
> the same for Cygwin (i686-pc-cygwin), no ?

I was wrong here. On Linux all 3 default to -mcpu=pentiumpro
-march=i386.

I think it's the same on Cygwin. I tested with --verbose on
2.95.3-10 and 3.2.3-3, and -fsched-verbose on 3.3.1-1.

> For the example I used lndir from XFree86 CVS. I packaged the
> sources for it at
> http://www.pervalidus.net/cygwin/lndir-CVS.tar.bz2 (9323
> bytes).

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



Re: Problems with accented characters in Cygwin

2003-09-10 Thread Frédéric L. W. Meunier
I suggest you use rxvt since the Cygwin "terminal" appers to be
broken for that. I don't know if it ever worked, but it never
did since I started with 1.3.10. I now use 1.5.3. I reported
it. See

http://sources.redhat.com/ml/cygwin/2003-01/msg00048.html

and follow
http://sources.redhat.com/ml/cygwin/2003-02/msg02230.html

, mainly Igor's replies:

http://sources.redhat.com/ml/cygwin/2003-02/msg02301.html
http://sources.redhat.com/ml/cygwin/2003-02/msg02324.html

On Wed, 10 Sep 2003, Lukasz Kosewski wrote:

> The characters DISPLAY fine, when I am doing ls on a folder
> with accents and umlauts, everything displays fine.  With tab
> completion, I can complete the accented names.  But I cannot
> TYPE them.  No matter what key combinations I try, I cannot
> find any way to TYPE the special characters at the prompt.
> I cannot paste characters from notepad/mozilla into the
> window either, nothing happens when I try.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: Binaries compiled with GCC 3.2-3 much bigger than with 2.95.3-10?

2003-09-05 Thread Frédéric L. W. Meunier
Answering 2 in 1.

On Fri, 5 Sep 2003, Wayne wrote:

> There have been discussions on various forums about increased
> executable size and in particular, compile time, pretty much
> since gcc-3.1 was in beta.  Exe will be bigger than 2-95, even
> after stripping.

I agree that even on Linux this is usually the case, but not
with lndir. 3.2.3 and 3.3.1 produced smaller binaries, while
3.2-3 doubled the size on Cygwin.

Lapo Luchini wrote:

> Did you "strip" the executable produced? AFAIK gcc3 has much
> more "debug" infos, but once stripped should be of a similiar
> size.

Yes, and I also used strip on Cygwin to see it -Wl,-s was
really working. The Makefile is like:

CC  = gcc
CFLAGS  = -O2 -pipe -Wall
LDFLAGS = -Wl,-s
INCLUDE = -I.

all: lndir

lndir:
$(CC) $(CFLAGS) $(INCLUDE) -o lndir $(LDFLAGS) lndir.c


I just did

$ make
$ make LDFLAGS=
$ make CFLAGS='-Os -pipe -Wall'
$ make CFLAGS='-Os -pipe -Wall' LDFLAGS=
$ make CC=gcc-2

and so on. Anyway, I'll later compile other things to see it
the size changes that much. I was just impressed by the
difference since 3.2-3 on Cygwin is supposed to work like 3.x
on Linux, or not ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

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



  1   2   >