Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-30 Thread Klemens Nanni
On Fri, Oct 29, 2021 at 08:18:43AM -0600, Theo de Raadt wrote: > Please don't do this. Agreed. Please don't add such quirks to bend over backwards for pagers that misbehave. > Ingo Schwarze wrote: > > > Hi Stuart, > > > > Stuart Henderson wrote on Fri, Oct 29, 2021 at 01:59:38PM +0100: > > >

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Theo de Raadt
Please don't do this. Ingo Schwarze wrote: > Hi Stuart, > > Stuart Henderson wrote on Fri, Oct 29, 2021 at 01:59:38PM +0100: > > On 2021/10/29 14:08, Ingo Schwarze wrote: > >> Stuart Henderson wrote on Fri, Oct 29, 2021 at 10:53:41AM +0100: > >>> On 2021/10/28 23:19, Klemens Nanni wrote: >

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Ingo Schwarze
Hi Stuart, Stuart Henderson wrote on Fri, Oct 29, 2021 at 01:59:38PM +0100: > On 2021/10/29 14:08, Ingo Schwarze wrote: >> Stuart Henderson wrote on Fri, Oct 29, 2021 at 10:53:41AM +0100: >>> On 2021/10/28 23:19, Klemens Nanni wrote: On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Stuart Henderson
On 2021/10/29 14:08, Ingo Schwarze wrote: > Hi Stuart, > > Stuart Henderson wrote on Fri, Oct 29, 2021 at 10:53:41AM +0100: > > On 2021/10/28 23:19, Klemens Nanni wrote: > >> On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze wrote: > > >>> MANPAGER=firefox man -T html $(ifconfig -C) > >

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Crystal Kolipe
On Fri, Oct 29, 2021 at 02:08:32PM +0200, Ingo Schwarze wrote: > Then, much later, because firefox is a monster and a slug: > > 12. firefox attempts to open "$tmpfile", > which was already deleted long before Set the user immutable flag on the temporary file ;-)

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Ingo Schwarze
Hi Stuart, Stuart Henderson wrote on Fri, Oct 29, 2021 at 10:53:41AM +0100: > On 2021/10/28 23:19, Klemens Nanni wrote: >> On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze wrote: >>> MANPAGER=firefox man -T html $(ifconfig -C) >> This doesn't work if firefox is already running as the

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-29 Thread Stuart Henderson
On 2021/10/28 23:19, Klemens Nanni wrote: > On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze wrote: > > MANPAGER=firefox man -T html $(ifconfig -C) > > This doesn't work if firefox is already running as the MANPAGER firefox > process exits immediately after sending the file/link to the

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Ingo Schwarze
Hi Klemens, Klemens Nanni wrote on Thu, Oct 28, 2021 at 11:19:30PM +: > On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze wrote: >> MANPAGER=firefox man -T html $(ifconfig -C) > This doesn't work if firefox is already running It is true that it sometimes works and sometimes fails

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Klemens Nanni
On Fri, Oct 29, 2021 at 12:57:54AM +0200, Ingo Schwarze wrote: > MANPAGER=firefox man -T html $(ifconfig -C) This doesn't work if firefox is already running as the MANPAGER firefox process exits immediately after sending the file/link to the running process, which causes mandoc to exit after

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Ingo Schwarze
Hi, Sebastian Benoit wrote on Thu, Oct 28, 2021 at 11:05:54PM +0200: > We tend to forget that there are other output formats for manpages > as well. right now, i can got to https://man.openbsd.org/ifconfig and > jump from there to all of these manpages. With them removed, i can no > longer do

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Sebastian Benoit
David Gwynne(da...@gwynne.id.au) on 2021.10.29 07:02:14 +1000: > On Thu, Oct 28, 2021 at 03:43:11PM +0100, Jason McIntyre wrote: > > On Thu, Oct 28, 2021 at 04:53:39PM +1000, David Gwynne wrote: > > > > > > > > > > On 28 Oct 2021, at 15:35, Jason McIntyre wrote: > > > > > > > > On Thu, Oct 28,

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread David Gwynne
On Thu, Oct 28, 2021 at 03:43:11PM +0100, Jason McIntyre wrote: > On Thu, Oct 28, 2021 at 04:53:39PM +1000, David Gwynne wrote: > > > > > > > On 28 Oct 2021, at 15:35, Jason McIntyre wrote: > > > > > > On Thu, Oct 28, 2021 at 01:27:17PM +1000, David Gwynne wrote: > > >> > > >>> that strategy

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread David Gwynne
On Thu, Oct 28, 2021 at 04:06:39PM +0100, Stuart Henderson wrote: > On 2021/10/28 13:11, David Gwynne wrote: > > On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > > > On 2021/10/27 17:44, David Gwynne wrote: > > > > > > > > > benno@ suggested I look at vether(4) to adapt the

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Stuart Henderson
On 2021/10/28 13:11, David Gwynne wrote: > On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > > On 2021/10/27 17:44, David Gwynne wrote: > > > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > > bridge(4) but I'm not sure how to rewrite it properly

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread Jason McIntyre
On Thu, Oct 28, 2021 at 04:53:39PM +1000, David Gwynne wrote: > > > > On 28 Oct 2021, at 15:35, Jason McIntyre wrote: > > > > On Thu, Oct 28, 2021 at 01:27:17PM +1000, David Gwynne wrote: > >> > >>> that strategy does rely on individual driver docs saying upfront that > >>> they can be

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-28 Thread David Gwynne
> On 28 Oct 2021, at 15:35, Jason McIntyre wrote: > > On Thu, Oct 28, 2021 at 01:27:17PM +1000, David Gwynne wrote: >> >>> that strategy does rely on individual driver docs saying upfront that >>> they can be created though, even if using create is not common. i wonder if >>> ifconfig

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Jason McIntyre
On Thu, Oct 28, 2021 at 01:27:17PM +1000, David Gwynne wrote: > > > that strategy does rely on individual driver docs saying upfront that > > they can be created though, even if using create is not common. i wonder if > > ifconfig already knows what it can create, and could maybe be more > >

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread David Gwynne
On Wed, Oct 27, 2021 at 02:32:31PM +0100, Jason McIntyre wrote: > On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > > On 2021/10/27 17:44, David Gwynne wrote: > > > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > > bridge(4) but I'm not sure how

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread David Gwynne
On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > On 2021/10/27 17:44, David Gwynne wrote: > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > bridge(4) but I'm not sure how to rewrite it properly for veb(4). > > > > i get that, but for a different

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Solene Rapenne
On Wed, 27 Oct 2021 14:32:31 +0100 Jason McIntyre : > On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > > On 2021/10/27 17:44, David Gwynne wrote: > > > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > > bridge(4) but I'm not sure how to

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Jason McIntyre
On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > On 2021/10/27 17:44, David Gwynne wrote: > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > bridge(4) but I'm not sure how to rewrite it properly for veb(4). > > > > i get that, but for a different

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Solene Rapenne
On Wed, 27 Oct 2021 07:28:32 +1000 David Gwynne : > On Tue, Oct 26, 2021 at 09:18:30PM +0200, Solene Rapenne wrote: > > I tried to figure out how to use veb interfaces but the man page > > wasn't obvious in regards to the "vport" thing. It turns out it's > > a kind of interface that can be

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Stuart Henderson
On 2021/10/27 17:44, David Gwynne wrote: > > > benno@ suggested I look at vether(4) to adapt the text related to > > bridge(4) but I'm not sure how to rewrite it properly for veb(4). > > i get that, but for a different reason. im too close to veb/vport, so i > think it's all very obvious. > >

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread David Gwynne
On Wed, Oct 27, 2021 at 08:34:48AM +0200, Solene Rapenne wrote: > On Wed, 27 Oct 2021 07:28:32 +1000 > David Gwynne : > > > On Tue, Oct 26, 2021 at 09:18:30PM +0200, Solene Rapenne wrote: > > > I tried to figure out how to use veb interfaces but the man page > > > wasn't obvious in regards to the