Find attached a patch to use a negative argument to quoted-insert
to quote the next N characters.

-- 
Jason.
diff -urp current/text.c working/text.c
--- current/text.c      2017-01-30 04:55:51 +1000
+++ working/text.c      2017-02-21 16:06:20 +1000
@@ -999,7 +999,14 @@ rl_quoted_insert (count, key)
       return (0);
     }
 #endif
-      
+
+  if (count < 0)
+    {
+      int r;
+      do r = _rl_insert_next (1); while (!r && ++count != 0);
+      return r;
+    }
+
   return _rl_insert_next (count);
 }
 
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to