From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:400c:c0c::236; helo=mail-wr0-x236.google.com; envelope-from=arthompson1990@gmail.com; receiver= Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 0B42C77AAF for ; Sun, 11 Feb 2018 09:13:22 -0800 (PST) Received: by mail-wr0-x236.google.com with SMTP id y3so12935708wrh.3 for ; Sun, 11 Feb 2018 09:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2BvsNdbYuiBV13HB7Y0PgI09+Igd7UHQlmrafc6WfnY=; b=ijc9mssXMCGW+EkXx7PjoYQd8oUmP0cWTFzFeKGYStgmjWdPK+snuOJMDLelwUYf8E rTW+0yDApyc13bBevcMQkiMt/KY2G+JZsFQixClV8e4c1VOGSk0eke/0zncOi9xA+EA7 l/IrYN55bDEtE9B/0zjJJClVRCk06EGYzQCz/4xoHbRUqyg2RhMFMSsLPH48esr0MSKW zlbocgoQC7BI8oCMkMwAkQeGaZFNfrQe2Z+i6iHg8V9DQZ1b2k4HjTj9InYcRQRSJytT yar0MrL2bHM1/VEHQU1LOyhiHibJPBIl1VSKu2uKHIMdCWFhSFc7flSOvZowIXvRUxcX cHuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2BvsNdbYuiBV13HB7Y0PgI09+Igd7UHQlmrafc6WfnY=; b=RQpZu+KbFmDqd0TPwBjbLZWSVAPz6wX5QhCnltDkLnMp1dtwRwJPqE9Bfj4xbKbvho mCTJMWNhimufDGglRCHhiMG0jtJsc7BL+RcfcGf+K0Bs8JFIvX8S0I6ZA2xNJs5KSA/f o9TMlBc6KARaRglA9KvjxPu7bJZIIO3wVs+47IO6J2qhKLD7ps5ds6m64/i5XU7OcI9M 2c2bx2CQhHrt6sgNa6EPYcKWXi/xnHiYcJW0DsNQPu7S/RJrTA6cM7RpEh638SXE30TJ Kp8x9rE7YgQHlHwtAL3DZ7TQYVOnHvVs+EvHuTfc2xLR9ZsoDZcmZZAcUklCuJJ6PhEz V+hg== X-Gm-Message-State: APf1xPCaLId0ZizzE3NelsRB/EXyOx/TaCGQU459nJ7/zI/O47O4xWv9 RiJAjAliIQdRJXi3NOC/lWIFuw== X-Google-Smtp-Source: AH8x226eIEOjxCFxDzkieMEf1UqvsZXPA0rMvlNi0m+FTFsP8YigsOjD9IullXStVeQEChihhKd4SQ== X-Received: by 10.223.162.220 with SMTP id t28mr7469747wra.220.1518369245058; Sun, 11 Feb 2018 09:14:05 -0800 (PST) Received: from toaster (a.5.9.3.b.f.e.f.f.f.4.4.2.d.a.2.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:2ad2:44ff:fefb:395a]) by smtp.gmail.com with ESMTPSA id s63sm7717727wrc.64.2018.02.11.09.14.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 09:14:04 -0800 (PST) Date: Sun, 11 Feb 2018 17:14:02 +0000 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20180211171402.vsqhyaogn7djvawl@toaster> References: <20180126180106.t5yhqm3c7pjpjqvm@toaster> <20180211164142.x5wa46v7wuzz7dmp@toaster> <20180111115453.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180111115453.eklhad@comcast.net> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [Edbrowse-dev] protocol handlers and outputting to buffer X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 17:13:23 -0000 On Sun, Feb 11, 2018 at 11:54:53AM -0500, Karl Dahlke wrote: > Thank you for raising this issue. > Edbrowse has native support for ftp, but ftp has no headers and no help, so edbrowse is a bit limited in its understanding, as is every other ftp client. > I know what you mean about a gopher menu, ftp presents each directory as a menu, showing subdirectories and files. > Clients understand this, as does edbrowse. > I turn a menu listing into html, with links, ftp links, that take you to subdirectories and/or files. > It works pretty well. > I imagine something like that could be done for gopher, and I'd say it has to be native, like ftp, I don't think this is a plugin situation. > I'll play around with the public gopher sites as time permits, > this is something edbrowse should do. Yeah, if it's doing the ftp list to html thing natively, where's that code? I could probably put together similar for gopher, the tricky part is getting the type info from the selectors into edbrowse. Also, gopher has simple forms which we should probably implement. My thought for using a plugin was that I could hammer together a proof of concept then look at the edbrowse patch but it seems we simply don't have a way to integrate protocol handlers with the rest of the mechanism closely enough to make this happen. Helpfully there's a (fairly readable) RFC for all this and it's a very simple protocol. Also we don't need to bother with anything more than plain gopher (there was a Gopher plus but I don't know of anyone who cares about it really) which simplifies all this. On the subject of protocol handlers, if we can't get a variable output type (which is where this all started) I'd still like to support handlers which can output to the buffer rather than just be ran as external processes. That seems like a sensible thing to allow to me. Any thoughts? Cheers, Adam.