Date: Sat, 09 Jul 2016 00:03:58 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 210927] x11/yelp: Does not display man pages, Illegal option -Z Message-ID: <bug-210927-6497-MGLsS3laZv@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210927-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-210927-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210927 --- Comment #1 from Rares Vernica <rvernica@gmail.com> --- I tried to fix this, but I got stuck. Here is what I tried. I patched the "libyelp/yelp-man-parse.c" file: --- a/libyelp/yelp-man-parser.c +++ b/libyelp/yelp-man-parser.c @@ -369,7 +369,7 @@ get_troff (gchar *path, GError **error) { gint ystdout; GError *err =3D NULL; - const gchar *argv[] =3D { "man", "-Z", "-Tutf8", "-EUTF-8", path, NULL= }; + const gchar *argv[] =3D { "man", "-t", path, NULL }; gchar **my_argv; /* g_strdupv() should accept a "const gchar **". */ I replace "-Z" with "-t" and removed "-T" and "-E" arguments. Now, when I run it, I don't get any error on the "man" arguments on the console, but in the "yelp" window, I get: Unknown Error Wrong 'x res' line from troff: %%Creator: groff version 1.19.2 I am not sure how to proceed from here, but I am willing to try more. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210927-6497-MGLsS3laZv>