From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 9C9B677EF7 for ; Sat, 2 Jan 2016 12:16:48 -0800 (PST) Received: by mail-io0-x22e.google.com with SMTP id q21so125808784iod.0 for ; Sat, 02 Jan 2016 12:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JpWHHh5MSY6G/9Ap8EqXIIspUCkt2sJk/bNmND4essI=; b=Sn1JF4uZ6EvibXcpIeQt0jK9K+SUkY7tnHkEHFj+MArJHCzObiz2Yt+SD7hAjnRCYC l5XDp0W+pxP5EzbwS8p+6esxEyo8QV+z1ejfoHDnTwBq3esfYhxU3rD4NH9OW66KzQJu gZaXFujHX53opfPDrgB+t1y/S8gydaGHVLiCTNZ7GXxaS20nHriV7sO6/bmXAkiH3RlK AK5sJnxPpgY5VnG50m0P/OwfmXmCCs2JZG8YZ7cM6dIOVbZVq3d/tgNAGhSqMKKWt1ek uGvG8+KLqSjxFgBpUmZh1tdA5HJDqHMBu6JvdAaiMmx0y3XZBBEfrHdts9IoKR9OR7Yk 4EtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=JpWHHh5MSY6G/9Ap8EqXIIspUCkt2sJk/bNmND4essI=; b=JHQ0db/lEcIU2xweBfmiVXpi6BuAKYendsLyw2/E/JidyGb3pANzBsbA5OiXLxOOrR AFyl4elFtOEkV8B1+2nxw+LfmDQgv9pQnKd6l8q33MuxKGODqzY8bC0fzj15H2Xzctdd JUI1Vs7pIL0RcHRtAr+DOJ/o/jyjHbXBwq3If83UP5vXzEy5ZVLUTArGPqR/WSxAbS2M PiNhF5T8GIlZs4BYbX+Ayk6esNbvFfDGqKvwmI65Qa4wa38mim7NexAGXq4Xe9gjSqH2 UxIpk+3ydY2joO81lnHJ9i0K7CknntTXMjXMBjzzrzgop2QAGomoi1qYYClHwt2bNGTo vRlw== X-Gm-Message-State: ALoCoQnEHNutqnUbpZc9npMJtyHnT3Rg/TL2Mo0+bnAd1RMP4igk65PkjTpE1lvildvrNtCz3y+LdoXUIEhcQpVLqhA66JKkwQ== MIME-Version: 1.0 X-Received: by 10.107.128.104 with SMTP id b101mr42052297iod.37.1451765841765; Sat, 02 Jan 2016 12:17:21 -0800 (PST) Received: by 10.79.109.8 with HTTP; Sat, 2 Jan 2016 12:17:21 -0800 (PST) In-Reply-To: <20160002110930.eklhad@comcast.net> References: <20160002110930.eklhad@comcast.net> Date: Sat, 2 Jan 2016 21:17:21 +0100 Message-ID: From: Geoff McLane To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Content-Type: multipart/alternative; boundary=001a113deb7c4bc4df05285f93e0 Subject: Re: [Edbrowse-dev] Just edbrowse X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2016 20:16:48 -0000 --001a113deb7c4bc4df05285f93e0 Content-Type: text/plain; charset=UTF-8 Hi Karl, Yes, am now getting the dev mail ;=)) thanks... Well, as you point out the windows suffix of .EXE, and the fact that each configuration built will be in a different sub-folder, Release, Debug, etc,... and that can be Bin\Release, depending on some cmake options... **AND** the debug convention that appends a 'd' to the name, so that would be edbrowse-jsd.exe... all make it difficult to copy a binary by name to another name... It can be done, is done, but lots of cmake code to get it right... messy... And while I am aware that the binary name, argv[0], is sometimes used in unix to switch internal functionality, that is never used in Windows... Well, some die-hard unix guru, pushed to build in windows, might do it, to sort of keep the unix look/feel, that [s]he just can not live without... but that would be quite unique to WIN32... It is of course quite common to have command line options that signals entirely changed modes, like your testsock, with l=listen, c=connect, ... like say 7z, which has a,b,d,e,l,t,u,x, signalling quite different functions... And less common would be to supply say batch files to handle the difference, like say a 'edbrowse-js.bat' that then ran 'edbrowse --runjs', but many windows user, like me, write those for themselves, and do not expect them in a distribution... like I could write a runjs.bat that did the above if it was something I frequently needed... And I think I would be quite SURPRISED if what I know, can see is exactly the same binary - ( edbrowse.exe === edbrowse-js.exe ) - ran differently!!! Of course, as a developer/programmer I would correctly guess that it was using using argv[0] switching... but being the SAME binary I would expect the same action... But as always, just a windows kids perspective ;=)) Regards, Geoff. --001a113deb7c4bc4df05285f93e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Karl,

Yes, am now getting the dev mail ;=3D)) thanks...

Well, as you point out the windows suffix of .EXE, and the=C2=A0
fact that each configuration built will be in a different=C2=A0
sub-folder, Release, Debug, etc,... and that can be Bin\Release,
depending on some cmake options... **AND** the debug convention that= =C2=A0
appends a 'd' to the name, so that would be edbrow= se-jsd.exe... all=C2=A0
make it difficult to copy a binary by nam= e to another name... It=C2=A0
can be done, is done, but lots of c= make code to get it right... messy...

And while I = am aware that the binary name, argv[0], is sometimes used=C2=A0
i= n unix to switch internal functionality, that is never used in=C2=A0
<= div>Windows... Well, some die-hard unix guru, pushed to build in windows,= =C2=A0
might do it, to sort of keep the unix look/feel, that [s]h= e just can not=C2=A0
live without... but that would be quite uniq= ue to WIN32...

It is of course quite common to hav= e command line options that=C2=A0
signals entirely changed modes,= like your testsock, with l=3Dlisten,=C2=A0
c=3Dconnect, ... like= say 7z, which has a,b,d,e,l,t,u,x, signalling=C2=A0
quite differ= ent functions...=C2=A0

And less common would be to= supply say batch files to handle the=C2=A0
difference, like say = a 'edbrowse-js.bat' that then ran 'edbrowse --runjs',
=
but many windows user, like me, write those for themselves, and do not= =C2=A0
expect them in a distribution... like I could write a runj= s.bat that=C2=A0
did the above if it was something I frequently n= eeded...

And I think I would be quite SURPRISED if= what I know, can see is exactly=C2=A0
the same binary - ( edbrow= se.exe =3D=3D=3D edbrowse-js.exe ) - ran differently!!!
Of course= , as a developer/programmer I would correctly guess that=C2=A0
it= was using using argv[0] switching... but being the SAME binary I would=C2= =A0
expect the same action...

But as alw= ays, just a windows kids perspective ;=3D))

Regard= s,
Geoff.

--001a113deb7c4bc4df05285f93e0--