Subject: Command line sending with PINE?

From: murrays@noc (Scott A. Murray)
Date: 16 Nov 1994 22:47:02 GMT

Hi,

First things first....  I'm using PINE v3.87

Is there a way to send a message from the command line, with no need for 
interaction from the user at all?  Ie: In ELM, you can....

elm -s "subject" "address" < .messagetext

Is there a way to do this in PINE?  Do I need the newest version?

Thanks.

--
-----------------[ Nisus Development & Technology ]------------------
 Scott A. Murray                          E-Mail: [email-masked]
 Voice: (416) 261-7866                           Fax: (416) 261-6399
------[ 'Helping make Windows(tm) a really neat place to be!' ]------

---

From: [email-masked] (R. Stewart Ellis)
Date: 17 Nov 94 03:38:47 GMT

>Is there a way to do this in PINE?  Do I need the newest version?

IMHO, this is the biggest shortcoming of pine.  Someone needs to write a
shell script or perl program that will use the pine addressbook and apend
the sent message to the sent-mail folder.

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      [email-masked]               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /

---

From: [email-masked] (Jim Davis)
Date: 16 Nov 1994 17:27:54 -0700

In article <[email-masked]>,
Scott A. Murray <[email-masked]> wrote:
:
:Is there a way to send a message from the command line, with no need for 
:interaction from the user at all?  Ie: In ELM, you can....
:
:elm -s "subject" "address" < .messagetext
:
:Is there a way to do this in PINE?  Do I need the newest version?

Getting the latest version, 3.91, would be a good idea.  But you still
can't do "pine someone <file" in 3.91.

It looks like pine effectively does a isatty(0) on startup, so if
you're really determined you probably could get around the input
redirection restriction by running pine under a program like pty or
expect.