Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14020 - "pine -conf" gives incorrect output, and global pine config file does not seem to exist
Summary: "pine -conf" gives incorrect output, and global pine config file does not see...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-16 03:23 UTC by macmasta
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description macmasta 2003-01-16 03:23:31 UTC
According to the pine documentation, there are both a pine.conf and a
pine.conf.fixed somewhere on the system, which are used to set global pine
configuration options.

According to this same documentation, running "pine -conf" will give the output
of this file.

My system shows the following:

robotics local # emerge -s pine
Searching...   
[ Results for search key : pine ]
[ Applications found : 3 ]
 
*  net-mail/pine
      Latest version available: 4.50-r4
      Latest version installed: 4.50-r4
      Size of downloaded files: 3,684 kB
      Homepage:    http://www.washington.edu/pine/
      Description: A tool for reading, sending and managing electronic messages.

<rest of output snipped>

pine -conf
#      /usr/local/lib/pine.conf -- system wide pine configuration
#
# Values here affect all pine users unless they've overidden the values
# in their .pinerc files.  A copy of this file with current comments may
# be obtained by running "pine -conf". It will be printed to standard output.
#
# For a variable to be unset its value must be null/blank.  This is not the
# same as the value of "empty string", which can be used to effectively
# "unset" a variable that has a default or previously assigned value.
# To set a variable to the empty string its value should be "".
<rest of output snipped>

navigating to /usr/local/lib, I found nothing.

I created pine.conf, and the system now shows:

robotics lib # cat /usr/local/lib/pine.conf 
inbox-path={localhost/ssl/novalidate-cert/USER=${USER}}INBOX
folder-collections={localhost/ssl/novalidate-cert}INBOX.[]

which are the options I want to set. 

pine -conf continues to output the same thing it did beforehand.

to make sure that pine.conf isn't somewhere else:

robotics lib # updatedb && locate pine.conf
/usr/local/lib/pine.conf

a straight "locate pine" yields nothing that's not a ~/.pinerc, or in
/usr/portage, /var/db/pkg,/var/cache/ /usr/share/doc, or /usr/share/man.

Offhand, a workaround would be to add those two lines to /etc/skel/.pinerc, but
that's a kludge.

Thanks!


~Mac~
Comment 1 Nick Hadaway 2003-02-04 13:22:46 UTC
I have updated pine to pine-4.53-r3 which moves the pine config files to /etc.

Here is some clarification on "pine -conf"

-conf
          Configuration: Prints a sample system configuration file to the
          screen or standard output. To generate an initial system
          configuration file, execute
                pine -conf > /usr/local/lib/pine.conf
          To generate a system configuration file using settings from an
          old system configuration file, execute
                pine -P old-pine.conf -conf > /usr/local/lib/pine.conf 
          A system configuration file is not required.

you only use -conf to generate the initial config or migrate on old config file.