Re: GNU hello

2017-08-12 Thread Niklas Rosencrantz
Now I could base my first manpage on the GNU hello project. I hope that localization also works. I aim to localize my program. I understand that I change the print function in main and that will appear in the manpage after build. On OpenBSD I had to manually set 2 environment variables:

Re: GNU hello

2017-08-12 Thread Niklas Rosencrantz
man -l hello.1 works and displays the manpage! (with OpenBSD 6.1). I wanted to learn roff, groff/troff, I based my code on the 2.7 example and will update to 2.10. I seem to have a local Ubuntu 16.04 problem with manpages unrelated to GNU hello. I also thought that man hello would work after

Re: GNU hello

2017-08-12 Thread Reuben Thomas
On 12 August 2017 at 21:18, Niklas Rosencrantz wrote: > I tried both 2.7 and 2.10 and both with Ubuntu 16.04 and OpenBSD 6.1. > > Everything works but the manpage is empty or none. Your build of 2.7 seems to have an error, but your 2.10 build looks OK. I just built and

GNU hello

2017-08-12 Thread Niklas Rosencrantz
I tried both 2.7 and 2.10 and both with Ubuntu 16.04 and OpenBSD 6.1. Everything works but the manpage is empty or none. My recent attempt has this log Last login: Sat Aug 12 18:12:19 2017 from 10.0.2.2 OpenBSD 6.1 (GENERIC) #19: Sat Apr 1 13:42:46 MDT 2017 Welcome to OpenBSD: The proactively