(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Third Party Software and How to Compile Open Source Software :
Pine-4.33
This version supports threads.

   Downloads:      http://www.washington.edu/pine/

   $ gzcat pine4.33.tar.gz | tar xvopf -
Then cd into the pine4.33 directory, go down into doc/tech-notes/ and read index.html.
Here's what you'll learn: 1) Pine builds on UnixWare 7.x.x using the command: build uw2 2) Before you build it, you probably want to edit a few files:
pine4.33/pine/makefile.uw2 pine4.33/pico/makefile.uw2 pine4.33/pine/osdep/os-sv4.h pine4.33/pico/osdep/os-sv4.h

    pine/makefile.uw2:   In this file I changed:
               OPTIMIZE=    -O -Kpentium_pro
               DEBUG=       #-g -DDEBUG
pine/osdep/os-sv4.h: In this file I changed: #define DF_MAILCHECK "600" #define MAXFILLCOL "132"
pico/osdep/os-sv4.h: In this file I changed: #include <locale.h> #define MAILDIR "/var/mail" #define SPELLER "/usr/local/bin/ispell"

    The choice to optimize was mine, after I had already
    built and tested this a few times.
Then I compiled it in it's top level directory ./pine4.33.
I used the build uw2 command to compile it:
./build uw2 > make.log 2>&1
while I switched to another terminal and
less make.log shift+f
so I can tail the log file.
After building it, it's on to installing it. To install Pine, log in as root, copy the files pico, pilot, and pine from ./bin to /usr/local/bin, chown them to root:sys, and chmod them to 555.
The others executables like imapd and mtest are optional to install.
After installing Pine, it's on to configuring it's system-wide defaults. To configure Pine's system wide defaults, create the file pine.conf as follows:
1) Log in as root. 2) cd /usr/local/lib 3) pine -conf > pine.conf 4) chmod 644 pine.conf 5) cp -p pine.conf pine.conf.fixed 6) vi pine.conf.fixed: looking to change _only_ the items you want fixed, ie. users can't change those defaults. See also mine below....
7) Once you set up those fixed items, DELETE all the other fields you didn't touch. You don't want them fixed. 8) vi pine.conf: Set the system-wide defaults that the user can change. See also mine below....


           pine.conf.fixed
       -------------------------------------------------
      |smtp-server=yoda
      |feature-list=allow-changing-from,
      |     compose-maps-delete-key-to-ctrl-d,
      |     quell-dead-letter-on-cancel,
      |     quell-user-lookup-in-passwd-file
      |
      |local-fullname=Matt Schalit
      |local-address=matthew
      |ssh-path=/usr/local/bin/ssh
      |


           pine.conf
       -------------------------------------------------
      |user-domain=pacbell.net
      |nntp-server=news.pacbell.net
      |feature-list=compose-cut-from-cursor,
      |     enable-sigdashes,
      |     enable-search-and-replace,
      |     enable-reply-indent-string-editing,
      |     include-text-in-reply,
      |     reply-always-uses-reply-to,
      |     enable-background-sending,
      |     enable-delivery-status-notification,
      |     compose-sets-newsgroup-without-confirm,
      |     news-post-without-validation,
      |     delete-skips-deleted,
      |     prefer-plain-text,
      |     quell-extra-post-prompt,
      |     enable-aggregate-command-set,
      |     enable-full-header-cmd,
      |     enable-jump-shortcut,
      |     enable-goto-in-file-browser,
      |     enable-tab-completion,
      |     disable-take-last-comma-first,
      |     enable-dot-files,
      |     expunge-without-confirm,
      |     no-expunge-without-confirm-everywhere,
      |     quell-folder-internal-msg,
      |     quit-without-confirm,
      |     show-plain-text-internally
      |character-set=ISO-8859-1
      |speller=/usr/local/bin/ispell
      |composer-wrap-column=128
      |sort-key=thread


    9)  Now just remove any previous ~/.pinerc files and run pine.
        Use the S for Setup
        Use the C for Config
        Change a few things, like your name if necessary.
        To read news, enter an nntp-server.  If your nntp-server
        login name is differnt from you UnixWare 7 username, then
        you need to make your nntp-server: field look like this,
news.pacbell.net/user=matt123
Otherwise, leave off the /user=matt123 part and just use your news server's FQDN.
10) Finally exit pine and do the final trick: setting the From: What I mean by this everyone's email has a return address on it in the From: field.
Everybody needs to specify a From: by hand, unless you own a registered, named domain, and are running pine from there. When I set my user-domain in pine.conf to pacbell.net, I'm setting the right hand side of the @. When I set my From: as described below, I'm setting the whole email@address.com.
To set your From: vi ~/.pinerc
Part of my ~/.pinerc ----------------------------------------------------------- |customized-hdrs=From: Matt Schalit <mschalit@pacbell.net> |

    That's about it.  Pine pauses a lot when reading news, so don't
    be alarmed if it takes a long time to enter a group.


gerberb@zenez.com

[Append to This Answer]
Previous: (Answer) Where can I get MySQL Binaries for SCO Operating Systemss (OS)s?
Next: (Answer) Alladin Ghostscript gs7.00
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=290
[Search] [Appearance]
This is a Faq-O-Matic 2.721.