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