diff options
Diffstat (limited to 'editors/joe2/files')
-rw-r--r-- | editors/joe2/files/patch-aa | 106 | ||||
-rw-r--r-- | editors/joe2/files/patch-ab | 37 | ||||
-rw-r--r-- | editors/joe2/files/patch-ac | 16 | ||||
-rw-r--r-- | editors/joe2/files/patch-ad | 66 | ||||
-rw-r--r-- | editors/joe2/files/patch-ae | 8 |
5 files changed, 0 insertions, 233 deletions
diff --git a/editors/joe2/files/patch-aa b/editors/joe2/files/patch-aa deleted file mode 100644 index 755912494edf..000000000000 --- a/editors/joe2/files/patch-aa +++ /dev/null @@ -1,106 +0,0 @@ -*** Makefile.orig Sat Jul 1 18:43:39 1995 ---- Makefile Sat Jul 1 18:59:47 1995 -*************** -*** 9,17 **** - # to go and where you want the man page - # to go: - -! WHEREJOE = /usr/local/bin -! WHERERC = /usr/local/lib -! WHEREMAN = /usr/man/man1 - - # If you want to use TERMINFO, you have to set - # the following variable to 1. Also you have to ---- 9,17 ---- - # to go and where you want the man page - # to go: - -! WHEREJOE = ${PREFIX}/bin -! WHERERC = ${PREFIX}/lib -! WHEREMAN = ${PREFIX}/man/man1 - - # If you want to use TERMINFO, you have to set - # the following variable to 1. Also you have to -*************** -*** 27,33 **** - - # C compiler options: make's built-in rules use this variable - -! CFLAGS = -O - - # C compiler to use: make's built-in rules use this variable - ---- 27,33 ---- - - # C compiler options: make's built-in rules use this variable - -! # CFLAGS = -O - - # C compiler to use: make's built-in rules use this variable - -*************** -*** 84,100 **** - - # Install proceedure - -! install: joe termidx - strip joe -! strip termidx - if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi -! rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe $(WHEREJOE)/termidx - mv joe $(WHEREJOE) - ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs - ln $(WHEREJOE)/joe $(WHEREJOE)/jstar - ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe - ln $(WHEREJOE)/joe $(WHEREJOE)/jpico -! mv termidx $(WHEREJOE) - if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi - rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1 - cp joerc $(WHERERC) ---- 84,100 ---- - - # Install proceedure - -! install: joe # termidx - strip joe -! # strip termidx - if [ ! -d $(WHEREJOE) ]; then mkdir $(WHEREJOE); chmod a+rx $(WHEREJOE); fi -! rm -f $(WHEREJOE)/joe $(WHEREJOE)/jmacs $(WHEREJOE)/jstar $(WHEREJOE)/jpico $(WHEREJOE)/rjoe # $(WHEREJOE)/termidx - mv joe $(WHEREJOE) - ln $(WHEREJOE)/joe $(WHEREJOE)/jmacs - ln $(WHEREJOE)/joe $(WHEREJOE)/jstar - ln $(WHEREJOE)/joe $(WHEREJOE)/rjoe - ln $(WHEREJOE)/joe $(WHEREJOE)/jpico -! # mv termidx $(WHEREJOE) - if [ ! -d $(WHERERC) ]; then mkdir $(WHERERC); chmod a+rx $(WHERERC); fi - rm -f $(WHERERC)/joerc $(WHERERC)/jmacsrc $(WHERERC)/jstarrc $(WHERERC)/jpicorc $(WHERERC)/rjoerc $(WHEREMAN)/joe.1 - cp joerc $(WHERERC) -*************** -*** 114,126 **** - chmod a+r $(WHERERC)/rjoerc - chmod a+r $(WHERERC)/jpicorc - chmod a+r $(WHEREMAN)/joe.1 -! chmod a+x $(WHEREJOE)/termidx -! rm -f $(WHERERC)/termcap -! cp termcap $(WHERERC)/termcap -! chmod a+r $(WHERERC)/termcap -! rm -f $(WHERERC)/terminfo -! cp terminfo $(WHERERC)/terminfo -! chmod a+r $(WHERERC)/terminfo - - # Cleanup proceedure - ---- 114,126 ---- - chmod a+r $(WHERERC)/rjoerc - chmod a+r $(WHERERC)/jpicorc - chmod a+r $(WHEREMAN)/joe.1 -! # chmod a+x $(WHEREJOE)/termidx -! # rm -f $(WHERERC)/termcap -! # cp termcap $(WHERERC)/termcap -! # chmod a+r $(WHERERC)/termcap -! # rm -f $(WHERERC)/terminfo -! # cp terminfo $(WHERERC)/terminfo -! # chmod a+r $(WHERERC)/terminfo - - # Cleanup proceedure - diff --git a/editors/joe2/files/patch-ab b/editors/joe2/files/patch-ab deleted file mode 100644 index 7d9fed0e9226..000000000000 --- a/editors/joe2/files/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ ---- main.c.orig Sun Jan 22 01:21:08 1995 -+++ main.c Tue Dec 7 13:57:42 1999 -@@ -19,4 +19,8 @@ - #include <stdio.h> - #include <fcntl.h> -+#ifdef __FreeBSD__ -+#include <locale.h> -+#include <ctype.h> -+#endif - #include "config.h" - #include "w.h" -@@ -188,4 +192,18 @@ - #endif - -+#ifdef __FreeBSD__ -+ setlocale(LC_ALL, ""); -+ for(c=0;c<256;c++) -+ { int a=0; -+ if(iscntrl(c)) -+ a|=UNDERLINE; -+ if((c&0x80)&&!isprint(c)) -+ a|=INVERSE; -+ xlata[c]=a; -+ if(isprint(c)) -+ xlatc[c]=c; -+ } -+#endif -+ - if(s=getenv("LINES")) sscanf(s,"%d",&lines); - if(s=getenv("COLUMNS")) sscanf(s,"%d",&columns); -@@ -366,5 +384,5 @@ - if(help) helpon(maint); - if(!nonotice) -- msgnw(lastw(maint)->object,"\\i** Joe's Own Editor v2.8 ** Copyright (C) 1995 Joseph H. Allen **\\i"); -+ msgnw(lastw(maint)->object,"\\i** Joe's Own Editor v2.8l ** Copyright (C) 1995 Joseph H. Allen **\\i"); - edloop(0); - vclose(vmem); diff --git a/editors/joe2/files/patch-ac b/editors/joe2/files/patch-ac deleted file mode 100644 index a479bec93fe6..000000000000 --- a/editors/joe2/files/patch-ac +++ /dev/null @@ -1,16 +0,0 @@ ---- scrn.c.old Thu Oct 6 02:10:07 1994 -+++ scrn.c Thu Sep 11 11:45:47 1997 -@@ -288,6 +288,12 @@ - if(!(t->uc=jgetstr(t->cap,"uc"))) if(t->ul) t->uc="_"; - if(t->uc) t->avattr|=UNDERLINE; - -+/* If we don't have underline, but we do have bold, print underline as bold */ -+if (!(t->avattr & UNDERLINE) && t->md != NULL) -+ { -+ t->us = t->md ; t->ue = t->me ; t->avattr |= UNDERLINE; -+ } -+ - t->ms=getflag(t->cap,"ms"); - - t->da=getflag(t->cap,"da"); - diff --git a/editors/joe2/files/patch-ad b/editors/joe2/files/patch-ad deleted file mode 100644 index a57f81ee61e2..000000000000 --- a/editors/joe2/files/patch-ad +++ /dev/null @@ -1,66 +0,0 @@ ---- b.c.orig Fri Jan 20 13:38:25 1995 -+++ b.c Tue Dec 28 15:56:10 1999 -@@ -22,4 +22,7 @@ - #endif - #include <errno.h> -+#include <sys/file.h> -+#include <sys/types.h> -+#include <sys/stat.h> - - #include "config.h" -@@ -202,4 +205,5 @@ - else b->o=pdefault; - mset(b->marks,0,sizeof(b->marks)); -+ b->filehandle = -1; /* initialize filehandle &&& ob */ - b->rdonly=0; - b->orphan=0; -@@ -256,4 +260,8 @@ - if(b && !--b->count) - { -+ if (b->filehandle != -1) { -+ /* close filehandle, free lock &&& ob */ -+ close (b->filehandle); -+ } - if(b->changed) abrerr(b->name); - if(b==errbuf) errbuf=0; -@@ -1672,5 +1680,6 @@ - long skip,amnt; - char *n; -- int nowrite=0; -+ struct stat sb; -+ int nowrite=0,fh=-1; - - if(!s || !s[0]) -@@ -1705,4 +1714,26 @@ - fi=fopen(n,"r"); - if(!fi) nowrite=0; -+/*printf ("nowrite open=%i\n", nowrite); */ -+ -+ /* check file mod, if no write flags set, -+ joe in read only mode. &&& ob */ -+ -+ if (!nowrite) { -+ nowrite = (!stat (n, &sb)) && (!(sb.st_mode & (S_IWUSR | S_IWGRP | S_IWOTH))); -+ } -+/*printf ("nowrite stat=%i\n", nowrite); */ -+ -+ /* lock the file if writable, or go into read only mode if -+ already locked, */ -+ -+ if ((fi) && (!nowrite)) { -+ fh = dup( fileno(fi) ); -+ nowrite = (flock (fh, LOCK_EX | LOCK_NB)); -+ } -+/*printf ("nowrite flock=%i\n", nowrite); */ -+ -+/*nowrite = 1; */ /* for test purpose */ -+/*printf ("nowrite=%i\n", nowrite); */ -+ - } - joesep(n); -@@ -1762,4 +1793,5 @@ - - b->er=error; -+ if( fh != -1 ) b->filehandle = fh; - return b; - } diff --git a/editors/joe2/files/patch-ae b/editors/joe2/files/patch-ae deleted file mode 100644 index 4f01692773cc..000000000000 --- a/editors/joe2/files/patch-ae +++ /dev/null @@ -1,8 +0,0 @@ ---- b.h.orig Wed Dec 21 13:04:46 1994 -+++ b.h Tue Dec 7 13:35:11 1999 -@@ -61,4 +61,5 @@ - int internal; /* Set for internal buffers */ - int er; /* Error code when file was loaded */ -+ int filehandle; /* File handle for locking */ - }; - |