[dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-18 Thread Louis Santillan
[repo] https://github.com/antirez/kilo [blog] http://antirez.com/news/108 [demo[ https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb No curses, just 3 key bindings, and syntax highlighting.

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-18 Thread hadrien . lacour
On Mon, Jul 18, 2016 at 10:07:36AM -0400, Greg Reagle wrote: > On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openmailbox.org > wrote: > > I've recently changed from urxvt to st and noticed a bug when using nano > > which will be easier to describe with a short gif: > >

Re: [dev] [st] Division by zero

2016-07-18 Thread Christoph Lohmann
Greetings. On Mon, 18 Jul 2016 18:33:06 +0200 Paul Menzel wrote: > Dear FRIGN, > > > On 07/18/16 14:49, FRIGN wrote: > > On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: > > >> If I am not mistaken, this is really a corner case. The user has to > >> set `actionfps`

Re: [dev] [st] Division by zero

2016-07-18 Thread Paul Menzel
Dear Markus, On 07/18/16 15:22, Markus Teich wrote: Paul Menzel wrote: If I am not mistaken, this is really a corner case. The user has to set `actionfps` to zero in `config.def.h`. ``` config.def.h:static unsigned int actionfps = 30; ``` […] maybe you can make your compiler happy by

Re: [dev] [PATCH][dwm] new alpha patch for 56a31dc

2016-07-18 Thread FRIGN
On Mon, 18 Jul 2016 09:50:33 -0400 "Eon S. Jeon" wrote: > This is a new version of 'alpha' patch for dwm, which reflects > breaking changes made regarding color schemes. Alpha values for > foreground, background, and border now can be configured > independently in a very

Re: [dev] [st] Latest git - Nano with syntax highlighting strange bug

2016-07-18 Thread Greg Reagle
On Sun, Jul 17, 2016 at 10:45:10PM +0200, hadrien.lac...@openmailbox.org wrote: > I've recently changed from urxvt to st and noticed a bug when using nano > which will be easier to describe with a short gif: > https://a.cocaine.ninja/xtlajf.gif > This issue happens ONLY when I change "static

[dev] [PATCH][dwm] new alpha patch for 56a31dc

2016-07-18 Thread Eon S. Jeon
This is a new version of 'alpha' patch for dwm, which reflects breaking changes made regarding color schemes. Alpha values for foreground, background, and border now can be configured independently in a very straight-forward way. The rest stays the same. --- config.def.h | 3 +++ config.mk|

Re: [dev] [st] Division by zero

2016-07-18 Thread Markus Teich
Paul Menzel wrote: > If I am not mistaken, this is really a corner case. The user has to set > `actionfps` to zero in `config.def.h`. > > ``` > config.def.h:static unsigned int actionfps = 30; > ``` Heyho Paul, maybe you can make your compiler happy by making the variable const? It should then

Re: [dev] [st] Division by zero

2016-07-18 Thread Paul Menzel
Dear FRIGN, On 07/18/16 14:49, FRIGN wrote: On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: If I am not mistaken, this is really a corner case. The user has to set `actionfps` to zero in `config.def.h`. ``` config.def.h:static unsigned int actionfps = 30; ``` Even setting it to zero

Re: [dev] [st] Division by zero

2016-07-18 Thread FRIGN
On Mon, 18 Jul 2016 14:45:44 +0200 Paul Menzel wrote: Hey Paul, > If I am not mistaken, this is really a corner case. The user has to > set `actionfps` to zero in `config.def.h`. > > ``` > config.def.h:static unsigned int actionfps = 30; > ``` > > Even setting it to

Re: [dev] [noice] with musl

2016-07-18 Thread Cág
noice from repos works but inability to compile something makes me cry :( Try to do a make clean first and then simply make. It works indeed. Thanks. Cág

Re: [dev] [noice] with musl

2016-07-18 Thread Dimitris Papastamos
On Mon, Jul 18, 2016 at 02:09:02PM +0300, Cág wrote: > > did you try recompiling with "-fPIC"? > > I am not sure where to put it, so I did it like this > > make CC="gcc -fPIC" > > and it gave the same error. Try to do a make clean first and then simply make.

Re: [dev] [noice] with musl

2016-07-18 Thread Dimitris Papastamos
On Mon, Jul 18, 2016 at 02:09:02PM +0300, Cág wrote: > > did you try recompiling with "-fPIC"? > > I am not sure where to put it, so I did it like this > > make CC="gcc -fPIC" > > and it gave the same error. noice does not build any shared libraries. A friend of mine tried to build it on

Re: [dev] [noice] with musl

2016-07-18 Thread Cág
did you try recompiling with "-fPIC"? I am not sure where to put it, so I did it like this make CC="gcc -fPIC" and it gave the same error.

Re: [dev] [noice] with musl

2016-07-18 Thread Cág
Martin Kühne wrote: It compiles a shared object? This can't be a suckless project. Spot on. It's from 2f30, see the link. But since devs from 2f30 sometimes visit this lonely place I thought it would be a good idea to write here. Maybe you should invert the baryon coupling to align the

Re: [dev] [noice] with musl

2016-07-18 Thread FRIGN
On Mon, 18 Jul 2016 13:49:16 +0300 Cág wrote: Hey Cág, > If someone knows what goes wrong or workarounds, please tell. did you try recompiling with "-fPIC"? Cheers FRIGN -- FRIGN

Re: [dev] [noice] with musl

2016-07-18 Thread Martin Kühne
On Mon, Jul 18, 2016 at 12:49 PM, Cág wrote: > Hi, > > Has anyone tried building noice[0] against musl? I use Alpine and building > it > gives me this: > > cc -o noice noice.o strlcat.o strlcpy.o -lcurses >

[dev] [noice] with musl

2016-07-18 Thread Cág
Hi, Has anyone tried building noice[0] against musl? I use Alpine and building it gives me this: cc -o noice noice.o strlcat.o strlcpy.o -lcurses /usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: strlcat.o: relocation R_X86_64_PC32 against undefined