I was looking at alternatives to lynx --dump to turn text/plain into
text/html. The manpage describes using TERM=ansi, but since I didn't
want *any* escape sequences, I tried TERM=dumb. That tells me to pass
--monochrome, but netrik doesn't accept --monochrome.
$ date >x
$ TERM=dumb netrik --monochrome --dump x
netrik: unrecognized option '--monochrome'
Can't get color capabilities -- starting in monochrome mode.
If this is what you want, use --monochrome option to suppress this warning. Otherwise, please check your $TERM environment variable. (See README for details.)
Press <return> to continue.
Monday 19 August 14:16:09 EST 2013
$
tags 720134 + patch tags 720134 + confirmed tags 720134 + upstream stop ---------------------------------------------------------------------- Hello, A user of netrik reported this bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720134 and I have made a patch to fix embedded documentation in screen.c for --monochrome / --bw option. Can you integrated it please ? Thanks for yours help. Regards,
Hello Trent, I have sent a patch to upstream to correct netrik documentation. You can use --bw option instead of --monochrome. Regards,
Hello Trent, I have sent a patch to upstream to correct netrik documentation. You can use --bw option instead of --monochrome. Regards,
Hi, I committed the fix to netrik CVS (eek!) -- let me know if a tarball release would be helpful... BTW, when using --dump --bw, the output is guaranteed to be plain text -- no need to set $TERM in this case. (This was mentioned in some of the documentation, but it was missing in the main man page... I fixed that too.)
Patch commited (2014-12-02) to the "stable" (1.16.x) branch: http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/debian/changelog?r1=1.30.2.2&r2=1.30.2.3&pathrev=b1_16 http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/screen.c?r1=1.37.2.1&r2=1.37.2.2&pathrev=b1_16 http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/README?r1=1.111.2.3&r2=1.111.2.4&pathrev=b1_16 http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/NEWS?r1=1.106.2.4&r2=1.106.2.5&pathrev=b1_16 http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/doc/netrik.1?r1=1.70.2.5&r2=1.70.2.6&pathrev=b1_16 http://netrik.cvs.sourceforge.net/viewvc/netrik/netrik/doc/netrikrc.5?r1=1.42&r2=1.42.2.5&pathrev=b1_16