Date: 26 Jun 2000 18:35:36 -0700 From: Harry Putnam <reader@newsguy.com> To: freebsd-stable@FreeBSD.ORG Subject: Re: Annoying reverse hylighting in `more' 4.0-STsnap0624 Message-ID: <m2r99jvrbr.fsf@reader.ptw.com> In-Reply-To: Mark Ovens's message of "Mon, 26 Jun 2000 20:58:28 %2B0100" References: <m2pup4zea4.fsf@reader.ptw.com> <20000626195936.G232@parish> <m21z1kxmmr.fsf@reader.ptw.com> <20000626205828.I232@parish>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Ovens <mark@dogma.freebsd-uk.eu.org> writes:
> If Alexey wants underlining to appear as yellow on black as he says
> then in /usr/share/misc/termcap change the line
>
> :tc=cons25w:
>
> in the definition of
>
> cons25|ansis|ansi80x25:\
>
> to
>
> :us=\E[40;34;1m:ue=\E[m:tc=cons25w:
> ^^ ^^
> || fg colour
> ||
> bg colour
>
> then, as root, run ``cd /usr/share/misc ; cap_mkdb termcap'' and then
> try ``man chmod'' on the console.
This isn't working for me .. Probably doing something wrong but I
can't see what. Can you see what I've done wrong here?
beginning around line 2379 in termcao
cons25|ansis|ansi80x25:\
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\
:us=\E[40;34;1m:ue=\E[m:tc=con25w:
|| fg colour
||
bg colour
cons25-m|ansis-mono|ansi80x25-mono:\
When running cap_mkdb termcap I get this output:
root:/usr/share/misc # cp termcap-edited termcap
root:/usr/share/misc # cap_mkdb termcap
cap_mkdb: record not tc expanded: cons25|ansis|ansi80x25
cap_mkdb: record not tc expanded: cons25-m|ansis-mono|ansi80x25-mono
cap_mkdb: record not tc expanded: cons30|ansi80x30
cap_mkdb: record not tc expanded: cons30-m|ansi80x30-mono
cap_mkdb: record not tc expanded: cons43|ansi80x43
cap_mkdb: record not tc expanded: cons43-m|ansi80x43-mono
cap_mkdb: record not tc expanded: cons50|ansil|ansi80x50
cap_mkdb: record not tc expanded: cons50-m|ansil-mono|ansi80x50-mono
cap_mkdb: record not tc expanded: cons60|ansi80x60
cap_mkdb: record not tc expanded: cons60-m|ansi80x60-mono
root:/usr/share/misc #
I thought maybe the positioning of `bg colour' in your post was a typo
so tried it like `|| bg colour' but got the same output.
I understood your post to be saying this edit would produce a yellow
on black is that just on xterms?
When viewing `man chmod' all highlight is removed which is what I
wanted anyway, but does the output mean something else will break?
> For a visual "list" of colour combinations, run this script (the
> numbers along the top of the display are the bg colours and the ones
> at the left are the fg colours):
Very nice this script
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2r99jvrbr.fsf>
