shithub: neatroff

Download patch

ref: a236d3e6aa58b9bd5cfdaab5be4a97045ddb28e0
parent: 46d34678fbd5bdc6ebf9c797ddc4267f34c22519
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sun Apr 14 12:08:14 EDT 2013

xroff: \*(.P is TROFFROOT

--- a/xroff.c
+++ b/xroff.c
@@ -53,6 +53,7 @@
 		in_queue(NULL);	/* reading from standard input */
 	for (; i < argc; i++)
 		in_queue(!strcmp("-", argv[i]) ? NULL : argv[i]);
+	str_set(REG('.', 'P'), TROFFROOT);
 	compile();
 	env_free();
 	dev_close();