shithub: neatroff

Download patch

ref: 5d02c6a0d1b06573e92154d2df5df0bcac744fd2
parent: 1874ab5126cf9ae58f12f8b89a8da14b9ccbfbb7
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Jul 27 14:43:48 EDT 2013

ren: ignore \H and \S

--- a/ren.c
+++ b/ren.c
@@ -778,7 +778,7 @@
 				ren_transparent(arg);
 			}
 			return;
-		} else if (strchr(" bCcDdfhkLlmNoprsuvXxz0^|{}&", c[1])) {
+		} else if (strchr(" bCcDdfHhkLlmNoprSsuvXxz0^|{}&", c[1])) {
 			escarg_ren(arg, c[1], next, back);
 			if (c[1] == 'N') {
 				g = dev_glyph_byid(arg, n_f);
@@ -785,6 +785,8 @@
 				c[1] = 'C';
 				strcpy(arg, g ? g->name : "cnull");
 			}
+			if (c[1] == 'S' || c[1] == 'H')
+				return;			/* not implemented */
 			if (c[1] != 'C') {
 				ren_cmd(wb, c[1], arg);
 				return;