[dev] Github

2012-08-01 Thread Hugues Moretto-Viry
Hi, I was away from computer but today I saw suckless repo on Github. This is an official repo as http://hg.suckless.org , maintened by devs or this is something added by volunteers? Cheers. -- Envoyé d'Archlinux

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Uriel
Use awk. On Wed, Aug 1, 2012 at 6:07 AM, Strake strake...@gmail.com wrote: Will now need libutf. diff -r 8cf300476909 Makefile --- a/Makefile Sat Jun 09 18:53:39 2012 +0100 +++ b/Makefile Tue Jul 31 23:06:28 2012 -0500 @@ -27,6 +27,7 @@ cksum.c\ cmp.c \

Re: [dev] New friends

2012-08-01 Thread Uriel
I really don't care, luser space, or kernel space, as long as ALSA and Puke Audio die. Uriel On Wed, Aug 1, 2012 at 2:34 AM, Anthony J. Bentley anth...@cathet.us wrote: Christoph Lohmann writes: Greetings comrades, in our reckless effort to improve the software world a new friend might

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Ross Mohn
Thanks Marc! To all -- This version is very stable and very functional. It is a huge productivity enhancer for anyone who works in a terminal! -Ross On 08/01/2012 07:49 AM, Marc Andre Tanner wrote: Hi, I've released dvtm-0.8 http://www.brain-dump.org/projects/dvtm/dvtm-0.8.tar.gz

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Christoph Lohmann
Greetings. On Wed, 01 Aug 2012 14:48:47 +0200 Marc Andre Tanner m...@brain-dump.org wrote: Hi, I've released dvtm-0.8 http://www.brain-dump.org/projects/dvtm/dvtm-0.8.tar.gz Changes since last release * AIX support (special thanks to Ross Mohn) [snip] How is this possible

Re: [dev] Build system: redo

2012-08-01 Thread Uriel
On Sun, Jul 15, 2012 at 3:28 PM, Prakhar Goel newt0...@gmail.com wrote: I propose adding redo to the list of software that rocks. It'll also give you a nice incremental build system to use. I like the design, but unless you rewrite it in C or Go it is not worth taking seriously. Uriel Info

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Martin Kopta
On 08/01/2012 02:36 PM, Uriel wrote: Use awk. Use Perl.

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Niki Yoshiuchi
Why would you use awk or Perl when you have the best programming language available: Ruby? On Aug 1, 2012 8:55 AM, Martin Kopta mar...@kopta.eu wrote: On 08/01/2012 02:36 PM, Uriel wrote: Use awk. Use Perl.

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Kurt H Maier
On Wed, Aug 01, 2012 at 08:58:00AM -0400, Niki Yoshiuchi wrote: Why would you use awk or Perl when you have the best programming language available: Ruby? On Aug 1, 2012 8:55 AM, Martin Kopta mar...@kopta.eu wrote: On 08/01/2012 02:36 PM, Uriel wrote: Use awk. Use Perl. I

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Kai Hendry
Couldn't quite work out how to scroll back in the buffer. To add scrollbackabilty to st. http://natalian.org/archives/2012/07/31/dwm+tmux/ I'm thinking dvtm could replace tmux. I'm probably way off the mark.

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Christoph Lohmann
Greetings. On Wed, 01 Aug 2012 15:10:19 +0200 Niki Yoshiuchi aplu...@gmail.com wrote: Why would you use awk or Perl when you have the best programming language available: Ruby? On Aug 1, 2012 8:55 AM, Martin Kopta mar...@kopta.eu wrote: On 08/01/2012 02:36 PM, Uriel wrote: Use awk.

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Ross Mohn
On 08/01/2012 08:48 AM, Christoph Lohmann wrote: Greetings. On Wed, 01 Aug 2012 14:48:47 +0200 Marc Andre Tanner m...@brain-dump.org wrote: Hi, I've released dvtm-0.8 http://www.brain-dump.org/projects/dvtm/dvtm-0.8.tar.gz Changes since last release * AIX support (special thanks to

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Ross Mohn
On 08/01/2012 09:12 AM, Kai Hendry wrote: Couldn't quite work out how to scroll back in the buffer. To add scrollbackabilty to st. Try CTRL-g + PgUp http://natalian.org/archives/2012/07/31/dwm+tmux/ I'm thinking dvtm could replace tmux. I'm probably way off the mark. You're not at all off

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Martin Kopta
On 08/01/2012 03:09 PM, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 08:58:00AM -0400, Niki Yoshiuchi wrote: Why would you use awk or Perl when you have the best programming language available: Ruby? On Aug 1, 2012 8:55 AM, Martin Kopta mar...@kopta.eu wrote: On 08/01/2012 02:36 PM, Uriel

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Strake
On 01/08/2012, Martin Kopta mar...@kopta.eu wrote: Also, I'm really curious why people use cut when awk exists. $ du -b /usr/bin/cut /usr/bin/gawk /opt/plan9/bin/awk 38600 /usr/bin/cut 400212 /usr/bin/gawk 105700 /opt/plan9/bin/awk Speed and simplicity I guess? Why would I use awk of

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Calvin Morrison
On Aug 1, 2012 8:17 AM, Marc Andre Tanner m...@brain-dump.org wrote: Hi, I've released dvtm-0.8 http://www.brain-dump.org/projects/dvtm/dvtm-0.8.tar.gz Changes since last release * AIX support (special thanks to Ross Mohn) * Cygwin compile fix * terminal emulation correctness

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Strake
I rewrote cut cleaner, but am not sure whether I ought to bother to send it, if ye would rather keep sbase sans cut.

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Chris Larson
On Wed, Aug 1, 2012 at 6:18 AM, Ross Mohn rpm...@waxandwane.org wrote: http://natalian.org/archives/2012/07/31/dwm+tmux/ I'm thinking dvtm could replace tmux. I'm probably way off the mark. You're not at all off the mark; you should replace tmux with dvtm. Tmux is a decent multiplexer, but

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Ryan Mullen
HI, On Wed, Aug 1, 2012 at 9:48 AM, Strake strake...@gmail.com wrote: I rewrote cut cleaner, but am not sure whether I ought to bother to send it, if ye would rather keep sbase sans cut. IMO cut is a good tool to include. I use cut's functionality much more than awk's; it's a simpler tool that

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Kai Hendry
Sorry, sent this message with the wrong From: address On 1 August 2012 16:10, Kai Hendry hen...@webconverger.com wrote: On 1 August 2012 15:18, Ross Mohn rpm...@waxandwane.org wrote: Try CTRL-g + PgUp I realise this could probably be rebound, but the default is pretty unusable. IIUC I need

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Nick
Quoth Ryan Mullen: Exclusion of cut would make sbase not viable when existing scripts need to be supported. Exactly. I only use awk to do these kind of jobs nowadays, but cut is in use a lot of places, so it makes sense to use it. And it can be easier for certain kinds of jobs (e.g. printing

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread pancake
The only thing i miss in cut is mutichar word split. Which is properly handled by awk. For example: If a line is splitted by multiple spaces or a mix of tabs and spaces it is not handled right by cut. But awk does the job. That's quite anoying because of the crappy output of many tools that

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Ryan Mullen
Hi, On Wed, Aug 1, 2012 at 10:23 AM, pancake panc...@youterm.com wrote: The only thing i miss in cut is mutichar word split. Which is properly handled by awk. For example: If a line is splitted by multiple spaces or a mix of tabs and spaces it is not handled right by cut. But awk does the

Re: [dev] Build system: redo

2012-08-01 Thread pancake
Anyone checked my cake? http://hg.youterm.com/cake On Aug 1, 2012, at 14:52, Uriel ur...@berlinblue.org wrote: On Sun, Jul 15, 2012 at 3:28 PM, Prakhar Goel newt0...@gmail.com wrote: I propose adding redo to the list of software that rocks. It'll also give you a nice incremental build system

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Ross Mohn
On 08/01/2012 10:01 AM, Chris Larson wrote: On Wed, Aug 1, 2012 at 6:18 AM, Ross Mohn rpm...@waxandwane.org wrote: http://natalian.org/archives/2012/07/31/dwm+tmux/ I'm thinking dvtm could replace tmux. I'm probably way off the mark. You're not at all off the mark; you should replace tmux

[dev] [PATCH] sbase: add chroot

2012-08-01 Thread Strake
diff -r 8cf300476909 chroot.8 --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/chroot.8 Wed Aug 01 04:46:43 2012 -0500 @@ -0,0 +1,25 @@ +.TH CHROOT 8 +.SH NAME +chroot \- change root directory +.SH SYNOPSIS +.B chroot +.I path +[ +.I x +[ +.I argument ... +] +] +.SH OPERATION +.B chroot

Re: [dev] [PATCH] sbase: add chroot

2012-08-01 Thread pancake
That is vulnerable on linux. Proper use is: chdir (path); chroot(.); On Aug 1, 2012, at 16:50, Strake strake...@gmail.com wrote: diff -r 8cf300476909 chroot.8 --- /dev/nullThu Jan 01 00:00:00 1970 + +++ b/chroot.8Wed Aug 01 04:46:43 2012 -0500 @@ -0,0 +1,25 @@ +.TH CHROOT 8

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Chris Larson
On Wed, Aug 1, 2012 at 7:49 AM, Ross Mohn rpm...@waxandwane.org wrote: You're not at all off the mark; you should replace tmux with dvtm. Tmux is a decent multiplexer, but dvtm it a true terminal manager! How exactly is tmux not a true terminal manager, out of curiosity? I'm quite intrigued

Re: [dev] [PATCH] sbase: add chroot

2012-08-01 Thread Jacob Todd
You could have at least tried to match the formatting of the rest of the project.

Re: [dev] [PATCH] sbase: add chroot

2012-08-01 Thread Strake
On 01/08/2012, pancake panc...@youterm.com wrote: That is vulnerable on linux. Proper use is: chdir (path); chroot(.); Ah, sorry. --- /dev/null Thu Jan 01 00:00:00 1970 + +++ b/chroot.8 Wed Aug 01 05:09:36 2012 -0500 @@ -0,0 +1,25 @@ +.TH CHROOT 8 +.SH NAME +chroot \- change root

Re: [dev] [ANNOUNCE] dvtm-0.8

2012-08-01 Thread Marc Andre Tanner
On Wed, Aug 01, 2012 at 04:11:16PM +0200, Kai Hendry wrote: What would be good if just PGUP/PGDN worked. The following should work, but as the code is you have no way of sending PGUP/PGDN to the underlying app, which might be a problem. I personally use a pager when I know that I want to

Re: [dev] Build system: redo

2012-08-01 Thread Kai Hendry
On 1 August 2012 16:48, pancake panc...@youterm.com wrote: Anyone checked my cake? http://hg.youterm.com/cake What's your take on tup? http://gittup.org/building-firefox-with-tup.html

Re: [dev] Github

2012-08-01 Thread Hugues Moretto-Viry
Thanks for the information. Actually I think it was a good idea to add suckless in Github. Take care. -- Envoyé d'Archlinux

Re: [dev] [PATCH] sbase: add chroot

2012-08-01 Thread Džen
why argu? On Wed, Aug 1, 2012 at 5:11 PM, Strake strake...@gmail.com wrote: [...] +void main (int argc, char *argu[]) { [...]

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Uriel
On Wed, Aug 1, 2012 at 4:04 PM, Ryan Mullen rmmul...@gmail.com wrote: Exclusion of cut would make sbase not viable when existing scripts need to be supported. Exclusion of bash would make sbase not viable when existing scripts need to be supported. What a lame argument. Uriel

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Uriel
On Wed, Aug 1, 2012 at 3:18 PM, Martin Kopta mar...@kopta.eu wrote: On 08/01/2012 03:09 PM, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 08:58:00AM -0400, Niki Yoshiuchi wrote: Why would you use awk or Perl when you have the best programming language available: Ruby? On Aug 1, 2012 8:55 AM,

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Nick
Quoth Uriel: On Wed, Aug 1, 2012 at 4:04 PM, Ryan Mullen rmmul...@gmail.com wrote: Exclusion of cut would make sbase not viable when existing scripts need to be supported. Exclusion of bash would make sbase not viable when existing scripts need to be supported. What a lame argument.

Re: [dev] Build system: redo

2012-08-01 Thread pancake
Tup is cool but i find it quite bloated to depend on sqlite. And requires to rebuild the cache for every new file. Apart from that the rules looks good and graph theory makes the papers cool. I had some issues trying to port r2 from makefiles to tupfiles so i end up keeping the good old

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread hiro
because suckless lol On 8/2/12, Kurt H Maier khm-suckl...@intma.in wrote: On Wed, Aug 01, 2012 at 11:02:52PM +0100, Nick wrote: Bah. There's a balance to be struck. Scripts which aren't awful should be supported. The issue is whether using cut constitutes 'awful'. I think it does not. There

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Steven Blatchford
On 18:54 Wed 01 Aug, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 11:02:52PM +0100, Nick wrote: Bah. There's a balance to be struck. Scripts which aren't awful should be supported. The issue is whether using cut constitutes 'awful'. I think it does not. There are legitimate cases where it's

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Kurt H Maier
On Wed, Aug 01, 2012 at 07:13:57PM -0400, Steven Blatchford wrote: Give this[0] a read and see what you think. [0] http://awk.freeshell.org/RangeOfFields I think their suggestions are based on 1) deciding to use a shitty version of awk, and 2) the idea that you should give a shit if

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Steven Blatchford
On 19:21 Wed 01 Aug, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 07:13:57PM -0400, Steven Blatchford wrote: Give this[0] a read and see what you think. [0] http://awk.freeshell.org/RangeOfFields I think their suggestions are based on 1) deciding to use a shitty version of awk, and 2)

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Kurt H Maier
On Wed, Aug 01, 2012 at 07:28:57PM -0400, Steven Blatchford wrote: What is your awk to print fields three and four with this input: 'foo bar baz quz' Depends on what output format I want. Get to the point instead of trying to set me up for failure; I don't have time for this shit

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Andrew Hills
On Wed, Aug 1, 2012 at 6:54 PM, Kurt H Maier khm-suckl...@intma.in wrote: The question is: since cut can be implemented IN awk, why should it get a separate C binary? Anyone nattering about performance in a shell script is barking up the wrong tree. Should sed be excluded? What can you do

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Kurt H Maier
On Wed, Aug 01, 2012 at 08:33:14PM -0400, Andrew Hills wrote: On Wed, Aug 1, 2012 at 6:54 PM, Kurt H Maier khm-suckl...@intma.in wrote: The question is: since cut can be implemented IN awk, why should it get a separate C binary? Anyone nattering about performance in a shell script is

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Strake
On 01/08/2012, Kurt H Maier khm-suckl...@intma.in wrote: In fact, I'm fairly certain I could implement cut in sed. with shell script wrapper?

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Steven Blatchford
On 19:52 Wed 01 Aug, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 07:28:57PM -0400, Steven Blatchford wrote: What is your awk to print fields three and four with this input: 'foo bar baz quz' Depends on what output format I want. Get to the point instead of trying to set me up for

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread sjferrara
On 19:52 Wed 01 Aug, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 07:28:57PM -0400, Steven Blatchford wrote: What is your awk to print fields three and four with this input: 'foo bar baz quz' Depends on what output format I want. Get to the point instead of trying to set me up for

Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Steven Blatchford
On 00:12 Thu 02 Aug, sjferr...@gmail.com wrote: On 19:52 Wed 01 Aug, Kurt H Maier wrote: On Wed, Aug 01, 2012 at 07:28:57PM -0400, Steven Blatchford wrote: What is your awk to print fields three and four with this input: 'foo bar baz quz' Depends on what output format I want. Get to