Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Damien Miller
On Tue, 1 Apr 2014, Christian Weisgerber wrote: > On 2014-04-01, Theo de Raadt wrote: > > > Another approach is to extend the usage() in every program so that it > > provides more information. > > Just embed the whole man page, as in curl -M. Putting stuff in usage() is pretty retro. Modern pr

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Ian McWilliam
On 2/04/2014 6:21 AM, patrick keshishian wrote: On 4/1/14, Hendrickson, Kenneth wrote: On 4/1/2014, Patrick Keshishian wrote: sorry to crash your party, but i think you've got something there with the usage() example. this could reduce man executable to a one line shell script (or a builtin):

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Christian Weisgerber
On 2014-04-01, Theo de Raadt wrote: > Another approach is to extend the usage() in every program so that it > provides more information. Just embed the whole man page, as in curl -M. -- Christian "naddy" Weisgerber na...@mips.inka.de

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Michael W. Lucas
On Tue, Apr 01, 2014 at 11:34:35AM -0600, Theo de Raadt wrote: > > So, to my eyes, it appears that ftp on the new snapshot installer > > isn't respecting http_proxy. > > The ftp program has not changed in any way. And as nobody else has reported problems by now, it's clearly something weird that

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread patrick keshishian
On 4/1/14, Hendrickson, Kenneth wrote: > > On 4/1/2014, Patrick Keshishian wrote: >> sorry to crash your party, but i think you've got something there >> with the usage() example. this could reduce man executable to >> a one line shell script (or a builtin): >> >> $ cat /usr/bin/man >> #!/bin/sh >

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Matthew Weigel
On 2014-04-01 13:43, Theo de Raadt wrote: Then the semantic markup would all be in one place -- in the source files. There would be no need for seperate manual pages, and the pipeline could be simply: ssh-keygen -? -> usage2pod -> pod2mdoc -> doclifter -> docbook2mdoc -> man More food f

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Hendrickson, Kenneth
On 4/1/2014, Patrick Keshishian wrote: > sorry to crash your party, but i think you've got something there > with the usage() example. this could reduce man executable to > a one line shell script (or a builtin): > > $ cat /usr/bin/man > #!/bin/sh > while [ $# -gt 0 ] ; do $1 -h | ${PAGER:-more}

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread patrick keshishian
On 4/1/14, Theo de Raadt wrote: >> In the short-run, can't you achieve your goal the same way with this: >> >> pod2mdoc -> doclifter -> docbook2mdoc -> man >> >> Eventually, we can re-write man to accept more sophisticated formats >> directly instead of being tied to mdoc(7), but this would be t

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Stuart Henderson
On 2014/04/01 20:31, Kristaps Dzonsons wrote: > I think a better idea is to go with POD. We can dispense with the > complexities of mdoc(7) and go right to what we really want--content, not > markup. Can't we just use ANSI colour sequences? We can use TheDraw in dosbox to create pages, it's a fin

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Theo de Raadt
> In the short-run, can't you achieve your goal the same way with this: > > pod2mdoc -> doclifter -> docbook2mdoc -> man > > Eventually, we can re-write man to accept more sophisticated formats > directly instead of being tied to mdoc(7), but this would be transparent > to end-users. > > Tho

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Stuart Henderson
On 2014/04/01 12:19, Michael W. Lucas wrote: > I set http_proxy in the shell and do: > > # cd /mnt/tmp > # ftp http://ftp3.usa.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.rd I've just tried this after ^Z'ing in the installer: # http_proxy=http://10.0.0.1:3128/ ftp -o- http://www.bbc.co.uk/ work

Re: Switch OpenBSD manuals to DocBook

2014-04-01 Thread Kristaps Dzonsons
OK for the following commit to /usr/src/usr.bin/docbook2mdoc as a first step? We can then continue development in tree. Ingo, I don't think you're addressing the root problem here: complexity. Both mdoc(7) and DocBook are semantic languages. And while semantics were good enough historicall

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Theo de Raadt
> So, to my eyes, it appears that ftp on the new snapshot installer > isn't respecting http_proxy. The ftp program has not changed in any way.

Re: to fault or not to fault

2014-04-01 Thread Miod Vallat
> On Sun, Mar 23, 2014 at 20:10, Miod Vallat wrote: > > > Except that 1. this is ugly unless you express the values in hex, as > > noone can spot these are multiples of 4096 in decimal, and 2. I think it > > is more important to make clear that nback == nforw - 1 (or + 1 in the > > SEQ case), rega

Re: 27 Mar 2014 amd64 snapshot

2014-04-01 Thread Michael W. Lucas
On Fri, Mar 28, 2014 at 07:07:42PM +, Stuart Henderson wrote: > On 2014/03/28 13:53, Michael W. Lucas wrote: > > > > Yep. Lots of users going through proxy. > > > > Ran tcpdump on the proxy. The only packets that arrived from the > > OpenBSD host were my pings. It appeared that the installer

Switch OpenBSD manuals to DocBook

2014-04-01 Thread Ingo Schwarze
Hi, given that Kristaps Dzonsons has recently written docbook2mdoc, http://mdocml.bsd.lv/docbook2mdoc/ which is a DocBook-XML to mdoc(7) converter, and that Eric S. Raymond's mdoc(7) to DocBook-XML converter http://www.catb.org/~esr/doclifter/ is readily available, i am going to switch the

Re: userland not building after tmux change

2014-04-01 Thread Brett Mahar
On Tue, 1 Apr 2014 16:46:43 +1100 Brett Mahar wrote: | Hi Tech@, | | Building current today on amd64 stops as below. | Theo has fixed, is working now.