Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix pine command

Quick links

About pine
Syntax
Mail related files
Examples
Related commands
Linux / Unix main page

About pine

Command line program for Internet News and Email.

Syntax

pine [option] [address , address]
pinef [option] [address , address]

addressSend mail to address this will open pine directly into the message composer.
-aSpecial anonymous mode for UWIN.
-attach fileSend e-mail with the selected file as an attachment.
-attach_and_delete fileSend e-mail with the selected file as an attachment and remove file after sent.
-attach file-listSend e-mail with the listed file-list as an attatchment.
-c context-numbercontext-number is the number corresponding to the folder-collection to which the -f command line argument should be applied. By default the -f argument is applied to the first defined folder collection.
-d debug-levelOutput diagnostic info at debug-level (0-9) to the current .pine-debug[1-4] file. A value of 0 turns debugging off and suppresses the .pine-debug file.
-d key[=val]Fine tuned output of diagnostic messages where "flush" causes debug file writing without buffering, "timestamp" appends each message with a timestamp, "imap=n" where n is between 0 and 4 representing none to verbose IMAP telemetry reporting, "numfiles=n" where n is between 0 and 31 corresponding to the number of debug files to maintain, and "verbose=n" where n is between 0 and 9 indicating an inverse threshold for message output.
-f folderOpen folder (in first defined folder collection, use -c n to specify another collection) instead of INBOX.
-F fileOpen named text file and view with Pine's browser.
-hHelp: list valid command-line options.
-iStart up in the FOLDER Indexscreen.
-I keystrokesInitial (comma separated list of) keystrokes which Pine should execute on startup.
-kUse function keys for commands. This is the same as running the command pinef.
-n numberStart up with current message-number set to number.
-nrSpecial mode for UWIN.
-oOpen first folder read-only.
-p config_fileUse config-file as the personal configuration file instead of the default .pinerc.
-P config_fileUse config-file as the configuration file instead of default system-wide configuration file pine.conf.
-rUse restricted/demo mode. Pine will only send mail to itself and functions like save and export are restricted.
-url urlOpen the given url. Cannot be used with -f, -F, or -attach options.
-zEnable ^Z and SIGTSTP so pine may be suspended.
-confProduce a sample/fresh copy of the system-wide configuration file, pine.conf, on the standard output. This is distinct from the per-user .pinerc file.
-create_lu addrbook sort-orderCreates auxiliary index (look-up) file for addrbook and sorts addrbook in sort-order, which may be dont-sort, nickname, fullname, nickname-with- lists-last, or fullname-with-lists-last. Useful when creating global or shared address books. After creating the index file in this way, the file should be moved or copied in a way which preserves the mtime of the address book file. The mtime of the address book file at the
time the index file was built is stored inside the index file and a comparison
between that stored value and the current mtime of the address book file is done when somebody runs pine. If the mtime has changed since the index file was made, then pine will want to rebuild the index file. In other words, don't build the index file with this option
and then copy the address book to its final destination in a way which changes the file's mtime.
-pinerc fileOutput fresh pinerc configuration to file.
-sort orderSort the FOLDER Indexdisplay in one of the following orders: arrival, subject, from, date, size, orderedsubj or reverse. Arrival order is the default. The OrderedSubj choice simulates a threaded sort. Any sort may be reversed by adding /reverse to it. Reverse by
itself is the same as arrival/reverse.
-option=valueAssign value to the config option option e.g. -signature-file=sig1 or -feature-
list=signature-at-bottom (Note: feature-list values are additive)

MAIL RELATED FILES

Below is a general listing of files related to mail and pine on a Unix or Unix variant system:

/usr/spool/mail/xxxxDefault folder for incoming mail.
~/mailDefault directory for mail folders.
~/.addressbookDefault address book file.
~/.addressbook.luDefault address book index file.
~/.pine-debug[1-4]Diagnostic log for debugging.
~/.pinercPersonal pine config file.
~/.newsrcNews subscription/state file.
~/.signatureDefault signature file.
~/.mailcapPersonal mail capabilities file.
~/.mime.typesPersonal file extension to MIME type mapping
/etc/mailcapSystem-wide mail capabilities file.
/etc/mime.typesSystem-wide file ext. to MIME type mapping
/usr/local/lib/pine.infoLocal pointer to system administrator.
/usr/local/lib/pine.confSystem-wide configuration file.
/usr/local/lib/pine.conf.fixedNon-overridable configuration file.
/tmp/.\usr\spool\mail\xxxxPer-folder mailbox lock files.
~/.pine-interrupted-mailMessage which was interrupted.
~/mail/postponed-msgsFor postponed messages.
~/mail/sent-mailOutgoing message archive (FCC).
~/mail/saved-messagesDefault destination for Saving messages.

Examples

pine - Would run the pine program.

Additional information about sending and reading e-mail in a telnet session, SSH session, and/or at the command line can be found on document CH000817.

Related commands

elm
mail
pico

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope