Recognize .Fx/.Nx/.Ox/.At
This commit is contained in:
parent
e1696e42d0
commit
e71fd86290
42
x11/kde/base2/patches/patch-kioslave_man_man2html_cpp
Normal file
42
x11/kde/base2/patches/patch-kioslave_man_man2html_cpp
Normal file
@ -0,0 +1,42 @@
|
||||
$OpenBSD: patch-kioslave_man_man2html_cpp,v 1.1 2001/08/23 22:24:18 espie Exp $
|
||||
--- kioslave/man/man2html.cpp.orig Thu Aug 23 22:39:26 2001
|
||||
+++ kioslave/man/man2html.cpp Thu Aug 23 22:42:50 2001
|
||||
@@ -2510,6 +2510,38 @@ static char *scan_request(char *c)
|
||||
out_html(" is currently in beta test.");
|
||||
if (fillout) curpos++; else curpos=0;
|
||||
break;
|
||||
+ case V('A','t'): /* BSD mandoc */
|
||||
+ trans_char(c,'"','\a');
|
||||
+ c=c+j;
|
||||
+ if (*c=='\n') c++;
|
||||
+ out_html("AT&T Unix ");
|
||||
+ c=scan_troff_mandoc(c, 1, NULL);
|
||||
+ if (fillout) curpos++; else curpos=0;
|
||||
+ break;
|
||||
+ case V('F','x'): /* BSD mandoc */
|
||||
+ trans_char(c,'"','\a');
|
||||
+ c=c+j;
|
||||
+ if (*c=='\n') c++;
|
||||
+ out_html("FreeBSD ");
|
||||
+ c=scan_troff_mandoc(c, 1, NULL);
|
||||
+ if (fillout) curpos++; else curpos=0;
|
||||
+ break;
|
||||
+ case V('N','x'): /* BSD mandoc */
|
||||
+ trans_char(c,'"','\a');
|
||||
+ c=c+j;
|
||||
+ if (*c=='\n') c++;
|
||||
+ out_html("NetBSD ");
|
||||
+ c=scan_troff_mandoc(c, 1, NULL);
|
||||
+ if (fillout) curpos++; else curpos=0;
|
||||
+ break;
|
||||
+ case V('O','x'): /* BSD mandoc */
|
||||
+ trans_char(c,'"','\a');
|
||||
+ c=c+j;
|
||||
+ if (*c=='\n') c++;
|
||||
+ out_html("OpenBSD ");
|
||||
+ c=scan_troff_mandoc(c, 1, NULL);
|
||||
+ if (fillout) curpos++; else curpos=0;
|
||||
+ break;
|
||||
case V('B','x'): /* BSD mandoc */
|
||||
trans_char(c,'"','\a');
|
||||
c=c+j;
|
Loading…
Reference in New Issue
Block a user