NetBSD-Bugs archive

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

Re: PR/44692 CVS commit: src/lib/libterminfo



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

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, 
netbsd-bugs%netbsd.org@localhost, 
        alnsn%yandex.ru@localhost
Cc: 
Subject: Re: PR/44692 CVS commit: src/lib/libterminfo
Date: Thu, 10 Mar 2011 11:06:08 -0500

 On Mar 10, 11:01am, christos%zoulas.com@localhost (Christos Zoulas) wrote:
 -- Subject: Re: PR/44692 CVS commit: src/lib/libterminfo
 
 | |  Log Message:
 | |  Add support for translating the following termcap commands into terminfo:
 | |    %B %D %r %2 %3 %d %+ %> %.
 | |  Fixes PR bin/44692.
 | 
 | 
 | According to the manual page we have:
 | 
 |      The % encodings have the following meanings:
 | 
 |      %%       output `%'
 |      %d       output value as in printf(3) %d
 |      %2       output value as in printf(3) %2d
 |      %3       output value as in printf(3) %3d
 |      %.       output value as in printf(3) %c
 |      %+x      add x to value, then do %.
 |      %>xy     if value > x then add y, no output
 |      %r       reverse order of two parameters, no output
 |      %i       increment by one, no output
 |      %n       exclusive-or all parameters with 0140 (Datamedia 2500)
 |      %B       BCD (16*(value/10)) + (value%10), no output
 |      %D       Reverse coding (value - 2*(value%16)), no output (Delta Data).
 | 
 | 
 | Are all of these supported now?
 
 And since we are supporting termcap escapes now, isn't it better to re-instate
 termcap(5)? It is the only source of information for them and the web pages
 are lacking.
 
 christos
 


Home | Main Index | Thread Index | Old Index