This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird cosmetic bug after viewing bash man page


On 12/14/06, Matthew Woehlke wrote:
Aaron Humphrey wrote:
> It seems to vary.  I see it with 'man vim' and 'man printf' after the
> first screen, for instance, but not with 'man man', unless I pick just
> the right line.  Which makes it seem less likely that it's a problem
> with the man page formatting.  In all the cases which cause the
> problem, the last bit of text on the screen is highlighted, but it
> shouldn't be.

Yes, that sounds right... like either an attribute is not being cleared,
or even that they are backwards. Um... would this by chance happen any
time a bold word gets hyphenated? (Just a WAG.)

It doesn't seem to. If I do "man bash", then the whole DESCRIPTION section is highlighted. From Linux, it looks like only the keywords(bash, sh, ksh) are supposed to be highlighted. (I note that there, it uses '-Tascii' instead of '-Tlatin'.)

But... I only have man-1.5p. Maybe 'man' is the problem?

I could try downgrading. I don't use man that much, so I don't know when it started doing this.

> The output you're after is, I presume:
>
>  (cd "/usr/share/man" && (echo ".pl 11i"; /usr/bin/cat
> '/usr/share/man/man1/bash.1') | /usr/bin/tbl | /usr/bin/nroff -Tlatin1
> -mandoc | /usr/bin/less -isrR)

Hmm. What happens if you enter exactly that, but 's/-Tlatin1/-c/'? (Did
you say you are using WCLI*/rxvt/xterm...?)

WCLI*.


If I type

(echo ".pl 11i"; /usr/bin/cat '/usr/share/man/man1/bash.1') |
/usr/bin/tbl | /usr/bin/nroff -mandoc | /usr/bin/less -isrR)

then I get the same behaviour.  Editing man.conf doesn't make any
difference, either, nor does substituting '-Tascii'.  Even if I exit
tcsh and restart it.

BTW, TERM = 'cygwin'.  Anything other info I can provide?  Output of
"stty -a"?  My entire cygcheck.out?  Screenshots?  Straces?  Bueller?

--
--Alfvaen (Web page: http://www.telusplanet.net/public/alfvaen/ )
Current Album--The Damned:The Light At The End of The Tunnel
Current Book--John Wyndham:The Midwich Cuckoos
In one ear and gone tomorrow.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]