Re: Cygwin and firewalls (FAQ alert)

2005-06-20 Thread Yitzchak Scott-Thoennes
On Mon, Jun 20, 2005 at 11:06:47PM -0700, Joshua Daniel Franklin wrote:
> On 6/17/05, Christopher Faylor wrote:
> > >>Why not just use the system firewall which is part of XP SP2?  
> 
> > Joshua, do you think you could add an entry about this concerning 
> > what seems to work and what doesn't seem to work?
> 
> Done. http://cygwin.com/faq/faq_3.html#SEC55
> 
> > Although, I thought I recalled that Norton's firewall didn't work too
> > well.
> 
> Me too, but it is a popular product and maybe they've improved.
> I also thought I remembered one that never worked for anyone 
> but a quick search didn't turn up the name. I'll update the entry 
> as details emerge.

Was that ZoneAlarm?

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



Re: Cygwin and firewalls (FAQ alert)

2005-06-20 Thread Joshua Daniel Franklin
On 6/17/05, Christopher Faylor wrote:
> >>Why not just use the system firewall which is part of XP SP2?  

> Joshua, do you think you could add an entry about this concerning 
> what seems to work and what doesn't seem to work?

Done. http://cygwin.com/faq/faq_3.html#SEC55

> Although, I thought I recalled that Norton's firewall didn't work too
> well.

Me too, but it is a popular product and maybe they've improved.
I also thought I remembered one that never worked for anyone 
but a quick search didn't turn up the name. I'll update the entry 
as details emerge.

--
Unsubscribe info:  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: Unicode in filenames support? (FAQ update needed)

2005-06-20 Thread Joshua Daniel Franklin
On 6/7/05, Christopher Faylor  wrote:
> >I've been off of the developer list for a while now, and now the
> >archives are subscriber only.  :-(
> 
> Joshua, any chance I could get a FAQ entry about this?

I've updated "What Cygwin mailing lists can I join?" with a 
better description. Old language was "If you are going to help
develop the Cygwin library by volunteering for the project, you 
will want to subscribe to the Cygwin developers list,
called cygwin-developers."

New language is "There is also a low-volume list called
cygwin-developers which is reserved for knowledgeable people who
regularly contribute to the Cygwin DLL. Please do not ask for
read-only access to this mailing list."
 
> >However, it was NTFS-specific and Cygwin went a different
> >route (which has path length limitations, but I digress).
> 
> And, Joshua could I get a FAQ entry about this, too?  

OK, I added some about managed mounts. I've never really
used them myself, but this is the example I came up with for 
the FAQ that seems to work fine:

mkdir /managed-dir
mount -o managed c:/cygwin/managed-dir /managed-dir
cd /managed-dir/
touch makefile
touch Makefile

Are managed mounts prime-time enough to be put in the
--help statement and users guide with caveats?

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



Why does cygwin perl not build openssl win32 nmake files correctly ?

2005-06-20 Thread Gianni Mariani


It appears a long long time ago that cygwin perl was capable of building 
openssl, however it appears that now the openssl make files generated by 
cygwin are filled with errors.


This seems to be a long-running issue.  Ideas ?



--
Unsubscribe info:  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: lynx getting segv when following a link with right arrow key

2005-06-20 Thread Christopher Faylor
On Mon, Jun 20, 2005 at 08:24:19PM -0700, Yitzchak Scott-Thoennes wrote:
>On Mon, Jun 20, 2005 at 11:14:27PM -0400, Christopher Faylor wrote:
>>On Mon, Jun 20, 2005 at 06:13:22PM -0700, Yitzchak Scott-Thoennes
>>wrote:
>>>On the 20050615 snapshot (and maybe other releases, haven't used lynx
>>>in a while) lynx is repeatably segfaulting when I use the right arrow
>>>key to follow a link.
>>
>>Can't duplicate this.  Sorry.  Do you have a specific site which
>>demonstrates the problem?
>
>Sorry for the lack of details; I was a bit rushed earlier.
>
>Any site, AFAICT.  Just starting lynx with no parameters goes to
>http://lynx.browser.org, with the http://lynx.isc.org/release/ "Lynx
>2.8.3" link highlighted.  Pressing the right arrow key gets:

I managed to duplicate it ten seconds after sending my above message, of
course.

If the problem is really what it appears to be, it's rather incredible.
It seems like the IsBadWritePtr function in thread.cc is tripping 
lynx's SIGSEGV handler.  I didn't think that was possible.  It sort
of defeats the whole purpose of IsBadWritePtr.  I have to think about
this one...

cgf

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



Re: lynx getting segv when following a link with right arrow key

2005-06-20 Thread Yitzchak Scott-Thoennes
On Mon, Jun 20, 2005 at 11:14:27PM -0400, Christopher Faylor wrote:
> On Mon, Jun 20, 2005 at 06:13:22PM -0700, Yitzchak Scott-Thoennes wrote:
> >On the 20050615 snapshot (and maybe other releases, haven't used lynx
> >in a while) lynx is repeatably segfaulting when I use the right arrow
> >key to follow a link.
> 
> Can't duplicate this.  Sorry.  Do you have a specific site which demonstrates
> the problem?

Sorry for the lack of details; I was a bit rushed earlier.

Any site, AFAICT.  Just starting lynx with no parameters goes to
http://lynx.browser.org, with the http://lynx.isc.org/release/ "Lynx
2.8.3" link highlighted.  Pressing the right arrow key gets:


A Fatal error has occurred in Lynx Ver. 2.8.4rel.1

Please notify your system administrator to confirm a bug, and
if confirmed, to notify the lynx-dev list.  Bug reports should
have concise descriptions of the command and/or URL which causes
the problem, the operating system name with version number, the
TCPIP implementation, and any other relevant information.

Do NOT mail the core file if one was generated.

Lynx now exiting with signal:  11

signal code = SIGSEGV
  6 [sig] bash 3812 open_stackdumpfile: Dumping stack trace to 
bash.exe.stackdump


and no bash prompt comes back.

--
Unsubscribe info:  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: lynx getting segv when following a link with right arrow key

2005-06-20 Thread Christopher Faylor
On Mon, Jun 20, 2005 at 06:13:22PM -0700, Yitzchak Scott-Thoennes wrote:
>On the 20050615 snapshot (and maybe other releases, haven't used lynx
>in a while) lynx is repeatably segfaulting when I use the right arrow
>key to follow a link.

Can't duplicate this.  Sorry.  Do you have a specific site which demonstrates
the problem?

cgf

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



Compile errors, Cygwin issue or gcc?

2005-06-20 Thread Rebirth Seph
I'm getting these errors while compiling:

$ make
psp-gcc -c -Wall -pedantic socket.c
In file included from /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/in
clude/sys/socket.h:15,
 from socket.c:10:
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/include/cygwin/socket.h:
30: error: parse error before '__uid32_t'
In file included from /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sy
s-include/unistd.h:4,
 from socket.c:15:
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h
: In function '__declspec':
/usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/sys-include/sys/unistd.h

Is this an issue with Cygwin since these are include files? Or is this
a psp-gcc issue?

--
Unsubscribe info:  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: lynx getting segv when following a link with right arrow key

2005-06-20 Thread Brian Dessent
Yitzchak Scott-Thoennes wrote:

> On the 20050615 snapshot (and maybe other releases, haven't used lynx
> in a while) lynx is repeatably segfaulting when I use the right arrow
> key to follow a link.

I noticed that the other day actually.  The link in question was one
that did not have a protocol in the URI, for example:   I believe that this is permitted by
the standards, and it allows for having a site accessible with the same
links over both http: and https: at the same time.  (The browser is
supposed to use whichever protocol is in effect currently when presented
with such a URL.)

I did not take the time to figure out why lynx was segfaulting, I just
switched to the linux box where lynx worked correctly on such URIs.  By
any chance was the link you visited the same type?  It could very well
be an upstream bug -- does a lynx upstream still even exist?  I seem to
recall reading that development on it stopped long ago.

Brian

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



gcc -mno-cygwin: no declarations for munmap and mprotect found by configure

2005-06-20 Thread Sam Steingold
The following message is a courtesy copy of an article
that has been posted to gmane.comp.gnu.mingw.user as well.

configure finds munmap() and mprotect() but there are no declarations:

gcc -mno-cygwin -Wmissing-declarations ...
spvw_mmap.d:252: warning: no previous declaration for 'munmap'
spvw_mmap.d:264: warning: no previous declaration for 'mprotect'

PS. CC to cygwin because I am using the latest cygwin gcc/win32api, not
the mingw distribution.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
 
 
Don't hit a man when he's down -- kick him; it's easier.

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



enscript ... > $PRINTER fails

2005-06-20 Thread davidr
Up to last week, I was able to do

> enscript -p- file.txt > $PRINTER

where I had

export PRINTER="//rhosvr01/rhohp4100"
in my /etc/profile

and this worked well.

After my hard drive failed and I reinstalled windows, etc.,
the above enscript command fails with:

bash: //rhosvr01/rhohp4100: No such host or network path

I can print to the printer from any windows app, just not from any
cygwin app.
(I've looked in the archives and tried all the suggestions: 
lpr and cat also fail with other error messages.
Using the share name of the printer makes no difference, nor does using
(doubly) escaped backslashes.)

The printer is a networked HP laserjet 4100 (just stating the obvious),
and the port is HPLaserJet4100MFP.
I tried another printer (also with no spaces in any name) whose port is
DOT4_001, with the same results.
I used to be able to print to this printer last week, too.

Can anyone please tell me what I forgot to set in windows to make this
work as it did before?

Thanks!
David L. Reiner
Rho Trading




--
Unsubscribe info:  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 problem

2005-06-20 Thread Larry Hall
At 05:26 PM 6/20/2005, you wrote:

>Hello
>
>I have a problem with cygwin. I wanted to install on my PC cygwin with the 
>UNIX text mode.
>I don't know why because I tried it many times but cygwin after installing is 
>working allways
>in the DOS text mode. Furthermore, the most basic functions like "ls" or "dir" 
>aren't
>working. I need to cygwin for NS-2 (Network Simulator).  Please help me!!!


Please read and follow the problem reporting guidelines from the link below:

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




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


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



Cygwin problem

2005-06-20 Thread michald

Hello

I have a problem with cygwin. I wanted to install on my PC cygwin with the UNIX 
text mode.
I don't know why because I tried it many times but cygwin after installing is 
working allways
in the DOS text mode. Furthermore, the most basic functions like "ls" or "dir" 
aren't
working. I need to cygwin for NS-2 (Network Simulator).  Please help me!!!

Thanks

--
OMNIXMAIL! Jesli masz telefon w sieci Era i dostep do WAP, to mozesz
na komorce odbierac poczte ze wszystkich swoich kont poczty e-mail!
OMNIXMAIL jest w Era Omnix: http://link.interia.pl/f1896


--
Unsubscribe info:  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: Exim 4.50 with Content filtering and SPF

2005-06-20 Thread Herb Martin
You indicated that SPF might be dependent on SRS,
I don't see that (but might be missing something).

My limited experience confirms your previous email pointing
to IPv6 support as the hangup.

> > I compiled libspf & libsrs, though there were some tweaks 
> neccessary.

I take it that you commented out the IPv6 support somehow?
(I haven't even begun searching for those references...)

[Since you folks are kind enough to answer, I 
am presuming that this is the right place for
this discussion (let me know if that is incorrect.)]


It looks mostly like IPv6 stuff is causing the glitches.

--Thanks 
Herb

Only make output follows-
$ make
make  all-recursive
make[1]: Entering directory `./libspf2-1.2.5'
Making all in src
make[2]: Entering directory `./libspf2-1.2.5/src'
Making all in include
make[3]: Entering directory `./libspf2-1.2.5/src/include'
make[4]: Entering directory `./libspf2-1.2.5/src/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `./libspf2-1.2.5/src/include'
make[3]: Leaving directory `./libspf2-1.2.5/src/include'
Making all in libreplace
make[3]: Entering directory `./libspf2-1.2.5/src/libreplace'
make[4]: Entering directory `./libspf2-1.2.5/src/libreplace'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `./libspf2-1.2.5/src/libreplace'
make[3]: Leaving directory `./libspf2-1.2.5/src/libreplace'
Making all in libspf2
make[3]: Entering directory `./libspf2-1.2.5/src/libspf2'
make[4]: Entering directory `./libspf2-1.2.5/src/libspf2'
if /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../src/include -I../../src-g -O2
-Wall -MT spf_compile.lo -MD -MP -MF ".deps/spf_compile.Tpo" -c -o
spf_compile.lo spf_compile.c; \
then mv -f ".deps/spf_compile.Tpo" ".deps/spf_compile.Plo"; else rm -f
".deps/spf_compile.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src -g -O2
-Wall -MT spf_compile.lo -MD -MP -MF .deps/s
pf_compile.Tpo -c spf_compile.c  -DPIC -o .libs/spf_compile.o
In file included from ../../src/include/spf_response.h:165,
 from ../../src/include/spf_record.h:25,
 from ../../src/include/spf_server.h:21,
 from ../../src/include/spf.h:27,
 from spf_compile.c:41:
../../src/include/spf_request.h:30: error: field `ipv6' has incomplete type
../../src/include/spf_request.h:61: warning: parameter has incomplete type
In file included from ../../src/include/spf_dns.h:106,
 from ../../src/include/spf_server.h:22,
 from ../../src/include/spf.h:27,
 from spf_compile.c:41:
../../src/include/spf_dns_rr.h:34: error: field `' has incomplete type
In file included from ../../src/include/spf_server.h:22,
 from ../../src/include/spf.h:27,
 from spf_compile.c:41:
../../src/include/spf_dns.h:155: warning: parameter has incomplete type
In file included from spf_compile.c:42:
../../src/include/spf_internal.h: In function `SPF_mech_data_len':
../../src/include/spf_internal.h:87: error: invalid application of `sizeof'
to incomplete type `in6_addr'
spf_compile.c: In function `SPF_c_parse_ip4':
spf_compile.c:615: error: `INET_ADDRSTRLEN' undeclared (first use in this
function)
spf_compile.c:615: error: (Each undeclared identifier is reported only once
spf_compile.c:615: error: for each function it appears in.)
spf_compile.c:645: warning: implicit declaration of function `inet_pton'
spf_compile.c:615: warning: unused variable `buf'
spf_compile.c: In function `SPF_c_parse_ip6':
spf_compile.c:660: error: `INET_ADDRSTRLEN' undeclared (first use in this
function)
spf_compile.c:690: error: `AF_INET6' undeclared (first use in this function)
spf_compile.c:660: warning: unused variable `buf'
spf_compile.c: In function `SPF_c_mech_add':
spf_compile.c:753: error: invalid application of `sizeof' to incomplete type
`in6_addr'
make[4]: *** [spf_compile.lo] Error 1
make[4]: Leaving directory `./libspf2-1.2.5/src/libspf2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `./libspf2-1.2.5/src/libspf2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `./libspf2-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `./libspf2-1.2.5'
make: *** [all] Error 2



--
Unsubscribe info:  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: Error debuging with Cygwin: No symbol table is loaded. Use the "file" command

2005-06-20 Thread Fernando Barsoba

Mikael wrote:


"Fernando Barsoba" wrote:

 


Hello all,

I'm using Eclipse/CDT/Cygwin, and I'm trying to debug an application. I'm 
getting the following error: "No symbol table is loaded.  Use the "file" 
command."
   



I debug from withing Emacs and when I get that error message it usually 
means I forgot to compile with the -g flag.


 


Now it works, thank you very much. I forgot to put the -g in the makefile.


Fernando~

I'm a little bit confused about the origin of the problem. I have been 
able to debug with Eclispe/CDT/MinGW in the past, so I directly pointed 
out to a Cygwin configuration problem.


Any idea? Below you'll find the complete output from the Debug console.

Thanks,

Fernando



info threads
No registers.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
info program
  Using the running image of child thread 3592.0xe60.
Program stopped at 0x401053.
It stopped at a breakpoint that has since been deleted.
Type "info stack" or "info registers" for more information.
info threads
2 thread 3592.0x4f8  * 1 thread 3592.0xe60  info sharedlibrary
DLL Name   Load Address
ntdll.dll  7c901000
/cygdrive/f/WINDOWS/system32/kernel32.dll  7c801000
/usr/bin/cygwin1.dll   61001000
/cygdrive/f/WINDOWS/system32/advapi32.dll  77dd1000
/cygdrive/f/WINDOWS/system32/rpcrt4.dll77e71000
/cygdrive/f/WINDOWS/system32/secur32.dll   77fe1000
/cygdrive/f/WINDOWS/system32/user32.dll77d41000
/cygdrive/f/WINDOWS/system32/gdi32.dll 77f11000
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
Single stepping until exit from function main,
which has no line number information.
No breakpoint number 1.



   






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



 





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



Re: Exim 4.50 with Content filtering and SPF

2005-06-20 Thread Gerrit P. Haase

Gerrit P. Haase wrote:


Herb Martin wrote:


Tried recompiling SPF and failed that due to similar
errors with (each of):

 libspf2-1.2.4/
 libspf2-1.2.5/

but succeeded with  libsrs_alt-1.0rc1.tar.gz compile.
(which is more or less a sister package to SPF.)



libspf2 uses IPv6 which is not supported under Cygwin, and it is not
conditinal in SPF2.

 ^o


libsrs2 works fine.

I compiled libspf & libsrs, though there were some tweaks neccessary.



IIRC, libsrs / libsrs2 are prerequisites for libspf / libspf2?


Gerrit
--
=^..^=

--
Unsubscribe info:  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: Exim 4.50 with Content filtering and SPF

2005-06-20 Thread Gerrit P. Haase

Herb Martin wrote:


Tried recompiling SPF and failed that due to similar
errors with (each of):

 libspf2-1.2.4/
 libspf2-1.2.5/

but succeeded with  libsrs_alt-1.0rc1.tar.gz compile.
(which is more or less a sister package to SPF.)


libspf2 uses IPv6 which is not supported under Cygwin, and it is not
conditinal in SPF2.
libsrs2 works fine.

I compiled libspf & libsrs, though there were some tweaks neccessary.


Gerrit
--
=^..^=

--
Unsubscribe info:  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: Mouse button copy/paste not working

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Charles Packer wrote:

> As a Unix veteran but first-time Cygwin user, I've discovered that I
> can't paste selected text with the middle button under these
> circumstances: I have logged into a remote Unix system and start some X

Wrong list.  Please follow-up to  (I've
set the Reply-To: accordingly).

> window from there -- an xterm, say, or xedit. I select text in one of
> those windows (by dragging with the left button down) and then try to
> paste somewhere else in the window. It will paste only if the selected
> text is still highlighted. This is not right; it should have been copied
> to some buffer that is still available to the middle button even if the
> originally selected text is no longer highlighted.
>
> Oddly enough, the problem doesn't exist with the local Cygwin xterms and
> xedit -- only with those that the remote system creates. For what it's
> worth, the .xinitrc script that Cygwin uses in this installation runs
> xwinclip and then wmaker. The invocation of twm has been commented out.
> When I do a ps, I see that wmaker appears twice.
>
> Incidentally, occasionally the middle button does worse than merely not
> paste; it kills the window. The error message showing in the main Cygwin
> xterm is: BadAtom(invalid Atom parameter); Major opcode of failed
> request: 18(X_Change Property).

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

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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



RE: Cygwin and firewalls

2005-06-20 Thread Gary R. Van Sickle
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Schulman
> Sent: Saturday, June 18, 2005 1:51 PM
> To: cygwin@cygwin.com
> Subject: Re: Cygwin and firewalls
> 
[snip]
> OK, thanks.  Learn something new every day.
> 

Not if you're careful.

;-)

-- 
Gary R. Van Sickle


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



Re: Cygwin and firewalls

2005-06-20 Thread Shankar Unni

Christopher Faylor wrote:

On Fri, Jun 17, 2005 at 09:50:07PM +0200, Krzysztof Duleba wrote:


I am wondering if there is a firewall that coexists with Cygwin well.


This is a good question and, if anyone has a definitive answer, I think
it should go into the FAQ.


I have had generally good experiences with the Windows XP SP2 firewall 
and AVG (both Free and Professional) Anti-Virus.



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



Possible Bug in /proc/partitions ??

2005-06-20 Thread Bengt-Arne Fjellner
either /proc/prtitions has something wrong or i have.
This is how it looks.
$ cat /proc/partitions
major minor  #blocks  name

8 0  19535040 sdaOK
816  78124095 sdbOK
817 56196 sdb1   OK
818  61978770 sdb2   OK
819514080 sdb3   OK
820  15575017 sdb4   extended no name??
821  14546826 sdb5   found as sdb4
822   1020127 sdb6   extended no name??
825   1020096 sdb9   found as sdb5
832 120624052 sdcOK
833 120624021 sdc1   OK
848  58613152 sddOK
849  58613121 sdd1   OK
865253984 sde1   extended no name??
869   2062305 sde5   found as sde1


I dont think that the extended partitions should have a device??
and i find the other partitions as i have stated.

-- 
Bengt-Arne Fjellner
0910-58 53 69

Cygwin Configuration Diagnostics
Current System Time: Mon Jun 20 18:42:31 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\home\baf\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
.\
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\indigo\perl\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\MATLAB7\bin\win32
.\
c:\Program\Delade filer\Roxio Shared\DLLShared
c:\Program\Microsoft SQL Server\80\Tools\Binn\
%ITAPaging%
"C
C:\cygwin\Program\Symantec\Norton Ghost 2003\"
c:\Program\DELADE~1\SONICS~1\
c:\Program\Visual_Studio\Common\Tools\WinNT
c:\Program\Visual_Studio\Common\MSDev98\Bin
c:\Program\Visual_Studio\Common\Tools
c:\Program\Visual_Studio\VC98\bin
C:\cygwin\home\baf\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1005(baf)   GID: 513(Ingen)
0(root)  513(Ingen)   544(Administratörer)
545(Användare)   1007(Debugger Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1005(baf)   GID: 513(Ingen)
0(root)  513(Ingen)   544(Administratörer)
545(Användare)   1007(Debugger Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `baf'
PWD = `/home/baf/dkoll'
CYGWIN = `server'
HOME = `/home/baf'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\baf'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man'
APPDATA = `C:\Documents and Settings\baf\Application Data'
SSH_AGENT_PID = `5628'
HOSTNAME = `bafstat3'
VS71COMNTOOLS = `C:\Program\Microsoft Visual Studio .NET 2003\Common7\Tools\'
XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB'
TERM = `xterm'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 4 Stepping 1, GenuineIntel'
WINDIR = `C:\WINDOWS'
WINDOWID = `4194318'
OLDPWD = `/home/baf'
USERDOMAIN = `BAFSTAT3'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
XAPPLRESDIR = `/usr/X11R6/lib/X11/app-defaults'
XTERM_SHELL = `/usr/bin/bash'
XCMSDB = `/usr/X11R6/lib/X11/Xcms.txt'
TEMP = `/cygdrive/c/DOCUME~1/baf/LOKALA~1/Temp'
COMMONPROGRAMFILES = `C:\Program\Delade filer'
XNLSPATH = `/usr/X11R6/lib/X11/locale'
LIB = `C:\Program\Microsoft Visual Studio .NET 
2003\SDK\v1.1\Lib\;C:\Program\Visual_Studio\VC98\mfc\lib;C:\Program\Visual_Studio\VC98\lib'
SSH_AUTH_SOCK = `/tmp/bafsock'
TERMCAP = `xterm-r6|xterm|xterm X11R6 
version:am:km:mi:ms:xn:co#90:it#8:li#40:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:'
USERNAME = `baf'
PROCESSOR_LEVEL = `15'
BLOCKSIZE = `1K'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
CYGWIN_ROOT = `\cygwin'
USERPROFILE = `C:\Documents and Settings\baf'
PS1 = `\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
TT = `bash'
LOGONSERVER = `\\BAFSTAT3'
PROCESSOR_ARCHITECTURE = `x86'
!C: = `C:\cygwin\home\baf\bin'
XTERM_VERSION = `Cygwin 6.8.2.0(202)'
SHLVL = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = `C:'
PROMPT = `$P$G'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
LOGNAME = `baf'
TMP = `/cygdrive/c/DOCUME~1/baf/LOKALA~1/Temp'
SYSTEMROOT = `C:\WINDOWS'
PRINTER = `\\lunte\Data'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0401'
MSDEVDIR = `C:\Program\Visual_Studio\Common\MSDev98'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
PROGRAMFILES = `C:\Program'
DISPLAY = `127.0.0.1:0.0'
NUMBER_OF_PROCESSORS = `2'
INCLUDE = `C:\Program\Microsoft Visual Studio .N

Re: Error debuging with Cygwin: No symbol table is loaded. Use the "file" command

2005-06-20 Thread Mikael

"Fernando Barsoba" wrote:

> Hello all,
>
> I'm using Eclipse/CDT/Cygwin, and I'm trying to debug an application. I'm 
> getting the following error: "No symbol table is loaded.  Use the "file" 
> command."

I debug from withing Emacs and when I get that error message it usually 
means I forgot to compile with the -g flag.

>
> I'm a little bit confused about the origin of the problem. I have been 
> able to debug with Eclispe/CDT/MinGW in the past, so I directly pointed 
> out to a Cygwin configuration problem.
>
> Any idea? Below you'll find the complete output from the Debug console.
>
> Thanks,
>
> Fernando
>
> 
>
> info threads
> No registers.
> No symbol table is loaded.  Use the "file" command.
> No symbol table is loaded.  Use the "file" command.
> No symbol table is loaded.  Use the "file" command.
> info program
>Using the running image of child thread 3592.0xe60.
> Program stopped at 0x401053.
> It stopped at a breakpoint that has since been deleted.
> Type "info stack" or "info registers" for more information.
> info threads
>  2 thread 3592.0x4f8  * 1 thread 3592.0xe60  info sharedlibrary
> DLL Name   Load Address
> ntdll.dll  7c901000
> /cygdrive/f/WINDOWS/system32/kernel32.dll  7c801000
> /usr/bin/cygwin1.dll   61001000
> /cygdrive/f/WINDOWS/system32/advapi32.dll  77dd1000
> /cygdrive/f/WINDOWS/system32/rpcrt4.dll77e71000
> /cygdrive/f/WINDOWS/system32/secur32.dll   77fe1000
> /cygdrive/f/WINDOWS/system32/user32.dll77d41000
> /cygdrive/f/WINDOWS/system32/gdi32.dll 77f11000
> No symbol table is loaded.  Use the "file" command.
> No symbol table is loaded.  Use the "file" command.
> No symbol table is loaded.  Use the "file" command.
> Single stepping until exit from function main,
> which has no line number information.
> No breakpoint number 1.
>
>
> 




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



Mouse button copy/paste not working

2005-06-20 Thread Charles Packer
As a Unix veteran but first-time Cygwin user,  I've discovered that I 
can't paste selected text with the middle button under these 
circumstances: I have logged into a remote Unix system and start some X 
window from there -- an xterm, say, or xedit. I select text in one of 
those windows (by dragging with the left button down) and then try to 
paste somewhere else in the window. It will paste only if the selected 
text is still highlighted. This is not right; it should have been copied 
to some buffer that is still available to the middle button even if the 
originally selected text is no longer highlighted.


Oddly enough, the problem doesn't exist with the local Cygwin xterms and 
xedit -- only with those that the remote system creates. For what it's 
worth, the .xinitrc script that Cygwin uses in this installation runs 
xwinclip and then wmaker. The invocation of twm has been commented out. 
When I do a ps, I see that wmaker appears twice.


Incidentally, occasionally the middle button does worse than merely not 
paste; it kills the window. The error message showing in the main Cygwin 
xterm is: BadAtom(invalid Atom parameter); Major opcode of failed 
request: 18(X_Change Property).





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



Error debuging with Cygwin: No symbol table is loaded. Use the "file" command

2005-06-20 Thread Fernando Barsoba

Hello all,

I'm using Eclipse/CDT/Cygwin, and I'm trying to debug an application. 
I'm getting the following error: "No symbol table is loaded.  Use the 
"file" command."


I'm a little bit confused about the origin of the problem. I have been 
able to debug with Eclispe/CDT/MinGW in the past, so I directly pointed 
out to a Cygwin configuration problem.


Any idea? Below you'll find the complete output from the Debug console.

Thanks,

Fernando



info threads
No registers.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
info program
   Using the running image of child thread 3592.0xe60.
Program stopped at 0x401053.
It stopped at a breakpoint that has since been deleted.
Type "info stack" or "info registers" for more information.
info threads
 2 thread 3592.0x4f8  * 1 thread 3592.0xe60  info sharedlibrary
DLL Name   Load Address
ntdll.dll  7c901000
/cygdrive/f/WINDOWS/system32/kernel32.dll  7c801000
/usr/bin/cygwin1.dll   61001000
/cygdrive/f/WINDOWS/system32/advapi32.dll  77dd1000
/cygdrive/f/WINDOWS/system32/rpcrt4.dll77e71000
/cygdrive/f/WINDOWS/system32/secur32.dll   77fe1000
/cygdrive/f/WINDOWS/system32/user32.dll77d41000
/cygdrive/f/WINDOWS/system32/gdi32.dll 77f11000
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
Single stepping until exit from function main,
which has no line number information.
No breakpoint number 1.



--
Unsubscribe info:  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: Clone cygwin-setup settings from one PC to another

2005-06-20 Thread Igor Pechtchanski
On Mon, 20 Jun 2005, Oliver Geisen wrote:

> > > > is it possible to find out which packages installed via SETUP.EXE on
> > > > one PC and use this information (selection) to automatically install
> > > > the same on another PC ?
>
> > Or simply copy the installed.db file, make the package cache available on
> > the network, do "install from local directory", and set All to
> > "Reinstall".
>
> Sounds good...
>
> > There may even be a command-line option to setup to do this.
> > You'd still need to replicate any changed configuration files, though...
>
> "may" ? or is there any ?

"May".  I recall a patch to setup to add an "--install-all" option, but I
don't think it's been applied.  Here's a reference to the thread:
 -- feel free to
extend on it to get a "--reinstall-all" option (which would probably be
more useful anyway).

> This would be the key for a distribution system.
>
> So i could save the "installed.db" for some systems according to their
> station names und start an sync-script everytime i change something.

Once the above option is in setup, this might work.

> This script could be started from ssh-bash.

Careful there!  One issue with this is that unless you're running a
non-Cygwin sshd and bash, replacing the dependencies of either program
will require a reboot.  Another issue is that setup.exe is a pure Win32
program, and will require that the sshd service has the "interact with
desktop" bit.

> BTW: What is the meaning of the *.lst.gz -files in the /etc/setup folder ?

They contain the listings of all installed packages -- "cygcheck -l" uses
them, as well as "cygcheck -f".
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:  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: Exim 4.50 with Content filtering and SPF

2005-06-20 Thread Pierre A. Humblet
- I am about to release exim 4.51, which enables the
  features in chapter 40 of
http://www.exim.org/exim-html-4.50/doc/html/spec.html

- Exim has a non-traditional configuration and makefile
  system. All Makefile variables have default values
  that can be modified by an OS specific Makefile 
  (OS/Makefile-CYGWIN) and further modified by
  local options (Local/Makefile).
  If you build exim (patched for Cygwin) with an empty
  Local/Makefile, you get exactly the features present in
  the pre-compiled version of exim available with setup.
 This is explained in the README, in
 /usr/share/doc/Cygwin/

Pierre
 
- Original Message - 
From: "Herb Martin" <[EMAIL PROTECTED]>
To: 
Sent: Monday, June 20, 2005 9:23 AM
Subject: Exim 4.50 with Content filtering and SPF


> In just a week or so, I have fallen in love with CygWin,
> and cannot understand how I overlooked it for so long.
> 
> Thanks folks.  Well done to all who contribute!
> 
> [Please redirect me to the correct list/newsgroup;
> even RTFM is fine if you will only tell me which
> fine manual and preferable a page or chapter reference.]
> 
> Question overview:  related to enabling make options,
> and to compiling new versions.  I am not looking for
> specific diagnostics of my compile problems (since I
> don't have the output at the moment) but rather any
> hints or direction to understanding this portor 
> reference to the correct list/newsgroups and documentation
> for understanding such subjects in general.
> 
> (Background:  I am pretty good with compilers and make
> but not very experienced with CygWin or Unix specifically.)
> 
> I successfully recompiled Exim 3.50 under CygWin (current 
> CygWin version from last week: cygwin-1.5.17-1).
> 
> It seems the 'normal' Exim "Local/Makefile" isn't really 
> used for CygWin compiles (except as a re-Make signal if
> touched.)  Maybe this is normal for OS ports, but it seems
> to invalidate some of the documentation in the Local/Makefile,
> or at least doesn't replace it with any guidelines.)
> 
> It appears that the Makefile is really "OS/Makefile-CYGWIN",
> and that there are some CygWin specifics in: CYGWIN-PATCHES/
> 
> It was possible to enable content filtering by modifying
> the Makefile-CYGWIN (WITH_CONTENT_SCAN=yes), but had trouble 
> with both  (separately) of:
> 
> #EXIM_PERL=perl.o
> #EXPERIMENTAL_SPF=yes
> 
> It seemed to be due to linking or library errors.
> 
> Tried recompiling SPF and failed that due to similar
> errors with (each of):
> 
> libspf2-1.2.4/
> libspf2-1.2.5/
> 
> ...but succeeded with  libsrs_alt-1.0rc1.tar.gz compile.
> (which is more or less a sister package to SPF.)
> 
> My attempts to compile Exim 4.51 were unsuccessful; my
> assumption is that this is due to not having (not even 
> attempting to use) the CYGWIN specifics in the current
> CygWin 3.50 version but not automatically in the current
> Exim 3.51 general version.
> 
> Again, I am looking for strategy guidelines (unless you
> already know specific fixes etc.)
> 
> --
> Herb Martin
> 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 


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



Re: NTFS & cygwin inodes

2005-06-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Corinna Vinschen on 6/11/2005 9:00 AM:
> Good question.  It shouldn't, but I wouldn't give any gurantee.
> However, mkisofs doesn't know the type of the underlying FS, so
> it just plays safe.  The hash algorithm isn't 100% correct?  Well...
> I'm wondering how they mean it and why.  Any hint would be nice.

At one point in the distant past
(http://sourceware.org/ml/cygwin/2002-04/msg01648.html), the hash
algorithm was very weak on strings differing only in the suffix (a common
feature of pathnames) (if I recall correctly,
d:\cygwin\tmp\classpath\java\n{et,io} clashed on my win98 box), and I
submitted a patch to improve it.  I think a different hash is in use
today, but it is likewise strong enough for every file I've run across.

The other weirdness is that on FAT and other file systems that don't
support hard links, link() is faked by producing copies, which no longer
have unique inodes, so maybe that is part of the problem.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtsPg84KuGfSFAYARApWqAKCkR2eK+tygxnz6S7VSheA/35IeyACgubT2
eTO2CXPYKNY7tyePOviYLWg=
=IfOm
-END PGP SIGNATURE-

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



Exim 4.50 with Content filtering and SPF

2005-06-20 Thread Herb Martin
In just a week or so, I have fallen in love with CygWin,
and cannot understand how I overlooked it for so long.

Thanks folks.  Well done to all who contribute!

[Please redirect me to the correct list/newsgroup;
even RTFM is fine if you will only tell me which
fine manual and preferable a page or chapter reference.]

Question overview:  related to enabling make options,
and to compiling new versions.  I am not looking for
specific diagnostics of my compile problems (since I
don't have the output at the moment) but rather any
hints or direction to understanding this portor 
reference to the correct list/newsgroups and documentation
for understanding such subjects in general.

(Background:  I am pretty good with compilers and make
but not very experienced with CygWin or Unix specifically.)

I successfully recompiled Exim 3.50 under CygWin (current 
CygWin version from last week: cygwin-1.5.17-1).

It seems the 'normal' Exim "Local/Makefile" isn't really 
used for CygWin compiles (except as a re-Make signal if
touched.)  Maybe this is normal for OS ports, but it seems
to invalidate some of the documentation in the Local/Makefile,
or at least doesn't replace it with any guidelines.)

It appears that the Makefile is really "OS/Makefile-CYGWIN",
and that there are some CygWin specifics in: CYGWIN-PATCHES/

It was possible to enable content filtering by modifying
the Makefile-CYGWIN (WITH_CONTENT_SCAN=yes), but had trouble 
with both  (separately) of:

#EXIM_PERL=perl.o
#EXPERIMENTAL_SPF=yes

It seemed to be due to linking or library errors.

Tried recompiling SPF and failed that due to similar
errors with (each of):

 libspf2-1.2.4/
 libspf2-1.2.5/

...but succeeded with  libsrs_alt-1.0rc1.tar.gz compile.
(which is more or less a sister package to SPF.)

My attempts to compile Exim 4.51 were unsuccessful; my
assumption is that this is due to not having (not even 
attempting to use) the CYGWIN specifics in the current
CygWin 3.50 version but not automatically in the current
Exim 3.51 general version.

Again, I am looking for strategy guidelines (unless you
already know specific fixes etc.)

--
Herb Martin


--
Unsubscribe info:  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: Making /bin/sh == bash. Has the time come?

2005-06-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Corinna Vinschen on 6/11/2005 2:49 AM:
>>>Looks like the time has come.
>>
>>Wow.  I never expected that bash would actually be faster.
>>
>>I would appreciate getting a few more benchmarks for other packages.
>>If this holds out then moving to bash is a no-brainer.
> 
> 
> Looks like we're just waiting for Eric Blake to return from vacation.

Well, I've just returned, but have several hundred emails to plow through
to see what else happened while I was out.  Have any of these benchmarks
been run with the bash-3.0-2 experimental version?

Currently, bash-3.0-2 dynamically links in libintl and libiconv (along
with at least sed and coreutils, which is a good reason that these
libraries should be made part of the base packages).  Does dynamic linking
affect the time for a fork() to take place, positively or negatively?
Also, I am still waiting for an updated libreadline6 package before bash
can dynamically link against libreadline as opposed to its own static
version of readline.  And it will take some time before I can audit the
bash source code to see if there are any fork/exec pairs that can be
rewritten with a spawn idiom, to see if that offers any speed improvements.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtr+/84KuGfSFAYARArZ3AJ0cu3kTDkEUFf7nVVvEEOKNwj+pSQCgqDqe
oipNP9n7eKN1fVv5f02kZ7M=
=ahck
-END PGP SIGNATURE-

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



Re: sshd and /usr/bin/zsh

2005-06-20 Thread Corinna Vinschen
On Jun 20 14:01, Martin Vetter wrote:
> >I just upgraded cygwin and now
> >I cannot login to the machine via ssh unless
> >I change /etc/passwd to use /bin/bash for my shell.
> 
> same here after a cygwin update (windows 2000, cygwin 1.5.17):
> 
> -  zsh as login shell for non-administrator = login via sshd hangs (!)
> - bash as login shell for non-administrator = login via sshd works fine
> -  zsh as login shell for the administrator = login via sshd works fine
> 
> workaround:
> use cygwin1.dll release 1.5.14,

There's a far better way:  Go a step forward instead of three steps
back.  Try the latest snapshot from http://cygwin.com/snapshots/.

I just tried to use zsh as login shell from an ssh session and guess
what?  It works.

> hope this helps.[...]

Nearly as much as telling us that it works on Linux.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: sshd and /usr/bin/zsh

2005-06-20 Thread Martin Vetter

hi,


I just upgraded cygwin and now
I cannot login to the machine via ssh unless
I change /etc/passwd to use /bin/bash for my shell.


same here after a cygwin update (windows 2000, cygwin 1.5.17):

-  zsh as login shell for non-administrator = login via sshd hangs (!)
- bash as login shell for non-administrator = login via sshd works fine
-  zsh as login shell for the administrator = login via sshd works fine

workaround:
use cygwin1.dll release 1.5.14,
.{15,16,17} won't work ...

- stop cygwin sshd and all other cygwin-related processes
- locate cygwin-1.5.14-1.tar.bz2 via google
- extract usr/bin/cygwin1.dll from cygwin-1.5.14-1.tar.bz2
- backup /usr/bin/cygwin1.dll (!), then
- replace /usr/bin/cygwin1.dll in the cygwin installation tree
- start cygwin sshd
- voila, zsh works as login shell again :o)

hope this helps. regards,

martin


--
Unsubscribe info:  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: newbie-Setup issue-VI Editor

2005-06-20 Thread Ken Dibble



Seemanto Barua wrote:


Hi ,

I have installed cygwin for my windows XP from http://cygwin.com/. The
installation went fine without any errors. But now when i open a
session by running cygwin.bat I get the minimalistic shell. I dont
have VI editor.Bash says command not found for 'vi' or 'vim' . Do i
have to install new packages for VI ? One more thing, do i need to
install PERL module separetely ?
 




You'll need to install vim and perl. 
You'll find vim in the editors category and perl in the interpreters 
category using the cygwin setup program.


Ken


--
Unsubscribe info:  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: IE5 settings in setup.exe

2005-06-20 Thread Morche Matthias
Did You consider using a proxy of Your own eg Proxomitron that is able to 
manipulate the user-agent?

[EMAIL PROTECTED] wrote:
> Cywgin might not require a specific broser, but the proxy server
> might. Hence, it might block cygwin if it sends an unauthorized
> user-agent. I am not sure whether it can block "programs" per se: if
> the user agent string is the same as IE's can the proxy recognize it
> comes from cygwin?
...

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



newbie-Setup issue-VI Editor

2005-06-20 Thread Seemanto Barua
Hi ,

I have installed cygwin for my windows XP from http://cygwin.com/. The
installation went fine without any errors. But now when i open a
session by running cygwin.bat I get the minimalistic shell. I dont
have VI editor.Bash says command not found for 'vi' or 'vim' . Do i
have to install new packages for VI ? One more thing, do i need to
install PERL module separetely ?

--
Unsubscribe info:  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 chance to get Apache 2.0.xx working on cygwin?

2005-06-20 Thread Gerrit P. Haase

Carlo Florendo wrote:

Now that we're talking about apache 2 here, is there some chance we 
could include PHP as a module in apache?  The 
apache-php-postgresql/mysql framework has been waiting for a long time 
in cygwin now.  I remember around 2 years ago that the framework (at 
least with postgresql) used to be in cygwin.


Why not? If you or anyone is contributing PHP.

There is just one problem.  PHP *can* compile in cygwin but the wrong 
thing is compiled.   (I'm trying to configure PHP as a module that will 
load into apache)  Doing a ./configure, make, runs with no errors.  
However, when doing a make install, here's what crops up:


$ make install
Installing PHP SAPI module:   apache
apxs:Error: file libs/libphp4.so is not a DSO
make: *** [install-sapi] Error 1

The thing is, libs/libphp4.so does not exist but only libs/libpp4.a


This is the problem, Cygwin is not supported from the PHP people.  They
use their own buildsystem instead of an automake/autoconf/libtool
chain.


I remember someone saying before that there is a problem in libtool.  
However, I don't quite understand how libtool works.


Here's what the make warning says:

libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin 
shared libraries




This usually means that the flag -no-undefined is missing.  However,
once you add this flag the mess begins.


If anyone could help me build php4 on cygwin, I would volunteer as its 
maintainer.


I got it compiled once, including shared modules, but it was too much
work.

Try to understand how their build systems works and add the missing
bits, most work will be to get the changes included in the upstream
sources.


Thank you very much!



Gerrit
--
=^..^=

--
Unsubscribe info:  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: Clone cygwin-setup settings from one PC to another

2005-06-20 Thread Oliver Geisen

Hi,


is it possible to find out which packages installed via SETUP.EXE on
one PC and use this information (selection) to automatically install
the same on another PC ?


Or simply copy the installed.db file, make the package cache available 
on

the network, do "install from local directory", and set All to
"Reinstall".

Sounds good...


There may even be a command-line option to setup to do this.
You'd still need to replicate any changed configuration files, 
though...

"may" ? or is there any ?
This would be the key for a distribution system.
So i could save the "installed.db" for some systems according to their 
station names und start
an sync-script everytime i change something. This script could be 
started from ssh-bash.


BTW: What is the meaning of the *.lst.gz -files in the /etc/setup 
folder ?



Mit freundlichen Grüssen,

Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [EMAIL PROTECTED]
---


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