diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1996-04-30 05:59:29 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1996-04-30 05:59:29 +0000 |
commit | 0ad8957a8e721d448f1b580148947bc887696d75 (patch) | |
tree | ed4bf69749ded002d12359ddb223c8c8df2c9c34 /japanese/pine/files | |
parent | e7d7e6055561d39cf6767575dcc1d23abe47998e (diff) | |
download | ports-0ad8957a8e721d448f1b580148947bc887696d75.tar.gz ports-0ad8957a8e721d448f1b580148947bc887696d75.zip |
Japanized pine for reading and writing Japanese mails (obviously!).
Submitted by: max@sfc.wide.ad.jp
Notes
Notes:
svn path=/head/; revision=3047
Diffstat (limited to 'japanese/pine/files')
-rw-r--r-- | japanese/pine/files/patch-aa | 45 | ||||
-rw-r--r-- | japanese/pine/files/patch-ab | 34 | ||||
-rw-r--r-- | japanese/pine/files/patch-ac | 88 | ||||
-rw-r--r-- | japanese/pine/files/patch-ad | 58 | ||||
-rw-r--r-- | japanese/pine/files/patch-ae | 28 | ||||
-rw-r--r-- | japanese/pine/files/patch-af | 100 | ||||
-rw-r--r-- | japanese/pine/files/patch-ag | 12 | ||||
-rw-r--r-- | japanese/pine/files/patch-ah | 15 | ||||
-rw-r--r-- | japanese/pine/files/patch-ak | 10 | ||||
-rw-r--r-- | japanese/pine/files/patch-al | 29 |
10 files changed, 419 insertions, 0 deletions
diff --git a/japanese/pine/files/patch-aa b/japanese/pine/files/patch-aa new file mode 100644 index 000000000000..200d7393c348 --- /dev/null +++ b/japanese/pine/files/patch-aa @@ -0,0 +1,45 @@ +*** imap/ANSI/c-client/mtest.c.bak Mon Sep 5 05:41:28 1994 +--- imap/ANSI/c-client/mtest.c Mon Nov 20 03:00:21 1995 +*************** +*** 454,461 **** + + void prompt (char *msg,char *txt) + { + printf ("%s",msg); +! gets (txt); + } + + /* Interfaces to C-client */ +--- 454,465 ---- + + void prompt (char *msg,char *txt) + { ++ char *s; + printf ("%s",msg); +! *txt = '\0'; +! fgets (txt, MAILTMPLEN, stdin); +! if (s = strchr(txt, '\n')) +! *s = '\0'; + } + + /* Interfaces to C-client */ +*************** +*** 600,606 **** + puts (" Msg (end with a line with only a '.'):"); + body->type = TYPETEXT; + *text = '\0'; +! while (gets (line)) { + if (line[0] == '.') { + if (line[1] == '\0') break; + else strcat ((char *) text,"."); +--- 604,613 ---- + puts (" Msg (end with a line with only a '.'):"); + body->type = TYPETEXT; + *text = '\0'; +! while (fgets (line, sizeof(line), stdin)) { +! char *s = strchr(line, '\n'); +! if (s) +! *s = '\0'; + if (line[0] == '.') { + if (line[1] == '\0') break; + else strcat ((char *) text,"."); diff --git a/japanese/pine/files/patch-ab b/japanese/pine/files/patch-ab new file mode 100644 index 000000000000..01df30769922 --- /dev/null +++ b/japanese/pine/files/patch-ab @@ -0,0 +1,34 @@ +*** imap/ANSI/c-client/Makefile.orig Tue Oct 11 00:13:08 1994 +--- imap/ANSI/c-client/Makefile Mon Nov 28 12:50:03 1994 +*************** +*** 36,42 **** + BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \ + news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \ + osdep.o sm_unix.o newsrc.o +! CFLAGS=$(EXTRACFLAGS) + DEFAULTDRIVERS=imap nntp pop3 mh mtx tenex mmdf bezerk news phile dummy + LN=ln -s + MAKE=make +--- 36,42 ---- + BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \ + news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \ + osdep.o sm_unix.o newsrc.o +! CFLAGS+=$(EXTRACFLAGS) + DEFAULTDRIVERS=imap nntp pop3 mh mtx tenex mmdf bezerk news phile dummy + LN=ln -s + MAKE=make +*************** +*** 84,89 **** +--- 84,95 ---- + $(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \ + STDPROTO=bezerkproto \ + RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe $(EXTRACFLAGS)" ++ ++ bsf: # FreeBSD ++ $(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \ ++ STDPROTO=bezerkproto \ ++ LDFLAGS="-lcrypt" \ ++ RSHPATH=/usr/bin/rsh CFLAGS="$(CFLAGS)" + + cvx: # Convex + $(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \ diff --git a/japanese/pine/files/patch-ac b/japanese/pine/files/patch-ac new file mode 100644 index 000000000000..4a78f7ad85dc --- /dev/null +++ b/japanese/pine/files/patch-ac @@ -0,0 +1,88 @@ +*** imap/ANSI/c-client/os_bsf.c Thu Jan 1 01:00:00 1970 +--- imap/ANSI/c-client/os_bsf.c Fri Sep 2 02:35:44 1994 +*************** +*** 0 **** +--- 1,83 ---- ++ /* ++ * Program: Operating-system dependent routines -- BSDI BSD/386 version ++ * ++ * Author: Mark Crispin ++ * Networks and Distributed Computing ++ * Computing & Communications ++ * University of Washington ++ * Administration Building, AG-44 ++ * Seattle, WA 98195 ++ * Internet: MRC@CAC.Washington.EDU ++ * ++ * Date: 1 August 1988 ++ * Last Edited: 11 July 1994 ++ * ++ * Copyright 1994 by the University of Washington ++ * ++ * Permission to use, copy, modify, and distribute this software and its ++ * documentation for any purpose and without fee is hereby granted, provided ++ * that the above copyright notice appears in all copies and that both the ++ * above copyright notice and this permission notice appear in supporting ++ * documentation, and that the name of the University of Washington not be ++ * used in advertising or publicity pertaining to distribution of the software ++ * without specific, written prior permission. This software is made available ++ * "as is", and ++ * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, ++ * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED ++ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN ++ * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL, ++ * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ++ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT ++ * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION ++ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ++ * ++ */ ++ ++ #include "tcp_unix.h" /* must be before osdep includes tcp.h */ ++ #include "mail.h" ++ #include "osdep.h" ++ #include <stdio.h> ++ #include <sys/time.h> ++ #include <sys/stat.h> ++ #include <sys/socket.h> ++ #include <netinet/in.h> ++ #include <arpa/inet.h> ++ #include <netdb.h> ++ #include <ctype.h> ++ #include <errno.h> ++ extern int errno; /* just in case */ ++ #include <pwd.h> ++ #include "misc.h" ++ extern char *crypt(); ++ ++ ++ #include "fs_unix.c" ++ #include "ftl_unix.c" ++ #include "nl_unix.c" ++ #define OWN_RFC_DATE ++ #include "env_unix.c" ++ #include "tcp_unix.c" ++ #include "log_std.c" ++ #include "gr_waitp.c" ++ #include "tz_bsd.c" ++ ++ /* Write current time in RFC 822 format ++ * Accepts: destination string ++ */ ++ ++ void rfc822_date (char *date) ++ { ++ int zone; ++ char *zonename; ++ struct tm *t; ++ struct timeval tv; ++ struct timezone tz; ++ gettimeofday (&tv,&tz); /* get time and timezone poop */ ++ t = localtime (&tv.tv_sec); /* convert to individual items */ ++ zone = t->tm_gmtoff/60; /* get timezone from TZ environment stuff */ ++ zonename = t->tm_zone; ++ /* and output it */ ++ sprintf (date,"%s, %d %s %d %02d:%02d:%02d %+03d%02d (%s)", ++ days[t->tm_wday],t->tm_mday,months[t->tm_mon],t->tm_year+1900, ++ t->tm_hour,t->tm_min,t->tm_sec,zone/60,abs (zone) % 60,zonename); ++ } diff --git a/japanese/pine/files/patch-ad b/japanese/pine/files/patch-ad new file mode 100644 index 000000000000..208c08faaaca --- /dev/null +++ b/japanese/pine/files/patch-ad @@ -0,0 +1,58 @@ +*** imap/ANSI/c-client/os_bsf.h Thu Jan 1 01:00:00 1970 +--- imap/ANSI/c-client/os_bsf.h Sat Sep 3 15:33:50 1994 +*************** +*** 0 **** +--- 1,53 ---- ++ /* ++ * Program: Operating-system dependent routines -- BSDI BSD/386 version ++ * ++ * Author: Mark Crispin ++ * Networks and Distributed Computing ++ * Computing & Communications ++ * University of Washington ++ * Administration Building, AG-44 ++ * Seattle, WA 98195 ++ * Internet: MRC@CAC.Washington.EDU ++ * ++ * Date: 5 March 1993 ++ * Last Edited: 11 July 1994 ++ * ++ * Copyright 1994 by the University of Washington ++ * ++ * Permission to use, copy, modify, and distribute this software and its ++ * documentation for any purpose and without fee is hereby granted, provided ++ * that the above copyright notice appears in all copies and that both the ++ * above copyright notice and this permission notice appear in supporting ++ * documentation, and that the name of the University of Washington not be ++ * used in advertising or publicity pertaining to distribution of the software ++ * without specific, written prior permission. This software is made available ++ * "as is", and ++ * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, ++ * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED ++ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN ++ * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL, ++ * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ++ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT ++ * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION ++ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ++ * ++ */ ++ ++ #define MAILFILE "/var/mail/%s" ++ #define ACTIVEFILE "/usr/local/lib/news/active" ++ #define NEWSSPOOL "/var/news" ++ #define NEWSRC strcat (strcpy (tmp,myhomedir ()),"/.newsrc") ++ ++ #include <stdlib.h> ++ #include <string.h> ++ #include <sys/types.h> ++ #include <sys/dir.h> ++ #include <sys/uio.h> /* needed for writev() prototypes */ ++ #include <syslog.h> ++ #include <unistd.h> ++ ++ #include "env_unix.h" ++ #include "fs.h" ++ #include "ftl.h" ++ #include "nl.h" ++ #include "tcp.h" diff --git a/japanese/pine/files/patch-ae b/japanese/pine/files/patch-ae new file mode 100644 index 000000000000..625967455d30 --- /dev/null +++ b/japanese/pine/files/patch-ae @@ -0,0 +1,28 @@ +*** imap/Makefile Sat Jun 18 04:53:04 1994 +--- imap/Makefile Sat Sep 3 17:38:37 1994 +*************** +*** 46,50 **** + @false + +! a32 aix bsi d-g lnx mct mnt neb nxt osf sco sgi: + $(MAKE) build SYSTYPE=ANSI OS=$@ + +--- 46,50 ---- + @false + +! a32 aix bsi bsf d-g lnx mct mnt neb nxt osf sco sgi: + $(MAKE) build SYSTYPE=ANSI OS=$@ + +*************** +*** 65,69 **** + + clean: +! $(RM) systype + cd ANSI/imapd;$(MAKE) clean + cd ANSI/ipopd;$(MAKE) clean +--- 65,69 ---- + + clean: +! $(RM) systype OSTYPE + cd ANSI/imapd;$(MAKE) clean + cd ANSI/ipopd;$(MAKE) clean diff --git a/japanese/pine/files/patch-af b/japanese/pine/files/patch-af new file mode 100644 index 000000000000..759d5792206a --- /dev/null +++ b/japanese/pine/files/patch-af @@ -0,0 +1,100 @@ +*** pico/makefile.bsf.orig Tue Apr 9 04:04:05 1996 +--- pico/makefile.bsf Tue Apr 9 23:05:41 1996 +*************** +*** 0 **** +--- 1,95 ---- ++ # $Id: patch-aa,v 1.9 1995/11/20 00:40:51 ache Exp $ ++ # ++ # Michael Seibel ++ # Networks and Distributed Computing ++ # Computing and Communications ++ # University of Washington ++ # Administration Builiding, AG-44 ++ # Seattle, Washington, 98195, USA ++ # Internet: mikes@cac.washington.edu ++ # ++ # Please address all bugs and comments to "pine-bugs@cac.washington.edu" ++ # ++ # Copyright 1991-1994 University of Washington ++ # ++ # Permission to use, copy, modify, and distribute this software and its ++ # documentation for any purpose and without fee to the University of ++ # Washington is hereby granted, provided that the above copyright notice ++ # appears in all copies and that both the above copyright notice and this ++ # permission notice appear in supporting documentation, and that the name ++ # of the University of Washington not be used in advertising or publicity ++ # pertaining to distribution of the software without specific, written ++ # prior permission. This software is made available "as is", and ++ # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, ++ # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED ++ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN ++ # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL, ++ # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM ++ # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT ++ # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION ++ # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ++ # ++ # Pine and Pico are trademarks of the University of Washington. ++ # No commercial use of these trademarks may be made without prior ++ # written permission of the University of Washington. ++ # ++ ++ # ++ # Makefile for BSD/386 Gamma 4.1 version of the PINE composer library and ++ # stand-alone editor pico. ++ # ++ ++ #includes symbol info for debugging ++ #DASHO= -g -O -pipe ++ #for normal build ++ #DASHO= -O ++ ++ CFLAGS+= -DJOB_CONTROL -DANSI -DKANJI ++ ++ # switches for library building ++ LIBCMD= ar ++ LIBARGS= ru ++ RANLIB= ranlib ++ ++ LIBS= -ltermcap ++ ++ OFILES= attach.o ansi.o basic.o bind.o browse.o buffer.o \ ++ composer.o display.o file.o fileio.o line.o osdep.o \ ++ pico.o random.o region.o search.o spell.o tcap.o window.o word.o \ ++ jctype.o kanji.o ++ ++ CFILES= attach.c ansi.c basic.c bind.c browse.c buffer.c \ ++ composer.c display.c file.c fileio.c line.c osdep.c \ ++ pico.c random.c region.c search.c spell.c tcap.c window.c word.c \ ++ jctype.c kanji.c ++ ++ HFILES= estruct.h edef.h efunc.h ebind.h pico.h osdep.h \ ++ jctype.h kanji.h ++ ++ ++ # ++ # dependencies for the Unix versions of pico and libpico.a ++ # ++ all: pico ++ ++ osdep.c: os_unix.c ++ rm -f osdep.c ++ cp os_unix.c osdep.c ++ ++ osdep.h: os_unix.h ++ rm -f osdep.h ++ cp os_unix.h osdep.h ++ ++ libpico.a: osdep.c osdep.h $(OFILES) ++ $(LIBCMD) $(LIBARGS) libpico.a $(OFILES) ++ $(RANLIB) libpico.a ++ ++ pico: main.c libpico.a ++ $(CC) $(CFLAGS) $(DASHO) main.c libpico.a $(LIBS) -o pico ++ ++ .c.o: ; $(CC) -c $(CFLAGS) $(DASHO) $*.c ++ ++ $(OFILES): $(HFILES) ++ ++ clean: ++ rm -f pico *.a *.o *~ osdep.c osdep.h diff --git a/japanese/pine/files/patch-ag b/japanese/pine/files/patch-ag new file mode 100644 index 000000000000..e562fb4a67d3 --- /dev/null +++ b/japanese/pine/files/patch-ag @@ -0,0 +1,12 @@ +*** pico/os_unix.c Thu Aug 11 21:13:34 1994 +--- pico/os_unix.c Fri Sep 2 02:35:45 1994 +*************** +*** 952,956 **** +--- 952,958 ---- + int err; + { ++ #ifndef __FreeBSD__ + extern char *sys_errlist[]; ++ #endif + extern int sys_nerr; + diff --git a/japanese/pine/files/patch-ah b/japanese/pine/files/patch-ah new file mode 100644 index 000000000000..a09f8427e3f7 --- /dev/null +++ b/japanese/pine/files/patch-ah @@ -0,0 +1,15 @@ +*** pico/os_unix.h Mon Jun 27 18:33:43 1994 +--- pico/os_unix.h Fri Sep 2 02:35:45 1994 +*************** +*** 104,108 **** + * type qsort() expects + */ +! #if defined(nxt) || defined(neb) + #define QSType void + #define QcompType const void +--- 104,108 ---- + * type qsort() expects + */ +! #if defined(nxt) || defined(neb) || defined(__FreeBSD__) + #define QSType void + #define QcompType const void diff --git a/japanese/pine/files/patch-ak b/japanese/pine/files/patch-ak new file mode 100644 index 000000000000..de6b3321f5d8 --- /dev/null +++ b/japanese/pine/files/patch-ak @@ -0,0 +1,10 @@ +*** pine/osdep/err_desc Fri Jul 16 01:06:44 1993 +--- pine/osdep/err_desc Fri Sep 2 02:35:46 1994 +*************** +*** 1,3 **** +--- 1,5 ---- ++ #if !defined(__FreeBSD__) + extern char *sys_errlist[]; ++ #endif + + /*---------------------------------------------------------------------- diff --git a/japanese/pine/files/patch-al b/japanese/pine/files/patch-al new file mode 100644 index 000000000000..b96cbd8aa96a --- /dev/null +++ b/japanese/pine/files/patch-al @@ -0,0 +1,29 @@ +*** pine/osdep/makefile.orig Tue Apr 9 04:03:23 1996 +--- pine/osdep/makefile Tue Apr 9 04:33:59 1996 +*************** +*** 7,13 **** + os-dyn.c os-gen.c os-hpp.c os-isc.c os-lnx.c os-nxt.c \ + os-osf.c os-ptx.c os-s40.c os-sgi.c \ + os-sun.c os-sv4.c os-ult.c os-aux.c \ +! os-ews.c + + .SUFFIXES: .ic + +--- 7,13 ---- + os-dyn.c os-gen.c os-hpp.c os-isc.c os-lnx.c os-nxt.c \ + os-osf.c os-ptx.c os-s40.c os-sgi.c \ + os-sun.c os-sv4.c os-ult.c os-aux.c \ +! os-bsf.c os-ews.c + + .SUFFIXES: .ic + +*************** +*** 43,48 **** +--- 43,49 ---- + os-aux.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename.hom sendmail tempfile tempnam writ_dir os-aux.ic + os-bsd.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsd.ic + os-bsi.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsi.ic ++ os-bsf.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-bsf.ic + os-cvx.c: bld_path canacces canonicl chnge_pw coredump creatdir diskquot.non domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile tempnam writ_dir os-cvx.ic + os-dos.c: bld_path.dos canacces canonicl.dos chnge_pw.dos coredump creatdir.dos diskquot.non domnames.dos dosextra err_desc.dos execview.dos expnfldr.dos fgetpos filesize fltrname.dos fnexpand.dos header hostname jobcntrl.dos lstcmpnt.dos mimedisp pipe.dos pw_stuff.dos readfile.dos rename.dos sendmail.dos tempfile tempnam.dos writ_dir os-dos.ic + os-dyn.c: bld_path canacces canonicl chnge_pw coredump.fpe creatdir diskquot.sun domnames err_desc execview expnfldr fgetpos.non filesize fltrname fnexpand header hostname jobcntrl lstcmpnt mimedisp pipe pw_stuff readfile rename sendmail tempfile.non tempnam writ_dir os-dyn.ic |