Subject: Re: Pine Command Line Options

From: [email-masked] (Steve McIntyre)
Date: 30 Dec 1996 14:13:53 GMT

In article <[email-masked]>,
Christoph Terhechte  <[email-masked]> wrote:
>
>It would have to accept a given subject line - nothing about that in the
>manual.
>
>It would have to accept a given file to be edited - nothing about that
>either.
>
>Does anyone have an idea how to do this. It's easy in elm - just use the
>-s (subject) and -i (file) switches. I normally use pine, though - is
>there a way? Any hints appreciated.

I don't think you can supply a subject, but you can pipe the article body
into pine, e.g.:

pine user@localhost < .article

-- 
Steve McIntyre, CURS Secretary, Cambridge, UK.   [email-masked]
<a href=http://www.chiark.greenend.org.uk/~stevem/>My home page</a>
"Can't keep my eyes from the circling sky,                 +------------------
"Tongue-tied & twisted, Just an earth-bound misfit, I..."  |Finger for PGP key

---

From: Christoph Terhechte <[email-masked]>
Date: Mon, 30 Dec 1996 14:42:15 +0100

I'd like to call pine from tin under Linux. To acquire this, pine would
have to accept three command line options:

It would have to accept a receiver's address - no problem, it says so in
the manual.

-- 

Christoph Terhechte <[email-masked]>

"Toto? - I have a feeling we're not in Kansas anymore."

---

From: Ed Greshko <[email-masked]>
Date: Tue, 31 Dec 1996 12:04:01 +0800 (GMT)

> It would have to accept a given file to be edited - nothing about that

	At least item #2 kills your concept.  Type "pine -h" and you will
see....

hobbes[8]% pine -h
Possible Starting Arguments for Pine program:
 
        Argument                Meaning
         <addrs>...     Go directly into composer sending to given address
                        Standard input redirection is allowed with addresses.
         -d n           Debug - set debug level to 'n'
         -f <folder>    Folder - give folder name to open
         -c <number>    Context - which context to apply to -f arg
         -F <file>      File - give file name to open and page thru
         -h             Help - give this list of options
         -k             Keys - Force use of function keys
         -z             Suspend - allow use of ^Z suspension
         -r             Restricted - can only send mail to one self
         -sort <sort>   Sort - Specify sort order of folder:
                                subject, arrival, date, from, size, /reverse
         -i             Index - Go directly to index, bypassing main menu
         -I <keystroke_list>    Initial keystrokes to be executed
         -n <number>    Entry in index to begin on
         -o             ReadOnly - Open first folder read-only
         -conf          Configuration - Print out fresh global configuration
         -pinerc <file> Configuration - Put fresh pinerc configuration in <file>
         -p <pinerc>    Use alternate .pinerc file
         -P <pine.conf> Use alternate pine.conf file
         -create_lu <abook_file> <ab_sort_type>   create .lu from script
         -nr            Special mode for UWIN
         -a             Special anonymous mode for UWIN
         -l             List - Expand List of folder collections by default
         -<option>=<value>      Assign <value> to the pinerc option <option>
                                e.g. -signature-file=sig1
                                (Note: feature-list is additive)

-- 
Edward M. Greshko                  Technical Manager, Electronic Commerce
                                   Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287        6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197             Taipei, Taiwan R.O.C