Re: [dev] Re: Maintaining sbase

2013-06-25 Thread pmarin
dash has a broken builtin echo command and they are not interested in fix it. I think busybox ash fixed the problem. dash echo '\tshit' shit ash echo '\tshit' \tshit On Mon, Jun 24, 2013 at 11:32 PM, Christian Neukirchen chneukirc...@gmail.com wrote: Markus Teich markus.te...@stusta.mhn.de

[dev] Re: Maintaining sbase

2013-06-25 Thread Christian Neukirchen
pmarin pacog...@gmail.com writes: dash has a broken builtin echo command and they are not interested in fix it. I think busybox ash fixed the problem. dash echo '\tshit' shit ash echo '\tshit' \tshit That is bad indeed. Know any other problems? -- Christian Neukirchen

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Nick
Quoth pmarin: dash has a broken builtin echo command and they are not interested in fix it. I think busybox ash fixed the problem. Is it really broken? I got the impression from [0] that echo was so badly specified that one shouldn't trust it to do much at all, though I confess I haven't read

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Thorsten Glaser
Chris Down dixit: try mksh. FWIW, mksh has three different “echo”; if invoked as mksh, it uses a BSD echo by default which does interpret backslashes, but if one uses set -o posix (or invokes it as sh or -sh and it is compiled with -DMKSH_BINSHPOSIX (CVS HEAD)) it has an echo that only honours

[dev] Re: Maintaining sbase

2013-06-25 Thread Christian Neukirchen
Chris Down ch...@regentmarkets.com writes: On 25 June 2013 18:01, Christian Neukirchen chneukirc...@gmail.com wrote: pmarin pacog...@gmail.com writes: dash has a broken builtin echo command and they are not interested in fix it. I think busybox ash fixed the problem. dash echo '\tshit'

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Galos, David
What is your opinion on a shell for sbase? The shell is a topic around which there is far too much religion. Sbase should not include a shell.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Carlos Torres
On Tue, Jun 25, 2013 at 8:58 AM, Galos, David galos...@students.rowan.edu wrote: What is your opinion on a shell for sbase? The shell is a topic around which there is far too much religion. Sbase should not include a shell. :) i like this answer

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
why not rc? On 25 June 2013 10:10, Carlos Torres vlaadbr...@gmail.com wrote: On Tue, Jun 25, 2013 at 8:58 AM, Galos, David galos...@students.rowan.edu wrote: What is your opinion on a shell for sbase? The shell is a topic around which there is far too much religion. Sbase should not include

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Jesse Ogle
I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? Jesse On Tue, Jun 25, 2013 at 10:17 AM, Calvin Morrison mutanttur...@gmail.com wrote: why not rc? On 25 June 2013 10:10, Carlos Torres

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Chris Down
On 25 June 2013 22:42, Jesse Ogle jesse.p.o...@gmail.com wrote: I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? GNU coreutils has no shell, it is packaged separately (as GNU bash).

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
On 25 June 2013 10:45, Chris Down ch...@chrisdown.name wrote: On 25 June 2013 22:42, Jesse Ogle jesse.p.o...@gmail.com wrote: I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? GNU coreutils has no

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Markus Teich
Am 2013-06-25 16:42, schrieb Jesse Ogle: I understood sbase to have a loose correspondence to coreutils. Is this the case? Coreutils does not have a shell, or am I wrong about that? I don't think „Everyone is doing it this way“ is a valid argument in any discussion. On Tue, Jun 25, 2013 at

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Calvin Morrison
my votes are for at a minimum are for: sponge tee pee On 25 June 2013 10:54, Daniel Bryan danbr...@gmail.com wrote: first of all, some things in moreutils would be awesome Especially if they weren't written in Perl.

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread hiro
busybox ash.

[dev] [sbase] sponge

2013-06-25 Thread Jakob Kramer
Hi! I wrote a sponge program, but I am not fully convinced of it yet. What do you think? Regards, Jakob Kramer commit 3565860b40ea4a8220d5029e3d74b437a9205cda Author: Jakob Kramer jakob.kra...@gmx.de Date: Tue Jun 25 19:55:37 2013 +0200 added sponge diff --git a/Makefile b/Makefile

[dev] [sbase] chvt.c does not need to be executable

2013-06-25 Thread Jakob Kramer
so why keep it executable... commit 8512381861878f2123a50a162a0d1ea550157da5 Author: Jakob Kramer jakob.kra...@gmx.de Date: Tue Jun 25 20:10:39 2013 +0200 removed executable bits from chvt.c diff --git a/chvt.c b/chvt.c old mode 100755 new mode 100644

Re: [dev] [sbase] sponge

2013-06-25 Thread Galos, David
Isn't this just 'tee [file] /dev/null'?

Re: [dev] [sbase] sponge

2013-06-25 Thread Calvin Morrison
On 25 June 2013 14:34, Galos, David galos...@students.rowan.edu wrote: Isn't this just 'tee [file] /dev/null'? No. sponge sucks up stdin, waits till it is closed then puts it out to stdout

Re: [dev] [sbase] sponge

2013-06-25 Thread Truls Becken
On 2013-06-25, at 20:39, Calvin Morrison wrote: sponge sucks up stdin, waits till it is closed then puts it out to stdout Except it does not actually sponge in the stdout case, only when writing to file. Perhaps it would be better to drop support for stdout? Or cat temp file to stdout at the

Re: [dev] [sbase] sponge

2013-06-25 Thread markus schnalke
[2013-06-25 20:22] Jakob Kramer jakob.kra...@gmx.de I wrote a sponge program, but I am not fully convinced of it yet. What do you think? I think you shouldn't rename(2). Renaming a file and replacing it's contents are quite different things. Take for example: $ mkdir a $

[dev] dwm: native window tabs

2013-06-25 Thread philippe . gras
Hello, I wrote a patch to add a bar in dwm with a tab displayed for each window. It is especially interesting in monocle mode, transforming this mode in a tab mode. Navigating from window to window can be done by clicking on the window tabs or using the usual Mod1-j/k keys. I am using this

Re: [dev] dwm: native window tabs

2013-06-25 Thread Jacob Todd
Have you not heard of tabbed?

Re: [dev] dwm: native window tabs

2013-06-25 Thread Andrew Hills
On Tue, 25 Jun 2013 21:57:44 +0200 (CEST) philippe.g...@free.fr wrote: If people are interested I can send the patch. Let me know if I should post it directly to this mailing list. You should post it to the wiki. That is the standard procedure for sharing patches. signature.asc Description:

Re: [dev] dwm: native window tabs

2013-06-25 Thread Andrew Hills
On Tue, 25 Jun 2013 16:00:27 -0400 Jacob Todd jaketodd...@gmail.com wrote: Have you not heard of tabbed? Perhaps you should read his mail. signature.asc Description: PGP signature

Re: [dev] dwm: native window tabs

2013-06-25 Thread philippe . gras
Thanks for your answer. I'll post it to the wiki, Philippe. - Mail original - De: Andrew Hills ahi...@ednos.net À: dev@suckless.org Envoyé: Mardi 25 Juin 2013 22:00:06 Objet: Re: [dev] dwm: native window tabs On Tue, 25 Jun 2013 21:57:44 +0200 (CEST) philippe.g...@free.fr wrote: If

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Martti Kühne
On Tue, Jun 25, 2013 at 4:58 PM, Calvin Morrison mutanttur...@gmail.com wrote: my votes are for at a minimum are for: sponge tee pee And a cloth to clean up the mess...

Re: [dev] [sbase] chvt.c does not need to be executable

2013-06-25 Thread u
On Tue, Jun 25, 2013 at 08:24:08PM +0200, Jakob Kramer wrote: so why keep it executable... commit 8512381861878f2123a50a162a0d1ea550157da5 Author: Jakob Kramer jakob.kra...@gmx.de Date: Tue Jun 25 20:10:39 2013 +0200 removed executable bits from chvt.c diff --git a/chvt.c b/chvt.c

Re: [dev] [sbase] chvt.c does not need to be executable

2013-06-25 Thread Jakob Kramer
u...@netbeisser.de wrote: On Tue, Jun 25, 2013 at 08:24:08PM +0200, Jakob Kramer wrote: so why keep it executable... commit 8512381861878f2123a50a162a0d1ea550157da5 Author: Jakob Kramer jakob.kra...@gmx.de Date: Tue Jun 25 20:10:39 2013 +0200 removed executable bits from chvt.c diff

Re: [dev] [sbase] chvt.c does not need to be executable

2013-06-25 Thread u
On Tue, Jun 25, 2013 at 11:56:27PM +0200, Jakob Kramer wrote: u...@netbeisser.de wrote: On Tue, Jun 25, 2013 at 08:24:08PM +0200, Jakob Kramer wrote: so why keep it executable... commit 8512381861878f2123a50a162a0d1ea550157da5 Author: Jakob Kramer jakob.kra...@gmx.de Date: Tue Jun 25

Re: [dev] [sbase] sponge

2013-06-25 Thread Galos, David
Except it does not actually sponge in the stdout case, only when writing to file. Perhaps it would be better to drop support for stdout? Or cat temp file to stdout at the end? Why does it open a temp file when not using it? Definitely drop stdout support, its existence makes no sense. To

Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Strake
On 25/06/2013, Martti Kühne mysat...@gmail.com wrote: On Tue, Jun 25, 2013 at 4:58 PM, Calvin Morrison mutanttur...@gmail.com wrote: my votes are for at a minimum are for: sponge tee pee And a cloth to clean up the mess... No, that's what sponge is for.

[dev] Gmail watcher from commandline

2013-06-25 Thread Viola Zoltán
Hi, excuse me for the bad English... I created a simple gmail watcher script/solution, because the gmail watcher extension to the Firefox no more developed. Gmail Watcher — without Firefox, from commandline! Under Sabayon distro: emerge fetchmail To the $HOME/.fetchmailrc file: poll

Re: [dev] [sbase] chvt.c does not need to be executable

2013-06-25 Thread pancake
tcc can execute .c files On Jun 26, 2013, at 0:43, u...@netbeisser.de wrote: On Tue, Jun 25, 2013 at 11:56:27PM +0200, Jakob Kramer wrote: u...@netbeisser.de wrote: On Tue, Jun 25, 2013 at 08:24:08PM +0200, Jakob Kramer wrote: so why keep it executable... commit