From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 6F08477D0D for ; Sun, 3 Jan 2016 02:48:24 -0800 (PST) Received: by mail-wm0-x232.google.com with SMTP id f206so112816770wmf.0 for ; Sun, 03 Jan 2016 02:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=gdUnNzkFYGC/WLwykLg92PlQtLmpP/GGCYuXCPl55ck=; b=ehueJEOM1WvT1jpXisPNfRgnHYHKxnGN+6O2IO88e7ITqKx5Nd35RAfN53y0nv5/rx 0MzSiNPdOAJTuUPI6l8xr1zj4CC2zpGj0KfaTk/pvvJZo27va1yWDL7vvWKNpR1jth7w PwQF10dVp6vn2CWQx71uHWNEZBK8OOWRr6SYgRGHT0gCX7iYcd0rYXZe4YgU0OX9rWiP RVpEWX9Tqx6yNTi2WFSigf1AQZFrH2bazcMwnJJ57jT5kQ3oIkt67HdVpqYwONpjfI76 g6v6XM0FI8kabwyX+VGfm9eceNe3x/ph0YWB7e9GynsOm4b/eIQB6K56PzbLemu5sJxx KvIQ== X-Received: by 10.194.90.243 with SMTP id bz19mr91548847wjb.128.1451818137875; Sun, 03 Jan 2016 02:48:57 -0800 (PST) Received: from 122oven.adamthompson.me.uk (c.2.2.f.4.7.e.f.f.f.d.1.4.2.2.0.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:224:1dff:fe74:f22c]) by smtp.gmail.com with ESMTPSA id qs1sm20121905wjc.2.2016.01.03.02.48.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2016 02:48:57 -0800 (PST) Date: Sun, 3 Jan 2016 10:48:55 +0000 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20160103104855.GI12402@122oven.adamthompson.me.uk> References: <20160002110930.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l0l+eSofNeLXHSnY" Content-Disposition: inline In-Reply-To: <20160002110930.eklhad@comcast.net> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Sun, 03 Jan 2016 10:48:24 -0000 --l0l+eSofNeLXHSnY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 02, 2016 at 11:09:30AM -0500, Karl Dahlke wrote: > For the js engine, invoke > edbrowse --runjs > for the curl server, invoke > edbrowse --runcurl > and so on for as many variations as we wish, never having to change makef= iles > or CMakeLists.txt again. > And we can throw away all that code around ebjs.c line 67, > because all you have to do is run argv[0] with different arguments. Makes sense. > If argv[1] is one of our magic strings, set whichproc appropriately > and run in that mode. >=20 > Perhaps magic string arguments aren't your cup of tea, > but it's far better than all the build / distribution issues, and symlink= s or copies > of renamed images in the correct bins, and so on. > Geoff is on this list now, so feel free to chime in and tell us > that this is definitely the way to go. I think I'd probably have a --mode js option, but that's because I've been thinking it'd also be nice to have a few other options like --config to override the default .ebrc. Tbh though, --runjs, --runcurl etc don't bother me that much. It certainly beats the multiple copies of the same binary option. Cheers, Adam. --l0l+eSofNeLXHSnY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWiPyXAAoJELZ22lNQBzHOOn0H/ij4/abFfuTYR2ZynG7U7Cfj QEiST1pYaw+V7yaSjRotoSVlrl1/PWDAisAcjJRHuJOHm7axs2RX1VDpqfBHwl8h wlohD3AQe7g+X1I6QCU/O0vGM2n1oPn29iX3XB+K9LeSP/cQnaIvwo2sV9AG/YuE rMny0KSS81WhnIgxC74zp5PvpKpcm79NXOrUkqDVKLvrfoCjFz1UgIE7B+UmGUb+ /KFVd2NIQDBrIueurGjecvHTzMzBmHSULL/UGz4ScqaCKwH5/rBJklfphN8Tjg6N hOaGAQuaJ/X0HSkWdkcDyqiY94WHfM/FYSTU4kfMfm1NhNWojwnFtAnWw/okxpQ= =SBce -----END PGP SIGNATURE----- --l0l+eSofNeLXHSnY--