Bug 75310

Summary: textproc/cdiff is useless on monochrome terminal
Product: Ports & Packages Reporter: Alex Kapranoff <kappa>
Component: Individual Port(s)Assignee: eivind <eivind>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alex Kapranoff 2004-12-20 14:30:35 UTC
Make cdiff(1) even more cooler by adding support for monochrome and
greyscale terminals. The problem has annoyed me much for about half a year.

Fix: The manpage diff looks ok, I derived it from mans in the base system,
but it is the first time I use mdoc macros.

Also, change code to return to normal attributes from "\e[m" to "\e[0m"
to be a little more standard.
Comment 1 Alex Kapranoff 2004-12-20 14:46:09 UTC
* FreeBSD-gnats-submit@FreeBSD.org <FreeBSD-gnats-submit@FreeBSD.org> [December 20 2004, 17:30]:
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       textproc/cdiff is useless on monochrome terminal
> >Arrival-Date:   Mon Dec 20 14:30:35 GMT 2004

Version in the Makefile should be bumped of course. I forgot to add
this to the patch, sorry.

-- 
Alex Kapranoff,
$n=["1another7Perl213Just3hacker49"=~/\d|\D*/g];
$$n[0]={grep/\d/,@$n};print"@$n{1..4}\n"
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-12-22 06:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eivind

Over to maintainer.
Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2005-04-12 09:06:32 UTC
State Changed
From-To: open->closed

Committed, thanks! 

Note that I've tested that it didn't break actual behavior, JFYI.