diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-10 11:15:10 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-07-10 11:15:10 +0000 |
| commit | 4631794db147228141268e275406d4c59f9ff416 (patch) | |
| tree | f71a4f0b3b5c7343bb6cdee15099cd5e4b1a228d /misc/less/files/patch-ab | |
| parent | Log: (diff) | |
- Move pager ports from misc/ to sysutils/
misc/44bsd-more -> sysutils/44bsd-more
misc/less -> sysutils/less
misc/most -> sysutils/most
misc/reed -> sysutils/reed
misc/wmcp -> x11-wm/wmcp (this one is a X11 desktop pager)
Repocopied by: marcus
Notes
Notes:
svn path=/head/; revision=138790
Diffstat (limited to 'misc/less/files/patch-ab')
| -rw-r--r-- | misc/less/files/patch-ab | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/misc/less/files/patch-ab b/misc/less/files/patch-ab deleted file mode 100644 index fb9dcb946beb..000000000000 --- a/misc/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); - } |
