NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50344: apropos shows formatting on console with vt100 term type



The following reply was made to PR bin/50344; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/50344: apropos shows formatting on console with vt100 term
 type
Date: Mon, 19 Oct 2015 16:14:14 +0300

 On Mon, Oct 19, 2015 at 07:25:01 +0000, Martin Husemann wrote:
 
 > However, apropos should not emit colour sequences when the terminal
 > does not support them (and I seem to recall this has been fixed
 > already, maybe there is just a pullup to -7 missing).
 
 vt100 terminfo description does have smul/rmul (underlining) sequences
 defined, but they include delays "$<2>", which is what you see.
 
      A delay in milliseconds may appear anywhere in a string
      capability, prefixed with a dollar sign and enclosed by angled
      brackets, such as $<5>.
 
 So the problem is that apropos doesn't use terminfo correctly.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index