Re: [dev] a

2017-02-02 Thread Markus Wichmann
On Thu, Feb 02, 2017 at 07:20:34PM +0100, willy wrote: > Hello everyone, > > While playing with sbase and musl, I encountered a strange bug: tar > fails to extract bzip2 compressed archives when bzip2 is compiled > against musl (I only tested static linking). Note that bzip2 uncompresses > the fil

Re: [dev] [dmenu] problem with parameters

2017-02-02 Thread Quentin Rameau
> That's interesting. It doesn't do what you (and the man page; missed > that, mea culpa) described Yes it does.

Re: [dev] Some core tools

2017-02-02 Thread Mattias Andrée
On Thu, 02 Feb 2017 17:59:14 -0600 Joshua Haase wrote: > Mattias Andrée writes: > > Also, I think mk(1) uses rc(1), right? > > On plan9port it uses the shell defined on the environment. That's not precisely portable. > > I think `mk` is way more suckless. I'm not convinced mk(1) is less s

Re: [dev] Some core tools

2017-02-02 Thread Greg Reagle
On Thu, Feb 2, 2017, at 18:44, Mattias Andrée wrote: > Also, I think mk(1) uses rc(1), right? The variable MKSHELL contains the shell command line mk uses to run recipes. If the first word of the command ends in rc or rcsh, mk uses rc(1)'s quoting rules; otherwise it

Re: [dev] Some core tools

2017-02-02 Thread Joshua Haase
Mattias Andrée writes: > Also, I think mk(1) uses rc(1), right? On plan9port it uses the shell defined on the environment. I think `mk` is way more suckless.

Re: [dev] Some core tools

2017-02-02 Thread Mattias Andrée
On Thu, 02 Feb 2017 17:08:17 -0600 Joshua Haase wrote: > Mattias Andrée writes: > > > Greetings! > > > > I'm work on implementing make(1), and I have two > > questions for you: > > Why make and not mk? Also, I think mk(1) uses rc(1), right? pgpvqzEaU7aMd.pgp Description: OpenPGP digital s

Re: [dev] [dmenu] problem with parameters

2017-02-02 Thread Tobias Girstmair
That's interesting. It doesn't do what you (and the man page; missed that, mea culpa) described, but actually runs `jj s` correctly when I do that. On 2017-02-02 23:28, Quentin Rameau wrote: Hi, I'm new! Hi Tobias, I have a script called `jj` (own creation) and an executable `jjs` When I r

Re: [dev] Some core tools

2017-02-02 Thread Mattias Andrée
On Thu, 02 Feb 2017 17:08:17 -0600 Joshua Haase wrote: > Mattias Andrée writes: > > > Greetings! > > > > I'm work on implementing make(1), and I have two > > questions for you: > > Why make and not mk? They are not compatible and make(1) is used almost universally. maandree pgpuOO34UlE3P

Re: [dev] Some core tools

2017-02-02 Thread hiro
NIH On 2/3/17, Joshua Haase wrote: > Mattias Andrée writes: > >> Greetings! >> >> I'm work on implementing make(1), and I have two questions for you: > > Why make and not mk? > >

Re: [dev] Some core tools

2017-02-02 Thread Joshua Haase
Mattias Andrée writes: > Greetings! > > I'm work on implementing make(1), and I have two questions for you: Why make and not mk?

Re: [dev] [dmenu] problem with parameters

2017-02-02 Thread Quentin Rameau
> Hi, I'm new! Hi Tobias, > I have a script called `jj` (own creation) and an executable `jjs` > When I run `jj s`, it gets interpreted as `jjs`. You could try “man dmenu”: Shift-Return, Confirm input. Prints the input text to stdout and exits, returning success.

Re: [dev] a

2017-02-02 Thread Michael Forney
On 2/2/17, willy wrote: > At this point, I'm not sure where to look at, or even if the bug > really lies in tar and not in bzip2. > I checked the size (both octal and converted) and the value is good. So > I'm not sure why the headers are not well read. > In the case of the archive above, the erro

Re: [dev] Some core tools

2017-02-02 Thread Mattias Andrée
On Thu, 2 Feb 2017 20:08:04 + Connor Lane Smith wrote: > On 2 February 2017 at 19:54, Markus Wichmann > wrote: > > GNU make style patsubst rules, i.e. > > > > %.o: %.c > > $(CC) $(CFLAGS) -o $@ $< > > > > Those are really useful. > > While GNU's syntax can be more general, that ru

Re: [dev] Some core tools

2017-02-02 Thread Connor Lane Smith
On 2 February 2017 at 20:08, Connor Lane Smith wrote: > > .o: > > $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< By which I of course mean `.c:'. We're all making mistakes today! cls

Re: [dev] Some core tools

2017-02-02 Thread Connor Lane Smith
On 2 February 2017 at 19:54, Markus Wichmann wrote: > GNU make style patsubst rules, i.e. > > %.o: %.c > $(CC) $(CFLAGS) -o $@ $< > > Those are really useful. While GNU's syntax can be more general, that rule can be done in POSIX make: > .c.o: > $(CC) $(CFLAGS) -c $< Likewise,

Re: [dev] Some core tools

2017-02-02 Thread Mattias Andrée
On Thu, 2 Feb 2017 20:54:45 +0100 Markus Wichmann wrote: > On Thu, Feb 02, 2017 at 06:45:49PM +0100, Mattias Andrée > wrote: > > Greetings! > > > > I'm work on implementing make(1), and I have two > > questions for you: > > > > 1) What extensions do you think I shall implement? I > > think I wi

Re: [dev] Some core tools

2017-02-02 Thread Markus Wichmann
On Thu, Feb 02, 2017 at 06:45:49PM +0100, Mattias Andrée wrote: > Greetings! > > I'm work on implementing make(1), and I have two questions for you: > > 1) What extensions do you think I shall implement? I think I will >add $(foreach), $(shell), and I will definitely add $(SHELL). >$(SHEL

Re: [dev] [ubase] pager

2017-02-02 Thread Mattias Andrée
On Thu, 2 Feb 2017 20:42:06 +0100 Josuah Demangeon wrote: > I started such a tool recently. It is probably not > suckless, as it is already 1600 loc, but can properly > display a man page, colour escape codes and content from > UTF-8-test.txt and UTF8-demo.txt without ncurses. > > http://github

Re: [dev] [ubase] pager

2017-02-02 Thread Josuah Demangeon
I started such a tool recently. It is probably not suckless, as it is already 1600 loc, but can properly display a man page, colour escape codes and content from UTF-8-test.txt and UTF8-demo.txt without ncurses. http://github.com/josuah/iode If this one sucks, I would be glad to see the implem

[dev] [dmenu] problem with parameters

2017-02-02 Thread Tobias Girstmair
Hi, I'm new! I am using dmenu with i3wm and since the upgrade from Fedora 24 to 25 I have problems with dmenu, if I try to run a program with parameters. Consider this situation: I have a script called `jj` (own creation) and an executable `jjs` (Java Nashhorn) in my path. `jj` takes a single c

[dev] [ubase] pager

2017-02-02 Thread Mattias Andrée
Hi! I'm going to write a pager for ubase, and, because it is a necessary component of the pager, I will also implement ul(1). ul(1) will be used by the pager which is necessary to get properly formatted output when piping man(1) or groff(1) to the pager. Mattias Andrée pgpAfVdp6vTnN.pgp Descri

[dev] a

2017-02-02 Thread willy
Hello everyone, While playing with sbase and musl, I encountered a strange bug: tar fails to extract bzip2 compressed archives when bzip2 is compiled against musl (I only tested static linking). Note that bzip2 uncompresses the files correctly. The error only occurs when the data flows through a p

[dev] Some core tools

2017-02-02 Thread Mattias Andrée
Greetings! I'm work on implementing make(1), and I have two questions for you: 1) What extensions do you think I shall implement? I think I will add $(foreach), $(shell), and I will definitely add $(SHELL). $(SHELL) is the macro that use to select the shell to use, POSIX only standardise

Re: [dev] structural regular expression support for vis

2017-02-02 Thread Marc André Tanner
On Fri, Mar 11, 2016 at 08:08:38PM +0100, Marc André Tanner wrote: > On Tue, Mar 01, 2016 at 05:23:11PM +, Connor Lane Smith wrote: > > On 1 March 2016 at 17:12, Marc André Tanner wrote: > > > I think structural regexp will integrate nicely with multiple selections. > > > > > > Basically if yo

[dev] Re: Request for video player recommendation with a good playlist

2017-02-02 Thread Mattias Andrée
If anyone is interrested, I found that this problem also occurred with Wine and GPG. However, I have reinstalled everything and this problem doesn't seem to happen anymore. Although I don't now what caused the error and why it's not happening anymore, what happened was that X crashed because it inv

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread sylvain . bertrand
On Thu, Feb 02, 2017 at 08:57:22PM +0700, Михаил Ивко wrote: > > Look at rust, they are trying: they are writting a kernel. But face the > > consequences: there are no syntax profiles... you get strings hardcoded in > > the > > syntax, why not threading while they're at it... lol. > > The only pa

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread Михаил Ивко
> Look at rust, they are trying: they are writting a kernel. But face the > consequences: there are no syntax profiles... you get strings hardcoded in the > syntax, why not threading while they're at it... lol. The only part of rust srings that's "hardcoded" is that str is different from [u8], so

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread sylvain . bertrand
On Thu, Feb 02, 2017 at 07:24:15PM +0700, Михаил Ивко wrote: > 2017-02-02 18:19 GMT+07:00 : > > On Wed, Feb 01, 2017 at 07:48:34PM +0100, Josuah Demangeon wrote: > >> > >> > >> sylvain.bertr...@gmail.com: > >> > >> > Useless to spend time on this, since guile is not suckless. > >> > >> I am curiou

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread Михаил Ивко
2017-02-02 18:19 GMT+07:00 : > On Wed, Feb 01, 2017 at 07:48:34PM +0100, Josuah Demangeon wrote: >> >> >> sylvain.bertr...@gmail.com: >> >> > Useless to spend time on this, since guile is not suckless. >> >> I am curious about the languages that you would consider suckless. >> >> I learned POSIX

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread Josuah Demangeon
sylvain.bertr...@gmail.com: > > Write it in simple C, it's the best compromise. Compose C programs with > simple sh scripts. It is fine this way, I will take this route. > If you are here, you are looking for a cure to those diseases. Yes, and am glad of what I already found here. Thank you

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-02 Thread sylvain . bertrand
On Wed, Feb 01, 2017 at 07:48:34PM +0100, Josuah Demangeon wrote: > > > sylvain.bertr...@gmail.com: > > > Useless to spend time on this, since guile is not suckless. > > I am curious about the languages that you would consider suckless. > > I learned POSIX shell scripting and awk, I am also t