Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-11-26 Thread Jan Sucan
On 26. 11. 2019 1:57, Rodney W. Grimes wrote: On Mon, Nov 25, 2019 at 10:57 AM Florian Smeets wrote: On 26.08.19 06:28, Jan Sucan wrote: Hello, I can implement it. I suppose that ping6's manual page should be kept it this case. I was also thinking about printing a warning for each option re

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-11-25 Thread Rodney W. Grimes
> On Mon, Nov 25, 2019 at 10:57 AM Florian Smeets wrote: > > > On 26.08.19 06:28, Jan Sucan wrote: > > > Hello, > > > > > > I can implement it. I suppose that ping6's manual page should be kept it > > > this case. > > > > > > I was also thinking about printing a warning for each option renamed to

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-11-25 Thread Alan Somers
On Mon, Nov 25, 2019 at 10:57 AM Florian Smeets wrote: > On 26.08.19 06:28, Jan Sucan wrote: > > Hello, > > > > I can implement it. I suppose that ping6's manual page should be kept it > > this case. > > > > I was also thinking about printing a warning for each option renamed to > > lead a willin

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-11-25 Thread Florian Smeets via svn-src-head
On 26.08.19 06:28, Jan Sucan wrote: Hello, I can implement it. I suppose that ping6's manual page should be kept it this case. I was also thinking about printing a warning for each option renamed to lead a willing user to use the new unified option set of ping. It could be either only with

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread Bjoern A. Zeeb
On 26 Aug 2019, at 16:31, John Baldwin wrote: On 8/26/19 1:59 AM, Bjoern A. Zeeb wrote: In other notes (and I keep saying that), I can see a world when ping doesn’t exist anymore as IPv4 doesn’t exist anymore (I partially already live in that world). The fact that people still do not prepare

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread Jan Sucan
On 26. 8. 2019 1:58, Alan Somers wrote: Jan (please keep him CCed on replies) has been musing about the same thing. That might satisfy everyone. Jan, would it be straightforward to implement? -Alan I forgot to answer the question whether it would be straightforward. It depends on how fast it s

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread John Baldwin
On 8/26/19 1:59 AM, Bjoern A. Zeeb wrote: > In other notes (and I keep saying that), I can see a world when ping > doesn’t exist anymore as IPv4 doesn’t exist anymore (I partially > already live in that world). The fact that people still do not prepare > themselves for this time is a bit strang

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread Shawn Webb
On Sun, Aug 25, 2019 at 08:50:11PM -0700, Conrad Meyer wrote: > On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb wrote: > > I wonder if something like this could be done: > > Something like it could be; I suggested so two hours ago. > > > Somewhere in ping(8): > > bool ping6_compat; > > if (strcmp(arg

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread Bjoern A. Zeeb
On 25 Aug 2019, at 20:26, alan somers wrote: On Sun, Aug 25, 2019, 2:11 PM Hiroki Sato wrote: Alan Somers wrote in : as> On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wrote: as> > as> > Hi, as> > as> > Alan Somers wrote as> > in <201908231522.x7nfmluj068...@repo.freebsd.org>: as> >

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Cy Schubert
In message <201908260229.x7q2tmsm074...@gndrsh.dnsmgr.net>, "Rodney W. Grimes" writes: > [ Charset UTF-8 unsupported, converting... ] > > On Sun, Aug 25, 2019, 2:11 PM Hiroki Sato wrote: > > > > > Alan Somers wrote > > > in > : > > > > > > as> On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wro

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Warner Losh
On Sun, Aug 25, 2019, 10:35 PM Jan Sucan wrote: > Hello, > > I can implement it. I suppose that ping6's manual page should be kept it > this case. > The differences are small enough you may be able to combine man pages. I was also thinking about printing a warning for each option renamed to > l

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Jan Sucan
Hello, I can implement it. I suppose that ping6's manual page should be kept it this case. I was also thinking about printing a warning for each option renamed to lead a willing user to use the new unified option set of ping. It could be either only with -v, or by default and suppressed with

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Conrad Meyer
On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb wrote: > I wonder if something like this could be done: Something like it could be; I suggested so two hours ago. > Somewhere in ping(8): > bool ping6_compat; > if (strcmp(argv[0], "ping6")) { > ping6_compat = true; You've gotten the sense of t

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Sun, Aug 25, 2019, 2:11 PM Hiroki Sato wrote: > > > Alan Somers wrote > > in : > > > > as> On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wrote: > > as> > > > as> > Hi, > > as> > > > as> > Alan Somers wrote > > as> > in <201908231522.x7nfmluj0

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Shawn Webb
On Mon, Aug 26, 2019 at 04:20:56AM +0900, Hiroki Sato wrote: > Hi, > > Alan Somers wrote > in <201908231522.x7nfmluj068...@repo.freebsd.org>: > > as> Author: asomers > as> Date: Fri Aug 23 15:22:20 2019 > as> New Revision: 351423 > as> URL: https://svnweb.freebsd.org/changeset/base/351423 > as

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Hiroki Sato
Hi Alan and Conrad, I agree with the idea having ping6(8) as a hardlink to ping(8) to provide the historical ping6(8) behavior. Alan Somers wrote in : as> Jan (please keep him CCed on replies) has been musing about the same as> thing. That might satisfy everyone. Jan, would it be straight

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Alan Somers
Jan (please keep him CCed on replies) has been musing about the same thing. That might satisfy everyone. Jan, would it be straightforward to implement? -Alan On Sun, Aug 25, 2019 at 5:51 PM Conrad Meyer wrote: > > Hi Alan, Hiroki, > > It would be pretty easy to install a `ping6` link to the `pi

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Conrad Meyer
Hi Alan, Hiroki, It would be pretty easy to install a `ping6` link to the `ping(8)` binary with different option parsing (conditional on argv[0]). That removes most of the issues of code and space duplication, I think? And the goal would be for the 'ping6' name to retain option compatibility with

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread alan somers
On Sun, Aug 25, 2019, 2:11 PM Hiroki Sato wrote: > Alan Somers wrote > in : > > as> On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wrote: > as> > > as> > Hi, > as> > > as> > Alan Somers wrote > as> > in <201908231522.x7nfmluj068...@repo.freebsd.org>: > as> > > as> > as> Author: asomers > as>

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Hiroki Sato
Alan Somers wrote in : as> On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wrote: as> > as> > Hi, as> > as> > Alan Somers wrote as> > in <201908231522.x7nfmluj068...@repo.freebsd.org>: as> > as> > as> Author: asomers as> > as> Date: Fri Aug 23 15:22:20 2019 as> > as> New Revision: 351423 as> >

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Alan Somers
On Sun, Aug 25, 2019 at 1:22 PM Hiroki Sato wrote: > > Hi, > > Alan Somers wrote > in <201908231522.x7nfmluj068...@repo.freebsd.org>: > > as> Author: asomers > as> Date: Fri Aug 23 15:22:20 2019 > as> New Revision: 351423 > as> URL: https://svnweb.freebsd.org/changeset/base/351423 > as> > as> L

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Hiroki Sato
Hi, Alan Somers wrote in <201908231522.x7nfmluj068...@repo.freebsd.org>: as> Author: asomers as> Date: Fri Aug 23 15:22:20 2019 as> New Revision: 351423 as> URL: https://svnweb.freebsd.org/changeset/base/351423 as> as> Log: as> ping6: Rename options for better consistency with ping as> a