[dev] [dwm] default keybinds to reconsider?

2013-06-19 Thread Thuban
Hello, Re-reading this article [0], I was wondering why the keybinds are not those used in [0] by default? As the author says, > Ironically, dwm's default hotkeys are setup in such a way that it > actually promotes treating tag-as-views rather than tags-as-tags. Regards, [0] : http://www.wongd

Re: [dev] [dwm] default keybinds to reconsider?

2013-06-19 Thread Chris Down
On 19 June 2013 16:28, Thuban wrote: > Hello, > Re-reading this article [0], I was wondering why the keybinds are not > those used in [0] by default? As the author says, > >> Ironically, dwm's default hotkeys are setup in such a way that it >> actually promotes treating tag-as-views rather than ta

Re: [dev] [sbase] built with watcom

2013-06-19 Thread Thorsten Glaser
Jens Staal dixit: > By the way: what is the status of MirOS on top of Linux? A dead project? It was never really worked on but apparently got hyped in “the media” (especially Wikipedia, which is known to get its facts wrong but disallow corrections). It was basically a “we could…” idea but not im

[dev] [sbase] [patch] Add md5sum

2013-06-19 Thread stateless
Hi, Added md5sum(1) - using the OpenBSD md5.[ch] - Let me know if this makes sense. Thanks, stateless 0001-Add-md5sum.patch Description: Binary data

[dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread stateless
Hi, This is a version of md5sum(1) using the md5 routines from 9base - slightly adapted to compile. Thanks, stateless 0001-Add-md5sum.patch Description: Binary data

Re: [dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread Szabolcs Nagy
* stateless [2013-06-19 11:38:00 +0100]: > This is a version of md5sum(1) using the md5 routines from 9base - slightly > adapted to compile. > be careful with integer arithmetics in crypto code your code invokes undefined behaviour because of signed int overflow: unsigned f(unsigned char c) {

Re: [dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread sin
On Wed, Jun 19, 2013 at 12:51:33PM +0200, Szabolcs Nagy wrote: > * stateless [2013-06-19 11:38:00 +0100]: > > This is a version of md5sum(1) using the md5 routines from 9base - slightly > > adapted to compile. > > > > be careful with integer arithmetics in crypto code > > your code invokes unde

Re: [dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread sin
On Wed, Jun 19, 2013 at 02:55:12PM +0300, sin wrote: > On Wed, Jun 19, 2013 at 12:51:33PM +0200, Szabolcs Nagy wrote: > > * stateless [2013-06-19 11:38:00 +0100]: > > > This is a version of md5sum(1) using the md5 routines from 9base - > > > slightly > > > adapted to compile. > > > > > > > be c

Re: [dev] Controlling mpd through dmenu

2013-06-19 Thread Calvin Morrison
Not MPD, but moc another great console player: https://github.com/mutantturkey/mocicon/blob/master/dmenu_mocp/dmenu_mocp On 19 June 2013 00:46, Chris Down wrote: > In case it interests anyone, I wrote a little script to control mpd > through dmenu. I've been using it for the last month or so, an

Re: [dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread Szabolcs Nagy
* sin [2013-06-19 15:00:43 +0300]: > > Integer promotion rules are nasty! I think something like > > the following would still be ok? > > > > unsigned f(unsigned int c) { return c<<24U; } > > Although in this case we still have undefined behaviour > because unsigned int can be 2 bytes by the st

Re: [dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread sin
On Wed, Jun 19, 2013 at 04:47:02PM +0200, Szabolcs Nagy wrote: > * sin [2013-06-19 15:00:43 +0300]: > > > Integer promotion rules are nasty! I think something like > > > the following would still be ok? > > > > > > unsigned f(unsigned int c) { return c<<24U; } > > > > Although in this case we s

Re: [dev] Re - libsl/drw integration - patch

2013-06-19 Thread Anselm R Garbe
On 16 June 2013 22:04, Eon S. Jeon wrote: > On Sun, Jun 16, 2013 at 09:35:00PM +0200, Anselm R Garbe wrote: >> If anyone has a better term for a color tuple for >> foreground/background/border, please step forward ;) > How about "color scheme"? I think this is a perfect name for a color tuple. xD

Re: [dev] [dwm] default keybinds to reconsider?

2013-06-19 Thread Anselm R Garbe
On 19 June 2013 10:28, Thuban wrote: > Re-reading this article [0], I was wondering why the keybinds are not > those used in [0] by default? As the author says, > >> Ironically, dwm's default hotkeys are setup in such a way that it >> actually promotes treating tag-as-views rather than tags-as-tag

[dev] [sbase] [patch] cal

2013-06-19 Thread Jesse Ogle
Basic implementation of cal command. Man page included. First patch submission attempt. Is a little nonstandard. Yearly calendar ./cal -m 1 -n 12 For a different year ./cal -m 1 -n 12 -y 2014 Print as 3x4 ./cal -m 1 -n 12 -y 2014 -c 4 May start at any month ./cal -m 7 -n 12 -y 2014 -c 4 sbase

Re: [dev] [dwm] default keybinds to reconsider?

2013-06-19 Thread Thuban
> The choice of dwm's default keybindings has been developed very > carefully during the years. I don't have any doubt about it. Infact, I was interested in your opinion after seeing a lot of users misunderstanding what a tag is, maybe (?) because default keybinds tends to give this feeling. Ev

Re: [dev] sbase: logname

2013-06-19 Thread Christoph Lohmann
Greetings. On Wed, 19 Jun 2013 21:11:32 +0200 "Galos, David" wrote: > > Maybe now? > > I would: > > * submit as a patch > * write a manpage > * add usage > * eprintf something upon failure. That’s exactly how I would accept the patch. Sincerely, Christoph Lohmann

Re: [dev] [sbase] [patch] cal

2013-06-19 Thread Christoph Lohmann
Greetings. On Wed, 19 Jun 2013 22:11:16 +0200 Jesse Ogle wrote: > Basic implementation of cal command. Man page included. First patch > submission attempt. Is a little nonstandard. Thanks for the submission. I made it standard. It supports a variable day of week, so your week can now start on

[dev] [sbase] patches

2013-06-19 Thread Christoph Lohmann
Greetings comrades, I have applied several patches to sbase sent in the last days. Please check out the repository and report bugs. Sincerely, Christoph Lohmann

[dev] [st] [patch] Fixed lock up when system time jumps back

2013-06-19 Thread Rob
It seems st enters a heavy draw cycle when system time is moved back (e.g. ntp). This patch should fix it. Cheers, Rob 0001-Fixed-lock-up-when-system-time-jumps-backwards.patch Description: Binary data

Re: [dev] [sbase] [patch] cal

2013-06-19 Thread Jesse Ogle
Two small patches. On Wed, Jun 19, 2013 at 4:11 PM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Wed, 19 Jun 2013 22:11:16 +0200 Jesse Ogle > wrote: > > Basic implementation of cal command. Man page included. First patch > > submission attempt. Is a little nonstandard. > > Thank

Re: [dev] [sbase] [patch] cal

2013-06-19 Thread Christoph Lohmann
Greetings. On Wed, 19 Jun 2013 23:24:50 +0200 Jesse Ogle wrote: > Two small patches. Thanks, both have been applied. Please break long strings. Sincerely, Christoph Lohmann

[dev][sbase] seq possible bug

2013-06-19 Thread Jesse Ogle
On master branch for sbase, it seems that on the seq command the format string (option -f) is having the first character clipped off. Sample below. ./seq -f "%04g" 3 04g 04g 04g ./seq -f " %04g" 3 0001 0002 0003 Printing the format string in validfmt() shows that it is correct. Printing after 'f