pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/tcsh Add a patch (already sent upstream) to fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c36ac51c445
branches:  trunk
changeset: 575142:1c36ac51c445
user:      agc <agc%pkgsrc.org@localhost>
date:      Tue May 04 00:14:00 2010 +0000

description:
Add a patch (already sent upstream) to fix the behavior (slippery slope,
sorry) of 'b', 'e' and 'w' commands in vi editing, when confronted with
a '_' character - this patch makes tcsh consider '_' characters to be part
of the word.

diffstat:

 shells/tcsh/distinfo         |   3 ++-
 shells/tcsh/patches/patch-ad |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r f112ad335e18 -r 1c36ac51c445 shells/tcsh/distinfo
--- a/shells/tcsh/distinfo      Mon May 03 23:18:32 2010 +0000
+++ b/shells/tcsh/distinfo      Tue May 04 00:14:00 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2010/03/26 14:09:50 hauke Exp $
+$NetBSD: distinfo,v 1.27 2010/05/04 00:14:00 agc Exp $
 
 SHA1 (tcsh-6.17.00.tar.gz) = 9bf67d5ce1b406178e9ba535ecd34553fe0d4d36
 RMD160 (tcsh-6.17.00.tar.gz) = 2cc41a895799ade6d62640f877bb626f136dac35
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = bd2c3a5814b17675c56618feae9184548e40c0d0
 SHA1 (patch-ab) = ab71a3826bbcef0702a7d43446f13454176aa671
 SHA1 (patch-ac) = b08d073d947775c0bedaaf53c55bbd6c6c63c6d2
+SHA1 (patch-ad) = 7db4fbbcafb1d2ed1b0e68dd70373e6e5fac93e6
diff -r f112ad335e18 -r 1c36ac51c445 shells/tcsh/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/tcsh/patches/patch-ad      Tue May 04 00:14:00 2010 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.11 2010/05/04 00:14:00 agc Exp $
+
+fix 'e' navigation in vi mode to classify '_' chars as part of words
+
+--- ed.chared.c        2010/04/02 00:04:39     1.1
++++ ed.chared.c        2010/04/02 00:04:59
+@@ -832,11 +832,11 @@
+       while ((p < high) && Isspace(*p)) 
+           p++;
+ 
+-      if (Isalnum(*p))
+-          while ((p < high) && Isalnum(*p)) 
++      if (isword(*p))
++          while ((p < high) && isword(*p)) 
+               p++;
+       else
+-          while ((p < high) && !(Isspace(*p) || Isalnum(*p)))
++          while ((p < high) && !(Isspace(*p) || isword(*p)))
+               p++;
+     }
+ 



Home | Main Index | Thread Index | Old Index