Mon, 8 Aug 2016 13:33:21 -0700 Philip Guenther <[email protected]> > On Mon, Aug 8, 2016 at 12:44 PM, Craig Skinner <[email protected]> > wrote: > > This arrangement works for me on 5.7, but not 5.9: > > > > export LESS_TERMCAP_mb=$(tput mb; tput AF 1) > > export LESS_TERMCAP_md=$(tput md; tput AF 2) > > export LESS_TERMCAP_mh=$(tput AF 5) > > export LESS_TERMCAP_so=$(tput so; tput AF 3) > > export LESS_TERMCAP_se=$(tput me) > > export LESS_TERMCAP_us=$(tput us; tput AF 6) > > export LESS_TERMCAP_ue=$(tput me) > ... > > tmux, lynx, vim, colorls, etc. all work fine on 5.9; but not less. > > > > Do I need different tputs for this edition of terminfo? > > You need to find a way that doesn't use the insane LESS_TERMCAP_* > variables. They vanished from the less in OpenBSD in this commit: > ------ > revision 1.18 > date: 2015/11/05 22:08:44; author: nicm; state: Exp; lines: +238 > -1959; commitid: yKv9Ck9ZDgwWTRTo; > Replace less with the cleaned-up fork of less 458 maintained by Garrett > D'Amore at https://github.com/gdamore/less-fork. This has significantly > less portability goop, has a tidied up code style, uses terminfo instead > of termcap, and is has stricter POSIX compliance. > > Many of our local changes have been accepted upstream: substantial > remaining local changes are code to read help files from /usr/share > rather than compiling them in, man page and help improvements, and some > tweaks to the default options. > > Review and testing by millert, ok deraadt > ------ > > You can probably emulate this by defining your own terminfo entry > under ~/.terminfo/ with the desired overrides. > > > Philip Guenther >
Hi Craig, I've had this in .Xdefaults for a long time, does this work for you? ! color man pages *VT100*colorMode: on *VT100*boldColors: on *VT100*dynamicColors: on *VT100*colorULMode: on *VT100*underLine: off *VT100*colorBDMode: on *VT100*colorUL: #b58900 *VT100*colorBD: #859900 Of course, you might have to run xrdb(1) -merge to apply immediately: xrdb - X server resource database utility [http://man.openbsd.org/xrdb] I took the idea from the xterm(1) manual page, after the OpenBSD FAQ: xterm - terminal emulator for X [http://man.openbsd.org/xterm] OpenBSD FAQ 1 - Introduction to OpenBSD: Manual pages [http://www.openbsd.org/faq/faq1.html#ManPages] Kind regards, Anton

