nroff applet

Ivana Varekova varekova at redhat.com
Wed Jul 30 11:29:56 UTC 2008


walter harms wrote:
> Hi Ivana,
> looks nice but you char->short conversion looks suspicions
> simply assume you char is > 127 ? maybe this works also.
>
> #define c2s(x,y)  (x)<<8|(y)
>
>   
I'm not sure whether
#define c2s(x,y)  (x)<<8|(y)
is better then
#define V(a, b) (a * 256 + b)
- there are another types of "data losts". But I don't stand on "+" 
version if there is any advantage please write it here and I will switch 
it :)

> btw: i am missing .nf/.fi  and .TH
> for an overview about the most important stuff see groff_man(7)
>   
 I know groff_man but I'm not sure whether all tags here are necessary - 
or whether is better to have nroff command minimal and which of them. 
There are a lot of tags which are not parsed but for now I will add the 
three you mentioned and send it here soon (and wait for feedback :) ).
> according to this page; http://www.freakout.de/mc.htm
> mc comes with a command called nro that is a mini-nroff-implementation
> are you aware of that ?
>
>   
Thanks I don't know about this project and I just look to it but I think 
the implementation seems for me to be too different and don't want to be 
strictly minimal.
> I forget to add: http://www.simtel.net/product.php%5Bid%5D51592%5Bcid%5D298%5BSiteID%5Dsimtel.net
> (untested !)
I will look to this link later thanks.
    Ivana
> re,
>  wh
>
>
> Ivana Varekova wrote:
>   
>> Hello,
>> I have just written something like the first "publicable" version of
>> nroff applet (it could be used by man applet).
>> It is impossible to parse whole special format characters - so I chose
>> bunch of them which seems for me to be the most useful, perhaps there
>> are another which are worth to be read too. It is easy to add them. So
>> please if you have any idea about this applet: anything about the code,
>> the formats/man-pages which are displayed in ugly way/any other problem
>> please send an e-mail.
>> I'm beginner with busybox coding so any feedback will be helpful.
>> Thanks.
>> Ivana Varekova
>>
>>     




More information about the busybox mailing list