[dev] [sbase][bug] cat -u is not unbuffered

2016-02-29 Thread Ryan Wilson
So I was studying sbase and found a bug in cat. POSIX says that cat -u should "Write bytes from the input file to the standard output without delay as each is read." But if you try feeding cat input slowly you can see this is not the case: # Feed one byte per second to cat: $ yes | pv -

Re: [dev] another text user interface for sam

2016-02-29 Thread Greg Reagle
On 02/26/2016 11:52 AM, Connor Lane Smith wrote: Anyway, that could work. If we were to do that then I'd suggest we first rip out all of sam's mesg and rasp code and work from there. The code for the command line interface ought to stay. Such a UI likely won't have some features one might really

Re: [dev] suckless shared tools

2016-02-29 Thread Marc Collin
Since arg.h changes so little over time, I'll have to agree. No need to complicate the process, it can be manually updated for each project on the rare occasion there is an improvement. I guess it's no big deal. If suckless projects one day share a fast-changing files, then it could be a problem an

Re: [dev] suckless shared tools

2016-02-29 Thread v4hn
On Mon, Feb 29, 2016 at 01:40:30AM -0800, Louis Santillan wrote: > Got a link to google repo? https://code.google.com/p/git-repo/ http://myrepos.branchable.com/ https://github.com/vcstools/wstool It's a common problem, so there are a number of projects trying to automate this (including git-submo

Re: [dev] suckless shared tools

2016-02-29 Thread Silvan Jegen
On Mon, Feb 29, 2016 at 10:40 AM, Louis Santillan wrote: > Got a link to google repo? https://code.google.com/p/git-repo/ It wasn't hard to find... Cheers, Silvan

Re: [dev] suckless shared tools

2016-02-29 Thread Louis Santillan
Got a link to google repo? On Mon, Feb 29, 2016 at 12:43 AM, Anselm R Garbe wrote: > On 28 February 2016 at 02:03, Daniel Kowalski wrote: >> Synchronization of common code between projects is built into git: >> https://git-scm.com/docs/git-submodule > > git submodules are an abomination. They to

Re: [dev] suckless shared tools

2016-02-29 Thread Anselm R Garbe
On 28 February 2016 at 02:03, Daniel Kowalski wrote: > Synchronization of common code between projects is built into git: > https://git-scm.com/docs/git-submodule git submodules are an abomination. They touch git repos for no good reason. If someone really wants to manage a tree of git repos, som

Re: [dev] suckless shared tools

2016-02-29 Thread Anselm R Garbe
On 28 February 2016 at 08:53, robin wrote: >> I noticed there's libsl on git.suckless.org > Why not have a makefile in libsl? > It could install to /usr/local/include/arg.h and so on. > All projects using arg.h can #include . This has been discussed earlier as well. arg.h barely changes, the vers