lcn2 / calc

C-style arbitrary precision calculator
http://www.isthe.com/chongo/tech/comp/calc/index.html
Other
346 stars 52 forks source link

Bug: 'help usage' shows formatting under macos #135

Closed wwk-github closed 8 months ago

wwk-github commented 9 months ago

Describe the bug Invoke calc and run 'help usage'. Under linux (ubuntu) - all OK. Under macos - formatting is not applied.

Screen shots linux

image

macos

image
lcn2 commented 9 months ago

You are correct, @wwk-github.

Probably the best thing ro do is to form what Unix called a "cat page": a formatter man page as part of the build process so that a wider range of page tools will be able to see a reasonably formatted page. Such a "cat page" would be formed from the calc.1 file, nroff formatted, and installed under the help/ directory.

Thank you for this bug report. We plan to fix this in the next release of calc.

lcn2 commented 8 months ago

Hello @wwk-github,

We have a fix for your issue that we are testing. We are testing it at the same time as we are testing a different fix for issue #133. As soon as our testing is complete we will release a new version of calc and close this issue.

Thank you for your patience.

lcn2 commented 8 months ago

Hello @wwk-github,

If you want to see the proposed fix to this issue, check out the master brach.

See commit 932d27053e12f64ab5041fc51df9422202c80f57 or later, although most of the work was done in the earlier commit 54dd89dcf7378e190602b603713ccf7b930ff28b.

lcn2 commented 8 months ago

This issue has resolve under calc version 2.15.0.4.

Thank you @wwk-github for bringing this issue to our attention. We will now close you issue with our thanks!

wwk-github commented 8 months ago

Nice. Thank you.

image