Re: [dev] [PATCH] Support the DECSCUSR CSI escape sequence

2015-03-18 Thread Roberto E. Vargas Caballero
I'm going to apply it, but with this small change: - csiescseq.mode[1] = *p; + csiescseq.mode[1] = (p < csiescseq.buf+csiescseq.len) ? *p : '\0'; because my suggestion was not totally true, and it was possible go further of the end of the string. Regards,

Re: [dev] [st] segfault when selecting text

2015-03-18 Thread Roberto E. Vargas Caballero
> I defined and this didn't solved, the same error. I didn't backtraced > again. > Can you posted the output of your compilation process after adding the define? (there was a very bad warning in your previous compilation). Regards,

[dev] [PATCH] Support the DECSCUSR CSI escape sequence

2015-03-18 Thread LemonBoy
--- st.c | 62 +- 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/st.c b/st.c index 836ae21..b4736d8 100644 --- a/st.c +++ b/st.c @@ -197,14 +197,14 @@ typedef struct { } TCursor; /* CSI Escape sequence structs */ -/*

[dev] [st] Support the DECSCUSR CSI escape sequence

2015-03-18 Thread LemonBoy
Ok, the third time's a charm heh. I hope the patch is alright now.

[dev] [PATCH] Support the DECSCUSR CSI escape sequence

2015-03-18 Thread LemonBoy
--- st.c | 62 +- 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/st.c b/st.c index 836ae21..b4736d8 100644 --- a/st.c +++ b/st.c @@ -197,14 +197,14 @@ typedef struct { } TCursor; /* CSI Escape sequence structs */ -/*

[dev] [ANNOUNCE] abduco-0.4

2015-03-18 Thread Marc André Tanner
Hi, This is mostly a bug fix release for non-Linux systems. http://www.brain-dump.org/projects/abduco/abduco-0.4.tar.gz with sha1sum ccd576eb57d9481d5f372e31ce84b3020f661b68 abduco-0.4.tar.gz Changes include: * Fix socket creation on non-Linux systems * More secure socket creation: the

Re: [dev] [st] segfault when selecting text

2015-03-18 Thread Henrique Lengler
On Wed, Mar 18, 2015 at 07:02:28AM +0100, Roberto E. Vargas Caballero wrote: > Your problem is the commit 72d2accc22 which removed _BSD_SOURCE > and introduced _DEFAULT_SOURCE instead, but since strsep is not a > POSIX function, each system requires different defines. Can you test > to define _BSD_