Subject: PC-Pine and a couple of dumb questions

From: melchior <[email-masked]>
Date: Thu, 20 Mar 2003 23:33:16 +0900

Is it possible to run PC-Pine (under winxp) without having the window 
open?    ---  uh, that doesn't make a lot of sense. i want to use pine 
the way most people do, through a text shell (ssh, telnet, whatever) 
however the server is a winxp machine. how would i go about this?

and since i believe you are all quite worldly with these things and i 
never use windows... what is the best way to set up the ssh/telnet 
server necessary under winxp?

best regards,
			entropy

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: daniel lance herrick <[email-masked]>
Date: Thu, 20 Mar 2003 10:28:13 -0500 (EST)

> server necessary under winxp?

There are two or three products, I only know the
name of one - use putty on the windows box. When
you run putty it opens what you can think of as an
xterm running ssh.

dan

---

From: "Bill Kearney" <[email-masked]>
Date: Thu, 20 Mar 2003 10:37:20 -0500

> you run putty it opens what you can think of as an

That doesn't sound like what he's asking.  It sounds like he's asking if it's
possible to telnet to the XP box and run PC-Pine inside that session.  The
question is why?   The details presented don't explain what the xp server is
doing.  Is it running an IMAP server?  Or is it just a client workstation
running PC-pine to an IMAP server running somewhere else.

Ask better questions, get better answers?

-Bill Kearney

---

From: melchior <[email-masked]>
Date: Fri, 21 Mar 2003 00:46:10 +0900

you are right in your guess about exactly what it is i want Bill... 
i've got openssh running on the xp box now and want to open a pine 
session within that.

the xp box is just a workstation... less than that, it's a computer, in 
a house. i want to ssh into the xp box (no problem there) and open pine 
and read email and save it locally on that machine. and it's pop3 i'm 
accessing unfortunately, not imap...

---

From: "Bill Kearney" <[email-masked]>
Date: Thu, 20 Mar 2003 11:02:13 -0500

Ah, that's what I thought.  You're stuck.

Near as I can tell PC-Pine doesn't run within the text console.  This sort of
makes sense as it really is a local application.  I suppose it /could/ be coded
to work in a cmd console but it doesn't do that now.

And to use POP on top of all this is asking for even more trouble.  Not that it
doesn't work but that you're pulling mail into a local filesystem that you can't
get to from an ssh session.  Really, it's quite a convoluted set of issues.

Save yourself further agony and put linux on an ancient P133 machine and run
IMAP on it.  You can configure that to use fetchmail, gotmail, hotwayd and other
interfaces to have it go pull the mail from the other locations.  I do this and
it's been working great.

That way you'd have real pine and ssh and could use putty on the other win32
machines to get to it.

-Bill Kearney

---

From: melchior <[email-masked]>
Date: Fri, 21 Mar 2003 01:13:57 +0900

oh, i know linux would save me a whole heap of trouble, but i didn't 
anticipate wanting to do this over a year ago when i had physical 
access to the computer.

i'm gonna give cygwin a whirl with pine and that should get what i want 
at least.

thanks for you comments

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 20 Mar 2003 08:15:25 -0800 (PST)

*** melchior ([email-masked]) wrote in the pine-info list on Mar...:

m> you are right in your guess about exactly what it is i want Bill...
m> i've got openssh running on the xp box now and want to open a pine
m> session within that.
m>
m> the xp box is just a workstation... less than that, it's a computer, in
m> a house. i want to ssh into the xp box (no problem there) and open pine
m> and read email and save it locally on that machine. and it's pop3 i'm
m> accessing unfortunately, not imap...

You can accomplish this if you run Cygwin in your machine and run the
Cygwin version of Pine. You can run a sshd daemon under cygwin and so you
can use any program to ssh to your machine. Cywgin is included with the
Cygwin version of Pine. However, Pine does not download messages from a
POP3 server to your machine, it must be configured to do so in a
cumbersome way (setting a filter to move messages to a local folder and
then open that folder). You will always be reading mail from the server,
and so the "ssh" part of the process can be eliminated.

Apparently Pine4.55 will be able to move your POP3 messages to a local
folder of your choice in a more natural way, so you may want to install
cygwin now and set up the sshd daemon until 4.55 comes out.

You can get cygwin from http://www.cygwin.com/

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

---

From: Steve Huston <[email-masked]>
Date: Thu, 20 Mar 2003 14:00:04 -0500 (EST)

On Thu, 20 Mar 2003, Eduardo Chappa wrote:
> However, Pine does not download messages from a POP3 server to your machine,
> it must be configured to do so in a cumbersome way (setting a filter to move
> messages to a local folder and then open that folder).

It's been awhile since I had a windows box to play with, so I don't remember
the answer to this; does Cygwin have available (or can it be compiled)
fetchmail?  You could even run it daemonized and every N seconds it would poll
the POP3 server for mail, store it locally, and Pine could read that fine (I
used to do this in Linux at home, adding a ssh tunnel to the 'preconnect'
requirements for polling the pop3 server).

-- 
Steve Huston - Unix Systems Admin, Dept. of Astrophysical Sciences
 Princeton University  |     ICBM Address: 40.346525   -74.651285
   126 Peyton Hall     |"On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375      | headlong into mystery."  -Rush, 'Cygnus X-1'

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 20 Mar 2003 11:36:05 -0800 (PST)

*** Steve Huston ([email-masked]) wrote today:

SH> On Thu, 20 Mar 2003, Eduardo Chappa wrote:
SH> > *** melchior ([email-masked]) wrote in the pine-info list
SH> > on Mar...:
SH> > m> a house. i want to ssh into the xp box (no problem there) and
SH> > m> open pine and read email and save it locally on that machine. and
SH> > m> it's pop3 i'm accessing unfortunately, not imap...
SH> >
SH> > However, Pine does not download messages from a POP3 server to your
SH> > machine, it must be configured to do so in a cumbersome way (setting
SH> > a filter to move messages to a local folder and then open that
SH> > folder).
SH>
SH> It's been awhile since I had a windows box to play with, so I don't
SH> remember the answer to this; does Cygwin have available (or can it be
SH> compiled) fetchmail?

Yes, indeed. Fetchmail and Procmail are available for cygwin. The list of
packages listed in the setup program of cygwin can be found here:

http://cygwin.com/packages/

Not all packages can be found there. I use ispell, for example, which does
not appear in that list, but it can be found in this other list:

http://cygwin.com/ported.html

SH> You could even run it daemonized and every N seconds it would poll the
SH> POP3 server for mail, store it locally, and Pine could read that fine
SH> (I used to do this in Linux at home, adding a ssh tunnel to the
SH> 'preconnect' requirements for polling the pop3 server).

Yes, that's correct. I guess I had forgotten about that option too.

Thanks!