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



On Mar 10, 10:20am, roy%netbsd.org@localhost ("Roy Marples") wrote:
-- Subject: PR/44692 CVS commit: src/lib/libterminfo

You are the man!

|  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?

christos


Home | Main Index | Thread Index | Old Index