RE: "Application failed to initialize (0xc0000022)"

2002-10-13 Thread Ralf Habacker

Hi Jashon,

> > Thanks for the pointer. My main problem was that I had somehow gotten
> > a version of rebase that took different parameters (it's not the
> > Microsoft one--it may have come from the KDE site). The version from
> > your site is more like what I expected.

The basic functionality is the same, but has some extends because
1. Win Me doesn't have a rebase function and
2. it contains some stuff to fix the corruptions of dll's stripped by recent
strip command.


$ rebase --help
rebase Release: 0.4
usage: rebase [-D] -b BaseAddress [-d] -o Offset  ...  rebase 
([-D] print debug infos)
usage: rebase [-D] -l  ...list Imagebase and -size of 
usage: rebase [-D] -c   check relocations
usage: rebase [-D] -f   fix bad relocations

I have written this because the were some needs for enhancements and I don't
like the idea to have multiples rebase, but for KDE I need this too.
So if someone will take this rebase enhancements and add this to Jasons rebase,
do it.
And if this tool will be added to the cygwin or cygutil package (The first I
think will be the best) there is no need to put it on the kde-cygwin download
area.

>
> My goal was to make my rebase as similar in usage to the Microsoft one
> as possible.
>
And what about Win ME ? How do you could archive your goal, when there isn't any
rebase support ?

Regards
Ralf


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.13-2 idiosyncracy

2002-10-13 Thread Christopher Faylor

On Mon, Oct 14, 2002 at 01:11:44AM -0400, Igor Pechtchanski wrote:
>Hi,
>I'm not sure if this is a bug, or just weird behavior, but on the new
>Cygwin the output of 'ps' shows all bash shells but the current one in the
>'waiting for tty input' state (an 'I' in the first column).

What's wrong with that?  The current one is not waiting for input if it
is running ps.

>I also got a bash into a 'stopped' state (an 'S' in the first column of ps
>output) by minimizing an xterm quickly, while bash is loading.  This is
>only possible to reproduce when cygwin1.dll is not yet loaded, so bash
>waits for it.  Sounds like some sort of a race condition...  I'm not sure
>how to debug this or provide any additional info.

And I don't understand.  How can you get xterm started without having
cygwin1.dll loaded?

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cygwin 1.3.13-2 idiosyncracy

2002-10-13 Thread Igor Pechtchanski

Hi,
I'm not sure if this is a bug, or just weird behavior, but on the new
Cygwin the output of 'ps' shows all bash shells but the current one in the
'waiting for tty input' state (an 'I' in the first column).

I also got a bash into a 'stopped' state (an 'S' in the first column of ps
output) by minimizing an xterm quickly, while bash is loading.  This is
only possible to reproduce when cygwin1.dll is not yet loaded, so bash
waits for it.  Sounds like some sort of a race condition...  I'm not sure
how to debug this or provide any additional info.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: 1.3.13-2 uploading now (was Re: cygwin 1.3.13-1 crash)

2002-10-13 Thread Igor Pechtchanski

On Sun, 13 Oct 2002, Christopher Faylor wrote:

> On Sun, Oct 13, 2002 at 10:54:05PM -0400, Igor Pechtchanski wrote:
> >However, the ssh X forwarding still doesn't work (consistently).  ssh
> >spawns sh, which hangs on exit.  The strace output is slightly different
> >for the ssh1 and ssh2 cases, which may also be due to the fact that I
> >don't use password authentication for ssh1...  I can post the strace
> >output for both cases to the list if necessary.
>
> This one, I can see, at least.  I'm uploading a new 1.3.13-2 version
> now.
> cgf

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

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Re[4]: cannot run apache with mod_php4

2002-10-13 Thread Elfyn McBratney

Hi,

Re-compile php4...

Take a look at '/usr/doc/Cygwin/php-4.2.0-1.README' this will give you
instructions on how to build php also take a look at the configure options
`/usr/src/php-4.2.0-1/configure --help`, youll need the source dist.
installed to re-compile the apache sapi.

Elfyn

- Original Message -
From: Dmitry Suhodoev <[EMAIL PROTECTED]>
To: Elfyn McBratney <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 5:21 AM
Subject: Re[4]: cannot run apache with mod_php4


> hi, Elfyn
>
> > The only other thing it could be is that you havent got all the
libraries
> > you need... run this from cygwin and reply with the output to the list:
> > $ cygcheck /lib/apache/libphp4.dll
>
> all libraries exists, i.e:
>
> Found: .\libphp4.dll
> .\libphp4.dll
>   d:\work\cygwin\usr\local\bin\cygbz21.0.dll
> d:\work\cygwin\usr\local\bin\cygwin1.dll
>   D:\WINXP\System32\KERNEL32.dll
> D:\WINXP\System32\ntdll.dll
>   d:\work\cygwin\usr\local\bin\cygcrypto.dll
>   d:\work\cygwin\usr\local\bin\cygintl-1.dll
>   d:\work\cygwin\usr\local\bin\pq.dll
>   d:\work\cygwin\usr\local\bin\cygxml2-2.dll
> d:\work\cygwin\usr\local\bin\cygz.dll
>   d:\work\cygwin\usr\local\bin\cyghttpd.dll
>
> --
> raVen, http://raven.elk.ru/, icq#550428
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re[4]: cannot run apache with mod_php4

2002-10-13 Thread Dmitry Suhodoev

hi, Elfyn

> The only other thing it could be is that you havent got all the libraries
> you need... run this from cygwin and reply with the output to the list:
> $ cygcheck /lib/apache/libphp4.dll

all libraries exists, i.e:

Found: .\libphp4.dll
.\libphp4.dll
  d:\work\cygwin\usr\local\bin\cygbz21.0.dll
d:\work\cygwin\usr\local\bin\cygwin1.dll
  D:\WINXP\System32\KERNEL32.dll
D:\WINXP\System32\ntdll.dll
  d:\work\cygwin\usr\local\bin\cygcrypto.dll
  d:\work\cygwin\usr\local\bin\cygintl-1.dll
  d:\work\cygwin\usr\local\bin\pq.dll
  d:\work\cygwin\usr\local\bin\cygxml2-2.dll
d:\work\cygwin\usr\local\bin\cygz.dll
  d:\work\cygwin\usr\local\bin\cyghttpd.dll

-- 
raVen, http://raven.elk.ru/, icq#550428


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Re[2]: cannot run apache with mod_php4

2002-10-13 Thread Elfyn McBratney

HI,

The only other thing it could be is that you havent got all the libraries
you need... run this from cygwin and reply with the output to the list:

$ cygcheck /lib/apache/libphp4.dll

Elfyn

- Original Message -
From: Dmitry Suhodoev <[EMAIL PROTECTED]>
To: Elfyn McBratney <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 14, 2002 4:50 AM
Subject: Re[2]: cannot run apache with mod_php4


> hi, Elfyn
>
> > Ive checked the list and it seems that your problem is in your dll's.
This
> > problem can (hopefully) be fixed by rebasing. Although this is *should*
> > work, it is an entirely experimental phase and could muff them up
> > completely...
> > shell> cd /tmp
> > shell> wget http://www.tishler.net/jason/software/rebase/rebase.exe
> > shell> rebase -d -b 0x6800 -o 0x1 /lib/apache/*.dll
>
> i has rebased my dlls by your program, and it also doesn't work, but with
> other library staticaly imported by libphp4.dll:
>
> [Mon Oct 14 09:44:28 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0
configured -- resuming normal operations
> [Mon Oct 14 09:44:28 2002] [notice] Accept mutex: pthread (Default:
pthread)
> D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap
D:\work\cygwin\bin\cygcrypto.dll to same address as parent -- 0x6D
> 353 [main] httpd 2900 sync_with_child: child 2928(0x640) died before
initialization with status code 0x1
>   32941 [main] httpd 2900 sync_with_child: *** child state child loading
dlls
> [Mon Oct 14 09:44:29 2002] [error] (11)Resource temporarily unavailable:
fork: Unable to fork new process
>
> please, help me again. all of my cygwin dll libraries has been installed
from
> last distrubution.
>
> --
> raVen, http://raven.elk.ru/, icq#550428
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re[2]: cannot run apache with mod_php4

2002-10-13 Thread Dmitry Suhodoev

hi, Elfyn

> Ive checked the list and it seems that your problem is in your dll's. This
> problem can (hopefully) be fixed by rebasing. Although this is *should*
> work, it is an entirely experimental phase and could muff them up
> completely...
> shell> cd /tmp
> shell> wget http://www.tishler.net/jason/software/rebase/rebase.exe
> shell> rebase -d -b 0x6800 -o 0x1 /lib/apache/*.dll

i has rebased my dlls by your program, and it also doesn't work, but with
other library staticaly imported by libphp4.dll:

[Mon Oct 14 09:44:28 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0 configured -- 
resuming normal operations
[Mon Oct 14 09:44:28 2002] [notice] Accept mutex: pthread (Default: pthread)
D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap 
D:\work\cygwin\bin\cygcrypto.dll to same address as parent -- 0x6D
353 [main] httpd 2900 sync_with_child: child 2928(0x640) died before 
initialization with status code 0x1
  32941 [main] httpd 2900 sync_with_child: *** child state child loading dlls
[Mon Oct 14 09:44:29 2002] [error] (11)Resource temporarily unavailable: fork: Unable 
to fork new process

please, help me again. all of my cygwin dll libraries has been installed from
last distrubution.

-- 
raVen, http://raven.elk.ru/, icq#550428


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




latest cvs fork problems

2002-10-13 Thread Steve O

On Mon, Oct 14, 2002 at 03:09:50AM -, [EMAIL PROTECTED] wrote:
> <[EMAIL PROTECTED]>:
> Sorry, only subscribers may post.  See the project web page for details: 
>http://www.cygwin.com/lists.html (#5.7.2)

Hi,
I was trying to get the latest cygwin CVS working and ran into some 
difficulties.  An strace of rxvt hangs as it forks:

...
   36  135315 [main] rxvt 1644 void: 0x0 = signal (3, 0x4010B8)
   36  135351 [main] rxvt 1644 void: 0x0 = signal (15, 0x4010B8)
   36  135387 [main] rxvt 1644 void: 0x0 = signal (20, 0x401048)
   43  135430 [main] rxvt 1644 fork: entering
  468  135898 [proc] rxvt 1644 wait_subproc: starting


hitting Control-C hangs here:

...
   51 5778824 [unknown (0xAA8)] rxvt 1644 kill_worker: 0 = kill_worker (1644, 2)
   37 5778861 [unknown (0xAA8)] rxvt 1644 kill_pgrp: 0 = kill (1644, 2)
  343 5779204 [sig] rxvt 1644 wait_sig: looping

hitting another Control-C starts a loop:

1921941 7701145 [unknown (0x338)] rxvt 1644 _kill: kill (-1644, 2)
  132 7701277 [unknown (0x338)] rxvt 1644 kill_pgrp: pid 1644, signal 2
 1046 7702323 [unknown (0x338)] rxvt 1644 kill_pgrp: killing pid 1644, pgrp 1644, 
p->ctty 1073741824, myself->ctty 1073741824
   82 7702405 [unknown (0x338)] rxvt 1644 sig_send: pid 1644, signal 2, its_me 1
   44 7702449 [unknown (0x338)] rxvt 1644 sig_send: Waiting for thiscomplete 0x758
 1280 7703729 [sig] rxvt 1644 wait_sig: awake
  121 7703850 [sig] rxvt 1644 wait_sig: processing signal 2
   42 7703892 [sig] rxvt 1644 wait_sig: Got signal 2
   41 7703933 [sig] rxvt 1644 sig_handle: signal 2
   42 7703975 [sig] rxvt 1644 sig_handle: signal 2, about to call 0x4010B8
   53 7704028 [sig] rxvt 1644 setup_handler: couldn't send signal 2
   42 7704070 [sig] rxvt 1644 setup_handler: good.  Didn't suspend main thread, th 0x0
   40 7704110 [sig] rxvt 1644 setup_handler: returning 0
   39 7704149 [sig] rxvt 1644 sig_handle: returning 0
   51 7704200 [unknown (0x338)] rxvt 1644 sig_send: returning 0 from sending signal 2
   50 7704250 [unknown (0x338)] rxvt 1644 kill_worker: 0 = kill_worker (1644, 2)
   38 7704288 [unknown (0x338)] rxvt 1644 kill_pgrp: 0 = kill (1644, 2)
  302 7704590 [sig] rxvt 1644 wait_sig: looping
   60 7704650 [sig] rxvt 1644 wait_sig: awake
   ...


The edit that creates this behavior is:
http://cygwin.com/ml/cygwin-cvs/2002-q4/msg00022.html

cvs up -A
cvs up -D '2002-10-08 22:50:00' cygthread.cc cygthread.h fhandler.h fhandler_tty.cc 
sigproc.cc tty.cc

gets me a working cygwin.

Thanks.
-steve

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




1.3.13-2 uploading now (was Re: cygwin 1.3.13-1 crash)

2002-10-13 Thread Christopher Faylor

On Sun, Oct 13, 2002 at 10:54:05PM -0400, Igor Pechtchanski wrote:
>However, the ssh X forwarding still doesn't work (consistently).  ssh
>spawns sh, which hangs on exit.  The strace output is slightly different
>for the ssh1 and ssh2 cases, which may also be due to the fact that I
>don't use password authentication for ssh1...  I can post the strace
>output for both cases to the list if necessary.

This one, I can see, at least.  I'm uploading a new 1.3.13-2 version
now.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: Viruses being transported with cygwin messages

2002-10-13 Thread Bobby McNulty Junior

Norton Systemworks caught three viruses this morning.
I deleted them after putting the in quarintine.
Disappeared off my system.
Windows XP.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Tim Prince
Sent: Sunday, October 13, 2002 9:57 PM
To: Gregg C Levine; [EMAIL PROTECTED]
Subject: Re: Viruses being transported with cygwin messages

On Sunday 13 October 2002 18:36, Gregg C Levine wrote:
> Hello from Gregg C Levine
> Okay. I'll agree with you on that notion, Christopher. No real
arguement
> there. Now as to about those messages? Are those actual messages? I'm
> inclined to think not. And I'll be permanently deleting them from my
> message store. I also reported the initial example to those cloddies
at
> Earthlink, I'll be surprised if they know what to do.
>
Earthlink gave me immediate automatic acknowledgment that these were
viruses 
originated by one of their customers. 
-- 
Tim Prince

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with cygwin messages

2002-10-13 Thread Tim Prince

On Sunday 13 October 2002 18:36, Gregg C Levine wrote:
> Hello from Gregg C Levine
> Okay. I'll agree with you on that notion, Christopher. No real arguement
> there. Now as to about those messages? Are those actual messages? I'm
> inclined to think not. And I'll be permanently deleting them from my
> message store. I also reported the initial example to those cloddies at
> Earthlink, I'll be surprised if they know what to do.
>
Earthlink gave me immediate automatic acknowledgment that these were viruses 
originated by one of their customers. 
-- 
Tim Prince

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.13-1 crash

2002-10-13 Thread Igor Pechtchanski

On Sun, 13 Oct 2002, Christopher Faylor wrote:

> On Sun, Oct 13, 2002 at 10:34:27PM -0400, Igor Pechtchanski wrote:
> >I can confirm this behavior for rxvt on Win2k, and have some more info:
> >
> >rxvt only crashes in W11 (Windows native) mode, in X11 mode it works fine.
>
> So, you just start up rxvt and it crashes.  Can't duplicate it.  Sorry.
>
> cgf

Well, what do you know, it failed for me the first few times, but now I
can't duplicate it either.  That was essentially it - you started it up
and it hung for a long while, then crashed.  I'm puzzled as to what caused
it to fail before (hopefully the strace output can help), but as it's gone
now, good riddance.

However, the ssh X forwarding still doesn't work (consistently).  ssh
spawns sh, which hangs on exit.  The strace output is slightly different
for the ssh1 and ssh2 cases, which may also be due to the fact that I
don't use password authentication for ssh1...  I can post the strace
output for both cases to the list if necessary.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cygwin 1.3.13-1 crash

2002-10-13 Thread Christopher Faylor

On Sun, Oct 13, 2002 at 10:34:27PM -0400, Igor Pechtchanski wrote:
>I can confirm this behavior for rxvt on Win2k, and have some more info:
>
>rxvt only crashes in W11 (Windows native) mode, in X11 mode it works fine.

So, you just start up rxvt and it crashes.  Can't duplicate it.  Sorry.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Cygwin 1.3.13-1 crash

2002-10-13 Thread Igor Pechtchanski

I can confirm this behavior for rxvt on Win2k, and have some more info:

rxvt only crashes in W11 (Windows native) mode, in X11 mode it works fine.
I've run strace, and the output is quite interesting.  rxvt apparently
goes into an infinite loop trying to setup a signal handler, and runs out
of stack space.  I've attached strace output (with only the first few
frames of the infinite loop).

I also have another problem.  Apparently, 'ssh -X' hangs when requesting a
pty.  This doesn't happen if the -X flag is not specified, but does happen
with the -X flag in both SSH1 and SSH2 modes.  I've attached the output
of 'ssh -v -X -1 [EMAIL PROTECTED]' and 'ssh -v -X -2
[EMAIL PROTECTED]'.
Igor

On Mon, 14 Oct 2002, Topas wrote:

> I just install the Cygwin-1.3.13-1, the rxvt will crash under 1.3.13-1.
> I also try the snapshot-20021010, it works fine.
>
> [Rxvt.exe.stackdump]
> Exception: STATUS_ACCESS_VIOLATION at eip=61066300
> eax= ebx=00200020 ecx=77E5A39C edx=7FFE0304 esi=0A02ACE0
> edi=
> ebp=013CFF84 esp=013CFF5C program=c:\cygwin\bin\rxvt.exe
> cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
> Stack trace:
> Frame Function  Args
> 013CFF84  61066300  (0A02ACE0, , , )
> 013CFFB4  61005436  (610C6800, , , 610C6800)
>  152748 [select_pipe] rxvt 2600 handle_exceptions: Exception:
> STATUS_ACCESS_VIOLATION
>  161015 [select_pipe] rxvt 2600 handle_exceptions: Error while dumping
> state (probably corrupted stack)
>
> [Cygcheck -s result:]
> [snip]

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

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51



rxvt.strace.bz2
Description: Binary data

[pechtcha:~] ssh -v -X [EMAIL PROTECTED]
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
debug1: Reading configuration data /home/igor/.ssh/config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to slinky.cs.nyu.edu [128.122.20.14] port 22.
debug1: Connection established.
debug1: identity file /home/igor/.ssh/identity type 0
debug1: identity file /home/igor/.ssh/id_rsa type -1
debug1: identity file /home/igor/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version 2.2.0 SSH Secure Shell 
(non-commercial)
debug1: match: 2.2.0 SSH Secure Shell (non-commercial) pat 2.2.0*,2.3.0*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'slinky.cs.nyu.edu' is known and matches the RSA1 host key.
debug1: Found key in /home/igor/.ssh/known_hosts:2
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication with key '/home/igor/.ssh/identity'
debug1: Received RSA challenge from server.
debug1: Sending response to host key RSA challenge.
debug1: RSA authentication accepted by server.
debug1: Requesting pty.



[pechtcha:~] ssh -v -X -2 [EMAIL PROTECTED]
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f
debug1: Reading configuration data /home/igor/.ssh/config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to slinky.cs.nyu.edu [128.122.20.14] port 22.
debug1: Connection established.
debug1: identity file /home/igor/.ssh/id_rsa type -1
debug1: identity file /home/igor/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version 2.2.0 SSH Secure Shell 
(non-commercial)
debug1: match: 2.2.0 SSH Secure Shell (non-commercial) pat 2.2.0*,2.3.0*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client 3des-cbc hmac-md5 none
debug1: kex: client->server 3des-cbc hmac-md5 none
debug1: dh_gen_key: priv key bits set: 188/384
debug1: bits set: 496/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'slinky.cs.nyu.edu' is known and matches the DSA host key.
debug1: Found key in /home/igor/.ssh/known_hosts:1
debug1: bits set: 536/1024
debug1: ssh_dss_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done

Re: cygwin 1.3.13-1 crash

2002-10-13 Thread Christopher Faylor

On Mon, Oct 14, 2002 at 09:55:19AM +0800, Topas wrote:
>I just install the Cygwin-1.3.13-1, the rxvt will crash under 1.3.13-1.

Can't duplicate it.  Sorry.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Cygwin 1.3.13-1 crash

2002-10-13 Thread Topas

I just install the Cygwin-1.3.13-1, the rxvt will crash under 1.3.13-1.
I also try the snapshot-20021010, it works fine.

[Rxvt.exe.stackdump]
Exception: STATUS_ACCESS_VIOLATION at eip=61066300
eax= ebx=00200020 ecx=77E5A39C edx=7FFE0304 esi=0A02ACE0
edi=
ebp=013CFF84 esp=013CFF5C program=c:\cygwin\bin\rxvt.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
013CFF84  61066300  (0A02ACE0, , , )
013CFFB4  61005436  (610C6800, , , 610C6800)
 152748 [select_pipe] rxvt 2600 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
 161015 [select_pipe] rxvt 2600 handle_exceptions: Error while dumping
state (probably corrupted stack)

[Cygcheck -s result:]
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Oct 14 09:44:06 2002

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   .
C:\cygwin\usr\local\bin\
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\PROGRA~1\ULTRAE~1
c:\matlab\bin\win32

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `notty ntsec ntea title'
HOME = `C:\cygwin\home'
MAKE_MODE = `unix'
PWD = `/home'
USER = `yrwang'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS   20002Mb  26% CP CS UN PA FC Window XP
d:  hd  NTFS   37252Mb   3% CP CS UN PA FC usr1
e:  cd   N/AN/A
f:  hd  FAT32  18166Mb  21% CPUN   WINDOWS 98
g:  hd  FAT32  19985Mb  37% CPUN   USR2
h:  cd   N/AN/A

C:\cygwin  / system
binmode
C:\cygwin/bin  /usr/bin  system
binmode
C:\cygwin/lib  /usr/lib  system
binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system
binmode
.  /cygdrive user
binmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll
6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll
  380k 2002/07/24 C:\cygwin\bin\cygdb-3.1.dll
  487k 2002/07/24 C:\cygwin\bin\cygdb_cxx-3.1.dll
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   20k 2002/07/17 C:\cygwin\bin\cyghistory5.dll
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
  175k 2002/07/22 C:\cygwin\bin\cygpng10.dll
  179k 2002/07/22 C:\cygwin\bin\cygpng12.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  127k 2002/07/17 C:\cygwin\bin\cygreadline5.dll
  390k 2001/01/18 C:\cygwin\bin\cygtcl80.dll
  549k 2002/07/19 C:\cygwin\bin\cygtcl83.dll
5k 2001/01/18 C:\cygwin\bin\cygtclpip80.dll
   11k 2002/07/19 C:\cygwin\bin\cygtclpip83.dll
   10k 2001/01/18 C:\cygwin\bin\cygtclreg80.dll
  253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll
  221k 2002/07/19 C:\cygwin\bin\cygtix4183.dll
  830k 2002/07/19 C:\cygwin\bin\cygtk83.dll
  905k 2002/10/14 C:\cygwin\bin\cygwin1-20021010.dll
   50k 2002/03/12 C:\cygwin\bin\cygz.dll
  904k 2002/10/13 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.13
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 62
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Sun Oct 13 14:35:36 EDT 2002
Shared id: cygwin1S3

   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll

Cygwin Package Information
Package Version 
WindowMaker 0.80.0-2   

Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Gregg C Levine

Hello from Gregg C Levine
Can't help you more beyond what the good guys at Symantec said, Randall. As
far as I am concerned, outside of one school, and the Feds, they are the
experts.
Gregg C Levine [EMAIL PROTECTED]
"Oh my!" The Second Doctor's nearly favorite phrase.
- Original Message -
From: "Randall R Schulz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 6:03 PM
Subject: Re: Viruses being transported with Cygwin messages


> Hi,
>
> I might help to know this is the "W32.Bugbear@mm" worm. It has been
> spreading a lot lately. In today's batch I received 3 copies under
> different names (supposedly from Christopher Faylor, Gareth Pearce and
> Elfyn McBratney), each with different contents and different attachment
names.
>
> Here's what Symantec has to say about this worm:
> 
>
> Randall Schulz
> Mountain View, CA USA
>
>
> At 14:25 2002-10-13, Michael A Chase wrote:
> >On 14 Oct 2002 06:36:02 +1000 Robert Collins <[EMAIL PROTECTED]>
wrote:
> >
> > > On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:
> >
> > > > Folks, don't roar at me, but I am seeing a number of messages arrive
> > here,
> > > > infected. One came with a message via Robert Collins, twice,
> >
> > > Can you point me at the message with the virus? And the virus? I email
> > > from UNIX, so am *very* surprised at this.
> >
> >Like spam, most common email viruses forge the 'from' address.  I am
seeing
> >a few of these too, but, as Chris said, they aren't coming through the
> >Cygwin server.
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Gregg C Levine

Hello from Gregg C Levine
Gladly, if I can find it. It's a message in ugly HTML format, and it arrived
at my other address.
Gregg C Levine [EMAIL PROTECTED]
"Oh my!" The Second Doctor's nearly favorite phrase.
- Original Message -
From: "Robert Collins" <[EMAIL PROTECTED]>
To: "Gregg C Levine" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 4:36 PM
Subject: Re: Viruses being transported with Cygwin messages
On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:
> Hello from Gregg C Levine
> Folks, don't roar at me, but I am seeing a number of messages arrive here,
> infected. One came with a message via Robert Collins, twice,

Can you point me at the message with the virus? And the virus? I email
from UNIX, so am *very* surprised at this.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with cygwin messages

2002-10-13 Thread Gregg C Levine

Hello from Gregg C Levine
Okay. I'll agree with you on that notion, Christopher. No real arguement
there. Now as to about those messages? Are those actual messages? I'm
inclined to think not. And I'll be permanently deleting them from my message
store. I also reported the initial example to those cloddies at Earthlink,
I'll be surprised if they know what to do.
Gregg C Levine [EMAIL PROTECTED]
"Oh my!" The Second Doctor's nearly favorite phrase.
- Original Message -
From: "Christopher Faylor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 3:15 PM
Subject: Re: Viruses being transported with cygwin messages


> On Sun, Oct 13, 2002 at 03:04:21PM -0400, Gregg C Levine wrote:
> >Folks, don't roar at me, but I am seeing a number of messages arrive
here,
>
> Actually, I doubt that you are actually seeing them arrive "here".
>
> You're probably receiving random messages from some infected machine which
is
> putting a cygwin at cygwin dot com in the header but isn't really coming
> from cygwin dot com.
>
> If you can actually find a virus infected message in the archives, then
> please post a url here.  Otherwise, you're most likely just experiencing
> the standard behavior of a virus which is sending out email from an
> infected machine.
>
> I did receive a few messages from someone in the earthlink domain and
> think I managed to figure out that person's identity.  But they were
> sending individual email to individual people not to the cygwin mailing
> list, AFAICT.
> --
> Please do not send me personal email with cygwin questions.
> Use the resources at http://cygwin.com/ .
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: multiple mirrors downloading

2002-10-13 Thread Randall R Schulz

Zenaan,

Your assumption is not in fact valid. Even if it were, you could avoid the 
problem by sticking to a single mirror. I do that just to simplify the 
clean-up of old package archives.

Cygwin's Setup.exe "integrates" the content of multiple download mirror 
directories on your local system when determining what to retrieve from the 
mirror(s) and which package archive to install. It will not download 
redundant copies of any given package.

Randall Schulz
Mountain View, CA USA


At 17:40 2002-10-13, Zenaan Harkness wrote:
>I want to have a mirror archive on my laptop, and keep it up to date, so I 
>can update the three ops PCs I have at work from my local mirror, and to 
>simplify keeping them all in sync wrt versions.
>
>My first attempt sits like this: On my workstation (Debian GNU/Linux) I 
>created a samba share and used the cywin download tool to download to 
>disk, to my samba share. This was fine, except a few days later when I 
>went to update the local repository, the mirror I had been using had 
>stopped working - so I went back again and used a different mirror.
>
>The problem: Looking at my local repository directory, it appears that 
>there is a funky looking "mirror-name-with-percent-signs-etc" top level 
>directory FOR EACH MIRROR. So I quickly stopped the second download/ 
>update, assuming it would go and redownload the entire archive.
>
>If my assumption that it would redownload everything is correct, this is a 
>ridiculous waste of bandwidth, and unacceptable.
>
>So, where do I go from here?
>
>TIA
>Zenaan


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




multiple mirrors downloading

2002-10-13 Thread Zenaan Harkness

I want to have a mirror archive on my laptop, and keep it up to date, so
I can update the three ops PCs I have at work from my local mirror, and
to simplify keeping them all in sync wrt versions.

My first attempt sits like this:
On my workstation (Debian GNU/Linux) I created a samba share and used
the cywin download tool to download to disk, to my samba share. This was
fine, except a few days later when I went to update the local
repository, the mirror I had been using had stopped working - so I went
back again and used a different mirror.

The problem: Looking at my local repository directory, it appears that
there is a funky looking "mirror-name-with-percent-signs-etc" top level
directory FOR EACH MIRROR. So I quickly stopped the second download/
update, assuming it would go and redownload the entire archive.

If my assumption that it would redownload everything is correct, this is
a ridiculous waste of bandwidth, and unacceptable.

So, where do I go from here?

TIA
Zenaan


-- 
Mr Zenaan Harkness, Manager, VIDC
Phone: +678 25 151  Fax: +678 25 178  Mobile: +678 45 179
Please respect the confidentiality of this email.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] Updated: cygwin-1.3.13-1

2002-10-13 Thread Christopher Faylor

I've made a new version of the Cygwin DLL and associated utilities
available for download.  As usual, a list of what has changed is below.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

Note that we do not allow downloads from sources.redhat.com (aka
cygwin.com) due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.  You might have to wait as much
as 24 hours to find a mirror with the updated version of cygwin on it.
Be patient.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.  Really.
No kidding.  Email cygwin stuff to [EMAIL PROTECTED]

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

Did I mention that I'd prefer that all cygwin questions should go to
[EMAIL PROTECTED]?  I can't remember...

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

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

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

Christopher Faylor
Red Hat, Inc.

Changes since 1.3.12-4:

- Clean up defensive handler code when DLL is compiled with
  -DDEBUGGING.  (Christopher Faylor)

- Recognize CYGWIN_DEBUG environment variable when DLL is compiled
  with -DDEBUGGING. (Christopher Faylor)

- Implements commands TIOCMGET, TIOCMSET and TIOCINQ.  Also fix handling
  of rts and dtr on Windows 9x.  (Jacek Trzcinski)

- Always round time_t down to nearest second for functions which deal with
  time_t.  (David MacMahon)

- Include lib*.info files.  (Christopher Faylor)

- Fix problem where man crashes when suspended and brought to the foreground.
  (Christopher Faylor)

- Properly display all drives when 'ls'ing /cygdrive.  (Christopher Faylor)

- Attempt to speed up generic select call.  (Christopher Faylor)

- Speed up socket I/O. (Conrad Scott)

- Fix FIONBIO call. (Conrad Scott)

- Export "no" part of options when CYGWIN=export is used.  (Christopher Faylor)

- Fix fork-from-thread on Windows 9x.  (Thomas Pfaff)

- Insure that signal mask is correctly restored after returning from a signal
  handler. (Pavel Tsekov)

- Use new Doug Lea malloc for all malloc operations. (Christopher Faylor)

- Correctly send SIGWINCH when console window changes size. (Christopher Faylor)

- Fix readv/writev.  (Conrad Scott)

- Attempt to tighten up "multiple cygwin" detection.  (Christopher Faylor)

- Export getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked
  functions. (Nicholas Wourms)

- Improve operation of poll() with sockets.  (Boris Schaeling, Corinna Vinschen)

- Improve/speed-up cygwin startup when cygwin=tty (Christopher January)

- Fix vmin == 0 operation for ttys. (Christopher Faylor, Egor Duda)

- /proc improvements.  (Christopher January)

- Speed up shortcut handling.  (Corinna Vinschen)

- Many cygserver improvements.  (Conrad Scott)

- Many pthread improvements (Robert Collins, Thomas Pfaff)

- Allow opening of directories on Windows 9x.  (Pierre Humblet)

- CYGWIN=ntsec is now on by default.  (Christopher Faylor)

- support threads created via CreateThread in pthread calls.
  (Thomas Pfaff, Robert Collins)

- pthread_key values survive fork(). (Thomas Pfaff, Robert Collins)

- Export setgroups function.  (Pierre Humblet)

- Fix length of mapped area when offset > 0. (Corinna Vinschen)

- Add EOVERFLOW errno. (Corinna Vinschen)

- Add MSG_NOSIGNAL.  Allow raising SIGPIPE on send(2) when socket has been
  shutdown.  (Corinna Vinschen)

- Set socket write_fd in select(2) call if socket isn't connected or listening.
  (Corinna Vinschen)

- Fix various problems with ntsec. (Pierre Humblet)

- Drop "Everyone" from group list. (Pierre Humblet)

- Share console state between cooperating processes.  This makes scroll regions
  work better (but still not 100% perfectly).  (Christopher Faylor)

- Fix problem where texmode.o/binmode.o/automode.o 

Fw: Viruses being transported with Cygwin messages

2002-10-13 Thread Elfyn McBratney

I didnt mean that. I meant how it came through the system (mailing list)...
:) i was looking at the headers sent by e-mails from me and its all plain
text, no mime encoded blocks for attatched stuff...

Elfyn

> - Original Message -
> From: Randall R Schulz <[EMAIL PROTECTED]>
> To: Elfyn McBratney <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, October 14, 2002 12:50 AM
> Subject: Re: Viruses being transported with Cygwin messages
>
>
> > Elfyn,
> >
> > Let me be clear that I'm not accusing you (or Gareth or Chris F.) of
> > anything here. As others have pointed out, these worms are clever about
> > coming up with addresses both for the apparent "From:" address and the
> next
> > ply of intended victim recipients.
> >
> > Here are the routing headers from the message _ostensibly_ from you:
> >
> > Return-Path: <[EMAIL PROTECTED]>
> > Received: from mail18.svr.pol.co.uk (mail18.svr.pol.co.uk
[195.92.67.23])
> >  by morse.concentric.net [Concentric SMTP MX 1.0]
> >  id g9DJ7ih10880; Sun, 13 Oct 2002 15:07:44 -0400 (EDT)
> >  [1-800-745-2747 The Concentric Network]
> > Errors-To: <[EMAIL PROTECTED]>
> > Received: from modem-2289.chimpanzee.dialup.pol.co.uk ([217.134.120.241]
> > helo=mcb-home)
> >  by mail18.svr.pol.co.uk with smtp (Exim 3.35 #1)
> >  id 180nmm-0007hQ-00; Sun, 13 Oct 2002 19:48:20 +0100
> > From: "Elfyn McBratney" <[EMAIL PROTECTED]>
> >
> >
> > As you can see, although it claims (suggests? "From:" headers are
> > distinctly non-authoritative) you're at UT Austin, the message itself
did
> > not originate or traverse any servers there. Nor does Hotmail appear in
> the
> > SMTP server-supplied forwarding header. (Concentric is my ISP.)
> >
> > As I understand these worms, they use other user's address books (are
they
> > called "Contact Lists" in Outlook and Outlook Express?) to come up with
> > both fraudulent "From:" addresses and recipients. Win32.Bugbear@mm uses
> > registry data to propagate, too.
> >
> > Randall Schulz
> > Mountain View, CA USA
> >
> >
> > Here's the full text of the message I receive (attachment graciously
> > elided--in fact, I delete them as soon as I confirm my hunch that
they're
> > worms):
> >
> > -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> > Return-Path: <[EMAIL PROTECTED]>
> > Received: from mail18.svr.pol.co.uk (mail18.svr.pol.co.uk
[195.92.67.23])
> >  by morse.concentric.net [Concentric SMTP MX 1.0]
> >  id g9DJ7ih10880; Sun, 13 Oct 2002 15:07:44 -0400 (EDT)
> >  [1-800-745-2747 The Concentric Network]
> > Errors-To: <[EMAIL PROTECTED]>
> > Received: from modem-2289.chimpanzee.dialup.pol.co.uk ([217.134.120.241]
> > helo=mcb-home)
> >  by mail18.svr.pol.co.uk with smtp (Exim 3.35 #1)
> >  id 180nmm-0007hQ-00; Sun, 13 Oct 2002 19:48:20 +0100
> > From: "Elfyn McBratney" <[EMAIL PROTECTED]>
> > Subject:  Re: Need your Mac OS 8 support plan...
> > MIME-Version: 1.0
> > Content-Type: multipart/alternative;
boundary="--ISQROT15KBZQSTO"
> > Message-Id: <[EMAIL PROTECTED]>
> > Bcc:
> > Date: Sun, 13 Oct 2002 19:48:20 +0100
> >
> > Content-Type: text/html;
> >
> > That is really not fare :(
> >
> > Do you know when we'll get a time-indexed beta-sp ???
> >
> > - Original Message -
> > From: Michael Aumeerally
> > To:
> > Sent: Sunday, August 25, 2002 9:52 PM
> > Subject: Re: Need your Mac OS 8 support plan...
> >
> >
> >  > > Just wanted to beg you to bring in Mac OS 8 if your on your travels
> >  > towards the office :)...
> >  >
> >  > I may come in Wednesday evening, depending on how the week unfolds...
> >  >
> > []
> > connexionscard-pass.txt.scr
> > -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
> >
> >
> > At 16:33 2002-10-13, Elfyn McBratney wrote:
> > >I for one would like to know how that happend. If its from hotmail then
> fare
> > >do's, sorry. If it was from [EMAIL PROTECTED] thats impossible
> because
> > >all I can send through my mailgate is .txt or tars/gz's files...even
then
> > >all archives are extracted/scanned.
> > >
> > >What month???
> > >
> > >Elfyn
> > >
> > >- Original Message -
> > >From: Randall R Schulz <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Sunday, October 13, 2002 11:03 PM
> > >Subject: Re: Viruses being transported with Cygwin messages
> > >
> > >
> > > > Hi,
> > > >
> > > > I might help to know this is the "W32.Bugbear@mm" worm. It has been
> > > > spreading a lot lately. In today's batch I received 3 copies under
> > > > different names (supposedly from Christopher Faylor, Gareth Pearce
and
> > > > Elfyn McBratney), each with different contents and different
> attachment
> > >names.
> > > >
> > > > Here's what Symantec has to say about this worm:
> > > > 
> > > >
> > > > Randall Schulz
> > > > Mountain View, CA USA
> >
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.h

Re: Viruses being transported with cygwin messages

2002-10-13 Thread Christopher Faylor

On Sun, Oct 13, 2002 at 04:50:54PM -0700, Randall R Schulz wrote:
>Let me be clear that I'm not accusing you (or Gareth or Chris F.) of 
>anything here. As others have pointed out, these worms are clever about 
>coming up with addresses both for the apparent "From:" address and the next 
>ply of intended victim recipients.

I got a message with similar headers, fwiw.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Canonical serial input

2002-10-13 Thread Christopher Faylor

On Sun, Oct 13, 2002 at 04:43:10PM -0700, phi wrote:
>I have a GPS receiver on com3.  The GPS messages from the receiver have
>EOL characters, but setting canonical line input ignores these EOL
>characters.  Non-canonical input works and this is what I may use, but
>has anyone had any success in using canonical serial input with cygwin.
>It is possibly unimplemented/broken?

unimplemented.

I think the mailing list archives would show that this has
come up several times.
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Randall R Schulz

Elfyn,

Let me be clear that I'm not accusing you (or Gareth or Chris F.) of 
anything here. As others have pointed out, these worms are clever about 
coming up with addresses both for the apparent "From:" address and the next 
ply of intended victim recipients.

Here are the routing headers from the message _ostensibly_ from you:

Return-Path: <[EMAIL PROTECTED]>
Received: from mail18.svr.pol.co.uk (mail18.svr.pol.co.uk [195.92.67.23])
 by morse.concentric.net [Concentric SMTP MX 1.0]
 id g9DJ7ih10880; Sun, 13 Oct 2002 15:07:44 -0400 (EDT)
 [1-800-745-2747 The Concentric Network]
Errors-To: <[EMAIL PROTECTED]>
Received: from modem-2289.chimpanzee.dialup.pol.co.uk ([217.134.120.241] 
helo=mcb-home)
 by mail18.svr.pol.co.uk with smtp (Exim 3.35 #1)
 id 180nmm-0007hQ-00; Sun, 13 Oct 2002 19:48:20 +0100
From: "Elfyn McBratney" <[EMAIL PROTECTED]>


As you can see, although it claims (suggests? "From:" headers are 
distinctly non-authoritative) you're at UT Austin, the message itself did 
not originate or traverse any servers there. Nor does Hotmail appear in the 
SMTP server-supplied forwarding header. (Concentric is my ISP.)

As I understand these worms, they use other user's address books (are they 
called "Contact Lists" in Outlook and Outlook Express?) to come up with 
both fraudulent "From:" addresses and recipients. Win32.Bugbear@mm uses 
registry data to propagate, too.

Randall Schulz
Mountain View, CA USA


Here's the full text of the message I receive (attachment graciously 
elided--in fact, I delete them as soon as I confirm my hunch that they're 
worms):

-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
Return-Path: <[EMAIL PROTECTED]>
Received: from mail18.svr.pol.co.uk (mail18.svr.pol.co.uk [195.92.67.23])
 by morse.concentric.net [Concentric SMTP MX 1.0]
 id g9DJ7ih10880; Sun, 13 Oct 2002 15:07:44 -0400 (EDT)
 [1-800-745-2747 The Concentric Network]
Errors-To: <[EMAIL PROTECTED]>
Received: from modem-2289.chimpanzee.dialup.pol.co.uk ([217.134.120.241] 
helo=mcb-home)
 by mail18.svr.pol.co.uk with smtp (Exim 3.35 #1)
 id 180nmm-0007hQ-00; Sun, 13 Oct 2002 19:48:20 +0100
From: "Elfyn McBratney" <[EMAIL PROTECTED]>
Subject:  Re: Need your Mac OS 8 support plan...
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="--ISQROT15KBZQSTO"
Message-Id: <[EMAIL PROTECTED]>
Bcc:
Date: Sun, 13 Oct 2002 19:48:20 +0100

Content-Type: text/html;

That is really not fare :(

Do you know when we'll get a time-indexed beta-sp ???

- Original Message -
From: Michael Aumeerally
To:
Sent: Sunday, August 25, 2002 9:52 PM
Subject: Re: Need your Mac OS 8 support plan...


 > > Just wanted to beg you to bring in Mac OS 8 if your on your travels
 > towards the office :)...
 >
 > I may come in Wednesday evening, depending on how the week unfolds...
 >
[] 
connexionscard-pass.txt.scr
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-


At 16:33 2002-10-13, Elfyn McBratney wrote:
>I for one would like to know how that happend. If its from hotmail then fare
>do's, sorry. If it was from [EMAIL PROTECTED] thats impossible because
>all I can send through my mailgate is .txt or tars/gz's files...even then
>all archives are extracted/scanned.
>
>What month???
>
>Elfyn
>
>- Original Message -
>From: Randall R Schulz <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, October 13, 2002 11:03 PM
>Subject: Re: Viruses being transported with Cygwin messages
>
>
> > Hi,
> >
> > I might help to know this is the "W32.Bugbear@mm" worm. It has been
> > spreading a lot lately. In today's batch I received 3 copies under
> > different names (supposedly from Christopher Faylor, Gareth Pearce and
> > Elfyn McBratney), each with different contents and different attachment
>names.
> >
> > Here's what Symantec has to say about this worm:
> > 
> >
> > Randall Schulz
> > Mountain View, CA USA


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Canonical serial input

2002-10-13 Thread phi

  I have a GPS receiver on com3.  The GPS messages
from the receiver have EOL characters, but setting
canonical line input ignores these EOL characters. 
Non-canonical input works and this is what I may use,
but has anyone had any success in using canonical
serial input with cygwin.  It is possibly
unimplemented/broken?


#include 
#include 
#include 
#include 

#define DO_LINE

int main (void) {

char buffer[255];
struct termios options;
ssize_t nbytes;
int fd;


fd = open ("/dev/com3", O_RDONLY | O_NOCTTY);

tcgetattr (fd, &options);

options.c_cc[VEOL] = '\r';
options.c_cc[VEOL2] = '\n';

options.c_cflag |= CLOCAL | CREAD;
options.c_oflag &= ~OPOST;

options.c_cflag &= ~CSIZE;
options.c_cflag |= CS8;/* 8 data bits 
 */
cfsetispeed (&options, B4800); /* set input line
speed  */
cfsetospeed (&options, B4800); /* set output line
speed */
options.c_cflag &= ~PARENB;/* no parity   
 */
options.c_cflag &= ~CSTOPB;/* one stop bit
 */

#ifdef DO_LINE
options.c_lflag = ICANON;
options.c_iflag |= IGNPAR;
#else
options.c_lflag &= ~( ICANON | ECHO | ISIG );
#endif

tcflush (fd, TCIFLUSH);
tcsetattr (fd, TCSANOW, &options);

nbytes = read (fd, buffer, 255);
buffer[nbytes] = '\0';
printf ("%s", buffer);

return 0;
}

This is the output.  I was expecting 'read' to return
on the first crlf.

~/>od -a test
000   $   G   P   G   G   A   ,   2   2   4   8  
1   8   .   9   9
020   9   ,   3   0   3   1   .   2   1   4   5  
,   N   ,   0   8
040   9   4   0   .   6   4   5   5   ,   W   ,  
0   ,   0   0   ,
060   0   .   0   ,   -   1   2   .   6   ,   M  
,   ,   ,   ,   0
100   0   0   0   *   0   C  cr  nl   $   G   P  
G   S   A   ,   A
120   ,   1   ,   ,   ,   ,   ,   ,   ,   ,   ,  
,   ,   ,   ,   0
140   .   0   ,   0   .   0   ,   0   .   0   *  
3   0  cr  nl   $
160   G   P   R   M   C   ,   2   2   4   8   1  
8   .   9   9   9
200   ,   V   ,   3   0   3   1   .   2   1   4  
5   ,   N   ,   0
220   8   9   4   0   .   6   4   5   5   ,   W  
,   ,   ,   1   3
240   1   0   0   2   ,   ,   *   0   F  cr  nl  
$   G   P   G   G
260   A   ,   2   2   4   8   1   9   .   9   9  
9   ,   3   0   3
300   1   .   2   1   4   5   ,   N   ,   0   8  
9   4   0   .   6
320   4   5   5   ,   W   ,   0   ,   0   0   ,  
0   .   0   ,   -
340   1   2   .   6   ,   M   ,   ,   ,   ,   0  
0   0   0   *   0
360   D  cr  nl   $   G   P   G   S   A   ,   A  
,   1   ,   ,
377



__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Elfyn McBratney

I for one would like to know how that happend. If its from hotmail then fare
do's, sorry. If it was from [EMAIL PROTECTED] thats impossible because
all I can send through my mailgate is .txt or tars/gz's files...even then
all archives are extracted/scanned.

What month???

Elfyn

- Original Message -
From: Randall R Schulz <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 11:03 PM
Subject: Re: Viruses being transported with Cygwin messages


> Hi,
>
> I might help to know this is the "W32.Bugbear@mm" worm. It has been
> spreading a lot lately. In today's batch I received 3 copies under
> different names (supposedly from Christopher Faylor, Gareth Pearce and
> Elfyn McBratney), each with different contents and different attachment
names.
>
> Here's what Symantec has to say about this worm:
> 
>
> Randall Schulz
> Mountain View, CA USA
>
>
> At 14:25 2002-10-13, Michael A Chase wrote:
> >On 14 Oct 2002 06:36:02 +1000 Robert Collins <[EMAIL PROTECTED]>
wrote:
> >
> > > On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:
> >
> > > > Folks, don't roar at me, but I am seeing a number of messages arrive
> > here,
> > > > infected. One came with a message via Robert Collins, twice,
> >
> > > Can you point me at the message with the virus? And the virus? I email
> > > from UNIX, so am *very* surprised at this.
> >
> >Like spam, most common email viruses forge the 'from' address.  I am
seeing
> >a few of these too, but, as Chris said, they aren't coming through the
> >Cygwin server.
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




weird Cygwin+CIFS issues (not symlinks...): filename contains garbage & mounting under ssh

2002-10-13 Thread Scott Prive

This question deals with weird, undeletable files under CIFS mounts, and an issue 
creating drive mounts under ssh. They may be related.


Problem #1 - garbage-chars in filename

Drive W: mounted using MS' "net use" command. I am operating under a remote ssh login.

I am using Cygwin on a Linux CIFS share and get "denied" message when I DO have 
correct permissions. This error leaves "weird" filenames in the dir.



$ echo "foo: HJHKH ())" >/cygdrive/w/bashwrite
-bash: /cygdrive/w/bashwrite: Permission denied

copies don't work either:
$ cp /cygdrive/c/expectedfile /cygdrive/w/newwrite
cp: cannot create regular file `/cygdrive/w/newwrite': Permission denied

$ ls -l /cygdrive/w
ls: /cygdrive/w/bashwrite???X: No such file or directory
ls: /cygdrive/w/newwriteX: No such file or directory
total 1
-rwxr--r--1 2000 10016 Oct 13 17:24 expectedfile

OK. I'll try it in CMD.EXE (under Cygwin)
Administrator@QA2000TEST ~
$ cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\cygwin\home\Administrator>w:
w:

W:\>ls
ls
bashwrite???X
expectedfile
newwriteX

W:\>echo "hello world">hello_world
echo "hello world">hello_world

W:\>dir
dir
 Volume in drive W is foo
 Volume Serial Number is 108D-0104

 Directory of W:\

10/13/2002  07:04p.
09/24/2002  04:17p..
10/13/2002  05:24p   6 expectedfile
10/13/2002  06:59p   0 bashwrite???X
10/13/2002  07:02p   0 newwriteX
10/13/2002  07:04p  15 hello_world
   4 File(s) 21 bytes
   2 Dir(s) 767,623,168 bytes free

W:\>more hello_world
more hello_world

q
?

Administrator@QA2000TEST ~
$ 

Because I could create the file using cmd.exe, this points to my Cygwin setup... but 
it might be more complicated than that.

Problem #2:

Drive shares created under ssh session, do not work under graphical console of Windows 
2000.

Example: 
I ssh into system as Administrator, "net use" to mount a CIFS drive. In the graphical 
desktop (also logged in as Administrator), the drive letter is shown but it has a red 
X and cannot be used.

If I use Explorer to mount a "new" drive letter to the same UNC path, that mount 
behaves properly.



This feels like a permissions issue, and I'm wondering if my earlier ssh server issues 
(which *seems* resolved) are the cause, or if it's a CIFS issue  I only see with 
Cygwin (see log above, doesn't happen in CMD.EXE)

ANY insight would be most appreciated!

-Scott

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Randall R Schulz

Hi,

I might help to know this is the "W32.Bugbear@mm" worm. It has been 
spreading a lot lately. In today's batch I received 3 copies under 
different names (supposedly from Christopher Faylor, Gareth Pearce and 
Elfyn McBratney), each with different contents and different attachment names.

Here's what Symantec has to say about this worm: 


Randall Schulz
Mountain View, CA USA


At 14:25 2002-10-13, Michael A Chase wrote:
>On 14 Oct 2002 06:36:02 +1000 Robert Collins <[EMAIL PROTECTED]> wrote:
>
> > On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:
>
> > > Folks, don't roar at me, but I am seeing a number of messages arrive 
> here,
> > > infected. One came with a message via Robert Collins, twice,
>
> > Can you point me at the message with the virus? And the virus? I email
> > from UNIX, so am *very* surprised at this.
>
>Like spam, most common email viruses forge the 'from' address.  I am seeing
>a few of these too, but, as Chris said, they aren't coming through the
>Cygwin server.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




A good liont

2002-10-13 Thread Elfyn McBratney

Hi,

Does anyone know if there is a good lint around that compiles on cygwin...??
Ive googled around for one and cant find the source only binaries, and there
for linux.

Sorry if this is the wronglist, redirect if needed :)

Elfyn


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Joshua


- Original Message -
From: "Joshua Elson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, 13 October, 2002 16:17
Subject: Re: Viruses being transported with Cygwin messages


> Hmm, more on the virus emails.  I received the below message with the
> file james_simmons_1.jpg.scr attached, which I presume is the virus.  And
> I'm not a current subscriber to Cygwin, but have been in the past and have
> posted to the list.  BCNU//jle
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: from spf5.us4.outblaze.com ([205.158.62.27])
>   by rwcrgwc52.attbi.com
>   (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
>   id
> <[EMAIL PROTECTED]>
>   for <[EMAIL PROTECTED]>; Sun, 13 Oct 2002 17:51:56 +
> Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net
> [207.217.120.123])
>  by spf5.us4.outblaze.com (8.12.6/8.12.6) with ESMTP id g9DHptlG070422;
>  Sun, 13 Oct 2002 17:51:56 GMT
> Received: from pool0355.cvx40-bradley.dialup.earthlink.net
([216.244.43.100]
> helo=HUNG)
>  by swan.mail.pas.earthlink.net with smtp (Exim 3.33 #1)
>  id 180miV-00060t-00; Sun, 13 Oct 2002 10:39:51 -0700
> From: "Dylan Cuthbert" <[EMAIL PROTECTED]>
> Subject:  Re: RCS 5.7 (?) + setup.exe advice
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="--6AD01SLPQS9HSN"
> Message-Id: <[EMAIL PROTECTED]>
> Bcc:
> Date: Sun, 13 Oct 2002 10:39:51 -0700
>
> - Original Message -
> From: "Dylan Cuthbert" <[EMAIL PROTECTED]>
> Sent: Sunday, 13 October, 2002 12:39
> Subject: Re: RCS 5.7 (?) + setup.exe advice
>
>
> > Ah, I get it now, I had a full installation of an older version of
cygwin
> > and of course when I ran the setup program to update it
> >
>


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Michael A Chase

On 14 Oct 2002 06:36:02 +1000 Robert Collins <[EMAIL PROTECTED]> wrote:

> On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:

> > Folks, don't roar at me, but I am seeing a number of messages arrive here,
> > infected. One came with a message via Robert Collins, twice, 

> Can you point me at the message with the virus? And the virus? I email
> from UNIX, so am *very* surprised at this.

Like spam, most common email viruses forge the 'from' address.  I am seeing
a few of these too, but, as Chris said, they aren't coming through the
Cygwin server.

-- 
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with Cygwin messages

2002-10-13 Thread Robert Collins

On Mon, 2002-10-14 at 05:04, Gregg C Levine wrote:
> Hello from Gregg C Levine
> Folks, don't roar at me, but I am seeing a number of messages arrive here,
> infected. One came with a message via Robert Collins, twice, 

Can you point me at the message with the virus? And the virus? I email
from UNIX, so am *very* surprised at this.

Rob
-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---



signature.asc
Description: This is a digitally signed message part


Re: cannot run apache with mod_php4

2002-10-13 Thread Elfyn McBratney

sorry, forgot to send to the list.

Elfyn

- Original Message -
From: Elfyn McBratney <[EMAIL PROTECTED]>
To: Dmitry Suhodoev <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 7:51 PM
Subject: Re: cannot run apache with mod_php4


> Hi,
>
> Ive checked the list and it seems that your problem is in your dll's. This
> problem can (hopefully) be fixed by rebasing. Although this is *should*
> work, it is an entirely experimental phase and could muff them up
> completely...
>
> shell> cd /tmp
> shell> wget http://www.tishler.net/jason/software/rebase/rebase.exe
> shell> rebase -d -b 0x6800 -o 0x1 /lib/apache/*.dll
>
> bits after 'shell>' should be run at a cygwin shell (bash,sh,etc.).
>
> Elfyn
>
> - Original Message -
> From: Dmitry Suhodoev <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, October 13, 2002 6:46 PM
> Subject: cannot run apache with mod_php4
>
>
> > hi, cygwin
> >
> > when i'l trying start apache with mod_php4 they wan't work and write to
> log
> > this:
> >
> > [Sun Oct 13 23:40:56 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0
> configured -- resuming normal operations
> > [Sun Oct 13 23:40:56 2002] [notice] Accept mutex: pthread (Default:
> pthread)
> > D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap
> D:\work\cygwin\bin\cygintl-1.dll to same address as parent -- 0xB6
> >   8 [main] httpd 2248 sync_with_child: child 1920(0x6AC) died before
> initialization with status code 0x1
> >   31521 [main] httpd 2248 sync_with_child: *** child state child loading
> dlls
> > [Sun Oct 13 23:40:57 2002] [error] (11)Resource temporarily unavailable:
> fork: Unable to fork new process
> >
> > my httpd.conf in attach. if i try remove lines
> >
> > LoadModule php4_modulelib/apache/libphp4.dll
> > AddModule mod_php4.c
> >
> > from my httpd.conf it works funny, but without php4 :( why they doesn't
> work?
> > what i must make for working with php4 under cygwin? please help me.
> >
> > --
> > raVen, http://raven.elk.ru/, icq#550428
> >
> > ... knowledge brings fear
> > system uptime: 0d 7h 42m 52s 985ms
>
>
> --
--
> 
>
>
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Viruses being transported with cygwin messages

2002-10-13 Thread Christopher Faylor

On Sun, Oct 13, 2002 at 03:04:21PM -0400, Gregg C Levine wrote:
>Folks, don't roar at me, but I am seeing a number of messages arrive here,

Actually, I doubt that you are actually seeing them arrive "here".

You're probably receiving random messages from some infected machine which is
putting a cygwin at cygwin dot com in the header but isn't really coming
from cygwin dot com.

If you can actually find a virus infected message in the archives, then
please post a url here.  Otherwise, you're most likely just experiencing
the standard behavior of a virus which is sending out email from an
infected machine.

I did receive a few messages from someone in the earthlink domain and
think I managed to figure out that person's identity.  But they were
sending individual email to individual people not to the cygwin mailing
list, AFAICT.
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Viruses being transported with Cygwin messages

2002-10-13 Thread Gregg C Levine

Hello from Gregg C Levine
Folks, don't roar at me, but I am seeing a number of messages arrive here,
infected. One came with a message via Robert Collins, twice, another from a
message that was discussing the problems with Cygwin's DLL version's and the
way the POSIX layer does its job, within the host's OS. The thing is, they
are all coming via Earthlink, and its cronies, so I think its one infected
machine. Gary, if you really meant to send that message, you'll know which
one I mean, please repost it.
Gregg C Levine [EMAIL PROTECTED]
"Oh my!" The Second Doctor's nearly favorite phrase.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




cannot run apache with mod_php4

2002-10-13 Thread Dmitry Suhodoev

hi, cygwin

when i'l trying start apache with mod_php4 they wan't work and write to log
this:

[Sun Oct 13 23:40:56 2002] [notice] Apache/1.3.24 (Cygwin) PHP/4.2.0 configured -- 
resuming normal operations
[Sun Oct 13 23:40:56 2002] [notice] Accept mutex: pthread (Default: pthread)
D:\work\cygwin\usr\sbin\httpd.exe: *** unable to remap 
D:\work\cygwin\bin\cygintl-1.dll to same address as parent -- 0xB6
  8 [main] httpd 2248 sync_with_child: child 1920(0x6AC) died before 
initialization with status code 0x1
  31521 [main] httpd 2248 sync_with_child: *** child state child loading dlls
[Sun Oct 13 23:40:57 2002] [error] (11)Resource temporarily unavailable: fork: Unable 
to fork new process

my httpd.conf in attach. if i try remove lines

LoadModule php4_modulelib/apache/libphp4.dll
AddModule mod_php4.c

from my httpd.conf it works funny, but without php4 :( why they doesn't work?
what i must make for working with php4 under cygwin? please help me.

-- 
raVen, http://raven.elk.ru/, icq#550428

... knowledge brings fear
system uptime: 0d 7h 42m 52s 985ms


httpd.conf
Description: Binary data

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Can Perl 5.8 build correctly on cygwin yet?

2002-10-13 Thread Tommy Butler

Gerrit P. Haase wrote:

> There is also a source package of perl-5.8 at the mirrors
> which includes also some modules and my build scripts.

Thanks Gerrit.

I'd much prefer to build my own perl, but the AnyDBM standard module has kept 
perl 5.8 from building on cygwin for me.  A while ago I investigated this and 
found out that it was a confirmed bug though unresolved at the time.  I can't 
recall where I read about that, but it was a few weeks ago.  I have just been 
curious if the problem was rectified yet.  When you mentioned that there was a 
pre-built binary for cygwin now, I was left guessing whether the problem was 
fixed by the perl porters or pushed aside by cygwin builders when creating the 
distro, possibly at the cost of losing one thing or another?

So can you tell me anything about the status of this issue?

Thanks again :O)

-- 

   -Tommy Butler
see if I'm online »http://ooopps.sourceforge.net/online

Tommy Butler <[EMAIL PROTECTED]>
phone: (817)-468-7716
6711 Forest Park Dr
Arlington, TX
 76001-8403

Download my résumé in PDF, MS Word, HTML, text
http://www.atrixnet.com/

the ooOPps Code Library
http://ooopps.sourceforge.net/pub/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: binutils 20021009 cvs trunk on cygwin: ld failuers

2002-10-13 Thread U-D90V2D0J\chj

On Fri, Oct 11, 2002 at 11:32:15AM -0400, Christopher Faylor wrote:
> On Fri, Oct 11, 2002 at 05:24:34PM +0200, Christian J?nsson wrote:
> >Hmm, I don't quite follow you here.
> >
> >The PATH variable is not set by me, it's set by cygwin, right?
> >
> >The PATH contains the entry /cygdrive/c/WINDOWS/system32 but that makes
> >no sense if "check_case:strict" is present in the CYGWIN variable
> >initialising cygwin, right?
> 
> It depends on whether WINDOWS is the actual name of your directory or
> not.  This isn't set by Cygwin, regardless.  It's set by the system.
> If you are going to use strict case checking then it is up to you
> to make sure that all filenames are properly referenced.  As you
> probably noticed, there was no "Make sure all files have proper case?"
> option in setup.exe.  And, having the DLL actually try to figure out
> what case is correct would defeat the purpose of strict case checking.
> 
> I always suggest against using strict case checking.  It adds extra
> overhead and causes other problems since Windows assumes that it
> can be flexible with respect to filename cases.
> 

I can in a way understand you there, too bad it's conflicting with
building gcc with gcj under cygwin. see for example

http://gcc.gnu.org/ml/java/2002-09/msg00107.html

what do you see as the "best" way ahead?

Cheers,

/ChJ



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can Perl 5.8 build correctly on cygwin yet?

2002-10-13 Thread Gerrit P. Haase

Hallo Tommy,

Am Freitag, 11. Oktober 2002 um 19:35 schriebst du:

> Can Perl 5.8 build correctly on cygwin yet?

Actually you can fetch it via the Cygwin mirrors, just
click the 'Exp' radio button in setup.exe and look in
the interpreter category (better look the partial package
listing to see what all would be changed/updated if you
install 'experimental' packages).

There is also a source package of perl-5.8 at the mirrors
which includes also some modules and my build scripts.


Gerrit
-- 
=^..^=


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: "Application failed to initialize (0xc0000022)"

2002-10-13 Thread Jason Tishler

Jerry,

On Fri, Oct 11, 2002 at 05:40:25PM -0400, Gerald S. Williams wrote:
> Jason Tishler wrote:
> > Note that *you* are going to have to figure out "everything that
> > needs to be rebased."  Sorry, but I can't really help you determine
> > this because everyone's rebase needs are different.

What I really meant above is that some people don't need to rebase any
files, some people need to rebase some, and some people need to rebase
all.  I have provided rebase tools to help -- now it's up to people to
use them as appropriate for their own particular situation.

> I know where you're coming from, but there must be some way to get
> them all, even if it's overkill.

Yes, one can always use:

$ find / -name '*.dll' | xargs -n 1 cygpath -wa >rebase.tmp

to find all DLLs, but I hope that you are patient. :,)

> For example, grep all of the DLLs that have ever been installed by
> setup or by hand, list them in the file dlls.lst and do "rebase [some
> options] $(cat dlls.lst)".

The above will work.

> Or is there still a risk of damaging them that way?

My latest rebase will skip files that will be corrupted by rebasing.
So, rebase to your heart's content!

> I think you can get the setup-installed files from /etc/setup, right?

The following can be used to find all setup-installed DLLs:

$ zcat /etc/setup/*.lst.gz | grep '\.dll$' | sed 's=^=/=' | xargs -n 1 cygpath -wa 
>rebase.tmp

> Thanks for the pointer. My main problem was that I had somehow gotten
> a version of rebase that took different parameters (it's not the
> Microsoft one--it may have come from the KDE site). The version from
> your site is more like what I expected.

My goal was to make my rebase as similar in usage to the Microsoft one
as possible.

> I'm leaning towards doing the type of thing I mentioned above,
> although I'm not very hopeful that it will solve the problem.

I concur.  I think that Chris's suggestion will most likely solve the
problem.  It certain solved the same (or similar) problem for me in the
past.

Jason

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: export problem.

2002-10-13 Thread Randall R Schulz

David,

Use the "source" command to process the script so that its variable-setting 
side-effects occur in your shell. Otherwise those variable settings happen 
in a sub-shell (and for exported variables, any processes it invokes). The 
"source" command has a synonym: "."

% help source
source: source filename
 Read and execute commands from FILENAME and return.  The pathnames
 in $PATH are used to find the directory containing FILENAME.


Randall Schulz
Mountain View, CA USA


At 19:20 2002-10-12, David Ryan wrote:

>I have very simple script that all it needs to do is export some 
>environment variables.  I can't seem to get it to work.  All it does is..
>
>export PS2DEV=/usr/ps2dev
>
>If I do this on the command line it works fine..  and if I place it in 
>/etc/profile it works also.  I assume whats happenning is its starting a 
>shell.. setting the environment variable and then closing the shell. How 
>do I write a script that modifies the current environment?
>
>If I can get the one line working I'll be expanding it, so doing it on the 
>command line everytime is not an option.
>
>I have the cygwin 1.3.12-4 installed.  I also tried going back to 1.3.10-1 
>to see if it was a bug.  I'm hoping theres something small I'm missing.
>
>Thanks,
>David.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: "Application failed to initialize (0xc0000022)"

2002-10-13 Thread Christopher Faylor

On Fri, Oct 11, 2002 at 05:40:25PM -0400, Gerald S. Williams wrote:
>Jason Tishler wrote:
>> > Is it possible that this is an aspect of the dreaded "rebase" issue?
>> 
>> I don't think so.  If it was, then you would have experienced fork()
>> failures with messages (not dialogs) like the following:
>
>That was my initial impression also. But what could
>cause that error? Given its nature, I'd be really
>surprised if nobody else had run into it.

It's usually caused by the use of CYGWIN=ntsec and cygwin1.dll not having
executable permissions, I believe.  It's showed up here from time to time.

So, doing something like:

c:\>set CYGWIN=ntsec
c:\>chmod a+rx /bin/*

may help.

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




export problem.

2002-10-13 Thread David Ryan


I have very simple script that all it needs to do is export some 
environment variables.  I can't seem to get it to work.  All it does is..

export PS2DEV=/usr/ps2dev

If I do this on the command line it works fine..  and if I place it in 
/etc/profile it works also.  I assume whats happenning is its starting a 
shell.. setting the environment variable and then closing the shell. 
 How do I write a script that modifies the current environment?  

If I can get the one line working I'll be expanding it, so doing it on 
the command line everytime is not an option.

I have the cygwin 1.3.12-4 installed.  I also tried going back to 
1.3.10-1 to see if it was a bug.  I'm hoping theres something small I'm 
missing.

Thanks,
David.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




RE: windres doesn't accept DOS paths

2002-10-13 Thread Bobby McNulty Junior

I noticed a problem with trying to make a Windows program with Cygwin.
-mno-cygwin does not collect the windows stuff when compiling.




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: windres doesn't accept DOS paths

2002-10-13 Thread Travis Howell

I was just wondering, are there any plans to fix the problem of Cygwin's
windres failing to understand windows style paths which is mentioned below ?

Larry Hall (RFK Partners, Inc) wrote:
> At 10:00 AM 12/27/2001, Matthew Brett wrote:
>> Hi,
>>
>> I think someone mentioned that if cygwin utilities do not accept DOS
>> paths then this should be considered a bug.  Just to report then, if
>> you pass a DOS path to windres, it barfs:
>>
>> windres "c:\test.rc"
>>
>> gives
>>
>> gcc: c:test.rc: No such file or directory
>> gcc: Warning: `-x c-header' after last input file has no effect
>> gcc: No input files
>> windres: warning: preprocessor failed
>> windres: no resources
>
> There does appear to be some issue here.  Even at the DOS prompt, the
> backslash needs to be escaped in order to work (in the example above).
> Other Cygwin utilities don't have this problem.  It's worth noting
> that the POSIX path and the "c:/test.rc" alternative paths both work
> fine though with windres.
>
>
>
>
> Larry Hall  [EMAIL PROTECTED]
> RFK Partners, Inc.  http://www.rfk.com
> 838 Washington Street   (508) 893-9779 - RFK Office
> Holliston, MA 01746 (508) 893-9889 - FAX


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problems starting X

2002-10-13 Thread Elfyn McBratney

Hi,

That sounds like you dont have the cypipc package installed (ipc and shm),
as im pretty sure the shm* functions only come with cygipc. If you installed
manually (kde-cygwin) you will need to download the cypipc package, or you
can download it from cygwin.com/software.html and also from one of the sites
listed there (the maintainers site), sorry forgot the name. Or if you
installed via the cygwin setup program just go back to the app/kde-cygwin
url (http://kde-cygwin.sourceforge.net/install/) and fetch it from there.

If thats not the problem take a look at the cygwin-xfree ml.

Elfyn

- Original Message -
From: Jens Herhold <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 12, 2002 11:40 PM
Subject: Problems starting X


> Hi,
>
> i've recently updated XFree to the current version. since this point i
only
> get an error saying
> that it can't find "shmat" in the "libX11.dll". does anybody know why or
how
> to get this working.
> Before that it ran perfectly.
>
> Thanks for your help,
> Jens
>
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Can Perl 5.8 build correctly on cygwin yet?

2002-10-13 Thread Tommy Butler

Gerrit P. Haase wrote:

[snip]

> Nothing was pushed aside, nothing is missing, nothing was patched.
>
> >So can you tell me anything about the status of this issue?
>
> There is no bug.  Just look in the Cygwin Perl source package, there
> are my buildlogs included, 'all tests pass' for my build.

[snip]

>
> perl-5.8 should build OOTB on Cygwin on every Windows version.
> I just patched a little issue I had because I wanted the modules
> manpages suffixed .3pm which doesn't work with the original package.
>
> Gerrit


Thanks, Gerrit :O)

-- 

   -Tommy Butler
see if I'm online »http://ooopps.sourceforge.net/online

Tommy Butler <[EMAIL PROTECTED]>
phone: (817)-468-7716
6711 Forest Park Dr
Arlington, TX
 76001-8403

Download my résumé in PDF, MS Word, HTML, text
http://www.atrixnet.com/

the ooOPps Code Library
http://ooopps.sourceforge.net/pub/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: binutils 20021009 cvs trunk on cygwin: ld failuers

2002-10-13 Thread U-D90V2D0J\chj

On Fri, Oct 11, 2002 at 10:43:16PM +0200, Christian Jönsson wrote:
> On Fri, Oct 11, 2002 at 11:32:15AM -0400, Christopher Faylor wrote:
> > On Fri, Oct 11, 2002 at 05:24:34PM +0200, Christian J?nsson wrote:
> > >Hmm, I don't quite follow you here.
> > >
> > >The PATH variable is not set by me, it's set by cygwin, right?
> > >
> > >The PATH contains the entry /cygdrive/c/WINDOWS/system32 but that makes
> > >no sense if "check_case:strict" is present in the CYGWIN variable
> > >initialising cygwin, right?
> > 
> > It depends on whether WINDOWS is the actual name of your directory or
> > not.  This isn't set by Cygwin, regardless.  It's set by the system.
> > If you are going to use strict case checking then it is up to you
> > to make sure that all filenames are properly referenced.  As you
> > probably noticed, there was no "Make sure all files have proper case?"
> > option in setup.exe.  And, having the DLL actually try to figure out
> > what case is correct would defeat the purpose of strict case checking.
> > 
> > I always suggest against using strict case checking.  It adds extra
> > overhead and causes other problems since Windows assumes that it
> > can be flexible with respect to filename cases.
> > 
> 
> I can in a way understand you there, too bad it's conflicting with
> building gcc with gcj under cygwin. see for example
> 
> http://gcc.gnu.org/ml/java/2002-09/msg00107.html
> 
> what do you see as the "best" way ahead?
> 

well, I did change the PATH now so that cases match... But, still the
same problem...

Let me ask an other question... are there any other PATHs that also might
be affected by strict case? Such as an equivalent to LD:LIBRARY_PATH?

I believe that the wanted library is perhaps the
/cygdrive/c/WINDOWS/SYSTEM32/user32.dll one and I'd like to test to see
if that works then. The /cygdrive/c/WINDOWS/SYSTEM32 is inthe PATH, I can
do a which user32.dll and it echoes that file. But how does the limker
get to use it??

Cheers,

/ChJ
  


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




pthreads in YahooPOPs

2002-10-13 Thread Andrew Lynch

Hi,
I am trying to build YahooPOPs for Linux 

http://sourceforge.net/projects/yahoopops 

on Cygwin but have run into a problem with pthreads.  

The lines below do not compile even though Cygwin
supports pthreads and pthread.h is included in the
header file.

lock.__m_reserved = 0;
lock.__m_count = 0;
lock.__m_owner = 0;
lock.__m_kind = PTHREAD_MUTEX_TIMED_NP;
lock.__m_lock.__status = 0;
lock.__m_lock.__spinlock = __LT_SPINLOCK_INIT;

Does anyone know why these pthread commands(?) are not
supported or won't compile?

Thanks in advance for the help!

Andrew Lynch

PS, I am also helping the author of SaveMyModem debug
that software.  It now builds under Cygwin and many of
the bugs have been found and fixed.  Give it a try,
(cvs version only).  Hopefully, version 0.14 will be
out soon and much improved.

http://sourceforge.net/projects/savemymodem



__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


LogFile.cpp
Description: LogFile.cpp

/*
*
* YahooPOPs!
*
* YahooPOPs! is an application that provides POP3 access to Yahoo! Mail.
* You do not need to enable POP3 access with Yahoo! to use this program.
* This program works within the license agreement of Yahoo! to provide
* you with POP3 access.
*
* YahooPOPs! emulates a POP3 mail server and should work with most of the
* email clients. Since YahooPOPs! is not a full-fledged POP3 mail server
* you might find it not working with all mail clients. Do keep us informed
* about such mail clients so that we can enhance YahooPOPs!
*
* Official Website: http://yahoopops.sourceforge.net
*
* Credits:
* - YahooPOPs! has been inspired by FetchYahoo, a Perl based application
*   that works with mail clients supporting mbox'es (Netscape, Pine, etc.).
*   FetchYahoo is authored by Ravi Ramkissoon <[EMAIL PROTECTED]>
*-
*
* Name: LogFile.h
*
* Purpose : To maintain an activity log file
*
* Author  : Anuj Seth <[EMAIL PROTECTED]>
*   K.Shyam   <[EMAIL PROTECTED]>
*
* License : GNU Public License (Version 2 or later)
*
*-
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' BY THE AUTHORS AND INDEPENDENT
* CONTRIBUTORS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR 
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef _LOGFILE_H_
#define _LOGFILE_H_

#ifdef WIN32
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/* added by K.Shyam.we shall use Mstring on *ix systems */
#include "StdString.h" 
#else
#include 
#include 
#include  /* for the locks */
#include "MString.h"
#include "Defines.h"
typedef MString CStdString;
#endif

typedef enum { LOG_BASIC, LOG_ADVANCED } LOGTYPE;

class LogFile  
{
public:
void Write(const LOGTYPE type, const char *format, ...);
LogFile(const CStdString &filename = "yahoopops.log");
virtual ~LogFile();

protected:
void Trim();
CStdString  m_strLogFile;
longm_nFileSize;
FILE*fp;
#ifdef WIN32
CCriticalSection lock;
#else
pthread_mutex_t lock;
#endif
};

#endif


cd ../common;make;cd ../unix
make[1]: Entering directory `/home/andrew/yahoopops/yahoopops.sav/common'
rm -f LogFile.o
g++ -g -I.  -I../unix -D_REENTRANT -c LogFile.cpp
LogFile.cpp: In method `LogFile::LogFile(const MString & = "yahoopops.log")':
LogFile.cpp:87: request for member `__m_reserved' in `LogFile::lock', which is of 
non-aggregate type `void *'
LogFile.cpp:88: request for member `__m_count' in `LogFile::lock', which is of 
non-aggregate type `void *'
LogFile.cpp:89: request for member `__m_owner' in `LogFile::lock', which is of 
non-aggregate type `void *'
LogFile.cpp:90: request for member `__m_kind' in `LogFile::lock', which is of 
non-aggregate type `void *'
LogFile.cpp:90: `PTHREAD_MUTEX_TIMED_NP' undeclared (first use this function)
LogFile.cpp:90: (Each undeclared identifier is reported only once
LogFile.cpp:90: for each function it appears in.)
LogFile.cpp:91: request for member `__m_lock' in `LogFile::lock', which is of 
non-aggregate type `void *'
LogFile.cpp:92: request for member `__m

Problems starting X

2002-10-13 Thread Jens Herhold

Hi,

i've recently updated XFree to the current version. since this point i only
get an error saying
that it can't find "shmat" in the "libX11.dll". does anybody know why or how
to get this working.
Before that it ran perfectly.

Thanks for your help,
Jens



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Maintaining Non-Cygwin Packages???

2002-10-13 Thread David Ryan


Hi,

I have a number of packages I would like to create and provide to my 
users that I don't feel would be that useful to the whole cygwin 
community.  The users of my web site however would find the convenience 
of an installable package much easier than instructions on how to build 
the sources.  Two questions..

1.  Is it possible to have setup.exe install packages outside of the 
list of official packages?

2.  If the above is not possible..  what would people suggest as an 
alternative?

The packages are cross compilers and environment for developing on the 
Playstation2.  I currently have long tutorials about how to patch and 
build the compilers, but would like to provide an easier solution.  I 
have found some instructions on creating patch files and building source 
and binary releases for cygwin through the FAQ.. and it looks like 
something I could do. :)

Thanks,
David.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Condividi i tuoi files con Grokster

2002-10-13 Thread News Day

Vuoi scaricare da Internet ogni tipo di files: programmi, giochi, MP3, 
filmati, foto e tanto altro?

Visita il sito http://anzwers.org/free/grokster/ e scarica il software per 
condividere i tuoi files con tutto il mondo!



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Problems starting X

2002-10-13 Thread Elfyn McBratney

Hi,

Sorry i forgot something...

You will need to run this to symlink the lib with the correct name:

[elfyn@cygwindev-4:~/RCS/php4/ext/emcbwlib:{1045}] # ln -s \
> /usr/local/lib/libcygipc.a /usr/local/lib/libipc.a

I also checked, and you seem to need cygipc (if you havent got it
already...??).

Elfyn

- Original Message -
From: Elfyn McBratney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Jens Herhold <[EMAIL PROTECTED]>
Sent: Sunday, October 13, 2002 2:52 AM
Subject: Re: Problems starting X


> Hi,
>
> That sounds like you dont have the cypipc package installed (ipc and shm),
> as im pretty sure the shm* functions only come with cygipc. If you
installed
> manually (kde-cygwin) you will need to download the cypipc package, or you
> can download it from cygwin.com/software.html and also from one of the
sites
> listed there (the maintainers site), sorry forgot the name. Or if you
> installed via the cygwin setup program just go back to the app/kde-cygwin
> url (http://kde-cygwin.sourceforge.net/install/) and fetch it from there.
>
> If thats not the problem take a look at the cygwin-xfree ml.
>
> Elfyn
>
> - Original Message -
> From: Jens Herhold <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, October 12, 2002 11:40 PM
> Subject: Problems starting X
>
>
> > Hi,
> >
> > i've recently updated XFree to the current version. since this point i
> only
> > get an error saying
> > that it can't find "shmat" in the "libX11.dll". does anybody know why or
> how
> > to get this working.
> > Before that it ran perfectly.
> >
> > Thanks for your help,
> > Jens
> >
> >
> >
> > --
> > Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ:   http://cygwin.com/faq/
> >
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: export problem.

2002-10-13 Thread Larry Hall (RFK Partners, Inc)

At 10:20 PM 10/12/2002, David Ryan wrote:

>I have very simple script that all it needs to do is export some environment 
>variables.  I can't seem to get it to work.  All it does is..
>
>export PS2DEV=/usr/ps2dev
>
>If I do this on the command line it works fine..  and if I place it in /etc/profile 
>it works also.  I assume whats happenning is its starting a shell.. setting the 
>environment variable and then closing the shell. How do I write a script that 
>modifies the current environment?  
>
>If I can get the one line working I'll be expanding it, so doing it on the command 
>line everytime is not an option.
>
>I have the cygwin 1.3.12-4 installed.  I also tried going back to 1.3.10-1 to see if 
>it was a bug.  I'm hoping theres something small I'm missing.


This isn't a Cygwin specific issue.  Nevertheless, the same question was
asked and answered on this list within the last few weeks.  If you're 
interested in details, check the email archives.  Better yet, check out
some documentation on shell programming and the "source" keyword.



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


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: pthreads in YahooPOPs

2002-10-13 Thread Andrew Lynch

Egor,

Thank you for the info! I will post it to the
YahooPOPs for Linux development forum and see what
happens.  

Hopefully, the author will see the issue and rewrite
the code in a more portable manner.  Can you deduce
what the YahooPOPs author is trying to do?  Would you
suggest a more portable method I could look at?  I
will likely be finding or writing a replacement for
this code section and appreciate any tips.

Andrew Lynch

--- egor duda  wrote:
> Hi!
> 
> Sunday, 13 October, 2002 Andrew Lynch
> wrote:
> 
> AL> http://sourceforge.net/projects/yahoopops 
> 
> AL> on Cygwin but have run into a problem with
> pthreads.  
> 
> AL> The lines below do not compile even though
> Cygwin
> AL> supports pthreads and pthread.h is included in
> the
> AL> header file.
> 
> AL> lock.__m_reserved = 0;
> AL> lock.__m_count = 0;
> AL> lock.__m_owner = 0;
> AL> lock.__m_kind = PTHREAD_MUTEX_TIMED_NP;
> AL> lock.__m_lock.__status = 0;
> AL> lock.__m_lock.__spinlock = __LT_SPINLOCK_INIT;
> 
> AL> Does anyone know why these pthread commands(?)
> are not
> AL> supported or won't compile?
> 
> The project you're talking about is using
> non-portable method of
> dealing with pthreads. Pthread interface doesn't
> specify an internal
> structure of pthread primitives, so their actual
> implementation may
> vary (and does vary) between different systems. You
> should ask
> YahooPOPs people to use portable constructs so that
> their code can be
> compiled on any system which supports pthread
> interface.
> 
> Egor. 

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Problem linking a dll that uses symbols defined in executable

2002-10-13 Thread Andrej Falout

Hello *,

I have a program (executable), that uses two types of DLL libraries:

1) one that is linked with executable, as -l on gcc command line 
2) several dll's that are loaded from 1) using dlopen()

Problem:

Some dll's of type 2 use functions/variables that are defined in the 
EXECUTABLE.

When I try to link this type of dll's, I get bunch of undefined symbols, as 
expected. What one would do in this case, if referenced symbols where in 
another shared library (dll), is to link against that dll's export library 
(.dll.a) But they are in EXECUTABLE, meaning that I cannot make a export 
library...

Can somebody please point me in right direction?

Much appreciated,


-- 
Yours, Andrej Falout, http://www.falout.com/disclaimer.html
Visit the OpenSource alternative, Aubit 4gl: http://aubit4gl.sourceforge.net
PLEASE NOTE: All HTML email sent to me WILL BE DELETED AUTOMATICALLY WITHOUT 
READING.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: windres doesn't accept DOS paths

2002-10-13 Thread Larry Hall (RFK Partners, Inc)

I guess it hasn't been a big priority for anyone so far, though I expect it 
will get addressed eventually.  If you're interested, inclined, and capable,
you should feel free to submit a patch. 


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



At 10:06 PM 10/12/2002, Travis Howell wrote:
>I was just wondering, are there any plans to fix the problem of Cygwin's
>windres failing to understand windows style paths which is mentioned below ?
>
>Larry Hall (RFK Partners, Inc) wrote:
> > At 10:00 AM 12/27/2001, Matthew Brett wrote:
> >> Hi,
> >>
> >> I think someone mentioned that if cygwin utilities do not accept DOS
> >> paths then this should be considered a bug.  Just to report then, if
> >> you pass a DOS path to windres, it barfs:
> >>
> >> windres "c:\test.rc"
> >>
> >> gives
> >>
> >> gcc: c:test.rc: No such file or directory
> >> gcc: Warning: `-x c-header' after last input file has no effect
> >> gcc: No input files
> >> windres: warning: preprocessor failed
> >> windres: no resources
> >
> > There does appear to be some issue here.  Even at the DOS prompt, the
> > backslash needs to be escaped in order to work (in the example above).
> > Other Cygwin utilities don't have this problem.  It's worth noting
> > that the POSIX path and the "c:/test.rc" alternative paths both work
> > fine though with windres.
> >
> >
> >
> >
> > Larry Hall  [EMAIL PROTECTED]
> > RFK Partners, Inc.  http://www.rfk.com
> > 838 Washington Street   (508) 893-9779 - RFK Office
> > Holliston, MA 01746 (508) 893-9889 - FAX
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: pthreads in YahooPOPs

2002-10-13 Thread egor duda

Hi!

Sunday, 13 October, 2002 Andrew Lynch [EMAIL PROTECTED] wrote:

AL> http://sourceforge.net/projects/yahoopops 

AL> on Cygwin but have run into a problem with pthreads.  

AL> The lines below do not compile even though Cygwin
AL> supports pthreads and pthread.h is included in the
AL> header file.

AL> lock.__m_reserved = 0;
AL> lock.__m_count = 0;
AL> lock.__m_owner = 0;
AL> lock.__m_kind = PTHREAD_MUTEX_TIMED_NP;
AL> lock.__m_lock.__status = 0;
AL> lock.__m_lock.__spinlock = __LT_SPINLOCK_INIT;

AL> Does anyone know why these pthread commands(?) are not
AL> supported or won't compile?

The project you're talking about is using non-portable method of
dealing with pthreads. Pthread interface doesn't specify an internal
structure of pthread primitives, so their actual implementation may
vary (and does vary) between different systems. You should ask
YahooPOPs people to use portable constructs so that their code can be
compiled on any system which supports pthread interface.

Egor.mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: rsync on Cygwin ... possible problem

2002-10-13 Thread Lapo Luchini

Heitzso wrote:

>Hi Lapo,
>
>I was building up a synchronization mechanism for
>a distributed metadata environment and the scripts
>ran fine on Linux but tangled on Cygwin/rsync.
>
>Behavior is that the cygwin rsync blocks after
>some number of consecutive/sequential but rapid rsync
>commands, ?? 20 ?? 
>
>When I substitute scp (with appropriate change
>of parameters for scp) the scripts work fine
>on cygwin.
>
>Parameters using:
>
>rsync -e ssh --blocking-io --compress --ignore-times 
>scp -qBC
>
>I have no idea if the problem is rooted in:
>   Win2K 
>   cygwin (current)
>   rsync port on cygwin
>
>Feel free to email me if you want the actual
>message.  I'm under a lot of pressure to get
>this out the door so don't have time to dig
>into much more than passing this flag on to 
>you.
>
>BTW, please do not treat this as a complaint,
>I'm very grateful that Cygwin exists and is
>available for us to use.  I'm just trying to
>help out by relaying information upstream.
>  
>
I know of the problem, but unfortunately in this period I have too few 
time to debug it extensively.
Someone else seems to have done it though:
http://sources.redhat.com/ml/cygwin/2002-09/msg01155.html
http://sources.redhat.com/ml/cygwin/2002-10/msg00296.html

In the first message there is an analysis that seems to indicate that is 
"cygwin's fault" but that there can be a patch do rsync itswelf to avoid 
the problem.
The second message contains a precompiled EXE with the patch included.

I had yet no time to study relevant cygwinsources to find a real "solution".

BTW: please use the ML for questions so that everyone can read it

Lapo


-- 
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: export problem.

2002-10-13 Thread Igor Pechtchanski

David,
This is not a Cygwin bug, this is the way bash is supposed to work.
Try 'man bash3618g'.  Also, searching the archives for 'bash
environment export' would have revealed some relevant messages.
Igor

On Sun, 13 Oct 2002, David Ryan wrote:

> I have very simple script that all it needs to do is export some
> environment variables.  I can't seem to get it to work.  All it does is..
>
> export PS2DEV=/usr/ps2dev
>
> If I do this on the command line it works fine..  and if I place it in
> /etc/profile it works also.  I assume whats happenning is its starting a
> shell.. setting the environment variable and then closing the shell.
>  How do I write a script that modifies the current environment?
>
> If I can get the one line working I'll be expanding it, so doing it on
> the command line everytime is not an option.
>
> I have the cygwin 1.3.12-4 installed.  I also tried going back to
> 1.3.10-1 to see if it was a bug.  I'm hoping theres something small I'm
> missing.
>
> Thanks,
> David.

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

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/