diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-04-20 06:16:18 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-04-20 06:16:18 +0000 |
commit | 8673c7ec800a8bcc6da14c506081a3cb76e2b8ea (patch) | |
tree | ad3f495c08f0cc331b6958d319f699d021175c19 /editors/joe2/files/patch-ab | |
parent | 0d9507efb9d902ba8e7fafa90edd7893d2f8db19 (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_4_0'.release/5.4.0
Notes
Notes:
svn path=/head/; revision=133724
svn path=/tags/RELEASE_5_4_0/; revision=133725; tag=release/5.4.0
Diffstat (limited to 'editors/joe2/files/patch-ab')
-rw-r--r-- | editors/joe2/files/patch-ab | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/editors/joe2/files/patch-ab b/editors/joe2/files/patch-ab deleted file mode 100644 index 1624db3df769..000000000000 --- a/editors/joe2/files/patch-ab +++ /dev/null @@ -1,64 +0,0 @@ ---- main.c.orig Sat Jan 21 19:21:08 1995 -+++ main.c Wed Feb 28 18:52:17 2001 -@@ -18,6 +18,10 @@ - - #include <stdio.h> - #include <fcntl.h> -+#ifdef __FreeBSD__ -+#include <locale.h> -+#include <ctype.h> -+#endif - #include "config.h" - #include "w.h" - #include "tty.h" -@@ -187,6 +191,20 @@ - 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); - if(s=getenv("BAUD")) sscanf(s,"%u",&Baud); -@@ -234,20 +252,6 @@ - - #else - -- s=vsncpy(NULL,0,sc(".")); -- s=vsncpy(sv(s),sv(run)); -- s=vsncpy(sv(s),sc("rc")); -- c=procrc(cap,s); -- if(c==0) goto donerc; -- if(c==1) -- { -- char buf[8]; -- fprintf(stderr,"There were errors in '%s'. Use it anyway?",s); -- fflush(stderr); -- fgets(buf,8,stdin); -- if(buf[0]=='y' || buf[0]=='Y') goto donerc; -- } -- - vsrm(s); - s=getenv("HOME"); - if(s) -@@ -365,7 +369,7 @@ - maint->curwin=maint->topwin; - 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); - nclose(n); |