Re: [dev] [discussion] editors

2016-10-06 Thread Quentin Carbonneaux
Self plug.http://c9x.me/edit/ Get enthusiastic, hack it, make it better for us all. -- mpu

Re: [dev] I'm leaving.

2016-09-28 Thread Quentin Carbonneaux
Christoph, On Wed, Sep 28, 2016 at 03:12:04PM +0200, Christoph Lohmann wrote: > I am stepping back from my maintainership and my role as an admin of > suckless. All main projects I maintained have at least one maintainer > left, so don’t be worried. Please don't leave the channel and the m

Re: [dev] st lack of scrollback

2016-08-11 Thread Quentin Carbonneaux
On Thu, Aug 11, 2016 at 10:41:03PM +0300, Amer wrote: > For me it started playing nicely only with wrapper to tmux, though. > Because I didn't liked how sessions stayed alive after killing > terminals directly through window manager. > > $ st -e r.tmux > > $ cat r.tmux > #!/bin/bash -e > trap

Re: [dev] new pre-patched version of dwm available

2016-07-22 Thread Quentin Carbonneaux
On Fri, Jul 22, 2016 at 01:54:36PM -0800, Britton Kerin wrote: > dwm needs patches to be good [...] Do *you* also need patches to be good?

Re: [dev] New Suckless computer language?

2016-07-22 Thread Quentin Carbonneaux
On Fri, Jul 22, 2016 at 10:37:54PM +0200, Daniel V wrote: > It's not C. It's a new language. The benefit is that you can get a > basic understanding of what the compiler does fast. It's next to > impossible to hide how it compiles and what type of code it generates. > So it could be used for securi

Re: [dev] New Suckless computer language?

2016-07-22 Thread Quentin Carbonneaux
On Fri, Jul 22, 2016 at 08:46:50PM +0200, Daniel V wrote: > Is there any interest in a small new computer language? What would it do better than C? If it's just a compiler improvement, we're already working on it. -- Quentin

Re: [dev] JIT & VM discussion

2016-07-11 Thread Quentin Carbonneaux
http://c9x.me/compile/ Getting it to generate machine code is almost trivial. Porting it to ARM is only reasonably complicated. It is *very* fast. I will refactor it a bit and work more on it starting mid-september. Feel free to join the force. On Sat, Jun 18, 2016 at 10:33:23AM +0100, Connor L

Re: [dev] Hi, newb here.

2016-04-22 Thread Quentin Carbonneaux
On Thu, Apr 21, 2016 at 05:18:24PM +0200, FRIGN wrote: > On Mon, 18 Apr 2016 21:18:25 +0300 > ab wrote: > > What kind of advice could you guys give to a novice? I'd like to get > > myself more familiar with Linux and C (because I have a copy of K&R). > > I'm asking you guys because you seem to kno

[dev] QBE - A Compiler Backend

2016-03-29 Thread Quentin Carbonneaux
Hi all, don't be DICKS, DO NOT repost that on Hacker News or Reddit. I will do it myself, if I do it one day. It is a disclosure to only the suckless community. Some of you might know, but I have been working on a small compiler backend for some time. Its state now is fairly satisfying and it i

Re: [dev] [libutp-c] ISO C90-ish ports of bittorrent c++ libutp

2016-02-07 Thread Quentin Carbonneaux
On Sun, Feb 07, 2016 at 11:34:09AM +1100, Sylvain BERTRAND wrote: > On Sat, Feb 06, 2016 at 06:39:49PM -0200, Alba Pompeo wrote: > > rtorrent is 40,000+ lines of C++. > > Besides btpd, I found a client called Unworkable. But it's also > > unmaintained. > > https://github.com/niallo/Unworkable > >

Re: [dev] [st] [PATCH 1/3] remove empty trailing line

2014-08-18 Thread Quentin Carbonneaux
On Mon, Aug 18, 2014 at 08:32:51PM +0200, Roberto E. Vargas Caballero wrote: > I know git complaint about this line, but it is tradition in > UNIX world to finish the files with an empty line, so calls > to fgets will not be confused because there is not a newline > at the end of a line. There is

[dev] [PATCH 3/3] reset the alt screen in treset

2014-08-18 Thread Quentin Carbonneaux
--- st.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/st.c b/st.c index 28e5b50..8488024 100644 --- a/st.c +++ b/st.c @@ -1356,9 +1356,12 @@ treset(void) { memset(term.trantbl, sizeof(term.trantbl), CS_USA); term.charset = 0; - tclearregion(0

[dev] [PATCH 2/3] simplify loop in tresize

2014-08-18 Thread Quentin Carbonneaux
--- st.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/st.c b/st.c index 835e6a1..28e5b50 100644 --- a/st.c +++ b/st.c @@ -2661,7 +2661,6 @@ tresize(int col, int row) { int mincol = MIN(col, term.col); int slide = term.c.y - row + 1; bool *bp; -

[dev] [st] [PATCH 1/3] remove empty trailing line

2014-08-18 Thread Quentin Carbonneaux
--- st.c | 1 - 1 file changed, 1 deletion(-) diff --git a/st.c b/st.c index 8f19018..835e6a1 100644 --- a/st.c +++ b/st.c @@ -3933,4 +3933,3 @@ run: return 0; } - -- 2.0.4

[dev] [st] [PATCH] fix screen clearing in tresize

2014-08-18 Thread Quentin Carbonneaux
If defaultbg != 0, the alt screen is cleared with the wrong color. The bug is fixed by avoiding to load a cursor that might be 0 initialized. --- st.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/st.c b/st.c index 8f19018..783965e 100644 --- a/st.c +++ b/st.c @@