edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] curl things
Date: Sun, 28 Dec 2014 10:35:28 -0500	[thread overview]
Message-ID: <20141128103528.eklhad@comcast.net> (raw)

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

             reply	other threads:[~2014-12-28 15:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-28 15:35 Karl Dahlke [this message]
2014-12-28 16:04 ` Adam Thompson
2015-01-03 13:19 ` Chris Brannon
2015-01-03 15:34 Karl Dahlke
2015-01-05 18:12 ` Chris Brannon
2015-01-05 20:48   ` Adam Thompson
2015-01-05 21:33 Karl Dahlke
2015-01-06  0:25 ` Chris Brannon
2015-01-06 21:17   ` Adam Thompson
2015-01-06 21:09 ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141128103528.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).