Subject: Re: pine-3.91 mail reader
To: Jose Alburquerque <albu3619@css1s0.engr.ccny.cuny.edu>
From: Jonathan O'Brien <obrien@phoenix.sfsu.edu>
List: current-users
Date: 01/01/1996 21:33:35
On Mon, 1 Jan 1996, Jose Alburquerque wrote:

> I hate to bother anyone with this, but is anyone out there using pine3.91 for
> NetBSD.  I got the sources and compiled on a NetBSD-1.1-Amiga and it runs
> beautifully, I just can't get it to save changes to my .pinerc when I change
> some configurations.  (for information, I change options by typing M (for
> main menu), then S (for setup) and C (for configure)) I change my options and
> then exit, but no save is done.  Could this have to do with permissions?  I'm
> crossposting this message to netbsd-help in case I should not post this here. 
> I'm sorry if I've inconvenienced anyone.  Thanks a lot! Bye. 
> 
> -jose
> 
> P.S. I want to fix this because it asks if I wish to request the docs by 
>      e-mail each time I start up which is really sort of annoying.  
>      Again, any info would be appreciated.
> 

The following worked for me.

Jon


*** pine3.91/imap/ANSI/c-client/os_neb.h	1995/10/29 07:12:45	1.1
--- pine3.91/imap/ANSI/c-client/os_neb.h	1995/10/29 07:14:47
***************
*** 42,47 ****
--- 42,48 ----
  #include <sys/types.h>
  #include <sys/dir.h>
  #include <sys/uio.h>		/* needed for writev() prototypes */
+ #include <unistd.h>
  #include <syslog.h>
  
  #include "env_unix.h"
*** pine3.91/pine/osdep/os-neb.h	1995/10/29 04:59:46	1.1
--- pine3.91/pine/osdep/os-neb.h	1995/10/29 05:46:56
***************
*** 216,221 ****
--- 216,223 ----
  #include <sys/stat.h>
  #include <fcntl.h>
  #include <netdb.h>
+ #include <sys/uio.h>
+ #include <unistd.h>
  
  
  /*----------------- time.h ---------------------------------------------*/