Re: Pine mail reader

2014-04-04 Thread Csaba Raduly
On Fri, Apr 4, 2014 at 10:29 PM, Warren Young  wrote:
> Pine is basically dead, partly because of licensing/trademark problems with
> the University of Washington, and partly due to waning interest from that
> same group.  (Cite: http://goo.gl/SkfCef)

I guess it's Pine for the fjords.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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



Re: Pine mail reader

2014-04-04 Thread Warren Young

On 4/4/2014 07:57, J. David Boyd wrote:

I (think I) recall that Pine used to be available in the Cygwin archive.

It no longer is?  Any ideas where to get a Cygwin compatible binary?


Pine is basically dead, partly because of licensing/trademark problems 
with the University of Washington, and partly due to waning interest 
from that same group.  (Cite: http://goo.gl/SkfCef)


Alpine was created to solve those problems, though it went through about 
4 years of no releases, too.  Alpine development restarted last year: 
http://patches.freeiz.com/alpine/release/


Another fork is re-alpine: http://sourceforge.net/projects/re-alpine/

Someone who cares about a pine-like mail reader should start packaging 
one of these two for Cygwin.


(Not me.  I rarely use pine/alpine, and then only to read cron 
complaints in mbox format on systems without a real SMTP setup.  Even 
then, I probably use mailx more often.)


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



Pine mail reader

2014-04-04 Thread J. David Boyd
I (think I) recall that Pine used to be available in the Cygwin archive.

It no longer is?  Any ideas where to get a Cygwin compatible binary?

Dave


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



Re: Installing Pine

2010-10-24 Thread Maurice Mengel
look for alpine, successor of pine as far as I remember



On Sun, Oct 24, 2010 at 11:27 AM, Lee D. Rothstein  wrote:
>  Pine has been deleted from all kinds of FLOSS distributions, including some
> or
> all Linux distribs because of U. of WA, software license, IIRC. I believe
> that U
> WA also changed the name of their current email package. I looked into
> building it, at one time, and basically decided it's time to move on.
>
> WRT your comment on 'set', why would 'set' have any info to bear on
> installable packages? Sorry for my ignorance.
>
> Lee
>
> On 10/24/2010 11:00 AM, ROGER CARSLEY wrote:
>>
>> Apologies if I have missed the obvious but as a newby I was expecting to
>> be able
>> find that installing pine would be relatively straightforward.  Although
>> it
>> appears in the Setup Package Search I cannot seem to find it in set.exe
>> either
>> under mail or by search.
>>
>> Thanks in anticipation for any help.
>>
>> Roger
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
>>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

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



Re: Installing Pine

2010-10-24 Thread Lee D. Rothstein
 Pine has been deleted from all kinds of FLOSS distributions, including 
some or
all Linux distribs because of U. of WA, software license, IIRC. I 
believe that U

WA also changed the name of their current email package. I looked into
building it, at one time, and basically decided it's time to move on.

WRT your comment on 'set', why would 'set' have any info to bear on
installable packages? Sorry for my ignorance.

Lee

On 10/24/2010 11:00 AM, ROGER CARSLEY wrote:

Apologies if I have missed the obvious but as a newby I was expecting to be able
find that installing pine would be relatively straightforward.  Although it
appears in the Setup Package Search I cannot seem to find it in set.exe either
under mail or by search.

Thanks in anticipation for any help.

Roger

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





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



Installing Pine

2010-10-24 Thread ROGER CARSLEY
Apologies if I have missed the obvious but as a newby I was expecting to be 
able 
find that installing pine would be relatively straightforward.  Although it 
appears in the Setup Package Search I cannot seem to find it in set.exe either 
under mail or by search.

Thanks in anticipation for any help.

Roger

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



Pine?

2010-09-14 Thread Wes S
Just setting up a new XP pro box, can't find Pine. 

So what MUA is supported atm?

Thanks,

Wes

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



Re: Problems with Pine

2009-12-09 Thread Corinna Vinschen
On Dec  9 11:00, Andy Koppe wrote:
> 2009/12/9 Corinna Vinschen:
> > On Dec  9 06:21, Andy Koppe wrote:
> >> 2009/12/9 Angelo Graziosi:
> >> > It seems that some recent updates in cygwin-1.7 has broken Pine from 
> >> > MinTTY.
> >> > Now, trying to start from MinTTY:
> >> >
> >> > $ pine
> >> > Terminal type "xterm", is unknown.
> >>
> >> I can reproduce that by uninstalling the termcap package, so install
> >> that and hopefully you'll be fine. Looks like the pine package is
> >> missing a dependency there. (And in any case, it ought to be using
> >> terminfo instead of the obsolete termcap.)
> >
> > Unfortunately the pine package is without maintainer.  We didn't hear
> > from Igor for a long time now.  It would be nice if somebody could pick
> > up the package again as Cygwin package maintainer.
> > See http://cygwin.com/setup.html to see how to do it.
> 
> Meanwhile, could you add a termcap dependency to pine's setup.hint?

Done.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Problems with Pine

2009-12-09 Thread Andy Koppe
2009/12/9 Angelo Graziosi:
>> I can reproduce that by uninstalling the termcap package
>
> This workaround
>
> $ TERM=cygwin pine
>
> seems to work too.

That may cause other problems though, because the keycodes and control
sequences of xterm and cygwin differ in a number of places. Setting
TERM should normally be left to the terminal.

Andy

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



Re: Problems with Pine

2009-12-09 Thread Andy Koppe
2009/12/9 Corinna Vinschen:
> On Dec  9 06:21, Andy Koppe wrote:
>> 2009/12/9 Angelo Graziosi:
>> > It seems that some recent updates in cygwin-1.7 has broken Pine from 
>> > MinTTY.
>> > Now, trying to start from MinTTY:
>> >
>> > $ pine
>> > Terminal type "xterm", is unknown.
>>
>> I can reproduce that by uninstalling the termcap package, so install
>> that and hopefully you'll be fine. Looks like the pine package is
>> missing a dependency there. (And in any case, it ought to be using
>> terminfo instead of the obsolete termcap.)
>
> Unfortunately the pine package is without maintainer.  We didn't hear
> from Igor for a long time now.  It would be nice if somebody could pick
> up the package again as Cygwin package maintainer.
> See http://cygwin.com/setup.html to see how to do it.

Meanwhile, could you add a termcap dependency to pine's setup.hint?

Andy

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



Re: Problems with Pine

2009-12-09 Thread Angelo Graziosi

Andy Koppe wrote:

I can reproduce that by uninstalling the termcap package


This workaround

$ TERM=cygwin pine

seems to work too.

Thanks,
Angelo.

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



Re: Problems with Pine

2009-12-09 Thread Corinna Vinschen
On Dec  9 06:21, Andy Koppe wrote:
> 2009/12/9 Angelo Graziosi:
> > It seems that some recent updates in cygwin-1.7 has broken Pine from MinTTY.
> > Now, trying to start from MinTTY:
> >
> > $ pine
> > Terminal type "xterm", is unknown.
> 
> I can reproduce that by uninstalling the termcap package, so install
> that and hopefully you'll be fine. Looks like the pine package is
> missing a dependency there. (And in any case, it ought to be using
> terminfo instead of the obsolete termcap.)

Unfortunately the pine package is without maintainer.  We didn't hear
from Igor for a long time now.  It would be nice if somebody could pick
up the package again as Cygwin package maintainer.
See http://cygwin.com/setup.html to see how to do it.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Re: Problems with Pine

2009-12-08 Thread Andy Koppe
2009/12/9 Angelo Graziosi:
> It seems that some recent updates in cygwin-1.7 has broken Pine from MinTTY.
> Now, trying to start from MinTTY:
>
> $ pine
> Terminal type "xterm", is unknown.

I can reproduce that by uninstalling the termcap package, so install
that and hopefully you'll be fine. Looks like the pine package is
missing a dependency there. (And in any case, it ought to be using
terminfo instead of the obsolete termcap.)

Andy

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



Problems with Pine

2009-12-08 Thread Angelo Graziosi
It seems that some recent updates in cygwin-1.7 has broken Pine from 
MinTTY. Now, trying to start from MinTTY:


$ pine
Terminal type "xterm", is unknown.

Ciao,
Angelo.

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



pine-4.58 cygcrypto-0.9.7.dll

2008-08-30 Thread Sagar Chaki

hello,

pine 4.58 needs cygcrypto-0.9.7.dll, which is provided by openssl097. 
however, it seems that openssl097 is not automatically installed along 
with pine 4.58.


thanks

-- sagar

--
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: Pine and a buffer overflow problem

2007-08-05 Thread Alexander Sotirov
Angelo Graziosi wrote:
> At http://www.washington.edu/pine/ is suggested to install 4.64 to fix
> this
> http://www.idefense.com/application/poi/display?id=313&type=vulnerabilities
> problem.
> 
> But in Cygwin, Pine is still 4.58 and it has still a maintainer!.

See http://cygwin.com/ml/cygwin/2007-03/msg00315.html

Alex

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



Pine and a buffer overflow problem

2007-08-04 Thread Angelo Graziosi

At http://www.washington.edu/pine/ is suggested to install 4.64 to fix
this
http://www.idefense.com/application/poi/display?id=313&type=vulnerabilities
problem.

But in Cygwin, Pine is still 4.58 and it has still a maintainer!.


Cheers,

Angelo.



Corinna Vinschen wrote:

> Below are the lists of orphaned and maintained packages.
>
> ...
>
> 678 MAINTAINED PACKAGES (in brackets the maintainer)
> ----
>
> ...
>
> pine   (Igor Pechtchanski)
>


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



Pine bug in cygwin?

2006-07-25 Thread Tim Newsham

I'm seeing weirdness in pine under cygwin.  I can normally send
and receive mail just fine.  When I try to send a large file as
an attachment I get two error messages displayed.  During the
transmission the status bar displays:

  Encoding Error "Interrupted system call"

then after a second or so it displays:

  Mail not sent. Sending error: 421 SMTP connection went away!

I'm sending and receiving mail using

  smtp-server=127.0.0.1/novalidate-cert
  inbox-path={127.0.0.1/ssl/novalidate-cert}inbox

(there's some ssh port forwarding going on as well).  I tested
the identical setup from linux and pine worked fine there.  I can
receive large attachments fine, it just seems to have issues while
sending.

I tried against pine 4.58 (the current binary shipped with cygwin)
and the latest 4.64 version (which I built myself) and both showed
the same behavior.

PS: It's about time to update the cygwin pine binary, no?

Tim Newsham
http://www.thenewsh.com/~newsham/

--
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: Pine bug in cygwin?

2006-07-25 Thread Tim Newsham

Looks like the culprint is SSL_write.  I wrote a wrapper around
it that continues whenever it gets EINTR.  It looks like its
working now.  See the attached diff


On Tue, 25 Jul 2006, Tim Newsham wrote:

 Encoding Error "Interrupted system call"

[...]


 smtp-server=127.0.0.1/novalidate-cert
 inbox-path={127.0.0.1/ssl/novalidate-cert}inbox


Tim Newsham
http://www.thenewsh.com/~newsham/diff -r -u pine4.64/imap/src/osdep/unix/ssl_unix.c pine-patched/imap/src/osdep/unix/ssl_unix.c
--- pine4.64/imap/src/osdep/unix/ssl_unix.c	2004-04-27 09:54:51.0 -1000
+++ pine-patched/imap/src/osdep/unix/ssl_unix.c	2006-07-25 16:39:00.546875000 -1000
@@ -446,6 +446,16 @@
 }
 
 
+/* repeatedly SSL_write until it works or we get a real error! */
+long SSL_write_ni(SSL *con, char *str, int sz)
+{
+long l;
+
+while((l = SSL_write(con, str, sz)) < 0 && errno == EINTR)
+continue;
+return l;
+}
+
 /* SSL send string
  * Accepts: SSL stream
  *	string pointer
@@ -462,7 +472,7 @@
 /* until request satisfied */
   for (i = 0; size > 0; string += i,size -= i)
 /* write as much as we can */
-if ((i = SSL_write (stream->con,string,(int) min (SSLBUFLEN,size))) < 0)
+if ((i = SSL_write_ni (stream->con,string,(int) min (SSLBUFLEN,size))) < 0)
   return ssl_abort (stream);/* write failed */
   (*bn) (BLOCK_NONE,NIL);
   return LONGT;			/* all done */
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Eric Blake
> Out of interest, is it correct behaviour for Bash to
> return a value for 
> SHELL even though it hasn't been explicitly set?

See `man bash', under Shell Variables.  Bash documents that if
SHELL is not set in the environment, then bash populates it as an
unexported variable with the full pathname of the current user's
login shell (sure enough, editing /etc/passwd affects what SHELL
contains).

> Presumably this is 
> handled by Bash itself in such a way that getenv
> doesn't see it; is that 
> in itself a bug?

No - there are two namespaces in a POSIX shell - shell variables,
and environment variables.  By default, assigning to something
that is unset only makes it a shell variable, export is what you then
use to move that variable into the environment space.  The only way
in POSIX to remove something from environment space is to unset
it, but bash also has export -n to keep the current value while pulling
it out of the environment.  All variables are seen by subshells,
but only environment variables are seen by child processes.  The
syntax "export foo=bar" is shorthand for "foo=bar; export foo",
both creating the variable and putting it in the environment;
POSIX requires this syntax, but older shells did not support it.

Since SHELL already exists as a shell variable, a simple
export SHELL
in your ~/.bash_profile will add it to the environment, without
changing its value from what it inherited as bash started,
or from what bash populated it with from /etc/passwd.

--
Eric Blake



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



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Igor Pechtchanski
On Wed, 31 Aug 2005, Antony Baxter wrote:

> Igor,
>
> > I haven't had a chance to debug this properly, but from the first
> > glance at the code, it's actually weirder than that. The "U" in the
> > debug output means that pine tries to use the user's preferred shell.
> > If SHELL is undefined, pine tries to use /bin/csh (yes, "csh" -- don't
> > ask me why). In system mode, it uses /bin/sh, like all normal apps.
> >
> > Anthony, do you have the tcsh package installed? If not, that may be
> > your problem. Just for kicks, if you don't have a /bin/csh, try "ln
> > /bin/sh /bin/csh" (yes, I know it won't work with csh syntax), and see
> > if that makes pine work for you.
> >
> > Another thing to try is to export SHELL from bash. Just say "export
> > SHELL" with the current value (i.e., /bin/bash).
>
> Yup, both of those solutions work, though I'm sticking with exporting
> SHELL for portability. I don't have tcsh installed.

Right.  I've asked for the new pine dependencies to be uploaded -- once it
propagates to the mirrors, installing pine will also install tcsh.

> > As for fixing this, there are two options -- one is to send a patch
> > upstream (who uses /bin/csh nowadays anyway?), and another is to make
> > "pine" depend on "tcsh".
>
> Out of interest, is it correct behaviour for Bash to return a value for
> SHELL even though it hasn't been explicitly set? Presumably this is
> handled by Bash itself in such a way that getenv doesn't see it; is that
> in itself a bug?

Shells have two categories of variables: internal and exported (there are
official shell category names for them, but they escape me at the moment).
The exported variables are propagated to child processes; the internal
ones aren't.  Usually, setting a variable in the shell puts it in the
"internal" category, unless the user explicitly "export"s it.

Bash sets "$SHELL" automatically, presumably to indicate what shell the
user is currently running.  The fact that it doesn't export it may or may
not be a bug.  I'd say "not", since, if the user *does* have SHELL set in
the bash shell's parent environment, you wouldn't want any process
launched from bash to see "/bin/bash" as the value of the SHELL instead of
whatever the user put there originally.
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Antony Baxter
Igor,

> I haven't had a chance to debug this properly, but
from the first
> glance at the code, it's actually weirder than that.
The "U" in the
> debug output means that pine tries to use the user's
preferred shell.
> If SHELL is undefined, pine tries to use /bin/csh
(yes, "csh" --
> don't ask me why). In system mode, it uses /bin/sh,
like all normal
> apps.
> 
> Anthony, do you have the tcsh package installed? If
not, that may be
> your problem. Just for kicks, if you don't have a
/bin/csh, try "ln
> /bin/sh /bin/csh" (yes, I know it won't work with
csh syntax), and
> see if that makes pine work for you.
> 
> Another thing to try is to export SHELL from bash.
Just say "export 
> SHELL" with the current value (i.e., /bin/bash).

Yup, both of those solutions work, though I'm sticking
with exporting 
SHELL for portability. I don't have tcsh installed.

> As for fixing this, there are two options -- one is
to send a patch 
> upstream (who uses /bin/csh nowadays anyway?), and
another is to make
>  "pine" depend on "tcsh".

Out of interest, is it correct behaviour for Bash to
return a value for 
SHELL even though it hasn't been explicitly set?
Presumably this is 
handled by Bash itself in such a way that getenv
doesn't see it; is that 
in itself a bug?

Ant.




___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.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/



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Igor Pechtchanski
On Wed, 31 Aug 2005, Eric Blake wrote:

> According to Antony Baxter on 8/31/2005 2:02 AM:
> > % echo $SHELL
> >
> > returns /bin/bash, but stdlib's getenv("SHELL")
> > returns null. Pine uses
> > getenv("SHELL") to figure out how to execute external
> > apps.
> >
> > Explicitly setting SHELL to /bin/bash allows Pine to
> > work.
>
> Sounds like a bug should be reported upstream to Pine to use /bin/sh
> when SHELL is undefined!

I haven't had a chance to debug this properly, but from the first glance
at the code, it's actually weirder than that.  The "U" in the debug output
means that pine tries to use the user's preferred shell.  If SHELL is
undefined, pine tries to use /bin/csh (yes, "csh" -- don't ask me why).
In system mode, it uses /bin/sh, like all normal apps.

Anthony, do you have the tcsh package installed?  If not, that may be your
problem.  Just for kicks, if you don't have a /bin/csh, try "ln /bin/sh
/bin/csh" (yes, I know it won't work with csh syntax), and see if that
makes pine work for you.

Another thing to try is to export SHELL from bash.  Just say "export
SHELL" with the current value (i.e., /bin/bash).

As for fixing this, there are two options -- one is to send a patch
upstream (who uses /bin/csh nowadays anyway?), and another is to make
"pine" depend on "tcsh".
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!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Antony Baxter
> According to Antony Baxter on 8/31/2005 2:02 AM:
> 
>> % echo $SHELL
> 
>> returns /bin/bash, but stdlib's getenv("SHELL")
>> returns null. Pine uses getenv("SHELL") to figure
 >> out how to execute external apps.
>> 
>> Explicitly setting SHELL to /bin/bash allows Pine
 >> to work.
> 
> Sounds like a bug should be reported upstream to
Pine
 > to use /bin/sh when SHELL is undefined!

Oh right - I forgot to mention - it defaults to csh
otherwise. I don't have csh installed. Pine doesn't
report this.

Ant.




___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.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/



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Antony Baxter on 8/31/2005 2:02 AM:
> % echo $SHELL
> 
> returns /bin/bash, but stdlib's getenv("SHELL")
> returns null. Pine uses 
> getenv("SHELL") to figure out how to execute external
> apps.
> 
> Explicitly setting SHELL to /bin/bash allows Pine to
> work.

Sounds like a bug should be reported upstream to Pine to use /bin/sh when
SHELL is undefined!

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

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

iD8DBQFDFZ0y84KuGfSFAYARAgPQAKDJso8GVW3jcG/J7FhXOA08QEo9owCeNOY5
FUHq/9sMc+TXe7y08lqkwSc=
=snO4
-END PGP SIGNATURE-

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



Re: 1.5.18: Problem launching URLs from Pine

2005-08-31 Thread Antony Baxter


Brian Dessent wrote:

> Antony Baxter wrote:
> 
> 
>> anything to work. At the moment I've set
>>
>>   url-viewers = /home/ant/bin/viewUrl
>>
>> in my .pinerc where viewUrl is a 1-line script as
>> follows:
>>
>>   echo $1 >> /tmp/viewUrl.log
>>
>> When run from the command line this (obviously)
works
>> fine. However,

Hi there,

> If it's a script file it probably needs a shebag as
the first line
> (#!/bin/sh).  Also, make sure it has execute
permissions (chmod 755).
 >
> It depends on how pine tries to execute it though. 
If it uses system()
> then the shebang is not necessary, otherwise it
probably is.

Spent some time on this last night and have now got to
the bottom of it. 
It seems that, in Bash, if I don't explicitly set my
SHELL environment 
variable,

% echo $SHELL

returns /bin/bash, but stdlib's getenv("SHELL")
returns null. Pine uses 
getenv("SHELL") to figure out how to execute external
apps.

Explicitly setting SHELL to /bin/bash allows Pine to
work.

Hope someone else finds this useful!

Ant.




___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.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/



Re: 1.5.18: Problem launching URLs from Pine

2005-08-30 Thread Brian Dessent
Antony Baxter wrote:

> anything to work. At the moment I've set
> 
>url-viewers = /home/ant/bin/viewUrl
> 
> in my .pinerc where viewUrl is a 1-line script as
> follows:
> 
>echo $1 >> /tmp/viewUrl.log
> 
> When run from the command line this (obviously) works
> fine. However,

If it's a script file it probably needs a shebag as the first line
(#!/bin/sh).  Also, make sure it has execute permissions (chmod 755).

It depends on how pine tries to execute it though.  If it uses system()
then the shebang is not necessary, otherwise it probably is.

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/



1.5.18: Problem launching URLs from Pine

2005-08-30 Thread Antony Baxter

Hello,

I've come across a problem with Pine under Cygwin.
I've tried this with 
the stock Cygwin version of Pine (latest available
from Setup: 4.58-1), 
and have also compiled up the latest version (4.63)
and had the same 
result. I've also tried version 4.60 on Solaris and
could not reproduce 
the problem.

I'm trying to use the "url-viewers" setting in my
.pinerc to launch an 
external app to handle urls supplied in emails.
However, I cannot get 
anything to work. At the moment I've set

   url-viewers = /home/ant/bin/viewUrl

in my .pinerc where viewUrl is a 1-line script as
follows:

   echo $1 >> /tmp/viewUrl.log

When run from the command line this (obviously) works
fine. However, 
running it from Pine by hitting Enter on a URL and
answering 'yes' to 
the 'View selected URL "http:"', Pine reports
"VIEWER Command 
Completed", but nothing is added to the log file. On
Solaris this works 
fine; the log is updated.

Running Pine with -d 9  (highest debug level) I get
the output below 
(only relevant bits shown).

I presume the problem is somewhere in the
open_system_pipe method in 
pine/osdep/os-cyg.c, but my C and/or Cygwin internals
knowledge is 
pretty limited.

If anyone's get time to take a look, it'd be much
appreciated.

Thanks,

Ant.

===

Relevant "pine -d 9" output:

  12:46:02.873219
  Want_to read: y (121)

  12:46:02.873219
  resume_busy_alarm

  12:46:02.873219
  Opening pipe: "/home/ant/bin/viewUrl
'http://www.google.com'" (UT)

  12:46:02.873219
  about to end_tty_driver

  12:46:02.873219
  end_screen called

  12:46:02.915219
  PID: 2800, COMMAND: /home/ant/bin/viewUrl
'http://www.google.com'

  12:46:02.915219
  new mail called (force=0 VeryBad flags=0x0)

  12:46:02.916219
  INBOX: force=0 interval=150 exp_reap_to=300
adj_idle_to=1650

  12:46:02.916219
  since_last_ping=4 since_last_reap=5

  12:46:02.916219
   new mail returning -1  

  12:46:02.918219
  fix_windsize()

  12:46:02.919219
  new win size -<26 170>--

  12:46:02.919219
  Closed pipe: PID=2800: status=255

  12:46:02.919219
  q_status_message(VIEWER command completed)






___ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com
Cygwin Configuration Diagnostics
Current System Time: Tue Aug 30 12:31:01 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Cygwin\home\ant\.bin
C:\Cygwin\usr\local\bin
C:\Cygwin\bin
C:\Cygwin\usr\sbin
C:\Cygwin\bin
C:\Cygwin\usr\local\sbin
C:\Cygwin\usr\X11R6\bin
C:\Cygwin\lib\gcc-lib\i686-pc-cygwin\3.3.3
C:\Cygwin\lib\subversion\bin
C:\Cygwin\opt\mono\bin

Output from C:\Cygwin\bin\id.exe (nontsec)
UID: 500(ant)GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

Output from C:\Cygwin\bin\id.exe (ntsec)
UID: 500(ant)GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

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

LD_LIBRARY_PATH = 
`/lib:/usr/lib:/usr/libexec:/usr/local/lib:/usr/local/libexec:/usr/include'
PWD = `/home/ant'
CYGWIN = `ntsec tty notitle glob server'
HOME = `/home/ant'

HOMEPATH = `\Documents and Settings\Administrator'
SCREENRC = `/home/ant/.screenrc'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man:/usr/X11R6/man'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
JAVA_LIBRARIES = `/opt/java/libraries'
TAB = `2856'
MRXVT_TABTITLE = `Terminal'
TERM = `ansi'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
WINDIR = `C:\WINDOWS'
MINIPWD = `/home/ant'
WINDOWID = `16777219'
JAVA_LIB = `/opt/java/jdk/lib'
MAILNAME = `antony baxter'
OLDPWD = `/home/ant/src/pine/pine4.63/pine'
JBOSS_HOME = `/opt/java/jboss'
USERDOMAIN = `BEARDSLEY'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
LC_ALL = `C'
JBOSS_DIST = `/opt/java/jboss'
LS_FILTER_FILES = 
`\.addressbook*|\.cvspass|\.DS_Store|\._history|\.elc|\._mp3*|\.directory|\.kxmlrpcd|pid_infifo_*|\.pid_*|\.TT*|\.dtprofile|\.flex*'
NAME = `Antony Baxter'
!:: = `::\'
LS_COLORS = 
`ex=00;31:no=00;32:fi=00:di=00;33:ln=00;36:pi=00;35:so=00;34:bd=40;33;01:cd=40;33;01:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.jar=00;31:*.deb=00;31:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.class=00;3

Re: Cygwin pine addressbook problem

2005-06-15 Thread Igor Pechtchanski
On Wed, 15 Jun 2005, Daniel Barker wrote:

> I have just remounted / in binary mode (mount -f -b c:/cygwin /) and
> the problem vanishes. Thank you! I might just re-mount all directories
> in binary mode - I assume that would give exactly the same effect as
> if I'd chosen UNIX newlines during the install? Both options have
> advantages so I wouldn't mind, providing this is a "clean" flip to the
> alternative system. - Daniel

Exactly.

This confirms my guess based on a quick glance at the code -- there's an
open() call missing the BINMODE specifier.  I'll try to release a new
version soon.  FWIW, 4.60 still has this bug, so I'll also send a patch
upstream.
Igor
P.S. BTW, there was no need to Cc: me -- I read the list.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Re: Cygwin pine addressbook problem

2005-06-15 Thread Larry Hall
At 06:08 PM 6/15/2005, you wrote:
>I have just remounted / in binary mode (mount -f -b c:/cygwin /) and
>the problem vanishes. Thank you! I might just re-mount all directories
>in binary mode - I assume that would give exactly the same effect as
>if I'd chosen UNIX newlines during the install? 

BINGO!  You've obviously been paying attention. ;-)




--
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 pine addressbook problem

2005-06-15 Thread Daniel Barker
I have just remounted / in binary mode (mount -f -b c:/cygwin /) and
the problem vanishes. Thank you! I might just re-mount all directories
in binary mode - I assume that would give exactly the same effect as
if I'd chosen UNIX newlines during the install? Both options have
advantages so I wouldn't mind, providing this is a "clean" flip to the
alternative system. - Daniel


--
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 pine addressbook problem

2005-06-15 Thread Daniel Barker
On Wed, 15 Jun 2005, Igor Pechtchanski wrote:

> > If I copy over my old Pine 3.x address book from a Unix system, or if
> > I create a new address book from scratch in Pine, it complains the
> > .addressbook.lu is out of sync. Re-generating it with
> 
> What exactly is the error message?

Thank you very much for the swift reply.

On adding one address to a new address book in pine (i.e. when
.addressbook and .addressbook.lu do not yet exist), I get these errors
after saving the addition with CTRL+X:

  Addressbook has changed unexpectedly, need to resync...
  Resetting address book...

These two occur one then the other, about three times. Then finally
pine says: 

  [Index file .addressbook.lu inconsistent...remove it and restart Pine]

In this case, the inconsistent file is what Pine's just generated.

> I think I see the problem, anyway.  Just to check, though: is your home
> directory mounted in textmode?  What happens if you mount it in binary
> mode (temporarily)?

Yes, my home dir is mounted in textmode:

$ mount
C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
C:\cygwin on / type system (textmode)
c: on /cygdrive/c type system (textmode,noumount)

I regret I don't yet have an opportunity to remount in binary mode. I
hope the above is relevant all the same.

Thank you again and best regards,

Daniel


--
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 pine addressbook problem

2005-06-15 Thread Igor Pechtchanski
On Wed, 15 Jun 2005, Daniel Barker wrote:

> Dear all,
>
> I cannot make the address book work with Pine 4.58 for Cygwin,
> downloaded with the entire Cygwin package today and running under
> Windows XP Service Pack 2.
>
> If I copy over my old Pine 3.x address book from a Unix system, or if
> I create a new address book from scratch in Pine, it complains the
> .addressbook.lu is out of sync. Re-generating it with

What exactly is the error message?

> pine -create_lu .addressbook fullname-with-lists-last
>
> gives a segmentation fault. I've tried copying the Unix address book
> with and without the .lu file. Of course, when I generate a new
> address book from scratch, there is initially no .lu file. So the
> problem cannot be due to different versions of Pine (3.x vs 4.x), but
> must be with Cygwin pine's use of the address book and/or .lu files.
>
> Thank you for any advice. I haven't tested Cygwin pine extensively,
> but everything else about it seems fine so far.
>
> Best regards,

I think I see the problem, anyway.  Just to check, though: is your home
directory mounted in textmode?  What happens if you mount it in binary
mode (temporarily)?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

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

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



Cygwin pine addressbook problem

2005-06-15 Thread Daniel Barker
Dear all,

I cannot make the address book work with Pine 4.58 for Cygwin,
downloaded with the entire Cygwin package today and running under
Windows XP Service Pack 2.

If I copy over my old Pine 3.x address book from a Unix system, or if
I create a new address book from scratch in Pine, it complains the
.addressbook.lu is out of sync. Re-generating it with

pine -create_lu .addressbook fullname-with-lists-last

gives a segmentation fault. I've tried copying the Unix address book
with and without the .lu file. Of course, when I generate a new
address book from scratch, there is initially no .lu file. So the
problem cannot be due to different versions of Pine (3.x vs 4.x), but
must be with Cygwin pine's use of the address book and/or .lu files.

Thank you for any advice. I haven't tested Cygwin pine extensively,
but everything else about it seems fine so far.

Best regards,

-- 
Daniel Barker
http://www.rubic.reading.ac.uk/~daniel/


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



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

2004-07-10 Thread Eduardo Chappa
On Fri, 9 Jul 2004, Brian E. Gallew wrote:

:) > On Fri, Jul 09, 2004 at 11:37:10AM -0700, Eduardo Chappa wrote:
:) [random, pointless verbiage deleted]
:)
:) Chris, can we just *plonk* this idiot already?

Is this what you call meanness of this list?, you have a lot to learn
about being mean.

In any case, I am not interested in continuing this thread, and for that
matter any thread in this list.

What the developers (of cygwin) understand about e-mail makes me wonder a
lot about the project as a whole and I do not want to be part of it
anymore.

Chris or whoever is in charge, please discontinue me as maintainer of the
Pine program in Cygwin. Look for another sucker (in a good sense). I will
unsubscribe from this list, so don't bother replying, I won't see it.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

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



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

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

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

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

6735077 Nov 12 17:02 cygwin1.dll

And in gdb I still see

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

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

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

didn't help.

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

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



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

2003-11-12 Thread Corinna Vinschen
On Wed, Nov 12, 2003 at 04:15:46PM -0200, Fr?d?ric L. W. Meunier wrote:
> On Wed, 12 Nov 2003, Brian Ford wrote:
> 
> > Corinna,
> >
> > Did you get a chance to look at the strace output he posted here:
> >
> > http://pervalidus.port5.com/tmp/imap.txt.gz
> >
> > A glance there by trained eyes might save him some time.  I don't have the
> > time or the training for mine :).  It appears to be stuck in close on the
> > socket after is has shutdown?
> 
> It seems to be cause by the firewall from my SpeedStream 5200.
> 
> 'a logout' worked once I disabled filtering 'TCP NULL', but the
> Pine delays remain.
> 
> Anyway, why it worked on plain Windows and Linux is another
> story. I don't have any other firewalls enabled.

fhandler_socket::close() tries to circumvent problems with unexpected
data loss which can occur, if an application exits without having
waited for the closesocket() call being successful.  The problem with
the latter is, that there's no way to find out.  Therefore Cygwin
lingers on closesocket(), even with non-blocking sockets.  I don't
know if that helps but you could try to build a Cygwin DLL which only
lingers if shutdown hasn't been called.  I tried it with ssh and it
seems at least not to disturb ssh operation.  Patch below.

Corinna

Index: fhandler_socket.cc
===
RCS file: /cvs/src/src/winsup/cygwin/fhandler_socket.cc,v
retrieving revision 1.111
diff -u -p -r1.111 fhandler_socket.cc
--- fhandler_socket.cc  25 Sep 2003 03:51:50 -  1.111
+++ fhandler_socket.cc  12 Nov 2003 18:32:18 -
@@ -1101,14 +1101,17 @@ fhandler_socket::close ()
 {
   int res = 0;
 
-  /* HACK to allow a graceful shutdown even if shutdown() hasn't been
- called by the application. Note that this isn't the ultimate
- solution but it helps in many cases. */
-  struct linger linger;
-  linger.l_onoff = 1;
-  linger.l_linger = 240; /* seconds. default 2MSL value according to MSDN. */
-  setsockopt (get_socket (), SOL_SOCKET, SO_LINGER,
- (const char *)&linger, sizeof linger);
+  if (!saw_shutdown_write ())
+{
+  /* HACK to allow a graceful shutdown even if shutdown() hasn't been
+called by the application. Note that this isn't the ultimate
+solution but it helps in many cases. */
+  struct linger linger;
+  linger.l_onoff = 1;
+  linger.l_linger = 240; /* secs. default 2MSL value according to MSDN. */
+  setsockopt (get_socket (), SOL_SOCKET, SO_LINGER,
+ (const char *)&linger, sizeof linger);
+}
 
   while ((res = closesocket (get_socket ())) != 0)
 {


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

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

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

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

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

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

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

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



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

2003-11-12 Thread Brian Ford
Corinna,

Did you get a chance to look at the strace output he posted here:

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

A glance there by trained eyes might save him some time.  I don't have the
time or the training for mine :).  It appears to be stuck in close on the
socket after is has shutdown?

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

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



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

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

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

If the above gdb commands were right, using

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

didn't change anything.

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

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



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

2003-11-12 Thread Corinna Vinschen
On Wed, Nov 12, 2003 at 12:20:57AM -0200, Fr?d?ric L. W. Meunier wrote:
> Now I'm trying with gdb, but don't know if the following is
> right.
> 
> $ openssl s_client -connect mail.postaccesslite.com:993
> $ gdb
> (gdb) attach PPID of openssl
> (gdb) where
> #0  0x77f75a59 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/System32/ntdll.dll
> #1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
>from /c/WINDOWS/System32/ntdll.dll
> #2  0x0005 in ?? ()
> #3  0x0004 in ?? ()
> #4  0x0001 in ?? ()
> #5  0x00e3ffd0 in ?? ()
> #6  0x81f2eda8 in ?? ()
> #7  0x in ?? ()
> #8  0x77fa88f0 in wcstombs () from /c/WINDOWS/System32/ntdll.dll
> 
> Does that help ? What are #2 to #7 ? cygwin1.dll ? The OpenSSL
> DLLs ?

Nobody can say that.  You should rebuild openssl for Cygwin and
use CFLAGS=-g for the make.  After unpacking the source package,
it's as easy as this:

$ cd openssl-0.9.7c-1
$ ./config --prefix=/usr shared no-idea no-rc5 no-mdc2
$ make depend CFLAGS=--g
$ make CFLAGS=-g

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[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: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very long time to close a certain IMAP INBOX)

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

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

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

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

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

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

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

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



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

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

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

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

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

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

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



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

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

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

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

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

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

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



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

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

> Anyway, any steps I can do to debug it are appreciated.
>
You might post/analyze an strace of it to see what call is taking so long.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

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



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

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

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

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

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

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

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



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

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

Me neither.  Seems to be a local problem.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[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/



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

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

On Mon, 10 Nov 2003, Eduardo Chappa wrote:

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

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

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

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

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

How to reproduce it:

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

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

Eduardo couldn't reproduce it.

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

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



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

2003-11-09 Thread Eduardo Chappa
On Sun, 9 Nov 2003, Frédéric L. W. Meunier wrote:

:) I don't know what's wrong, but can't reproduce with the same versions
:) of PC-Pine and Pine for Linux.
:)
:) I have 5 IMAP accounts. The main INBOX is fastmail.fm.
:)
:) [deleted configuration of incoming folders]
:)
:) When I switch from one of the PostAcessLite accounts to another, no
:) matter if they're empty, have a single message, or more, Pine stays at
:) the "Closing folder foo" for a very long time, like 30s to 1 minute,
:) and then opens the one I select.
:)
:) Or let me know how to "debug" it. Pine's -d imap4 doesn't show anything
:) different.

Hello Frédéric,

  Could it be possible that you show me the output of pine -d 9?. If you
can show me the part where you switch mailboxes, it would be great. At the
top of my head, among things you may want to look into are the
rsh-timeout, and ssh-timeout. Make sure both of them are equal to 0.

  Let me know how that goes.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

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



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

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

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

The others are

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

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

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

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

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

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

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



Problems with cut/paste in Pine 4.58 and rxvt 2.7.10

2003-10-21 Thread Erick E Rios
Hi,

Recently I noticed that when I am using pine with the WIN32 rxvt behavior
my mouse does not select or paste text correctly. In my pine configuration
I have enable-mouse-in-xterm so the cut/paste functionality is accessed by
pressing the shift key.

This works fine in the X version of rxvt and in my xterm. So I imagine
that I have something wrong in one of my configuration files. I included
the output of cygcheck as well as my pinerc and Xdefaults configuration.

Thank you
Erick Rios

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Oct 21 20:49:54 2003

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

Path:   c:\My_Documents\erios\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\texmf\miktex\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\COMMAND
c:\WINDOWS\system32\WBEM
c:\Program Files\SecureCRT
c:\Program Files\Common Files\Adaptec Shared\System
c:\Program Files\Executive Software\DiskeeperWorkstation\
c:\Program Files\Aspell\bin
c:\texmf\miktex\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\COMMAND
c:\WINDOWS\system32\WBEM
c:\Program Files\SecureCRT
c:\Program Files\Common Files\Adaptec Shared\System
c:\Program Files\Executive Software\DiskeeperWorkstation\
c:\Program Files\SSH Communications Security\SSH Secure Shell
c:\WINDOWS
c:\WINDOWS\COMMAND
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(HP) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(HP) GID: 513(None)
513(None)544(Administrators)  
545(Users)

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

CYGWIN = `tty'
HOME = `c:\My_Documents\erios'
MAKE_MODE = `unix'
PWD = `/home/HP'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\HP\Application Data'
BLASTER = `A220 I5 D1 T4 P330'
CLIENTNAME = `Console'
COLORFGBG = `0;default'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `HPPAV'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
DISKEEPERICON = `C:\Program Files\Executive Software\DiskeeperWorkstation\'
DISPLAY = `127.0.0.1:0.0'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\HP'
LANG = `en_US'
LOGONSERVER = `\\HPPAV'
MANPATH = `:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 0 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0007'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$p$g'
PRUNEPATHS = `/tmp /usr/tmp /var/tmp /afs /cygdrive'
PS1 = `\[\033]0;[EMAIL PROTECTED]: [EMAIL PROTECTED] \w]\n\$ '
SESSIONNAME = `Console'
SHELL = `/bin/bash'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\HP\LOCALS~1\Temp'
TERM = `rxvt'
TMP = `c:\DOCUME~1\HP\LOCALS~1\Temp'
USERDOMAIN = `HPPAV'
USERPROFILE = `C:\Documents and Settings\HP'
W11_LIBRARY = `libX11'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINDOWID = `168048664'
_ = `/usr/bin/cygcheck'

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) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\/cygdrive/c/My_Documents/erios
  (default) = `\home\erios'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home/downloads
  (default) = `c:\My_Documents\downloads'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home/gnuwin
  (default) = `c:\Program Files\GnuWin32'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home/HP
  (default) = `c:\My_Documents\erios'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home/miktex
  (default) = `c:\texmf'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/

[ANNOUNCEMENT] Updated Pine-4.58-1 [IMPORTANT]

2003-09-26 Thread Eduardo Chappa
Hello,

   A new version of Pine has been uploaded to a server near you. This
message contains very important information that you should read before
you upgrade.

   Pine4.58 is a bug release version. The main point of this release is to
fix a security hole found in all previous versions of Pine, which is
exploitable. An exploit was posted in Bugtraq, so you should upgrade.

   If you try to upgrade by downloading the source code of Pine and
building it yourself, that WILL NOT work. The program will build
correctly, but upon executing it, it will corrupt all your data (folders
and addressbooks). You need to patch Pine before building it. The patch is
included in the source code (as downloadable from the cygwin mirrors using
setup.exe, not from the main Pine site). That patch also fixes the crashes
found in the distribution of uw-imap and other tools. The patch for
c-client was given to me by Marc Crispin. I would like to thank him for
sending me this modification.

  If you don't want to deal with the above, simply upgrade to Pine-4.58-1
from any mirror of Cygwin using the setup program and enjoy this rock
solid and powerful e-mail program.

  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, fill in all of the options, and make appropriate choices
on the "Select Packages" screen.  You'll need to select the Mail category
to see Pine and Pico.

  If you have questions or comments, please send them to the Cygwin
mailing list, <http://cygwin.com/list.html>.

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

Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: Pine 4.58 Cygwin issue

2003-09-19 Thread Eduardo Chappa
*** On Thu, 18 Sep 2003 I wrote:

:) I am trying to look into this issue, and I am afraid that I will have
:) to build Pine in a 32bit world rather than upgrade it to the 64bit
:) world, which seems like a lot of work to make (e.g the size of off_t is
:) bigger than the size of unsigned long in the 64bit world. To adapt this
:) to the c-client library is non trivial for me).

I did some work yesterday night on cygwin Pine and found a way to build
Pine, and such that it would not crash!, so I expect to be releasing a
test version in about a week (there are some small issues with it still,
which will take long to solve, but I expect that can be worked out. The
major issue I had with it is solved!).

My work should fix the issues with the current release of uw-imap. I will
contact Abraham off list when I have a working patch, so that we can
release test versions of our packages.

Eduardo
http://www.math.washington.edu/~chappa/pine/

--
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: Pine 4.58 Cygwin issue

2003-09-18 Thread Eduardo Chappa

[ this message was Bcc'd to the pine-info list ]

*** Victor Stepanov ([EMAIL PROTECTED]) wrote in the pine-info list today:

:) I'm experienced strange behavior of Pine 4.58 under Cygwin environment.
:) Some of fields on index screen is missing... Screenshot attached. Also
:) message display is not working correct. Any ideas?

[ screenshot available at 
http://www.math.washington.edu/~chappa/pine/cygwin/PCygPine4.58.gif]

Dear Victor,

  The place to report bugs in cygwing application is the cygwin mailing
list (cygwin at cygwin punto com). Version 4.58 is *not* a supported
version in cygwin. As you must have noticed, the last release of Pine for
cygwin was 4.55 (under the 1.3.X world), not 4.56, not 4.58. That is
because during that version of Pine, cygwin was in version 1.3.X. Having
said that. None of the supported versions, either, (built under Cygwin
1.5.X) work under Cygwin 1.5.X.

  Please read http://cygwin.com/problems.html, so that you learn how to
report a problem with a cygwin application.

I am trying to look into this issue, and I am afraid that I will have to
build Pine in a 32bit world rather than upgrade it to the 64bit world,
which seems like a lot of work to make (e.g the size of off_t is bigger
than the size of unsigned long in the 64bit world. To adapt this to the
c-client library is non trivial for me).

I do not have a connection to the internet at home still, probably until
next week, so I can't make all tests that I want to make yet.

I still have to research this issue further. When I have understood all
the problems involved I will try to come up with a solution. At this
moment I don't understand much of the problem. Given how much stuff is
going on in my life today, don't hold your breath for it.

Please keep this discussion within the cygwin mailing list. I have Bcc'd
my reply to the pine-info list for courtesy. If you are not subscribed to
the cygwin mailing list, please us the gateway through gmane
(www.gmane.org). You can Cc: me if you want to.

If anyone wants to help to build Pine 4.58 for Cygwin 1.5.X, I would
appreciate that help.

Thanks!

Eduardo
http://www.math.washington.edu/~chappa/pine/

--
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: ping Eduardo Chappa-pine

2003-07-02 Thread Eduardo Chappa
*** alex hardy ([EMAIL PROTECTED]) wrote today:

:) >Pine does not need to use ssmtp to send e-mail, that's a cygwin
:) >program for mutt. When sending e-mail with Pine you need to define the
:) >smtp-server variable. From the main screen press S C, it's almost at
:) >the top.
:)
:) Here is what my config looks like:
:) [snip]
:) smtp-server   = relay.plus.net
:) inbox-path= {mail.plus.net}INBOX
:)
:) When pine opens and looks for the inbox the following error messages
:) appear:
:)
:) rsh yo IMPA server timed out
:) connection failed to mail plus.net - 143 - transport endpoint is not
:) connected.

I don't exactly recall the meaning of this message but it means that
either you or the server that you are trying to connect are not connected
to the internet, i believe it's the former though.

Also edit your .pinerc and set "rsh-timeout = 0"

When I telnet to port 143 of the server that you show in your
configuration the connection timesout, so it seems to me like you have
some questions to ask to your provider about the correct values in your
inbox-path and smtp-server.

Eduardo
http://www.math.washington.edu/~chappa/pine/

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



ping Eduardo Chappa-pine

2003-07-02 Thread alex hardy
Thanks for post on 28-06-2003:


>Pine does not need to use ssmtp to send e-mail, that's a cygwin program
>for mutt. When sending e-mail with Pine you need to define the smtp-server
>variable. From the main screen press S C, it's almost at the top.

Here is what my config looks like:


  PINE 4.55   SETUP CONFIGURATIONFolder: (CLOSED)  No
Messages

personal-name = B-107028257ff84
user-domain   = plus.com
smtp-server   = relay.plus.net
nntp-server   = 
inbox-path= {mail.plus.net}INBOX
incoming-archive-folders  = 
pruned-folders= 
default-fcc   = 
default-saved-msg-folder  = 
postponed-folder  = 
read-message-folder   = 
form-letter-folder= 
literal-signature = 
signature-file= 
feature-list  =
SetFeature Name
---  --
  [ Composer Preferences ]
[ ]  alternate-compose-menu
[ ]  compose-cut-from-cursor


When pine opens and looks for the inbox the following error messages appear:

rsh yo IMPA server timed out
connection failed to mail plus.net - 143 - transport endpoint is not
connected.

Finally on sending mail the following error message appears:

mail not sent sorry that domain isn't in my list of allowed rcpthosts
(hash5.7)

I would point that my server requires authntication for outgoing mail
ie user ID and password.

thanks for any suggestions.

Alex








--
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: pine access problem

2003-06-28 Thread Eduardo Chappa
*** Elfyn McBratney ([EMAIL PROTECTED]) wrote on Jun 27, 2003:

:) On Fri, 27 Jun 2003, alex hardy wrote:
:)
:) > Thanks for your post Elfyn.
:) >
:) > I already have the ssmtp package installed and the ssmtp application
:) > is in `/usr/sbin/sendmail' (in the sbin folder).
:) >
:)
:) Then, if it's still not working, you haven't configured ssmtp to send
:) e-mail (which requires an outside smtp server). Once you have
:) configured either ssmtp or exim, you will be able to send e-mail using
:) pine

Pine does not need to use ssmtp to send e-mail, that's a cygwin program
for mutt. When sending e-mail with Pine you need to define the smtp-server
variable. From the main screen press S C, it's almost at the top.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

--
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: pine access problem

2003-06-27 Thread alex hardy
I may have a look at exim tomorrow, but I do not
see why ssmpt should not work, thanks for
your suggestions.

Alex
"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 27 Jun 2003, alex hardy wrote:
>
> > Does this sound correct to configure ssmtp-config
> > and is this how it should appear?
> > root=postmaster
> > mailhub=relay.plus.net
> > hostname=Beta
> >
> > finally  a)ISP does not provide my mail service
> > it only supplies access to the Internet.
> > and
> > b) my outgoing mail server requires authtication
> > ie, user name and password.
> > How does the above affect the ssmpt-config file.
>
> I don't know, I use a local realy (without ssmtp) :-) I'd go with setting
up
> exim. See /usr/doc/exim-VERSION.README (where VERSIOn is the version of
exim).
>
> Elfyn
> --
>
>




--
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: pine access problem

2003-06-27 Thread Elfyn McBratney
On Fri, 27 Jun 2003, alex hardy wrote:

> Does this sound correct to configure ssmtp-config
> and is this how it should appear?
> root=postmaster
> mailhub=relay.plus.net
> hostname=Beta
>
> finally  a)ISP does not provide my mail service
> it only supplies access to the Internet.
> and
> b) my outgoing mail server requires authtication
> ie, user name and password.
> How does the above affect the ssmpt-config file.

I don't know, I use a local realy (without ssmtp) :-) I'd go with setting up
exim. See /usr/doc/exim-VERSION.README (where VERSIOn is the version of exim).

Elfyn
-- 


--
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: pine access problem

2003-06-27 Thread alex hardy
Does this sound correct to configure ssmtp-config
and is this how it should appear?
root=postmaster
mailhub=relay.plus.net
hostname=Beta

finally  a)ISP does not provide my mail service
it only supplies access to the Internet.
and
b) my outgoing mail server requires authtication
ie, user name and password.
How does the above affect the ssmpt-config file.

thankyou

Alex


"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 27 Jun 2003, alex hardy wrote:
>
> > Thanks for your post Elfyn.
> >
> > I already have the ssmtp package installed and
> > the ssmtp application  is in  `/usr/sbin/sendmail' (in the sbin folder).
> >
> > Alex
>
> Then, if it's still not working, you haven't configured ssmtp to send
e-mail
> (which requires an outside smtp server). Once you have configured either
ssmtp
> or exim, you will be able to send e-mail using pine
>
> Elfyn
> --
>
>




--
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: pine access problem

2003-06-27 Thread Elfyn McBratney
On Fri, 27 Jun 2003, alex hardy wrote:

> Thanks for your post Elfyn.
>
> I already have the ssmtp package installed and
> the ssmtp application  is in  `/usr/sbin/sendmail' (in the sbin folder).
>
> Alex

Then, if it's still not working, you haven't configured ssmtp to send e-mail
(which requires an outside smtp server). Once you have configured either ssmtp
or exim, you will be able to send e-mail using pine

Elfyn
-- 


--
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: pine access problem

2003-06-27 Thread alex hardy
Thanks for your post Elfyn.

I already have the ssmtp package installed and
the ssmtp application  is in  `/usr/sbin/sendmail' (in the sbin folder).

Alex
"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 27 Jun 2003, alex hardy wrote:
>
> > I have installed pine with cgywin but  when
> > sending mail I receive the following error
> > message
> >
> > pine cannot access user/sbin/sendmail
> >
> > my working directory is home/administrator
> >
> > How is it possible to correct this error.
>
> You mean `/usr/sbin/sendmail', right? If so, then install the ssmtp
package
> (which has a symlink to `/usr/sbin/sendmail') or install the exim package
(which
> is sendmail compatible). Once you have installed one of the above
packages, take
> a look at their respective documentation in /usr/doc/Cygwin .
>
> Elfyn
> --
>
>




--
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: pine access problem

2003-06-27 Thread Elfyn McBratney
On Fri, 27 Jun 2003, alex hardy wrote:

> I have installed pine with cgywin but  when
> sending mail I receive the following error
> message
>
> pine cannot access user/sbin/sendmail
>
> my working directory is home/administrator
>
> How is it possible to correct this error.

You mean `/usr/sbin/sendmail', right? If so, then install the ssmtp package
(which has a symlink to `/usr/sbin/sendmail') or install the exim package (which
is sendmail compatible). Once you have installed one of the above packages, take
a look at their respective documentation in /usr/doc/Cygwin .

Elfyn
-- 


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



pine access problem

2003-06-27 Thread alex hardy
I have installed pine with cgywin but  when
sending mail I receive the following error
message

pine cannot access user/sbin/sendmail

my working directory is home/administrator

How is it possible to correct this error.


thankyou

Alex




--
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: troubles in Pine

2003-03-05 Thread Eduardo Chappa
*** [EMAIL PROTECTED] wrote today:

:) Hi.  (and sorry for my spanglish)

No es problema, yo también soy Chileno, así que si quieres hablamos en
Español. En todo caso tu Inglés está muy bien.

:)  I've CYGWIN_ME-4.90 in my PC. I'm trying to use Pine following the
:) documentation, making a ".pinerc" in home directory and using
:) fetchmail. But Pine can't open the mail folder, displaying next message
:) on screen:
:)
:)  /var/spool/mail/cronopio/: not a selectable folder

Are you using  the "maildir" format?. Pine does not support it. There is a
patch for it, if you would like to try it, which you can download from the
web, but my advice is that you stay away from it. It's quite broken, and
fixing it will take a long time. It has not been updated in a while. If
you remove the directory "cronopio" and create an empty file there (called
cronopio too), the problem will go away.

Pine supports the mbox format, which is normally despised by those who
love maildir. It also offers you some other "propetary" formats, like mbx,
which supposedly gives you faster access to your mailbox.

:)  Another messages, IMHO, are not important:
:)
:)  Incomplete maildomain "Francisca"
:)  Return address mail be incorrect.

Right, that means that there is no "." in your domain name. Something like
"Francisca.com" would not give you trouble. In any case, that message can
be supressed if you edit your pinerc and add:

 quell-maildomain-warning

under feature-list (it's a hidden configuration option).

  I hope this helps you.

  Saludos a la cordillera.

Eduardo
http://www.math.washington.edu/~chappa/personal.html

--
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: troubles in Pine

2003-03-05 Thread Ajay Simha
On Wed Mar 05 11:48:09 2003, [EMAIL PROTECTED] wrote:
Content-Description: Mail message body
> Hi.   (and sorry for my spanglish)
> 
>   I've CYGWIN_ME-4.90 in my PC. I'm trying to use Pine 
> following the documentation, making a ".pinerc" in home directory 
> and using fetchmail. But Pine can't open the mail folder, 
> displaying next message on screen:
> 
>   /var/spool/mail/cronopio/: not a selectable folder

can you send a 'ls -l  /var/spool/mail/' output?

-ajay
> 
>   Another messages, IMHO, are not important:
> 
>   Incomplete maildomain "Francisca"
>   Return address mail be incorrect.
> 
>   What can I do? I send an enclosure with the debug message of 
> Pine. Thanks in advance:
> 
>   ---
>   Luis Acuna
>   [EMAIL PROTECTED]
>   ---
> 
> 

Content-Description: Text from file '.pine-debug4'
> Debug output of the Pine program (debug=2 debug_imap=0). Version 4.53 (CYG)
> Wed Mar  5 10:39:21 2003
> 
>  
> "pine" 
> 
> Setting home dir from $HOME: "/cygdrive/c/unix/home/cronopio"
> 
>  -- init_pinerc --
> 
> Global config "/usr/local/lib/pine.conf" is default
> Personal config "/cygdrive/c/unix/home/cronopio/.pinerc" is default
> Exceptions config not set on cmdline
>   checking for default "/cygdrive/c/unix/home/cronopio/.pinercex" in pinerc dir
>   no, there is no exceptions config
> 
>   Global config: /usr/local/lib/pine.conf
>   Personal config:   /cygdrive/c/unix/home/cronopio/.pinerc
>   Exceptions config: 
>   Fixed config:  /usr/local/lib/pine.conf.fixed
> 
> reading_pinerc "/usr/local/lib/pine.conf"
> Open failed: No such file or directory
> reading_pinerc "/cygdrive/c/unix/home/cronopio/.pinerc"
> Read 15474 characters:
> reading_pinerc "/usr/local/lib/pine.conf.fixed"
> Open failed: No such file or directory
> === Current_val options set ===
>   smtp-server : mail.xms.ms/[EMAIL PROTECTED]
>inbox-path : /var/spool/mail/cronopio/
>   default-fcc : sent-mail
>  default-saved-msg-fo : saved-messages
>  postponed-folder : postponed-msgs
>signature-file : .signature
>  feature-list : allow-changing-from
>   saved-msg-name-rule : default-folder
> fcc-name-rule : default-fcc
>  sort-key : arrival
>addrbook-sort-rule : fullname-with-lists-last
>  folder-sort-rule : alphabetical
> goto-default-rule : inbox-or-folder-in-recent-collection
>  incoming-startup-rul : first-unseen
>  pruning-rule : ask-ask
>  threading-display-st : struct
>  threading-index-styl : exp
>  threading-indicator- : >
>  threading-expanded-c : .
>  threading-lastreply- : |
>  composer-wrap-column : 74
>   reply-indent-string : > 
>  reply-leadin : default
>  empty-header-message : undisclosed-recipients
>  use-only-domain-name : no
> bugs-fullname : Pine Developers
>  bugs-address : [EMAIL PROTECTED]
>  suggest-fullname : Pine Developers
>   suggest-address : [EMAIL PROTECTED]
>local-fullname : Local Support
> local-address : postmaster
>   kblock-passwd-count : 1
>viewer-overlap : 2
> scroll-margin : 0
>  status-message-delay : 0
>   mail-check-interval : 150
>mail-directory : mail
>folder-collections : mail/[]
>  address-book : .addressbook
>  standard-printer : lpr
>  last-time-prune-ques : 103.3
> last-version-used : 4.53
>user-input-timeout : 0
>  debug-memory : 50
>  remote-abook-history : 3
>  remote-abook-validit : 5
>   printer : attached-to-ansi
>elm-style-save : no
>   header-in-reply : no
> feature-level : sapling
>   old-style-reply : no
>save-by-sender : no
>   color-style : no-color
>  current-indexline-st : flip-colors
>  titlebar-color-style : default
>  normal-foreground-co : black
>  normal-background-co : cyan
>  keylabel-foreground- : black
>  keylabel-background- : cyan
>  selectable-item-fore : black
>  selectable-item-back : cyan
> === Command_line_val options set ===
> === User_val options set (/cygdrive/c/unix/home/cronopio/.pinerc) ===
> personal-name : Luis Acuna
>   smtp-server : mail.xms.ms/[EMAIL PROTECTED]
>inbox-path : /var/spool/mail/cronopio/
>  last-time-prune-ques : 103.3
> last-version-used : 4.53
> === PostloadUser_val options set (postload) ===
> === Global_val options

troubles in Pine

2003-03-05 Thread cronopio
Hi. (and sorry for my spanglish)

I've CYGWIN_ME-4.90 in my PC. I'm trying to use Pine 
following the documentation, making a ".pinerc" in home directory 
and using fetchmail. But Pine can't open the mail folder, 
displaying next message on screen:

/var/spool/mail/cronopio/: not a selectable folder

Another messages, IMHO, are not important:

Incomplete maildomain "Francisca"
Return address mail be incorrect.

What can I do? I send an enclosure with the debug message of 
Pine. Thanks in advance:

---
Luis Acuna
[EMAIL PROTECTED]
---


Debug output of the Pine program (debug=2 debug_imap=0). Version 4.53 (CYG)
Wed Mar  5 10:39:21 2003

 
"pine" 

Setting home dir from $HOME: "/cygdrive/c/unix/home/cronopio"

 -- init_pinerc --

Global config "/usr/local/lib/pine.conf" is default
Personal config "/cygdrive/c/unix/home/cronopio/.pinerc" is default
Exceptions config not set on cmdline
  checking for default "/cygdrive/c/unix/home/cronopio/.pinercex" in pinerc dir
  no, there is no exceptions config

  Global config: /usr/local/lib/pine.conf
  Personal config:   /cygdrive/c/unix/home/cronopio/.pinerc
  Exceptions config: 
  Fixed config:  /usr/local/lib/pine.conf.fixed

reading_pinerc "/usr/local/lib/pine.conf"
Open failed: No such file or directory
reading_pinerc "/cygdrive/c/unix/home/cronopio/.pinerc"
Read 15474 characters:
reading_pinerc "/usr/local/lib/pine.conf.fixed"
Open failed: No such file or directory
=== Current_val options set ===
  smtp-server : mail.xms.ms/[EMAIL PROTECTED]
   inbox-path : /var/spool/mail/cronopio/
  default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
 postponed-folder : postponed-msgs
   signature-file : .signature
 feature-list : allow-changing-from
  saved-msg-name-rule : default-folder
fcc-name-rule : default-fcc
 sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 folder-sort-rule : alphabetical
goto-default-rule : inbox-or-folder-in-recent-collection
 incoming-startup-rul : first-unseen
 pruning-rule : ask-ask
 threading-display-st : struct
 threading-index-styl : exp
 threading-indicator- : >
 threading-expanded-c : .
 threading-lastreply- : |
 composer-wrap-column : 74
  reply-indent-string : > 
 reply-leadin : default
 empty-header-message : undisclosed-recipients
 use-only-domain-name : no
bugs-fullname : Pine Developers
 bugs-address : [EMAIL PROTECTED]
 suggest-fullname : Pine Developers
  suggest-address : [EMAIL PROTECTED]
   local-fullname : Local Support
local-address : postmaster
  kblock-passwd-count : 1
   viewer-overlap : 2
scroll-margin : 0
 status-message-delay : 0
  mail-check-interval : 150
   mail-directory : mail
   folder-collections : mail/[]
 address-book : .addressbook
 standard-printer : lpr
 last-time-prune-ques : 103.3
last-version-used : 4.53
   user-input-timeout : 0
 debug-memory : 50
 remote-abook-history : 3
 remote-abook-validit : 5
  printer : attached-to-ansi
   elm-style-save : no
  header-in-reply : no
feature-level : sapling
  old-style-reply : no
   save-by-sender : no
  color-style : no-color
 current-indexline-st : flip-colors
 titlebar-color-style : default
 normal-foreground-co : black
 normal-background-co : cyan
 keylabel-foreground- : black
 keylabel-background- : cyan
 selectable-item-fore : black
 selectable-item-back : cyan
=== Command_line_val options set ===
=== User_val options set (/cygdrive/c/unix/home/cronopio/.pinerc) ===
personal-name : Luis Acuna
  smtp-server : mail.xms.ms/[EMAIL PROTECTED]
   inbox-path : /var/spool/mail/cronopio/
 last-time-prune-ques : 103.3
last-version-used : 4.53
=== PostloadUser_val options set (postload) ===
=== Global_val options set (/usr/local/lib/pine.conf) ===
   inbox-path : inbox
  default-fcc : sent-mail
 default-saved-msg-fo : saved-messages
 postponed-folder : postponed-msgs
   signature-file : .signature
  saved-msg-name-rule : default-folder
fcc-name-rule : default-fcc
 sort-key : arrival
   addrbook-sort-rule : fullname-with-lists-last
 folder-sort-rule : alphabetical
goto-default-rule : inbox-or-folder-in-recent-collection
 incoming-startup-rul : first-unseen
 pruning-rule : ask-ask
 threading-display-st : struct
 threading-index-styl : exp
 threading-indicator- : >
 threading-expanded-c : .
 threading-lastreply- : |
 composer-wrap-column : 74
  reply-indent-string : > 
     reply-leadin : default
 empty-header-message : und

[ANNOUNCEMENT] Pine-4.53-1 Released

2003-01-22 Thread Eduardo Chappa
Hello

  I have packed a new distribution of the popular e-mail client Pine.
Version 4.53 is the stable release of the 4.5X series. This is the first
release for Cygwin in this series.

Here's a quick summary of what's new in it. Further details can be found
from the main screen of Pine by pressing "R" (to see the Release Notes) or
by going to http://www.washington.edu/pine/changes.html

 * Extended thread support (fancy thread interface).
 * Rudimentary support of character set conversion.
 * Extended filter/roles functionality.
 * Cygwin port is official. This means that no more patches are needed to
   build a version of Pine suitable for cygwin. All you need to do is to
   unpack the source code and execute the command "./buildcyg cyg"  from
   the pineX.YZ directory (You still need a patch to be able to "fix" some
   bugs found while running Pine with colors in the default cygwin
   terminal. This patch is already applied in this release).

As usual, more documentation on how to run Pine under cygwin can be found
in the file /usr/doc/Cygwin/pine-4.53-1.README.

If you find any problem running this package, please report it to the
cygwin mailing list ([EMAIL PROTECTED]).

*** INFORMATION ON UPDATING CYGWIN ***

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.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  This includes ideas and comments
about the setup utility or Cygwin in general.

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

  *** 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 have trouble, please use the resources at

http://cygwin.com/ml/


-- 
Eduardo
http://www.math.washington.edu/~chappa/personal.html


--
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: pine can't find .pinerc

2002-12-06 Thread Eduardo Chappa
*** Richardson, Tony ([EMAIL PROTECTED]) wrote today:

:) I've recently started having trouble with pine.  I don't use it that
:) often and only noticed the problem when I recently started it up and it
:) asked if I wanted to move the old sent mail to a backup directory.
:) Regardless of whether I say yes or no I get the following error
:) message:
:)
:) Error saving configuration in "/home/ar63/.pinerc": No such file or
:) directory

Wow, that's not good. I've never seen this problem before. Which version
of Pine are you using? (what's the value of X in pine-4.44-X?). Can you
please run "pine -d 9" and send me the output (off list), and if possible
your .pinerc. Which version of the cygwin dll are you using? I can't check
this problem now, but I will tonight.

Thanks,

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

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




pine can't find .pinerc

2002-12-06 Thread Richardson, Tony
I've recently started having trouble with pine.  I don't use it that
often
and only noticed the problem when I recently started it up and it asked
if
I wanted to move the old sent mail to a backup directory.  Regardless of
whether I say yes or no I get the following error message:

Error saving configuration in "/home/ar63/.pinerc": No such file or
directory

This has worked fine in previous months. The file is there.  It is
actually
read when pine is started (the configuration values are all set).  The
error
message appears to occur when pine tries to write the file back.  The
.pinerc_debug file that is generated seems to verify this.  It contains:

 reading_pinerc "/home/ar63/.pinerc"
 Read 14749 characters:

but later on

  write_pinerc(Main) 
 Error writing /home/ar63/.pinerc : No such file or directory

I thought it might be a permission problem, but I can write to the file
from the
console and from a Windows app.

Any ideas?

Thanks,
Tony Richardson

--
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: sending mail with pine

2002-11-18 Thread Marcos Lorenzo
Eduardo Chappa <[EMAIL PROTECTED]> wrote [Nov 12 -0800]

   EC > *** Marcos Lorenzo ([EMAIL PROTECTED]) wrote today:
   EC >
   EC > :) I installed pine and I tried to send a test e-mail and I got pine
   EC > :) completely blocked. I believe pine wants some features that ssmtp
   EC > :) doesn't have.
   EC > :)
   EC > :) I did ln -s /usr/sbin/ssmtp /usr/sbin/sendmail, but I'm not sure If
   EC > :) this is right.
   EC > :)
   EC > :) Is there any document on how to send mail with pine?
   EC >
   EC > Hola Marcos,
   EC >
   EC >   I've always had a direct connection to an smtp server, and that's the
   EC > way I've sent mail. Try to see if adding the name of the smtp server you
   EC > want to use to the smtp-server variable in your .pinerc works. You may
   EC > need to add it in the form
   EC >
   EC > smtp-server = name.smtp.server/user=yourid
   EC >
   EC > if it needs authentication, or if the id of your smtp server is different
   EC > than the account name you have in cygwin.
   EC >
   EC >   Let me know if this works or not.

Yeah! it really works. Thanks a lot.


-- 
##
"Calling EMACS an editor is like calling the Earth a hunk of dirt."

  -- Chris DiBona on Dirt (Open Sources, 1999 O'Reilly and Associates)


  ...
  _ Marcos Lorenzo de Santiago (Labs Technician)/`   `\
 |~~  @|Departament of Telematic Engineering   /   \
 |     |  |\~~~/|
 |     |E-mail:   [EMAIL PROTECTED]   | \=/ |
 |_|Telephone: (+34)91-624-8757   | /`...'\ |
Homepage: http://www.it.uc3m.es/marcos|/___\|

##




--
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: sending mail with pine

2002-11-12 Thread Eduardo Chappa
*** Marcos Lorenzo ([EMAIL PROTECTED]) wrote today:

:) I installed pine and I tried to send a test e-mail and I got pine
:) completely blocked. I believe pine wants some features that ssmtp
:) doesn't have.
:)
:) I did ln -s /usr/sbin/ssmtp /usr/sbin/sendmail, but I'm not sure If
:) this is right.
:)
:) Is there any document on how to send mail with pine?

Hola Marcos,

  I've always had a direct connection to an smtp server, and that's the
way I've sent mail. Try to see if adding the name of the smtp server you
want to use to the smtp-server variable in your .pinerc works. You may
need to add it in the form

smtp-server = name.smtp.server/user=yourid

if it needs authentication, or if the id of your smtp server is different
than the account name you have in cygwin.

  Let me know if this works or not.

  Salu2,

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

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




sending mail with pine

2002-11-12 Thread Marcos Lorenzo
I installed pine and I tried to send a test e-mail and I got pine
completely blocked. I believe pine wants some features that ssmtp doesn't
have.

I did ln -s /usr/sbin/ssmtp /usr/sbin/sendmail, but I'm not sure If this
is right.

Is there any document on how to send mail with pine?

TIA,
m4c.


__
Marcos Lorenzo de Santiago (Labs Technician)

Departament of Telematic Engineering
University Carlos III Av.Universidad 30 Leganés (Madrid).
Torres Quevedo Building 4.1A01
E-mail: [EMAIL PROTECTED], Telephone: (+34)91-624-8757
Home Page http://www.it.uc3m.es/marcos
__


--
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 Pine-4.44-3

2002-10-16 Thread Eduardo Chappa

Hello!,

  I have updated the version of Pine to 4.44-3. This version tries to fix
problems detected with Pine when using the cygwin terminal. I am *VERY*
interested in knowing any problems that are found when running Pine in
different terminals, so PLEASE report them to the cygwin mailing list. In
that way I can work on them before version 4.50 be released (coming soon,
but don't know when). This will be the last release of the 4.44-X series.

  The problems fixed are the following:

  - The cygwin terminal has a bug that does not allow Pine to use a
scroll region, although the cygwin terminal advertises such capability. As
far as I understand a fix will come in future versions of Cygwin, but for
now we change the method that we use to write in the screen in order to
avoid this bug.

  - The cygwin terminal scrolls automatically when a character is written
in the lower right corner, which makes the screen look messy when Pine
uses colors (this does not happen in the "black and white" screen). A
workaround within Pine was found for this too.

  More information relevant to this release can be found in the file
/usr/doc/Cygwin/Pine-4.44-3.README.

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.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate 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.

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

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

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: pine dumps core on exit

2002-05-20 Thread Michael A Chase

On Mon, 20 May 2002 14:34:51 -0700 (PDT) Eduardo Chappa
<[EMAIL PROTECTED]> wrote:

> The diagnosis of your problem is correct. Your problem comes from the fact
> that you have chosen "DOS" over "UNIX". You will need to change it "unix".
> This is one of the symptoms of the error. Your addressbook should not be
> working either. Pine needs those "\n", over "\r\n". Please notice that
> this may require you to restart Pine from scratch (new .pinerc,
> .addressbook, etc).
> 
> Is there a way to know if a user is using DOS instead of UNIX in their
> installation? I would be insterested in looking into this, although it may
> be a major change in Pine.

Since Pine appears to need to control the line endings, it should probably
open all mailboxes (at least) in binary mode.  Binary mode would have no
effect in Unixes and would do no harm in MSDOS derived systems including
DOS type Cygwin mounts.  Changing the open() or fopen() calls is likely to
cause changes in quite a few places, but it shouldn't be very difficult to
decide where it is needed.

I'm actually a bit surprised this hasn't been a problem in Win32 or MSDOS
ports of Pine.
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
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: pine dumps core on exit

2002-05-20 Thread Scott Evans

Sure enough, I changed all my mount points to binary and the pine
problems went away.  I don't think I have any real reason to run
with text mounts anyway so this should be fine.  Very cool!
Thanks for the help, guys.  



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: pine dumps core on exit

2002-05-20 Thread Eduardo Chappa

*** Scott Evans ([EMAIL PROTECTED]) wrote in cygwin today:

:) I just updated to the lastest Cygwin and figured I'd try pine.
:) It looked to be working well until I exited, at which point I got
:) this error:
:)
:) | Problem detected: "header size inconsistent".
:) | Pine Exiting.
:) | Aborted (core dumped)
:)
:) ... and pine exited, leaving my INBOX kind of corrupted.
:) [snip]
:) Anyone else seeing this?  Any ideas what's going on?  When I install
:) Cygwin I choose "DOS" as the default file type but I've never known
:) what that actually *does* (and I probably have no reason to choose it);
:) I guess it's possible that my troubles relate to whatever setting
:) results from that.

The diagnosis of your problem is correct. Your problem comes from the fact
that you have chosen "DOS" over "UNIX". You will need to change it "unix".
This is one of the symptoms of the error. Your addressbook should not be
working either. Pine needs those "\n", over "\r\n". Please notice that
this may require you to restart Pine from scratch (new .pinerc,
.addressbook, etc).

Is there a way to know if a user is using DOS instead of UNIX in their
installation? I would be insterested in looking into this, although it may
be a major change in Pine.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: pine dumps core on exit

2002-05-20 Thread Chris Metcalf

The local mail files that you view with pine need to be on a filesystem
mounted with "--binary".  Otherwise when pine rewrites the headers, you
get DOS line termination, which ends up eating characters out of the
beginning of each message body (since pine seems to use a seek+rewrite
strategy for the header updates).  Evidently it notices after a while and
aborts, but by that time your messages have been chewed on a bit.  You can
force the file back to Unix line termination, fix your mount point, and
you should be all set.

Chris

On 20 May 2002, Scott Evans wrote:
> I just updated to the lastest Cygwin and figured I'd try pine.  
> It looked to be working well until I exited, at which point I got
> this error:
> 
> | Problem detected: "header size inconsistent".
> | Pine Exiting.
> | Aborted (core dumped)


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




pine dumps core on exit

2002-05-20 Thread Scott Evans

I just updated to the lastest Cygwin and figured I'd try pine.  
It looked to be working well until I exited, at which point I got
this error:

| Problem detected: "header size inconsistent".
| Pine Exiting.
| Aborted (core dumped)

... and pine exited, leaving my INBOX kind of corrupted.

This appears to have something to do with ctrl-M's at the end of some
lines in mail folders that pine creates... or something.  I'm not clear
on exactly what's happening.  For instance, sending an email in pine
will create a "sent-mail" folder, and the "do not erase this message"
bit at the beginning of the folder has Ctrl-M's, but the rest of the
folder doesn't.  I can see how this might confuse pine.

Anyone else seeing this?  Any ideas what's going on?  When I install
Cygwin I choose "DOS" as the default file type but I've never known
what that actually *does* (and I probably have no reason to choose it);
I guess it's possible that my troubles relate to whatever setting 
results from that.



--
 scott evans :: www.antisleep.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: Missing feature in Pine

2002-05-17 Thread Jim.George

Thanks Eduardo that did the trick...Now I'm able to have my email 'read'
to me by festival and pine.

Again,  thanks.

Jim

On Fri, 17 May 2002, Eduardo Chappa wrote:

> *** Jim.George ([EMAIL PROTECTED]) wrote today:
>
> :) I am hapily running Pine under Cygwin however I have a problem.
>
> Great!
>
> :) So my questions are
> :)
> :) 1) what is the command to pipe the email to an external viewer under cygwin
> :)Pine?
>
> You need to have [X] enable-unix-pipe-command enabled in your
> configuration.
>
>  If you are using the bash shell, however, this is not the only
> requirement. The problem is that bash does not export the SHELL variable.
> It must be exported manually. If this is your case, simply add
>
> export SHELL
>
> to you ~/.bash_profile file.
>
> The file /usr/doc/Cygwin/pine-4.44-1.README shows you an alternative
> solution to this problem. I hope you have read that document. This
> problem is specific to the bash shell, not to Pine.
>
> :) 2) can this even be achieved with this version of pine?
> :) 3) can the maintainer update the help screen?
>
> The problem is already solved in the documentation for Pine. My real
> question is if I should manually export this variable through a
> postinstall script. It is becoming a FAQ.
>
> --
> Eduardo
> http://www.math.washington.edu/~chappa/personal.html
>
>
> --
> 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: Missing feature in Pine

2002-05-17 Thread Eduardo Chappa

*** Jim.George ([EMAIL PROTECTED]) wrote today:

:) I am hapily running Pine under Cygwin however I have a problem.

Great!

:) So my questions are
:)
:) 1) what is the command to pipe the email to an external viewer under cygwin
:)Pine?

You need to have [X] enable-unix-pipe-command enabled in your
configuration.

 If you are using the bash shell, however, this is not the only
requirement. The problem is that bash does not export the SHELL variable.
It must be exported manually. If this is your case, simply add

export SHELL

to you ~/.bash_profile file.

The file /usr/doc/Cygwin/pine-4.44-1.README shows you an alternative
solution to this problem. I hope you have read that document. This
problem is specific to the bash shell, not to Pine.

:) 2) can this even be achieved with this version of pine?
:) 3) can the maintainer update the help screen?

The problem is already solved in the documentation for Pine. My real
question is if I should manually export this variable through a
postinstall script. It is becoming a FAQ.

-- 
Eduardo
http://www.math.washington.edu/~chappa/personal.html


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




Missing feature in Pine

2002-05-17 Thread Jim.George

I am hapily running Pine under Cygwin however I have a problem.

I wish to use festival to have my mail 'read' to me.  This is achieved by
piping the email to a perl script written by someone on the festival list.

This is where my problem lies.  Although the help screen shows that the
pipe command is '|' when I press this key Pine tells me that this is not a
valid key for this screen (with the email open).

So my questions are

1) what is the command to pipe the email to an external viewer under cygwin
   Pine?
2) can this even be achieved with this version of pine?
3) can the maintainer update the help screen?

Thanks and Regards,


Jim


--
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: using pine to run links to view url's

2002-05-02 Thread Eduardo Chappa

*** On Thu, 2 May 2002 I wrote:

:) try "/usr/bin/links _URL_", including the quotes. Does that work? Are you
:) using bash as your shell?

Just for the record in the archives, the additional symptom is that the
original poster is using the bash shell and the problem is that the bash
shell does not export the SHELL variable. When the user exported the above
said variable, by adding "export SHELL" to his "~/.bash_profiles" file,
the problem went away.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: using pine to run links to view url's

2002-05-02 Thread Eduardo Chappa

*** Mark Cooke ([EMAIL PROTECTED]) wrote today:

:) >   Could you please post the way that you set links as your browser. I
:) > will find a solution for you. Also, have you read
:) > /usr/doc/Cygwin/pine-4.11-1.README? The solution may be in there. I
:) > am working on expanding that document. Please let us know what you
:) > find.
:)
:) Sorry to sound thick, but In what way do you mean setup links as my
:) browser?
:)
:) If you mean in pine, in the  Setup | Config, under the following:
:) URL Viewer: /usr/bin/links

try "/usr/bin/links _URL_", including the quotes. Does that work? Are you
using bash as your shell?

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: using pine to run links to view url's

2002-05-02 Thread Mark Cooke

On 1 May 2002, Eduardo Chappa spoke unto us wif:

> *** Mark Cooke ([EMAIL PROTECTED]) wrote today:
>
> :) I know this may be off topic, but I've selected links as my web brower
> :) in pine (using the full path - /usr/bin/links), but when I go to view a
> :) url from pine, it just returns that it has viewed it, but it doesn't
> :) run links.
>
> Mark,
>
>   Could you please post the way that you set links as your browser. I will
> find a solution for you. Also, have you read
> /usr/doc/Cygwin/pine-4.11-1.README? The solution may be in there. I am
> working on expanding that document. Please let us know what you find.

Sorry to sound thick, but In what way do you mean setup links as my
browser?

If you mean in pine, in the  Setup | Config, under the following:
URL Viewer: /usr/bin/links

I've also tried links,links.exe and links %s.

But it tries to execute it, but then goes straight back to my mail, then
as I mentioned, after quiting pine, I get the cannot find path

Mark

-- 

Mark Cooke
Internet Operations Technician
MM Group Ltd
Tel: 8141 (Internal)
Tel: (0117) 9168141 (External)
Email: [EMAIL PROTECTED]
http://www.mmgroup.co.uk




--
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: using pine to run links to view url's

2002-05-01 Thread Eduardo Chappa

*** Mark Cooke ([EMAIL PROTECTED]) wrote today:

:) I know this may be off topic, but I've selected links as my web brower
:) in pine (using the full path - /usr/bin/links), but when I go to view a
:) url from pine, it just returns that it has viewed it, but it doesn't
:) run links.

Mark,

  Could you please post the way that you set links as your browser. I will
find a solution for you. Also, have you read
/usr/doc/Cygwin/pine-4.11-1.README? The solution may be in there. I am
working on expanding that document. Please let us know what you find.

  Thanks

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


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




using pine to run links to view url's

2002-05-01 Thread Mark Cooke

Hi,

I know this may be off topic, but I've selected links as my web brower in
pine (using the full path - /usr/bin/links), but when I go to view a url
from pine, it just returns that it has viewed it, but it doesn't run
links.

If I then quit pine, there is an error on the console saying it cannot
find the path, here's the weird bit, If I run the exact path that It
says's it cannot run, links works fine with the selected url.

I know the setup it correct for pine, as I use pine and links at home on
my system (custom built linux box) and it works fine, which is one of the
reason why I posted, Is there something else that I have missed or have to
get it to do that is specific to cygwin?

Thanks in advance

Mark

-- 

Mark Cooke
Internet Operations Technician
MM Group Ltd
Tel: 8141 (Internal)
Tel: (0117) 9168141 (External)
Email: [EMAIL PROTECTED]
http://www.mmgroup.co.uk


--
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: [ANNOUNCEMENT] New Package: Pine]

2002-04-20 Thread Steven O'Brien


Eduado wrote:
> I am running the bash shell, and somehow, even though the SHELL variable is
> set, Oine does not pick it up.

Although bash sets the SHELL variable, it does not export it. This has been
discussed on this list before. The correct solution is to explicitly export
it yourself from /etc/profile or /etc/profile.d/local.sh or ~/.bash_profile
as:

export SHELL

Steven

--
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: [ANNOUNCEMENT] New Package: Pine]

2002-04-19 Thread Eduardo Chappa

*** [EMAIL PROTECTED] wrote on Apr 18, 2002:

:) >*** How to run Pine under Cygwin 
:) >
:) > - If you plan to use filters in Pine (display and send filters) or
:) > the pipe command, you need to execute the following command:
:) >
:) >   ln -s /bin/bash.exe /bin/csh.exe
:)
:) Would this still be applicable if the tcsh package is installed?  Is there a
:) [simple|quick] explaination for this requirement?

Hello Chris,

  This is what happens. Pine needs to know your shell when it executes
shell commands, for this, it tests to see if the SHELL variable is set. I
am running the bash shell, and somehow, even though the SHELL variable is
set, Pine does not pick it up.

  When Pine does not know which shell you are using from the SHELL
variable, then pine assumes that you are using csh, hence you need to fake
a csh shell, and that's the reason for that command.

  I haven't tested if this trick works (or does not) under tcsh. I would
appreciate if you let me know what you find in this respect.

  Thanks!

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/



--
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: [ANNOUNCEMENT] New Package: Pine]

2002-04-18 Thread chris . polley

Eduardo,

In reading the cygwin-specific docs for pine
(/usr/doc/Cygwin/pine-4.44-1.README) I noticed the following instruction:

>*** How to run Pine under Cygwin 
>
> - If you plan to use filters in Pine (display and send filters) or the
>   pipe command, you need to execute the following command:
>
>   ln -s /bin/bash.exe /bin/csh.exe

Would this still be applicable if the tcsh package is installed?  Is there a
[simple|quick] explaination for this requirement?

Thanks,
Chris




--
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: [ANNOUNCEMENT] New Package: Pine

2002-04-16 Thread Eduardo Chappa

*** Jim George ([EMAIL PROTECTED]) wrote today:

:) I don't see it?

You may have to wait until the ftp site where you are downloading it from
gets updated. I saw it at http://archive.progeny.com, just a few minutes
ago.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


--
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: [ANNOUNCEMENT] New Package: Pine

2002-04-16 Thread Jim George

I don't see it?
- Original Message - 
From: "Eduardo Chappa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 6:50 PM
Subject: [ANNOUNCEMENT] New Package: Pine


> 
> 
> The 'Pine' package is now available via setup.exe
> 
> Pine is a console e-mail and newsrweader.
> 
> Among other features, Pine provides:
> 
> * Support for IMAP, POP3, (E)SMTP, NNTP and MIME.
> * Color support under rxvt.
> * An easy to use editor, called Pico, or the ability to use
>   your own editor.
> * Online context sensitive help.
> * More than 90 configuration options to tune up Pine to your
>   liking.
> 
> This is the first Cygwin release.
> 
> 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.  Save it and run setup, answer the questions and pick
> up 'Pine' from the 'Mail' category.  You may need to click
> the "Full" button if it doesn't show up.
> 
> Note that downloads from sources.redhat.com (aka cygwin.com) aren't
> allowed due to bandwidth limitations.  This means that you will need
> to find a mirror which has this update.
> 
> In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
> is a reliable high bandwidth connection.
> 
> In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is already
> updated.
> 
> In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.
> 
> If one of the above doesn't have the latest version of this package
> you can either wait for the site to be updated or find another
> mirror.
> 
> Please  send questions or comments to the Cygwin mailing list at:
> [EMAIL PROTECTED] .  If you want to subscribe go to:
> http://cygwin.com/lists.html I would appreciate 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.
> 
> If you want to make a point or ask a question the Cygwin mailing
> list is the appropriate place.
> 
> *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
> 
> To unsubscribe to 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]
> 
> -- 
> Eduardo
> http://www.math.washington.edu/~chappa/pine/
> 
> 
> 
> 
> 
> --
> 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/




[ANNOUNCEMENT] New Package: Pine

2002-04-16 Thread Eduardo Chappa



The 'Pine' package is now available via setup.exe

Pine is a console e-mail and newsrweader.

Among other features, Pine provides:

* Support for IMAP, POP3, (E)SMTP, NNTP and MIME.
* Color support under rxvt.
* An easy to use editor, called Pico, or the ability to use
  your own editor.
* Online context sensitive help.
* More than 90 configuration options to tune up Pine to your
  liking.

This is the first Cygwin release.

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.  Save it and run setup, answer the questions and pick
up 'Pine' from the 'Mail' category.  You may need to click
the "Full" button if it doesn't show up.

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is already
updated.

In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.

If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.

Please  send questions or comments to the Cygwin mailing list at:
[EMAIL PROTECTED] .  If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate 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.

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

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

To unsubscribe to 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]

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/





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