From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-po-05v.sys.comcast.net (resqmta-po-05v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:164]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1CBF677CD1 for ; Sun, 28 Dec 2014 07:37:43 -0800 (PST) Received: from resomta-po-06v.sys.comcast.net ([96.114.154.230]) by resqmta-po-05v.sys.comcast.net with comcast id Z3bV1p0044yXVJQ013bVdM; Sun, 28 Dec 2014 15:35:29 +0000 Received: from eklhad ([68.84.191.77]) by resomta-po-06v.sys.comcast.net with comcast id Z3bU1p00D1gep30013bUSy; Sun, 28 Dec 2014 15:35:28 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.2 Date: Sun, 28 Dec 2014 10:35:28 -0500 Message-ID: <20141128103528.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1419780929; bh=dh7XY+jeYQ50onAFxFAwi4MS+B+MwMu8KyFHS2VXy+Q=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=ILtQrmmhqVYdmoIEW8IbNO7FeiyB2YQHnnnahJKYQ9CDTg26wL7NsoWcL4ZlA7N7i rx9dJ/e4QUChq45ArLceV06vktDgrMTW2bweN3zlZc3+3PpRvkaUKQeQZzA2StPaGB uUq1qxr1y9Uf7jAG7ENg40oocUCw0NyY6BgVQWYOYSqkNg2eLeVs5c4cFQSoLt+U0M iPwwrgrkk5Je2t8gCs9LEJFS5v87IHXrnr3eG/43qBaV89kJlKiYl2ul3HuUy8aeRk q69hQarKXjkmqHfanuwjZL1h6zAvYVSdtqfM4IHI6WTONIBgXaXzNpU6ve67diQaCh i1FqnupfCWHTw== Subject: [Edbrowse-dev] curl things X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2014 15:37:43 -0000 This is mostly aimed at Chris, who is our resident curl expert, and maybe should be a pm but I like keeping everyone in the loop. Do you have time for projects, and if not can I consult with you? Imap is an obvious curl task. Copy fetchmail.c to imap.c and keep most of what is there, in that imap should allow me to do, with my emails, all the things I already do, but add commands to invoke specific imap calls to list folders and list the emails in folders and create folders and so on. Part of me thinks it wouldn't be hard to do, but part of me thinks it's a bit more, since imap has more power. We might need 2 letter commands, not just the simple 1 letter commands in fetchmail.c. Not sure bout that yet. For downloading a file, I want to see that the header is something other than text/html, allow the user to download, then switch the curl callback function to write to disk, but can you switch the callback function in mid stream? I've already called curl_perform, and it's running, so how can I switch the callback function in mid stream? As per this feature, I pushed a small change so downdir = /home/eklhad/dld in your config file becomes same in edbrowse, the download directory. Adam, the string push is fine. Course the same functions are also in jseng-moz.cpp, but they haven't caused any trouble there. Karl Dahlke