File tcsh-6.15.00-norm-cmd.dif of Package tcsh

--- ed.defns.c
+++ ed.defns.c	2007-08-28 12:02:42.862588122 +0200
@@ -1412,16 +1412,6 @@ editinit(void)
     f->desc = CSAVS(3, 52, "Execute command");
 
     f++;
-    f->name = "newline-and-hold";
-    f->func = F_NEWLINE_HOLD;
-    f->desc = CSAVS(3, 122, "Execute command and keep current line");
-
-    f++;
-    f->name = "newline-and-down-history";
-    f->func = F_NEWLINE_DOWN_HIST;
-    f->desc = CSAVS(3, 123, "Execute command and move to next history line");
-
-    f++;
     f->name = "normalize-path";
     f->func = F_PATH_NORM;
     f->desc = CSAVS(3, 53, 
@@ -1788,6 +1778,16 @@ editinit(void)
     f->desc = CSAVS(3, 121, "(WIN32 only) Page visible console window down");
 
     f++;
+    f->name = "newline-and-hold";
+    f->func = F_NEWLINE_HOLD;
+    f->desc = CSAVS(3, 122, "Execute command and keep current line");
+
+    f++;
+    f->name = "newline-and-down-history";
+    f->func = F_NEWLINE_DOWN_HIST;
+    f->desc = CSAVS(3, 123, "Execute command and move to next history line");
+
+    f++;
     f->name = NULL;
     f->func = 0;
     f->desc = NULL;
--- tw.parse.c
+++ tw.parse.c	2007-08-28 12:03:41.288831024 +0200
@@ -433,7 +433,7 @@ tenematch(Char *inputline, int num_read,
 	Char *p;
 	int found;
 
-	found = !cmd_expand(qline.s + wordp, &p);
+	found = cmd_expand(qline.s + wordp, &p);
 	
 	if (!found) {
 	    xfree(p);
openSUSE Build Service is sponsored by