Re: [dev] [surf-5.0] internal download manager

2013-02-02 Thread Christoph Lohmann
Greetings. On Sat, 02 Feb 2013 09:34:11 +0100 v4hn wrote: > Hey everyone, > > because I hit a nasty bug with https and the wget > downloader("Not authorized") I ported the internal > downloader patch to surf 0.5. I tried to improve > the interface a bit and add a progress bar. > > Feel free to

Re: [dev] [st] Back Color Erase

2013-02-02 Thread Christoph Lohmann
Greetings. On Sun, 27 Jan 2013 17:48:38 +0100 Mihail Zenkov wrote: > 2013/1/27, Christoph Lohmann <2...@r-36.net>: > > I need the mc.txt and a screenshot of what is shown. In your last exam‐ > > ple mc.txt did not have the text strings in it shown by mc. But both > > need to be the same,

Re: [dev][surf] pango v2.32

2013-02-02 Thread Christoph Lohmann
Greetings. On Sat, 02 Feb 2013 09:41:23 +0100 Hannes Blut wrote: > [...] > > According to > http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html#g-thread-init > g_thread_init is not required anymore so the attached patch removes the > g_thread_init call. After a long time I ha

[dev] [surf] Using curl

2013-02-02 Thread Christoph Lohmann
Greetings comrades. In the recent e‐mails there was a discussion about downloads and the ‐‐content‐disposition experimental feature of wget. Curl already has that feature, so I ported the standard wget command to curl. #define DOWNLOAD(d, r) { \ .v = (char *[]){ "/bin/sh", "-c", \

Re: [dev] [surf] Using curl

2013-02-02 Thread Jochen Sprickerhof
* Christoph Lohmann <2...@r-36.net> [2013-02-02 10:18]: > #define DOWNLOAD(d, r) { \ > .v = (char *[]){ "/bin/sh", "-c", \ > "st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \ > " --referer '$2'" \ > " -b ~/.surf/cookies.txt -c ~/.surf/cookies.txt '$

Re: [dev] [surf-5.0] internal download manager

2013-02-02 Thread v4hn
On Sat, Feb 02, 2013 at 09:34:11AM +0100, Christoph Lohmann wrote: > I don’t like your download manager because other tools can do it in a > better and more UNIX way. Totally agreed. I only ported it to current surf and made it look a bit less stupid. Doesn't mean that I want to use it. :) /* O

Re: [dev] [surf] Using curl

2013-02-02 Thread Christoph Lohmann
Greetings. On Sat, 02 Feb 2013 15:42:40 +0100 Jochen Sprickerhof wrote: > * Christoph Lohmann <2...@r-36.net> [2013-02-02 10:18]: > > #define DOWNLOAD(d, r) { \ > > .v = (char *[]){ "/bin/sh", "-c", \ > > "st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \ > > " --ref