Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:44:11 +0100 Markus Teich wrote: > Christoph Lohmann wrote: > > There is now PLUMB() in config.h, which will be run, when some URI does > > not start with "about:", "http://"; or "https://";. Please test this if > > there are some other URIS that should be

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:34:13 +0100 Markus Teich wrote: > Christoph Lohmann wrote: > > There is now PLUMB() in config.h, which will be run, when some URI does > > not start with "about:", "http://"; or "https://";. Please test this if > > there are some other URIS that should be

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Markus Teich
Christoph Lohmann wrote: > There is now PLUMB() in config.h, which will be run, when some URI does > not start with "about:", "http://"; or "https://";. Please test this if > there are some other URIS that should be handled from some outside ap‐ > plication. Heyho Christoph, What about "fil

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:16:39 +0100 Markus Teich wrote: > Michael Schupikov wrote: > > Currently surf cannot handle mailto links. > > This patch changes that and passes them to the email client. Thanks for the patch! > I would propose to write a generic protocol handling patch instea

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Markus Teich
Michael Schupikov wrote: > Currently surf cannot handle mailto links. > This patch changes that and passes them to the email client. Heyho, I would propose to write a generic protocol handling patch instead. This is useful for e.g. magnet: or ftp: if you would like to handle them with external pr

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread koneu
Michael Schupikov wrote: > Currently surf cannot handle mailto links. > This patch changes that and passes them to the email client. xdg-open?

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Michael Schupikov
Currently surf cannot handle mailto links. This patch changes that and passes them to the email client. >From 1414a492f53095b793d12b18e1b5092b338503f8 Mon Sep 17 00:00:00 2001 From: Michael Schupikov Date: Sun, 18 Jan 2015 15:01:28 +0100 Subject: [PATCH] Add support for mailto links. --- config

[dev] [sselp] [patch] Offset increment

2015-01-19 Thread Virgile Andreani
Dear suckless developers, Using sselp on a string longer than BUFSIZ currently leads to a crash. The reason is that on line 38 of `sselp.c`, `off` should not be incremented by the length of a chunk but by `len/4`. Indeed, incrementing `off` by 1 skips four characters, not one. Here is the releva