[4009] in testers
Re: irix 6.5 more tty modes problem
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Sun May 16 16:02:25 1999
To: testers@MIT.EDU
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jacob Morzinski <jmorzins@MIT.EDU>
Date: 16 May 1999 16:02:16 -0400
In-Reply-To: Robert A Basch's message of Thu, 13 May 1999 18:21:23 EDT
Message-Id: <w6mhfpcn5pz.fsf@steve-dallas.mit.edu>
<rbasch@MIT.EDU> (Robert A Basch) writes:
> A drawback to setting MANPAGER not to run 'ul -b' is that certain man
> pages will look terrible, as more will use reverse video instead of bold
> for underline. For an example, try 'man getspent'.
Huh? This bug is still around? In December 1996, I reported
(bugs[14885]) that SGI's used reverse video instead of
underlining in manpages and other places. The probable reason
is that Irix's terminfo entry for xterm doesn't have the "smul"
("start mode underline") or "rmul" entries. When those entries
are put back into the terminfo entry, underlining works
naturally, without any other trouble.
Here's a sequence of commands you can run to see the default
broken terminfo, and to see how to fix it. (Log in as a user
with no TERMINFO var or ~/.terminfo directory.)
% man man # Eww. Ugly.
% /usr/bin/infocmp xterm > /tmp/xterm.ti.sgi
% ed /tmp/xterm.ti.sgi # (The following eight lines are the input to ed:)
23a
smul=\E[4m,
.
19a
rmul=\E[m,
.
w
q
% /usr/bin/tic /tmp/xterm.ti.sgi
/usr/bin/tic: /usr/share/lib/terminfo nonexistent or permission denied
% setenv TERMINFO /tmp
% /usr/bin/tic /tmp/xterm.ti.sgi
% man man # Ah! Looks nice now.
% unsetenv TERMINFO ; rm -r /tmp/v /tmp/x # Clean up. (Back to ugly.)
Is this a better way to get manpages to underline correctly?
-Jacob Morzinski