From 1d138a1a665a692994e1870ac5bd920bb7e5cf8f Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 29 Aug 2015 22:40:00 +0000 Subject: Parse and ignore the escape sequences \, and \/ (italic corrections). Actually using these is very stupid because they are groff extensions and other roff(7) implementations typically print unintended characters at the places where they are used. Nevertheless, some manuals contain them, for example ocserv(8). Problem reported by Kurt Jaeger . --- share/man/man7/roff.7 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'share/man/man7') diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7 index 2410d45d279..f7a7234ce43 100644 --- a/share/man/man7/roff.7 +++ b/share/man/man7/roff.7 @@ -1,7 +1,7 @@ -.\" $OpenBSD: roff.7,v 1.53 2015/08/29 21:37:11 schwarze Exp $ +.\" $OpenBSD: roff.7,v 1.54 2015/08/29 22:39:59 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons -.\" Copyright (c) 2010, 2011, 2013, 2014 Ingo Schwarze +.\" Copyright (c) 2010, 2011, 2013-2015 Ingo Schwarze .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -1837,9 +1837,15 @@ For short names, there are variants .No \e* Ns Ar c and .No \e*( Ns Ar cc . +.Ss \e, +Left italic correction (groff extension); ignored by +.Xr mandoc 1 . .Ss \e- Special character .Dq mathematical minus sign . +.Ss \e/ +Right italic correction (groff extension); ignored by +.Xr mandoc 1 . .Ss \e[ Ns Ar name ] .Sx Special Characters with names of arbitrary length, see -- cgit v1.2.3