Re: cygwin: /proc and /cygdrive insvisible

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 08:17:26AM +0200, Oliver Geisen wrote:
>is there a reason (i bet there is :-) why the /proc and /cygdrive 
>directory isn't visible when "ls -l /" ?

  cd /
  mkdir proc cygdrive

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



Re: access to event log of windows

2004-07-12 Thread Corinna Vinschen
On Jul 12 08:51, Oliver Geisen wrote:
> Hello,
> 
> is there a way to read/write from/to the event log of windows ?
> I think it would be a great thing to have event-logs in a UNIX-style 
> underneath /var/log/...
> Mayby one can make a interface-file where events are mapped into 
> log-files, like Unix does with /etc/syslog.conf.
> 
> Or is there already a SYSLOG implementation for cygwin ?

syslog and vsyslog are implemented in Cygwin.  On NT they use the
event log system.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



RE: access to event log of windows

2004-07-12 Thread Mike Kenny - BCX - Infrastructure Services
Corinna,

thanks for this useful information. Is there a comparable command line utility
to inspect the event log(s)? I know of psloglist and dumpel, but I really want
to stick with cygwin tools. Any possibility?

Mike

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Behalf
> Of Corinna Vinschen
> Sent: Monday, July 12, 2004 11:05 AM
> To: Cygwin Newsgroup
> Subject: Re: access to event log of windows
> 
> 
> On Jul 12 08:51, Oliver Geisen wrote:
> > Hello,
> > 
> > is there a way to read/write from/to the event log of windows ?
> > I think it would be a great thing to have event-logs in a 
> UNIX-style 
> > underneath /var/log/...
> > Mayby one can make a interface-file where events are mapped into 
> > log-files, like Unix does with /etc/syslog.conf.
> > 
> > Or is there already a SYSLOG implementation for cygwin ?
> 
> syslog and vsyslog are implemented in Cygwin.  On NT they use the
> event log system.
> 
> Corinna
> 
> -- 
> Corinna Vinschen  Please, send mails 
> regarding Cygwin to
> Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
> Red Hat, Inc.
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 

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



Re: access to event log of windows

2004-07-12 Thread Corinna Vinschen
On Jul 12 11:24, Mike Kenny - BCX - Infrastructure Services wrote:
> Corinna,
> 
> thanks for this useful information. Is there a comparable command line utility
> to inspect the event log(s)? I know of psloglist and dumpel, but I really want
> to stick with cygwin tools. Any possibility?

Not yet, no.  You could write one ;-)

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



RE: Problem while copying .EXE files

2004-07-12 Thread Mike Lerwill
> -Original Message-
> From: Larry Hall
> Sent: 12 July 2004 01:37
> To: Mike Lerwill; Cygwin List
> Subject: RE: Problem while copying .EXE files
>
> OK.  I've seen similar peculiarities after installing but then
> not rebooting
> when required (I know, shame on me ;-) ).
>
> Hm, I don't have lots of great ideas for you to help resolve this problem
> you're seeing.  Not that I expect this to show anything useful
> but you could
> see if the permissions returned by getfacl look suspect.  strace on the
> offending instance might help too.  Otherwise, I can only suggest
> building
> the DLL and trying to debug through it.  Sorry I don't have any better/
> quicker ideas for you.
>

I have tracked this further and can now confirm that running the following
test case (trimmed down from what cp is actually doing) in a directory which
already contains a valid test.exe (copy of ls.exe) results in test.exe which
is a directory not a file.

#include 
#include 

int main (int argc, char * argv[])
{
int test_file;
test_file = open ("test.exe",O_TRUNC | O_WRONLY);
close (test_file);
return 0;
}

I have attached the results of stracing this in case it helps.

Before running the test program
ls
-rwxrwxrwx1 Administ None12248 Jul 12 11:56 test.exe
getfacl
# file: test.exe
# owner: Administrator
# group: None
user::rwx
group::rwx
mask:rwx
other:rwx

after running the test program

ls
drwxrwxrwx+   2 Administ None0 Jul 12 11:57 test.exe
getfacl
# file: test.exe
# owner: Administrator
# group: None
user::rwx
group::rwx
mask:rwx
other:rwx
default:user::rwx
default:group::rwx
default:other:rwx



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

Re: Problem while copying .EXE files

2004-07-12 Thread Corinna Vinschen
On Jul 12 12:00, Mike Lerwill wrote:
> I have tracked this further and can now confirm that running the following
> test case (trimmed down from what cp is actually doing) in a directory which
> already contains a valid test.exe (copy of ls.exe) results in test.exe which
> is a directory not a file.
> 
> #include 
> #include 
> 
> int main (int argc, char * argv[])
> {
> int test_file;
> test_file = open ("test.exe",O_TRUNC | O_WRONLY);
> close (test_file);
> return 0;
> }
> 
> I have attached the results of stracing this in case it helps.

I'm sorry but I can't reproduce it.  I'm getting a truncated but
still normal file after calling this application.  I also don't see
anything strange in your strace output.  Looks pretty much like my
strace output, incuding all arguments to NtCreateFile.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



RE: access to event log of windows

2004-07-12 Thread Mike Kenny - BCX - Infrastructure Services
> > thanks for this useful information. Is there a comparable 
> command line utility
> > to inspect the event log(s)? I know of psloglist and 
> dumpel, but I really want
> > to stick with cygwin tools. Any possibility?
> 
> Not yet, no.  You could write one ;-)
> 
> Corinna

I could, but it might end up putting more messages into the
event log than it reads :-(

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



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

2004-07-12 Thread Igor Pechtchanski
On Sun, 11 Jul 2004, Elvin Peterson wrote:

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

Elvin,

This wasn't an arbitrary decision.  Both ways have been tried, and, in
general, it was not possible to reliably munge e-mail addresses (and
*only* e-mail addresses) in the archived messages.  This garbled the
message contents, and so was turned off.  The headers are still munged...

There might be a way to find and match just the reply lead-ins (e.g., "On
some date, John Doe <[EMAIL PROTECTED]> wrote:", or "Not so long ago, thus
spake John [mailto:[EMAIL PROTECTED]"), which should catch most of the
"violations", but, as even the two above examples illustrate, the lead-ins
are varied enough that it's probably not possible.  If anyone feels it's a
hassle to double-check their e-mail software, but minds receiving the
'#PCYMTNQREAIYR' link, they should feel free to try fixing the munging
rules.  I'm sure the list maintainers will not mind providing the
necessary pointers to the code, and they may even be willing to
thoughtfully consider trying out the results :-).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



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

2004-07-12 Thread Williams, Gerald S \(Jerry\)
Richard Heintze wrote:
> I explicitly downloaded insight seperately and had
> troubles with that too, see my earler post. (gdb.exe
> started the GUI interface, but it could not load the
> source code file -- something to do with stat failing.
> chmod 777 test.c did not help).

You shouldn't have to download insight separately,
since it is part of the gdb package (as Arturus
Magi pointed out). As Chris Faylor pointed out,
use the command "insight" (assuming it is properly
installed).

-Jerry

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



Re: How to run ddd in XWin?

2004-07-12 Thread Igor Pechtchanski
Ok, you're now in the Cygwin/X territory.  Any questions about Cygwin/X
should be addressed to the cygwin-xfree mailing list (specifically set up
for this topic).  For your convenience, I've redirected this reply to that
list, and set the Reply-To: appropriately.  More below.

On Sun, 11 Jul 2004, Siegfried Heintze wrote:

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

Nope.  Why should documentation for a generic X server, XWin, talk about a
particular X application, ddd?

> OK, I type XWin& and "ddd test.exe" and same error.

Which "same error"?  Be specific.  Is it the "can't open display" error?
You need to set the DISPLAY variable properly.  The default value for the
command line above should be ":0" (or ":0.0").  You can set the DISPLAY in
a bash console window, e.g., "export DISPLAY=:0", before invoking ddd.

> Any other ideas?
>  Test.exe is compiled with the "-g" option in g77.
>
> I also tried ddd convex.pl and still got the same error. Ddd debugs perl
> too, correct?

No idea.

> Thanks,
> Siegfried
>
>
> On Sun, July 11, 2004 6:36 pm, Richard Heintze said:
> > Ah hah! Write a short program called test.c and gcc -g
> > test.c -o test.exe and ddd test.exe and then I see
> >
> > Error: can't open display:
>
> This one's easy. It's almost certainly looking for a running X server,
> of which there almost certainly isn't one.
> I suggest you install the X.org packages, and then start XWin.exe ..
> (It's worth reading the documentation to decide how you want to start it,
> but I found that XWin.exe -multiwindow -emulate3buttons was useful (I
> use emu3buttons because the laptop I use it on only has 2 :( )
>
> > Why does this not work?
> >
> > So I download the insight debugger and tried
> > /cygdrive/c/dev/insight/bin/gdb.exe test.exe
> >
> > This gives the error
> > stat "/cygdrive/c/tmp/test.c" no such file or directory while executing
> >
> > Well that is not true, the file is there! I tried
> > chmod 777 test.c but that did not help. The debugger works, it just cannot
> > load test.c for some reason!
>
> Just ensure that is the correct path to the file? I would be surprised
> if it was /cygdrive/c/tmp ... More likely is
> /cygdrive/c/cygwin/tmp/test.c .
> Does that work?
>
> Chris

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

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

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



Re: How to run debugger?

2004-07-12 Thread Igor Pechtchanski
On Sun, 11 Jul 2004, Richard Heintze wrote:

> Ah hah! Write a short program called test.c and gcc -g
> test.c -o test.exe and ddd test.exe and then I see
>
> Error: can't open display:
>
>   Why does this not work?

DISPLAY is not set.  If you need further help with Cygwin/X, please ask on
the cygwin-xfree list.  Your other message was redirected there already.
This reply concerns insight.

> So I download the insight debugger and tried
> /cygdrive/c/dev/insight/bin/gdb.exe test.exe
  
Wrong.  You didn't need to download "insight" separately, it should have
been already installed in /usr/bin (since you apparently installed
everything).  The version that you've downloaded is likely not compiled
for Cygwin, and so won't understand Cygwin POSIX paths.  Just run
"/usr/bin/insight test.exe".

HTH,
Igor

> This gives the error
> stat "/cygdrive/c/tmp/test.c" no such file or
> directory
>   while executing
>
> Well that is not true, the file is there! I tried
> chmod 777 test.c but that did not help. The debugger
> works, it just cannot load test.c for some reason!
>
> Anyone know why?
> Siegfried
>
>
> --- James Merritt <[EMAIL PROTECTED]> wrote:
> > Another GUI debugger is DDD, also part of Cygwin.
> > Can't say how it compares to insight, though.
> >
> > Have a great day!!
> >
> > James E. Merritt
> >
> > --- Arturus Magi <[EMAIL PROTECTED]> wrote:
> > > Richard Heintze wrote:
> > > > I remember running a GUI based source code debugger for gcc. I was
> > > > very impressed. Can anyone remind me of the command I used to
> > > > start it?
> > >
> > > What you're looking for is insight, and it is, AFAIK, part of the
> > > gdb package.

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

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

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



Apache httpd Accepts local connections but not Remote

2004-07-12 Thread Siegfried Heintze
Since you guys are so smart, responsive and generous with your time, I
thought I would try this one on you. I have posted this on the Apache HTTP
mailing list twice with no response.

I have the following in my httpd.conf file. WebDAV seems to be working from
my local network (when using IE 5/6) but I cannot log in from across the
public internet and use the webdav client in IE 5. I can view the web pages
on my site remotely, however. This means my firewall is letting me thru on
port 80. Port 80 is all webdav needs, correct?

(My colleague was having some success using the WebDAV client in Konquerer
on Linux for reading files but never figure out how to write files).

Can anyone tell me what I am doing wrong?  Why cannot I use IE 5/6 to view
my files on my server (via webdav) from a remote client? It keeps prompting
me for a username and password and never grants me access. Below is a
fragment from my httpd.conf file.

I've been going nuts trying to figure this one out for two months or more!

   Siegfried


# DavLockDB /usr/local/apache2/var/DavLock DavLockDB "C:/Program
Files/Apache Group/Apache2/conf/DavLock"
Alias /cgi-source  "C:/Program Files/Apache Group/Apache2/cgi-bin/"

  Dav On
  AuthType Basic
  AuthName DAV
  AuthUserFile "C:/Program Files/Apache Group/Apache2/conf/main.passwd"
  ForceType text/plain
#  
require user siegfried marty christie scott eric shafi #  





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



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

2004-07-12 Thread Igor Pechtchanski
On Mon, 12 Jul 2004, Oliver Geisen wrote:

> Hello,
>
> i'm missing the /dev directory.

No, you're not.  Try, for example, "ls /dev/null".  See the User's Guide:
.

> Espacially the stdin,stdout,stderr nodes to do shell-redirection.
> Is this implementation missing or am i to blind to find it ?

/dev/std{in,out,err} are bash artifacts.  I'm guessing you're using
/bin/sh, which on Cygwin is not the same as /bin/bash (see
).  Either use bash, or use the
standard bourne shell syntax, e.g., <&0, >&1 and >&2.  See also
.

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

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

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



Re: Apache httpd Accepts local connections but not Remote

2004-07-12 Thread Igor Pechtchanski
On Mon, 12 Jul 2004, Siegfried Heintze wrote:

> Since you guys are so smart, responsive and generous with your time, I
> thought I would try this one on you. I have posted this on the Apache HTTP
> mailing list twice with no response.
>
> I have the following in my httpd.conf file. WebDAV seems to be working from
> my local network (when using IE 5/6) but I cannot log in from across the
> public internet and use the webdav client in IE 5. I can view the web pages
> on my site remotely, however. This means my firewall is letting me thru on
> port 80. Port 80 is all webdav needs, correct?
>
> (My colleague was having some success using the WebDAV client in Konquerer
> on Linux for reading files but never figure out how to write files).
>
> Can anyone tell me what I am doing wrong?  Why cannot I use IE 5/6 to view
> my files on my server (via webdav) from a remote client? It keeps prompting
> me for a username and password and never grants me access. Below is a
> fragment from my httpd.conf file.
>
> I've been going nuts trying to figure this one out for two months or more!
>
>Siegfried
>
> # DavLockDB /usr/local/apache2/var/DavLock DavLockDB "C:/Program Files/Apache 
> Group/Apache2/conf/DavLock"
  ^^
> [snip]

This doesn't look like Cygwin apache.  Sorry, you'll have to ask on a list
or forum devoted to the native Win32 apache ports.  This is off-topic for
this list.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread W. Borgert
Hi,

I managed to telnet into my XP box using cygwin xinetd, but if I run
Python (not the cygwin variant, but the stock www.python.org
installer) I get no interaction at all.  Running the same Python
variant in the cygwin bash without telnet session, there is no
problem.  Is this a known limitation?  Did I do something wrong?  Do
I have to tweak the CYGWIN variable?  Many thanks in advance!

Cheers, WB

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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Larry Hall
> Sent: 11 July 2004 20:13

> At 12:26 AM 7/10/2004, you wrote:
> 
> >Larry, these messages are being repeated twice on the list.
> 
> 
> Actually, no they aren't.  I haven't seen the repeats and the 
> email archives show one message only. 

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

  What's happened is that you've used reply to all, resulting in one copy
going directly to Joshua, and a second going to the list, which then
forwards it to Joshua, hence he sees two copies; one directly and one via
the list.  Check the To: lines in the headers you've sent with the last
couple of posts:

Reply-To: Cygwin List 
Message-Id:
<6.1.0.6.0.2004071944.032ec268_BOING!_pop_SPLAT!_prospeed_SPLAT!_net>
X-Sender:
Date: Sat, 10 Jul 2004 00:10:59 -0400
To: "Joshua Halls" , "'Cygwin List'"

From: Larry Hall 
Subject: RE: Source Code for cygwin1.dll
In-Reply-To:
<200407100300.i6A30ti6027440_BOING!_ns2_SPLAT!_prospeed_SPLAT!_net>
References:
<6.1.0.6.0.20040709194742.03331008_BOING!_pop_SPLAT!_prospeed_SPLAT!_net>
<200407100300.i6A30ti6027440_BOING!_ns2_SPLAT!_prospeed_SPLAT!_net>

Reply-To: Cygwin List 
Message-Id:
<6.1.0.6.0.20040709194742.03331008_BOING!_pop_SPLAT!_prospeed_SPLAT!_net>
X-Sender:
Date: Fri, 09 Jul 2004 20:28:31 -0400
To: "Joshua Halls" ,

From: Larry Hall 
Subject: Re: Source Code for cygwin1.dll
In-Reply-To:
<200407092237.i69MbQi6020188_BOING!_ns2_SPLAT!_prospeed_SPLAT!_net>
References:
<200407092237.i69MbQi6020188_BOING!_ns2_SPLAT!_prospeed_SPLAT!_net>


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



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

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 09:32:03AM -0400, Igor Pechtchanski wrote:
>On Sun, 11 Jul 2004, Elvin Peterson wrote:
>
>> --- Larry Hall wrote:
>> > Lots of email clients do this automatically.
>>
>> This should be done server side, by the mailing list
>> manager.  If you subscribe to any of the sourceforge
>> lists, you will know that they do this automatically.
>> Much better than requesting each person to do it
>> everytime (something always gets through and then it
>> is spam city).
>
>Elvin,
>
>This wasn't an arbitrary decision.  Both ways have been tried, and, in
>general, it was not possible to reliably munge e-mail addresses (and
>*only* e-mail addresses) in the archived messages.  This garbled the
>message contents, and so was turned off.  The headers are still munged...

I still have it on my back burner to do some kind of intelligent munging
of email.  I wrote a sample filter that sort of worked but it needed more
intelligence to be really useful.

Unfortunately real life has been stomping hard on me in the last few months
so I haven't gotten around to doing this.  I would love to not have to
keep telling people not to quote raw email addresses, though.

cgf

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



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

2004-07-12 Thread Igor Pechtchanski
On Mon, 12 Jul 2004, Christopher Faylor wrote:

> On Mon, Jul 12, 2004 at 09:32:03AM -0400, Igor Pechtchanski wrote:
> >On Sun, 11 Jul 2004, Elvin Peterson wrote:
> >
> >> --- Larry Hall wrote:
> >> > Lots of email clients do this automatically.
> >>
> >> This should be done server side, by the mailing list
> >> manager.  If you subscribe to any of the sourceforge
> >> lists, you will know that they do this automatically.
> >> Much better than requesting each person to do it
> >> everytime (something always gets through and then it
> >> is spam city).
> >
> >Elvin,
> >
> >This wasn't an arbitrary decision.  Both ways have been tried, and, in
> >general, it was not possible to reliably munge e-mail addresses (and
> >*only* e-mail addresses) in the archived messages.  This garbled the
> >message contents, and so was turned off.  The headers are still munged...
>
> I still have it on my back burner to do some kind of intelligent munging
> of email.  I wrote a sample filter that sort of worked but it needed more
> intelligence to be really useful.
>
> Unfortunately real life has been stomping hard on me in the last few months
> so I haven't gotten around to doing this.  I would love to not have to
> keep telling people not to quote raw email addresses, though.
>
> cgf

Great.  Lacking the information, I didn't want to make any statements
about your degree of interest in this, but in light of the above my
earlier sentense should probably say

"...the list maintainers will be grateful for any help in doing this, and
will probably want to try out suitably tested filters..."

If anyone volunteers to help, I'm assuming you'd be willing to provide the
sample filter as a basis, as well as the information on where to send
patches, etc.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread Igor Pechtchanski
On Mon, 12 Jul 2004, W. Borgert wrote:

> Hi,
>
> I managed to telnet into my XP box using cygwin xinetd, but if I run
> Python (not the cygwin variant, but the stock www.python.org
> installer) I get no interaction at all.  Running the same Python
> variant in the cygwin bash without telnet session, there is no
> problem.  Is this a known limitation?  Did I do something wrong?  Do
> I have to tweak the CYGWIN variable?  Many thanks in advance!
>
> Cheers, WB

A WAG: some Windows programs may require interaction with desktop, even
for non-graphical tasks.  Check out the "-i" flag to cygrunsrv, or the
"Allow service to interact with desktop" checkbox in the Windows service
properties dialog.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



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

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 11:36:41AM -0400, Igor Pechtchanski wrote:
>On Mon, 12 Jul 2004, Christopher Faylor wrote:
>
>> On Mon, Jul 12, 2004 at 09:32:03AM -0400, Igor Pechtchanski wrote:
>> >On Sun, 11 Jul 2004, Elvin Peterson wrote:
>> >
>> >> --- Larry Hall wrote:
>> >> > Lots of email clients do this automatically.
>> >>
>> >> This should be done server side, by the mailing list
>> >> manager.  If you subscribe to any of the sourceforge
>> >> lists, you will know that they do this automatically.
>> >> Much better than requesting each person to do it
>> >> everytime (something always gets through and then it
>> >> is spam city).
>> >
>> >Elvin,
>> >
>> >This wasn't an arbitrary decision.  Both ways have been tried, and, in
>> >general, it was not possible to reliably munge e-mail addresses (and
>> >*only* e-mail addresses) in the archived messages.  This garbled the
>> >message contents, and so was turned off.  The headers are still munged...
>>
>> I still have it on my back burner to do some kind of intelligent munging
>> of email.  I wrote a sample filter that sort of worked but it needed more
>> intelligence to be really useful.
>>
>> Unfortunately real life has been stomping hard on me in the last few months
>> so I haven't gotten around to doing this.  I would love to not have to
>> keep telling people not to quote raw email addresses, though.
>>
>> cgf
>
>Great.  Lacking the information, I didn't want to make any statements
>about your degree of interest in this, but in light of the above my
>earlier sentense should probably say
>
>"...the list maintainers will be grateful for any help in doing this, and
>will probably want to try out suitably tested filters..."
>
>If anyone volunteers to help, I'm assuming you'd be willing to provide the
>sample filter as a basis, as well as the information on where to send
>patches, etc.

While the free software, collaborative philsophy is usually a good thing,
this really requires a few concentrated hours from me to hack on the
sourceware spam filters.  I wouldn't want to have someone else learn
its intricacies.

cgf

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



Re: Building DLL

2004-07-12 Thread Maarten Boekhold
Hi all,
Sorry to keep going on about this, I really want to get this working.
I've made *some* progress in how to build "plugin libraries". I have 
attached my test case to this mail in case somebody is willing to have a 
look at it. Let me describe it first.

I did some reading on the libtool documentation, and according to that, 
libtool 1.5.6 has specific support for dlopen'ed libraries (which is 
what glib/gmodule uses under the hood if I'm not mistaken). The trick is 
an extra macro to your configure.ac (AC_LIBTOOL_DLOPEN) and two 
additional flags to libtool: -module and -export-dynamic. Now, I'm not 
sure if that support is supposed to work on cygwin. But together with a 
"plugin.def" file that defines to the library that a symbol is exported 
by the executable, I can now get things to compile.

Caveat: I cannot get the 'plugin.def' file passed to the gcc command 
line when linking:

/bin/bash ./libtool --mode=link gcc  -g -O2   -o libplugin.la -rpath 
/usr/local/lib -no-undefined -module plugin.def libplugin_la-plugin.lo 
-lgobject-2.0 -lglib-2.0 -lintl -liconv
gcc -shared  .libs/libplugin_la-plugin.o  -L/usr/lib 
/usr/lib/libgobject-2.0.dll.a /usr/lib/libglib-2.0.dll.a 
/usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a  -o .libs/cygplugin-0.dll 
-Wl,--image-base=0x1000 -Wl,--out-implib,.libs/libplugin.dll.a

So instead I editted the generated 'libtool' (after running autogen.sh) 
and added it manually:

# Commands used to build and install a shared archive.
archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags -o 
\$output_objdir/\$soname \${wl}--image-base=0x1000 
\${wl}--out-implib,\$lib plugin.def"

Note the "plugin.def" at the end. Now 'make' succeeds. If anybody knows 
how I can pass the "plugin.def" to the GCC command line, I'd be very 
interested to know.

Run 'make install', and then:
/usr/local/bin/plugintest /usr/local/lib/libplugin.la
This now gives:
$ /usr/local/bin/plugintest.exe /usr/local/lib/libplugin.la
** ERROR **:  1627507512s not a valid Win32 application.
aborting...
Aborted (core dumped)
Is this expected, and is there a way to fix this? Has anybody seen this 
before? (note: for people not familiar with gmodule, the g_module_open() 
function explicitly tests whether this is a libtool library, and if so 
retrieves the actual DLL name from the libplugin.la file).

Kind regards,
Maarten


plugintest.tar.gz
Description: GNU Zip compressed data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

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

2004-07-12 Thread Igor Pechtchanski
On Mon, 12 Jul 2004, Christopher Faylor wrote:

> On Mon, Jul 12, 2004 at 11:36:41AM -0400, Igor Pechtchanski wrote:
> >On Mon, 12 Jul 2004, Christopher Faylor wrote:
> >
> >> On Mon, Jul 12, 2004 at 09:32:03AM -0400, Igor Pechtchanski wrote:
> >> >On Sun, 11 Jul 2004, Elvin Peterson wrote:
> >> >
> >> >> --- Larry Hall wrote:
> >> >> > Lots of email clients do this automatically.
> >> >>
> >> >> This should be done server side, by the mailing list
> >> >> manager.  If you subscribe to any of the sourceforge
> >> >> lists, you will know that they do this automatically.
> >> >> Much better than requesting each person to do it
> >> >> everytime (something always gets through and then it
> >> >> is spam city).
> >> >
> >> >Elvin,
> >> >
> >> >This wasn't an arbitrary decision.  Both ways have been tried, and, in
> >> >general, it was not possible to reliably munge e-mail addresses (and
> >> >*only* e-mail addresses) in the archived messages.  This garbled the
> >> >message contents, and so was turned off.  The headers are still munged...
> >>
> >> I still have it on my back burner to do some kind of intelligent munging
> >> of email.  I wrote a sample filter that sort of worked but it needed more
> >> intelligence to be really useful.
> >>
> >> Unfortunately real life has been stomping hard on me in the last few months
> >> so I haven't gotten around to doing this.  I would love to not have to
> >> keep telling people not to quote raw email addresses, though.
> >>
> >> cgf
> >
> >Great.  Lacking the information, I didn't want to make any statements
> >about your degree of interest in this, but in light of the above my
> >earlier sentense should probably say
> >
> >"...the list maintainers will be grateful for any help in doing this, and
> >will probably want to try out suitably tested filters..."
> >
> >If anyone volunteers to help, I'm assuming you'd be willing to provide the
> >sample filter as a basis, as well as the information on where to send
> >patches, etc.
>
> While the free software, collaborative philsophy is usually a good thing,
> this really requires a few concentrated hours from me to hack on the
> sourceware spam filters.  I wouldn't want to have someone else learn
> its intricacies.
>
> cgf

I realize that.  That's why I said "the sample filter", not "the whole set
of filters".  In fact, I'm sure if anyone could simply provide you with a
(tested[*]) perl regular expression that would more or less reliably match
the reply lead-in strings, it would be an enormous help.  Just trying to
make your life a bit easier here. :-)
Igor
[*] A good testing strategy would be to grab the whole Cygwin mailing list
archives and run the RE on all the message bodies, then visually inspect
the resulting lines to make sure only the lead-ins are matched, and
compare this with a dumb RE that matches anything looking like an e-mail
address to see how many lead-ins were missed.  Ideally, the latter number
will be minimized.  Come to think of it, this doesn't even require any
knowledge of the sourceware SPAM filters...
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Larry Hall
At 10:30 AM 7/12/2004, you wrote:
>> -Original Message-
>> From: cygwin-owner On Behalf Of Larry Hall
>> Sent: 11 July 2004 20:13
>
>> At 12:26 AM 7/10/2004, you wrote:
>> 
>> >Larry, these messages are being repeated twice on the list.
>> 
>> 
>> Actually, no they aren't.  I haven't seen the repeats and the 
>> email archives show one message only. 
>
>> >That's
>> >what causing the repeats.
>> 
>> 
>> No, it's not.  I'm not sure why you're seeing the repeats though.
>> 
>
>  What's happened is that you've used reply to all, resulting in one copy
>going directly to Joshua, and a second going to the list, which then
>forwards it to Joshua, hence he sees two copies; one directly and one via
>the list.  Check the To: lines in the headers you've sent with the last
>couple of posts:
>


Sure, that's true.  But it was Bobby McNulty that was complaining about
multiple copies and he was suggesting that the multiple copies were going
to the list.  That's not true and I can't explain why Bobby would be seeing
what he's seeing but the conclusion he drew from it is wrong.  Joshua made 
no such complaint.

As for how I reply, I always do it the same way.  Reply to all makes sure
it goes to the list and not just the original OP.  If the OP doesn't want a 
copy directed to him/her as well, some procmail filter or setting the 
reply-to to point to the list will take care of that.  I don't second-guess
what the OP implies he/she wants.


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


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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Dave Korn
> -Original Message-
> From: Larry Hall  
> Sent: 12 July 2004 16:52

> >  What's happened is that you've used reply to all, 

> Sure, that's true.  But it was Bobby McNulty that was 
> complaining about multiple copies 


  OMG, so it was.  How utterly bizarre.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread Jason Tishler
WB,

On Mon, Jul 12, 2004 at 04:17:17PM +0200, W. Borgert wrote:
> Is this a known limitation?

Yes.

BTW, only the interactive mode is affected -- running scripts (which
don't prompt) should be OK.

> Did I do something wrong?

No.

BTW, why don't you use Cygwin Python?

> Do I have to tweak the CYGWIN variable?

Unfortunately, CYGWIN=notty only works when logged in directly on the
Windows box -- not remotely.

Jason

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

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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Larry Hall
At 12:18 PM 7/12/2004, you wrote:
>> -Original Message-
>> From: Larry Hall  
>> Sent: 12 July 2004 16:52
>
>> >  What's happened is that you've used reply to all, 
>
>> Sure, that's true.  But it was Bobby McNulty that was 
>> complaining about multiple copies 
>
>
>  OMG, so it was.  How utterly bizarre.


You probably got caught by my limited abilities to figure out how to 
configure Eudora to not quote email addresses in it's response.  I've
resorted to using "you" in all cases because Eudora will otherwise use 
the email address if a name doesn't also exist.  Unfortunately, this 
makes quoted text in my replies a little difficult to follow in a 
thread. :-(  I'm happy to hear from anyone who has a solution for Eudora
on this, though I plan eventually to move to a different email client
which, ideally, won't have this problem. ;-)


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


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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread W. Borgert
Quoting Igor Pechtchanski <[EMAIL PROTECTED]>:
> On Mon, 12 Jul 2004, W. Borgert wrote:
> > I managed to telnet into my XP box using cygwin xinetd, but if I run
> > Python (not the cygwin variant, but the stock www.python.org
> > installer) I get no interaction at all.  Running the same Python
> > variant in the cygwin bash without telnet session, there is no
> > problem.  Is this a known limitation?  Did I do something wrong?  Do
> > I have to tweak the CYGWIN variable?  Many thanks in advance!
>
> A WAG: some Windows programs may require interaction with desktop, even
> for non-graphical tasks.  Check out the "-i" flag to cygrunsrv, or the
> "Allow service to interact with desktop" checkbox in the Windows service
> properties dialog.

Interesting guess, but I did not manage to run xinetd as a service.
Is there a way to run xinetd with "desktop interaction", but not as
a service?  As I started xinetd manually I thought that interaction
with the desktop would be allowed and possible.  Thanks for any hint!

Cheers, WB

P.S. My attempt to run xinetd as a service:

$ cygrunsrv -I xinetd -i -p /usr/sbin/xinetd.exe
$ cygrunsrv -S xinetd
$ cygrunsrv -Q xinetd
Service xinetd exists
Type: Undefined type
Current State   : Stopped
Controls Accepted   :
$ 

If I start the service from the GUI it looks like it is started, but
some seconds later it is stopped again.  I would prefer to run xinetd
"manually" for now anyway.

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



RE: HOw to install emacs?

2004-07-12 Thread Harig, Mark
The Cygwin version of emacs is separate and distinct
from the GNU version of emacs that (also) runs on Windows.

The Cygwin version should, by default, be installed
in your Cygwin path and can be started from a Cygwin
shell prompt with the command "emacs".  It will run
in the Cygwin command window that you have started,
i.e., a "no-window" version, unless you have installed
the Cygwin distribution of the X Windows software.

> -Original Message-
> From: Richard Heintze [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 4:30 PM
> To: [EMAIL PROTECTED]
> Subject: HOw to install emacs?
> 
> 
> I've been downloading emacs from the gnu site and
> running addpm.exe to install it on Windows 2003.
> 
> I notice there is an emacs in the cygwin distribution
> but I cannot figure out how to run it. Do not I need
> to run addpm.exe like I do in the GNU distribution? I
> cannot find this program in the cygwin distribution.
>   Thanks,
>   Siegfried
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
> 
> 

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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread Corinna Vinschen
On Jul 12 18:40, W. Borgert wrote:
> Quoting Igor Pechtchanski <[EMAIL PROTECTED]>:
> > On Mon, 12 Jul 2004, W. Borgert wrote:
> > > I managed to telnet into my XP box using cygwin xinetd, but if I run
> > > Python (not the cygwin variant, but the stock www.python.org
> > > installer) I get no interaction at all.  Running the same Python
> > > variant in the cygwin bash without telnet session, there is no
> > > problem.  Is this a known limitation?  Did I do something wrong?  Do
> > > I have to tweak the CYGWIN variable?  Many thanks in advance!
> >
> > A WAG: some Windows programs may require interaction with desktop, even
> > for non-graphical tasks.  Check out the "-i" flag to cygrunsrv, or the
> > "Allow service to interact with desktop" checkbox in the Windows service
> > properties dialog.
> 
> Interesting guess, but I did not manage to run xinetd as a service.
> Is there a way to run xinetd with "desktop interaction", but not as
> a service?  As I started xinetd manually I thought that interaction
> with the desktop would be allowed and possible.  Thanks for any hint!

The remote terminal is running through pseudo ttys which are implemented
using pipes.  There's a good chance that the native python implementation
doesn't interact interactively with the user if the stdio file descriptors
are connected to pipes.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



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

2004-07-12 Thread Elvin Peterson
--- Igor Pechtchanski wrote:
> On Sun, 11 Jul 2004, Elvin Peterson wrote:
> 
> > --- Larry Hall wrote:
> > > Lots of email clients do this automatically.
> >
> > This should be done server side, by the mailing
> list
> > manager.  If you subscribe to any of the
> sourceforge
> > lists, you will know that they do this
> automatically.
> > Much better than requesting each person to do it
> > everytime (something always gets through and then
> it
> > is spam city).
> 
> Elvin,
> 
> This wasn't an arbitrary decision.  Both ways have
> been tried, and, in
> general, it was not possible to reliably munge
> e-mail addresses (and
> *only* e-mail addresses) in the archived messages. 
> This garbled the
> message contents, and so was turned off.  The
> headers are still munged...
> 
> There might be a way to find and match just the
> reply lead-ins (e.g., "On
> some date, John Doe <[EMAIL PROTECTED]> wrote:", or

This form should cover almost all the cases, and the
PCYMTNQREAIYR messages can be limited to those special
cases where violations occur.

> are varied enough that it's probably not possible. 

I suppose this was an issue a few years ago when
people used a large variety of software, but today
most mail readers use the first form.

> If anyone feels it's a
> hassle to double-check their e-mail software, but
> minds receiving the
> '#PCYMTNQREAIYR' link, they should feel free to try
> fixing the munging
> rules. 

Lots of software doesn't give much control to the user
(especially the web based ones).  However, this would
easily be fixed as they are invariably in the
<[EMAIL PROTECTED]> form.

>From CGF's reply, it seems like a proprietary solution
is being used for mailing list management (this is the
point where I would plug Open Source software :-)), so
this whole discussion is rather pointless.



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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



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

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 11:59:25AM -0400, Igor Pechtchanski wrote:
>I realize that.  That's why I said "the sample filter", not "the whole set
>of filters".  In fact, I'm sure if anyone could simply provide you with a
>(tested[*]) perl regular expression that would more or less reliably match
>the reply lead-in strings, it would be an enormous help.  Just trying to
>make your life a bit easier here. :-)

Ok.  I'll see if I can dig out my current regex and post them here.

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



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

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 09:53:39AM -0700, Elvin Peterson wrote:
>--- Igor Pechtchanski wrote:
>> On Sun, 11 Jul 2004, Elvin Peterson wrote:
>> 
>> > --- Larry Hall wrote:
>> > > Lots of email clients do this automatically.
>> >
>>>This should be done server side, by the mailing list manager.  If you
>>>subscribe to any of the sourceforge lists, you will know that they do
>>>this automatically.  Much better than requesting each person to do it
>>>everytime (something always gets through and then it is spam city).
>>
>>This wasn't an arbitrary decision.  Both ways have been tried, and, in
>>general, it was not possible to reliably munge e-mail addresses (and
>>*only* e-mail addresses) in the archived messages.  This garbled the
>>message contents, and so was turned off.  The headers are still
>>munged...
>>
>>There might be a way to find and match just the reply lead-ins (e.g.,
>>"On some date, John Doe <[EMAIL PROTECTED]> wrote:", or
>
>This form should cover almost all the cases, and the PCYMTNQREAIYR
>messages can be limited to those special cases where violations occur.
>
>>are varied enough that it's probably not possible.
>
>I suppose this was an issue a few years ago when people used a large
>variety of software, but today most mail readers use the first form.

There are a number of people here who use other forms.

>From CGF's reply, it seems like a proprietary solution is being used
>for mailing list management (this is the point where I would plug Open
>Source software :-)), so this whole discussion is rather pointless.

It's not proprietary software.  It's a perl script, written by me.

cgf

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



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

2004-07-12 Thread Hannu E K Nevalainen
> From: GARY VANSICKLE
> Sent: Monday, July 12, 2004 3:08 AM

> cygwin-ownerXXXYOU_KNOW_THE_REST wrote on Sunday, July 11, 2004 7:54 PM:
> 
>
> >> On Sun, July 11, 2004 10:22 pm, LDR said:
> >>> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

[SNIP]
> >> Well, if you're using outlook/outlook express, there's a program
> >> called Outlook-quotefix or OE-quotefix, depending on which you're
> >> using. They latch into outlook/oe to provide this functionality.
> >
> > Are you sure this is true?  I downloaded it and can't get it
> > to provide that functionality.  Am I missing some checkbox somewhere?
> >
> > --
> > Gary R. Van Sickle
>
> Ok, it can be configured to do what's mentioned in the acronym
> dealy, but it
> will always say something like:
>
> "Cygwin Owner wrote on Wednesday, Smarch 25"
>
> So I guess it can't hurt, but

Hrm? Are you telling that the "Outlook Express" thingie
 works *reliably* with _Outlook_ too?

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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



Re: man pages formating (msg to Chris)

2004-07-12 Thread Igor Pechtchanski
On Wed, 16 Jun 2004, Igor Pechtchanski wrote:

> On Wed, 16 Jun 2004, Cyber.Zombie wrote:
>
> > As a way to get past the excessive domain stuff, you can always grab a
> > subset.  Ex:
> >
> > mkpasswd -d abaton -u rhannah
> >
> > I don't see any similar feature for mkgroup...
>
> FWIW, it's rather trivial to add a "-g" option to mkgroup which will
> restrict it to just the one group specified on the command line.  As soon
> as my assignment arrives, I'll submit a patch, unless someone beats me to
> it.
>   Igor

FYI, this patch has just been applied, and will appear in the next
snapshot (and any subsequent releases of Cygwin).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



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

2004-07-12 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Hannu E K Nevalainen
> Sent: 12 July 2004 18:19

> > >> On Sun, July 11, 2004 10:22 pm, LDR said:
> > >>> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> 
> [SNIP]
> > >> Well, if you're using outlook/outlook express, there's a program
> > >> called Outlook-quotefix or OE-quotefix, depending on which you're
> > >> using. They latch into outlook/oe to provide this functionality.

> Hrm? Are you telling that the "Outlook Express" thingie
>  works *reliably* with _Outlook_ too?

  As it said just a few lines earlier, there are separate versions of
quotefix for each version of outlook.

http://www.google.com/search?hl=en&ie=UTF-8&q=quotefix

Result 1:
OE-QuoteFix - [ Translate this page ]
Add-on that modifies message composition windows on-the-fly to allow for
'correct' quoting, compressed...
home.in.tum.de/~jain/software/oe-quotefix/ - 1k - Cached - Similar pages 


Result 2:
Outlook-QuoteFix - Home - [ Translate this page ]
Clean up messages with extraneous quote markings.
home.in.tum.de/~jain/software/outlook-quotefix/ - 1k - Cached - Similar
pages
[ More results from home.in.tum.de ] 


  Yep, that all seems fairly clear to me.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread W. Borgert
Hi,

thanks to Corinna, Igor, and Jason.  It seems I have to find another
telnet implementation for Windows NT (XP seems to have telnet built
in).  Unfortunately, I like to use Python interactively, so script
mode is not enough.  OTOH, I cannot use cygwin Python variant,
because it doesn't load the Python modules I have installed
(omniORBpy, a CORBA implementation for Python).  Also, I fear that
cygwin Python might be a little bit slower than "native" Python in
respect to I/O, but this might be not true anymore.

Cheers, WB

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



rsync very slow, but not a network issue

2004-07-12 Thread Alexis Gallagher
Hello,
I am finding that rsync+ssh is giving extremely slow file transfers. But 
this slowdown is hitting not when it needs to send data over the 
network, but when it applies the rsync algorithm which is supposed to be 
faster than sending all the data over the network. This is very puzzling.

For a benchmark, I tried transfering a 5.4 MB mp3 file three different 
ways. Here were my results, as reported by 'scp -v' and 'rsync 
--progress --stats':

   scp: 311000 B/s
   rsync (file not there): 309000 B/s
   rsync (file already there): 741 B/s
When the file is alredy there, rsync reports a speedup of about 70. 
(When the file is not already there, the speed up is 1, of course.) I am 
running rsync over ssh with pre-generated keys installed in my .ssh 
directories.

The receiving machine is running OS X 10.3.4. It has OpenSSH_3.6.1p1 (as 
judged from the 'ssh -v' output) and the fink installation of 
rsync2.6.2. The sending machine is running WinXPProSP1, with rsync 2.6.2 
and OpenSSH_3.8.1p1. FWIW, I am attaching my cygcheck.out, as suggested 
in the webpage on using this list.

Much obliged for any help,
Alexis

Cygwin Configuration Diagnostics
Current System Time: Mon Jul 12 17:20:09 2004

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   E:\cygwin\usr\local\bin
E:\cygwin\bin
E:\cygwin\bin
E:\cygwin\usr\X11R6\bin
e:\WINDOWS\system32
e:\WINDOWS
e:\WINDOWS\system32\WBEM
e:\Program Files\3dsmax5\backburner2\
e:\Program Files\Common Files\Autodesk Shared\
e:\jwsdp-1.3\jwsdp-shared\bin
e:\Program Files\SSH Communications Security\SSH Secure Shell
e:\jwsdp-1.3\bin
e:\j2sdk1.4.2\bin
e:\Python23
e:\jwsdp-1.3\apache-ant\bin

Output from E:\cygwin\bin\id.exe (nontsec)
UID: 1003(alexis) GID: 513(None)
513(None)

Output from E:\cygwin\bin\id.exe (ntsec)
UID: 1003(alexis) GID: 513(None)
0(root)  513(None)
544(Administrators)  545(Users)

SysDir: E:\WINDOWS\System32
WinDir: E:\WINDOWS

HOME = `E:\cygwin\home\alexis'
MAKE_MODE = `unix'
PWD = `/home/alexis/iTunesMusic/Jay-Z + DJ Danger Mouse/The Grey Album'
USER = `alexis'

ALLUSERSPROFILE = `E:\Documents and Settings\All Users'
ANT_HOME = `e:\jwsdp-1.3\apache-ant'
APPDATA = `E:\Documents and Settings\alexis\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `E:\Program Files\Common Files'
COMPUTERNAME = `8YGZF01'
COMSPEC = `E:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `E:'
HOMEPATH = `\Documents and Settings\alexis'
HOSTNAME = `8ygzf01'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
JAVA_HOME = `E:\j2sdk1.4.2'
JSF_HOME = `e:\jwsdp-1.3\jsf-1_0-beta'
JWSDP_HOME = `e:\jwsdp-1.3'
LOGONSERVER = `\\8YGZF01'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/alexis/iTunesMusic/Jay-Z + DJ Danger Mouse'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `E:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
PYTHONPATH = `E:\Python23\alexispackages\;E:\Python23\alexispackages\pyblogger-1.5'
RSYNC_RSH = `ssh'
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `E:'
SYSTEMROOT = `E:\WINDOWS'
TEMP = `E:\DOCUME~1\alexis\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `E:\DOCUME~1\alexis\LOCALS~1\Temp'
USERDOMAIN = `8YGZF01'
USERNAME = `alexis'
USERPROFILE = `E:\Documents and Settings\alexis'
WINDIR = `E:\WINDOWS'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `E:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `E:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `E:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `E:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  fd   N/AN/A
d:  cd   N/AN/A
e:  hd  NTFS   57207Mb  9

need -mrtd to create Excel DLL?

2004-07-12 Thread Lester Ingber
I was able to create a dll from many C files, representing fairly complex
calculations, using the following in my Makefile, without having to add
any keywords like "__declspec", using info from the Cygwin docs.

I used the following options:
CFLAGS=-g -O2 -Wall -mno-cygwin -mrtd
This DLL tested fine when used by Excel.

(1) I have not seen any postings calling for the use of "-mrtd".
I stumbled across this by trial and error trying to get my DLL to work.
I would prefer to not use this option, given the warnings in `info gcc`:
8< top cut -> bottom ->8
`-mrtd'
 Use a different function-calling convention, in which functions
 that take a fixed number of arguments return with the `rtd'
 instruction, which pops their arguments while returning.  This
 saves one instruction in the caller since there is no need to pop
 the arguments there.

 This calling convention is incompatible with the one normally used
 on Unix, so you cannot use it if you need to call libraries
 compiled with the Unix compiler.

 Also, you must provide function prototypes for all functions that
 take variable numbers of arguments (including `printf'); otherwise
 incorrect code will be generated for calls to those functions.

 In addition, seriously incorrect code will result if you call a
 function with too many arguments.  (Normally, extra arguments are
 harmlessly ignored.)

 The `rtd' instruction is supported by the 68010, 68020, 68030,
 68040, 68060 and CPU32 processors, but not by the 68000 or 5200.
8< bottom cut <- top ->8
Is there another way?

(2)  I could not get this approach to work using g++, though my code
compiles and runs just fine under an executable branch of code using
either gcc or g++?

Thanks.

Lester



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



Re: rsync very slow, but not a network issue

2004-07-12 Thread Reini Urban
Alexis Gallagher schrieb:
I am finding that rsync+ssh is giving extremely slow file transfers. But 
this slowdown is hitting not when it needs to send data over the 
network, but when it applies the rsync algorithm which is supposed to be 
faster than sending all the data over the network. This is very puzzling.

For a benchmark, I tried transfering a 5.4 MB mp3 file three different 
ways. Here were my results, as reported by 'scp -v' and 'rsync 
--progress --stats':

   scp: 311000 B/s
   rsync (file not there): 309000 B/s
   rsync (file already there): 741 B/s
When the file is alredy there, rsync reports a speedup of about 70. 
(When the file is not already there, the speed up is 1, of course.) I am 
running rsync over ssh with pre-generated keys installed in my .ssh 
directories.
This is a binary MP3.
rsync (as diff) is not good in checking binary diffs.
Please try it with a typical text file, where the patch
is smaller than the source.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


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

2004-07-12 Thread Hannu E K Nevalainen
> From: Dave Korn
> Sent: Monday, July 12, 2004 7:26 PM

[SNIP]
> Result 2:
> Outlook-QuoteFix - Home - [ Translate this page ]
> Clean up messages with extraneous quote markings.
> home.in.tum.de/~jain/software/outlook-quotefix/ - 1k - Cached - Similar
> pages
> [ More results from home.in.tum.de ]
>
>
>   Yep, that all seems fairly clear to me.

 Ditto.

The latter has appeared since I last checked.
Thanks for pointing it out.

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Hannu E K Nevalainen
> From: Larry Hall
> Sent: Monday, July 12, 2004 6:27 PM
> To: Dave Korn; 'Cygwin List'

> At 12:18 PM 7/12/2004, you wrote:
> >> -Original Message-
> >> From: Larry Hall
> >> Sent: 12 July 2004 16:52
> >
> >> >  What's happened is that you've used reply to all,
> >
> >> Sure, that's true.  But it was Bobby McNulty that was
> >> complaining about multiple copies
> >
> >
> >  OMG, so it was.  How utterly bizarre.
>
>
> You probably got caught by my limited abilities to figure out how to
> configure Eudora to not quote email addresses in it's response.  I've
> resorted to using "you" in all cases because Eudora will otherwise use
> the email address if a name doesn't also exist.  Unfortunately, this
> makes quoted text in my replies a little difficult to follow in a
> thread. :-(  I'm happy to hear from anyone who has a solution for Eudora
> on this, though I plan eventually to move to a different email client
> which, ideally, won't have this problem. ;-)

FWIW:
Seems there is still something "wrong" with your configuration, a "Reply to
All" on the message (as quoted above) of yours yields
 "Cygwin List; Dave Korn" in the TO field (Dave shouldn't be there IMO).

IMHO, Scrap Eudora ASAP. It seems to have some kind of "bright" idea on how
to quote text too - totally unreadable.

Stop. *** Unrelated sidenotes follows ***
>
>
> --
> Larry Hall  http://www.rfk.com


OPINION:
 email has been the same for ages, let it stay that way.
 If you want something new, DEFINE the new stuff, go use it
 where it is apropriate; any new forum - stop spamming email.

Still; I've yet to see a well functioning email client on the PC
(I used a nice one on the Amiga for a long period of time;
 "Thor" - configurable as h*ll, through Amiga REXX.
 NOT perfect, not the fastest, but VERY nice.)


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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



RE: need -mrtd to create Excel DLL?

2004-07-12 Thread Hannu E K Nevalainen
> From: Lester Ingber

[snip]
>  The `rtd' instruction is supported by the 68010, 68020, 68030,
>  68040, 68060 and CPU32 processors, but not by the 68000 or 5200.
> 8< bottom cut <- top
> ->8

Heh... ;-P

 I wonder what kind of side effect the -mrtd flag has when used for the
cygwin compiler.

 I've hard to believe that Excel grok's M68K code. ;-D

(Documentation for intel CPU behaviour missing? Isn't it nice.)


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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



[ADMIN] Cygwin package search temporarily disabled

2004-07-12 Thread Corinna Vinschen
Folks,

the "Search package list" functionality on http://cygwin.com/packages/
has been temporarily disabled due to security considerations. 

I can't say for how long this service will be down, but it will probably
be a few days.


Sorry for the inconvenience,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



Problem with echo in tcsh 6.13.00-2 in Cygwin 1.5.10 (fwd)

2004-07-12 Thread David Mastronarde

The latest version of tcsh has a problem with the built-in echo.
When echo is used to write to a file from within a script, and then the
script runs a program that attempts to open the file, the program is not
able to open the file.

The attachment has a sample program, fortopen.f, which gave the problem 
when compiled with the Intel Fortran compiler.  A C program using
fopen did not show the problem.  The problem also does not occur when the
program is compiled with g77 under Cygwin.  The executable made the tar 
file too large for your mail program, so it is not included.  (Please 
tell me a better email address to use if you need it from me.)

The script echotest uses echo to write to a file, then runs fortopen which 
tries to open the file.  It does it first with echo piped to cat, and with 
/bin/echo, which do not fail, then it does it with the built-in echo, 
which fails with permission denied.

The problem occurs only with tcsh 6.13, not tcsh 6.12 (see two output 
files).

I am running Windows XP SP1.

Thanks.

David Mastronarde


echobug.tar.gz
Description: GNU Zip compressed data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: [ADMIN] Cygwin package search temporarily disabled

2004-07-12 Thread wszumera
On 12 Jul 2004 at 22:18, Corinna Vinschen wrote:

> Folks,
> 
> the "Search package list" functionality on http://cygwin.com/packages/
> has been temporarily disabled due to security considerations. 
> 
> I can't say for how long this service will be down, but it will probably
> be a few days.
> 
> 
> Sorry for the inconvenience,
> Corinna

It beats the alternative.

Wes

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



Re: Problem with echo in tcsh 6.13.00-2 in Cygwin 1.5.10 (fwd)

2004-07-12 Thread Corinna Vinschen
On Jul 12 14:53, David Mastronarde wrote:
> 
> The latest version of tcsh has a problem with the built-in echo.
> When echo is used to write to a file from within a script, and then the
> script runs a program that attempts to open the file, the program is not
> able to open the file.
> 
> The attachment has a sample program, fortopen.f, which gave the problem 
> when compiled with the Intel Fortran compiler.  A C program using
> fopen did not show the problem.  The problem also does not occur when the
> program is compiled with g77 under Cygwin.  The executable made the tar 
> file too large for your mail program, so it is not included.  (Please 
> tell me a better email address to use if you need it from me.)
> 
> The script echotest uses echo to write to a file, then runs fortopen which 
> tries to open the file.  It does it first with echo piped to cat, and with 
> /bin/echo, which do not fail, then it does it with the built-in echo, 
> which fails with permission denied.
> 
> The problem occurs only with tcsh 6.13, not tcsh 6.12 (see two output 
> files).
> 
> I am running Windows XP SP1.

Me too.  I've build your test application and ran it under tcsh 6.13.00
and I had no problem with it:

$ uname -a
CYGWIN_NT-5.1 cathi 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown Cygwin
$ echo $version
tcsh 6.13.00 (Astron) 2004-05-19 (i386-intel-posix) options 
8b,nls,dl,al,kan,rh,color,dspm
$ g77 -o fortopen fortopen.f
$ ls -l
total 82
-rw-r--r--1 corinna  root17151 Jul 12 22:10 cygcheck.out
-rw-r--r--1 corinna  root  515 Jul 12 22:13 echoout.6.12
-rw-r--r--1 corinna  root  746 Jul 12 22:15 echoout.6.13
-rwxr-xr-x1 corinna  root  363 Jul  8 23:10 echotest
-rwxr-xr-x1 corinna  root60868 Jul 12 23:08 fortopen.exe
-rwxr-xr-x1 corinna  root  372 Jul  8 22:56 fortopen.f
-rw-r--r--1 corinna  root   12 Jul 12 23:12 tempfile
$ ./echotest 
Trying with echo pipe to cat
000 061 040 060 040 060 040 061 040 060 040 060 012
014
-rw-r--r--1 corinna  root   12 Jul 12 23:26 tempfile
 File Opened OK
Trying with /bin/echo
000 061 040 060 040 060 040 061 040 060 040 060 012
014
-rw-r--r--1 corinna  root   12 Jul 12 23:26 tempfile
 File Opened OK
Trying with built-in echo
000 061 040 060 040 060 040 061 040 060 040 060 012
014
-rw-r--r--1 corinna  root   12 Jul 12 23:26 tempfile
 File Opened OK
$


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



RE: Source Code for cygwin1.dll

2004-07-12 Thread Larry Hall
At 02:52 PM 7/12/2004, you wrote:
>> From: Larry Hall
>> Sent: Monday, July 12, 2004 6:27 PM
>> To: Dave Korn; 'Cygwin List'
>
>> At 12:18 PM 7/12/2004, you wrote:
>> >> -Original Message-
>> >> From: Larry Hall
>> >> Sent: 12 July 2004 16:52
>> >
>> >> >  What's happened is that you've used reply to all,
>> >
>> >> Sure, that's true.  But it was Bobby McNulty that was
>> >> complaining about multiple copies
>> >
>> >
>> >  OMG, so it was.  How utterly bizarre.
>>
>>
>> You probably got caught by my limited abilities to figure out how to
>> configure Eudora to not quote email addresses in it's response.  I've
>> resorted to using "you" in all cases because Eudora will otherwise use
>> the email address if a name doesn't also exist.  Unfortunately, this
>> makes quoted text in my replies a little difficult to follow in a
>> thread. :-(  I'm happy to hear from anyone who has a solution for Eudora
>> on this, though I plan eventually to move to a different email client
>> which, ideally, won't have this problem. ;-)
>
>FWIW:
>Seems there is still something "wrong" with your configuration, a "Reply to
>All" on the message (as quoted above) of yours yields
> "Cygwin List; Dave Korn" in the TO field (Dave shouldn't be there IMO).


That's not wrong.  A "Reply to All" means reply to all who were originally 
addressed.  Since the original came from David and he (apparently) didn't
set his "Reply-To" (which Eudora will honor) to the list (for example), he 
is correctly included in the "Reply to All".


>IMHO, Scrap Eudora ASAP. It seems to have some kind of "bright" idea on how
>to quote text too - totally unreadable.


I'm sorry it doesn't work for you.  But I'm not really looking for opinions
on Eudora.  The only feedback that I'm really interested in is if anyone
knows how to configure it to better handle the OP's name in replies.  Since
this is largely off-topic, I think it's best not to prolong the thread 
unless someone here has a pointer.


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


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



[OT] RE: Source Code for cygwin1.dll

2004-07-12 Thread Dave Korn
> -Original Message-
> From: cygwin-owner On Behalf Of Larry Hall
> Sent: 12 July 2004 22:40
> To: Hannu E K Nevalainen; Cygwin List
> Subject: RE: Source Code for cygwin1.dll

> >FWIW:
> >Seems there is still something "wrong" with your 
> configuration, a "Reply to
> >All" on the message (as quoted above) of yours yields
> > "Cygwin List; Dave Korn" in the TO field (Dave shouldn't be 
> there IMO).
> 
> 
> That's not wrong.  A "Reply to All" means reply to all who 
> were originally 
> addressed.  Since the original came from David and he 
> (apparently) didn't
> set his "Reply-To" (which Eudora will honor) to the list (for 
> example), he 
> is correctly included in the "Reply to All".

  Absolutely so.  It doesn't matter to me, Ouchlook seems to manage to
identify dupes (by the msg-id presumably) and I only see one copy anyway.
So I don't bother with Reply-To:

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: [ADMIN] cygwin package search temporarily disabled

2004-07-12 Thread Christopher Faylor
On Mon, Jul 12, 2004 at 10:18:00PM +0200, Corinna Vinschen wrote:
>Folks,
>
>the "Search package list" functionality on http://cygwin.com/packages/
>has been temporarily disabled due to security considerations. 
>
>I can't say for how long this service will be down, but it will probably
>be a few days.
>
>
>Sorry for the inconvenience,

The scripts are back online now.

cgf

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



Re: cygwin telnetd/xinetd and non-cygwin Python: no interaction

2004-07-12 Thread Doug Henderson
W. Borgert wrote:
Hi,
thanks to Corinna, Igor, and Jason.  It seems I have to find another
telnet implementation for Windows NT (XP seems to have telnet built
in).  Unfortunately, I like to use Python interactively, so script
mode is not enough.  OTOH, I cannot use cygwin Python variant,
because it doesn't load the Python modules I have installed
(omniORBpy, a CORBA implementation for Python).  Also, I fear that
cygwin Python might be a little bit slower than "native" Python in
respect to I/O, but this might be not true anymore.
Cheers, WB
Windows and cygwin python are completely interchangable for the work I 
do. Today one of my colleagues asked what this /cygdrive/t/... stuff was 
doing in the error messages. He was running the windows version of 
python with .pyc files built by the cygwin version.

I find that python modules are easier to install under cygwin than in 
native windows. To build binary modules for the windows version, you 
need to use Visual C++, which I have refused to install. I have to 
locate a binary install package prebuilt for my python version and 
environment. For the cygwin version, "python setup.py install" always 
seems to work (provided the gcc tool chain is installed).

As an example, to install the cx_Oracle module, I need a binary 
installer that matches both my python version and my Oracle client 
library version. On cygwin, I use the same source version of the module 
with Oracle 8i, 9i and 10g client libraries and any version of python.


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


Re: rsync very slow, but not a network issue

2004-07-12 Thread Brian Dessent
Reini Urban wrote:

> > When the file is alredy there, rsync reports a speedup of about 70.
> > (When the file is not already there, the speed up is 1, of course.) I am
> > running rsync over ssh with pre-generated keys installed in my .ssh
> > directories.
> 
> This is a binary MP3.
> rsync (as diff) is not good in checking binary diffs.
> Please try it with a typical text file, where the patch
> is smaller than the source.

That is not correct at all, and rsync would be much less useful if it
were true.  rsync works with arbitrary binary data just as well as it
does with text.  It has no conception of 'lines' or any other type of
delimited text.  All it does is split up the file into fixed-length
chunks and calculates a rolling checksum of each of these.  It does not
use anything resembling 'diff' or 'patch'. 

http://rsync.samba.org/tech_report/node2.html

Brian

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



Re: cygwin: /proc and /cygdrive insvisible

2004-07-12 Thread Oliver Geisen
Hello,
is there a reason (i bet there is :-) why the /proc and /cygdrive
directory isn't visible when "ls -l /" ?
  cd /
  mkdir proc cygdrive
Sounds easy. But unfortunately it doesn't work for the /proc.
The command executes but after that there is still no directory visible 
via LS.

Mit freundlichen Grüssen,
Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [EMAIL PROTECTED]
---
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: access to event log of windows

2004-07-12 Thread Systemtechnik
Hello,
is there a way to read/write from/to the event log of windows ?
syslog and vsyslog are implemented in Cygwin.  On NT they use the
event log system.
You're right.
But i think with syslog i can only write to the log.
What i also need is to read from it :-)
In other words: i'd like to scan NT eventlog for errors, 
programatically.

Mit freundlichen Grüssen,
Oliver Geisen
---
Systemadministrator
Kreisboten Verlag Mühlfellner KG
Telefon: 0881/686-63
Telefax: 0881/686-74
Mail: [EMAIL PROTECTED]
---
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/