The Ted program uses lpc(1) to get a list of printers that it uses in
its print dialog. It uses the command "[/usr/sbin/]lpc status", which
is rejected by FreeBSD's version of lpc.
In the source file "appUtil/appPrinter.c", change "lpc status"
to "lpc status all" in two places.
How-To-Repeat: Any request to print within Ted
Below is the patch to fix the lpc problem. The port was tested in accordance
with section 2.4 of the Porters Handbook. Portlint -Av was run and only two
warnings were generated. Both of them were trivial. The patched Ted port was
tested for printing on a Canon S300 printer using CUPS. Footnotes,
strikethrough, Subscript, Superscript, Symbol font, Tables and embedded
pictures printed OK. Endnotes are broken, I have notified the developer about
this. He will get a fix for it in the future.
Place the following patch in /usr/ports/editors/ted/files
I apologize for the extreme tardiness in getting this port fixed.
Patch from maintainer committed, thanks!