Bug 37362 - The Ted port is incompatible with FreeBSD lpc(1)
Summary: The Ted port is incompatible with FreeBSD lpc(1)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2002-04-23 02:20 UTC by Greg Shenaut
Modified: 2003-08-18 03:48 UTC (History)
0 users

See Also:

patch-appUtil-utilPrinter.c (569 bytes, text/x-csrc; charset="us-ascii")
2003-08-18 03:06 UTC, Jonathan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Shenaut 2002-04-23 02:20:00 UTC
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
Comment 1 Jonathan 2003-08-18 03:06:44 UTC

 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.
Comment 2 Pete Fritchman freebsd_committer 2003-08-18 03:48:50 UTC
State Changed
From-To: open->closed

Patch from maintainer committed, thanks!