aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-10-15 13:08:04 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-10-15 13:08:04 +0000
commit3786b2fff956abebc9378feac28f7bdbbab24865 (patch)
tree221f280ea95f56983aad4f8d816a1929110c4243 /editors
parent3b2cf5fed492c79570790c852e63d4b49d949af7 (diff)
downloadports-3786b2fff956abebc9378feac28f7bdbbab24865.tar.gz
ports-3786b2fff956abebc9378feac28f7bdbbab24865.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/joe-devel/files/patch-ab63
-rw-r--r--editors/joe/files/patch-ab63
-rw-r--r--editors/joe2/files/patch-ab63
3 files changed, 189 insertions, 0 deletions
diff --git a/editors/joe-devel/files/patch-ab b/editors/joe-devel/files/patch-ab
new file mode 100644
index 000000000000..8268c6c9d4a7
--- /dev/null
+++ b/editors/joe-devel/files/patch-ab
@@ -0,0 +1,63 @@
+*** main.c.old Sun Jan 22 03:21:08 1995
+--- main.c Tue Oct 15 16:54:32 1996
+***************
+*** 18,23 ****
+--- 18,27 ----
+
+ #include <stdio.h>
+ #include <fcntl.h>
++ #ifdef __FreeBSD__
++ #include <locale.h>
++ #include <ctype.h>
++ #endif
+ #include "config.h"
+ #include "w.h"
+ #include "tty.h"
+***************
+*** 186,191 ****
+--- 190,209 ----
+ #else
+ run=namprt(argv[0]);
+ #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);
+*** scrn.h.old Thu Oct 6 10:09:04 1994
+--- scrn.h Tue Oct 15 16:42:29 1996
+***************
+*** 254,263 ****
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned)(c)]), ((c)=xlatc[(unsigned)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);
+--- 254,263 ----
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned char)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned char)(c)]), ((c)=xlatc[(unsigned char)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);
diff --git a/editors/joe/files/patch-ab b/editors/joe/files/patch-ab
new file mode 100644
index 000000000000..8268c6c9d4a7
--- /dev/null
+++ b/editors/joe/files/patch-ab
@@ -0,0 +1,63 @@
+*** main.c.old Sun Jan 22 03:21:08 1995
+--- main.c Tue Oct 15 16:54:32 1996
+***************
+*** 18,23 ****
+--- 18,27 ----
+
+ #include <stdio.h>
+ #include <fcntl.h>
++ #ifdef __FreeBSD__
++ #include <locale.h>
++ #include <ctype.h>
++ #endif
+ #include "config.h"
+ #include "w.h"
+ #include "tty.h"
+***************
+*** 186,191 ****
+--- 190,209 ----
+ #else
+ run=namprt(argv[0]);
+ #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);
+*** scrn.h.old Thu Oct 6 10:09:04 1994
+--- scrn.h Tue Oct 15 16:42:29 1996
+***************
+*** 254,263 ****
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned)(c)]), ((c)=xlatc[(unsigned)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);
+--- 254,263 ----
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned char)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned char)(c)]), ((c)=xlatc[(unsigned char)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);
diff --git a/editors/joe2/files/patch-ab b/editors/joe2/files/patch-ab
new file mode 100644
index 000000000000..8268c6c9d4a7
--- /dev/null
+++ b/editors/joe2/files/patch-ab
@@ -0,0 +1,63 @@
+*** main.c.old Sun Jan 22 03:21:08 1995
+--- main.c Tue Oct 15 16:54:32 1996
+***************
+*** 18,23 ****
+--- 18,27 ----
+
+ #include <stdio.h>
+ #include <fcntl.h>
++ #ifdef __FreeBSD__
++ #include <locale.h>
++ #include <ctype.h>
++ #endif
+ #include "config.h"
+ #include "w.h"
+ #include "tty.h"
+***************
+*** 186,191 ****
+--- 190,209 ----
+ #else
+ run=namprt(argv[0]);
+ #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);
+*** scrn.h.old Thu Oct 6 10:09:04 1994
+--- scrn.h Tue Oct 15 16:42:29 1996
+***************
+*** 254,263 ****
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned)(c)]), ((c)=xlatc[(unsigned)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);
+--- 254,263 ----
+
+ #define xlat(a,c) \
+ ( \
+! (dspasis && ((unsigned char)(c)>=128)) ? \
+ ((a)=0) \
+ : \
+! (((a)=xlata[(unsigned char)(c)]), ((c)=xlatc[(unsigned char)(c)])) \
+ )
+
+ /* int eraeol(SCRN *t,int x,int y);