From owner-freebsd-stable Mon Jun 26 18:35:48 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by hub.freebsd.org (Postfix) with SMTP id B0A1F37BDA1 for ; Mon, 26 Jun 2000 18:35:40 -0700 (PDT) (envelope-from reader@newsguy.com) Received: (qmail 23356 invoked from network); 27 Jun 2000 01:35:40 -0000 Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (209.144.117.113) by mail.networkone.net with SMTP; 27 Jun 2000 01:35:40 -0000 Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id SAA20122; Mon, 26 Jun 2000 18:35:37 -0700 To: freebsd-stable@FreeBSD.ORG Subject: Re: Annoying reverse hylighting in `more' 4.0-STsnap0624 References: <20000626195936.G232@parish> <20000626205828.I232@parish> From: Harry Putnam In-Reply-To: Mark Ovens's message of "Mon, 26 Jun 2000 20:58:28 +0100" Date: 26 Jun 2000 18:35:36 -0700 Message-ID: Lines: 66 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ovens 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