diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-13 03:50:52 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-13 03:50:52 +0000 |
commit | e2064982edb60477ecfa6d56f4551c3c4d9d645c (patch) | |
tree | 71515646b31ab19bab351c01ac1704295bc97672 /sysutils/less/files | |
parent | e70865d61e636a8b9832decaf7b8df5ad054faf0 (diff) | |
download | ports-e2064982edb60477ecfa6d56f4551c3c4d9d645c.tar.gz ports-e2064982edb60477ecfa6d56f4551c3c4d9d645c.zip |
Notes
Diffstat (limited to 'sysutils/less/files')
-rw-r--r-- | sysutils/less/files/patch-aa | 11 | ||||
-rw-r--r-- | sysutils/less/files/patch-ab | 41 |
2 files changed, 0 insertions, 52 deletions
diff --git a/sysutils/less/files/patch-aa b/sysutils/less/files/patch-aa deleted file mode 100644 index 092ecbe95fb9..000000000000 --- a/sysutils/less/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Fri Apr 9 20:02:59 1999 -+++ Makefile.in Thu Apr 15 23:09:36 1999 -@@ -15,7 +15,7 @@ - LDFLAGS = @LDFLAGS@ - O=o - --LIBS = @LIBS@ -+LIBS = -ltermcap - - prefix = @prefix@ - exec_prefix = @exec_prefix@ diff --git a/sysutils/less/files/patch-ab b/sysutils/less/files/patch-ab deleted file mode 100644 index fb9dcb946beb..000000000000 --- a/sysutils/less/files/patch-ab +++ /dev/null @@ -1,41 +0,0 @@ ---- charset.c.orig Thu Mar 23 05:36:33 2000 -+++ charset.c Mon Jun 19 22:33:43 2000 -@@ -267,6 +267,10 @@ - control_char(c) - int c; - { -+#ifdef COLOR_LESS -+ if (c == ESC) -+ return 0; -+#endif - c &= 0377; - return (chardef[c] & IS_CONTROL_CHAR); - } -@@ -281,6 +285,20 @@ - { - static char buf[8]; - -+#ifdef COLOR_LESS -+ if(c == ESC) -+ sprintf(buf, "%c", ESC); -+ else -+ { -+ c &= 0377; -+ if (!control_char(c)) -+ sprintf(buf, "%c", c); -+ else if (!control_char(c ^ 0100)) -+ sprintf(buf, "^%c", c ^ 0100); -+ else -+ sprintf(buf, binfmt, c); -+ } -+#else - c &= 0377; - if (!control_char(c)) - sprintf(buf, "%c", c); -@@ -290,5 +308,6 @@ - sprintf(buf, "^%c", c ^ 0100); - else - sprintf(buf, binfmt, c); -+#endif - return (buf); - } |