Re: [dev] Re: sbase

2011-06-09 Thread pancake
Hi On 10/06/2011, at 4:26, Connor Lane Smith wrote: > On 9 June 2011 23:24, pancake wrote: >> support for string mode format in chmod. Now you can do stuff like chmod +x >> .. g-rwx , ... > > Thanks, I'll get round to looking at this tomorrow. > >> fix uninitialized bug in tail > > No, ther

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 23:25, pancake wrote: > What do you think about creating a single main() in sbase.c that works like > busybox (as a proxy for the rest of binaries) i think this can be interesting > for embeddeds. So reading symlink of argv0 and act accordingly. The only way this is going to happ

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 23:24, pancake wrote: > support for string mode format in chmod. Now you can do stuff like chmod +x > .. g-rwx , ... Thanks, I'll get round to looking at this tomorrow. > fix uninitialized bug in tail No, there's no bug here; size is allocated and memset on the next line. > sim

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 10 June 2011 02:32, Connor Lane Smith wrote: > Thanks. I actually decided the name system is better, since only that > is required by POSIX Though we can allow signums for '-s', despite its not being strictly POSIX. cls

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 16:28, Rob wrote: > I was wondering whether to do that or not, it's pretty useful but > there's a fair bit more code. I'll leave it to cls to decide. Thanks. I actually decided the name system is better, since only that is required by POSIX, and it means we can use the same arg par

Re: [dev] Re: sbase

2011-06-09 Thread Anthony J. Bentley
On Thu, Jun 9, 2011 at 6:58 PM, Connor Lane Smith wrote: > On 9 June 2011 13:40, stateless wrote: >> Attached cmp.c and cmp.1. > > Thanks! I'm also not bothering with '-', so I took that out, which > meant we could simplify the code a lot. Don’t we have /dev/stdin for that anyway? -- Anthony J.

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 13:40, stateless wrote: > Attached cmp.c and cmp.1. Thanks! I'm also not bothering with '-', so I took that out, which meant we could simplify the code a lot. cls

Re: [dev] Re: sbase

2011-06-09 Thread Kurt H Maier
On Thu, Jun 9, 2011 at 6:25 PM, pancake wrote: > What do you think about creating a single main() in sbase.c that works like > busybox (as a proxy for the rest of binaries) i think this can be interesting > for embeddeds. So reading symlink of argv0 and act accordingly. please for the love of g

Re: [dev] ideas on suckless file manager

2011-06-09 Thread hiro
I like his rationale. pre-aliasing and neuro-aliasing come to mind, but idiotic as it might sound the only technically clear term is really "not antialiased". I guess I (we?) should get a life :D

Re: [dev] Re: sbase

2011-06-09 Thread pancake
What do you think about creating a single main() in sbase.c that works like busybox (as a proxy for the rest of binaries) i think this can be interesting for embeddeds. So reading symlink of argv0 and act accordingly. On 09/06/2011, at 17:28, Rob wrote: > On 9 June 2011 16:06, Hiltjo Posthuma

Re: [dev] Re: sbase

2011-06-09 Thread pancake
Here's my contribution: * support for string mode format in chmod. Now you can do stuff like chmod +x .. g-rwx , ... * fix uninitialized bug in tail * simplify sleep() -- do not use getopt here. The chmod patch is not complete at all, but works much better and +x is something many ppl use. Abo

[dev] Experimental editor

2011-06-09 Thread Connor Lane Smith
Hey all, I'd like to include those of you who aren't in IRC in the discussion we're having wrt writing a new text editor. We do already have Sandy of course, and I think Rafa is doing a great job, but there are a couple of reasons why I don't think it will for me replace Vi: 1. Curses: it has it

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Suraj N. Kurapati
On Thu 09 Jun 2011 02:50:53 PM PDT, hiro wrote: > The Tamsyn guy says it's an "aliased font". What does it mean? Here's a reply from the author of Tamsyn regarding this matter: Begin forwarded message: Date: Thu, 09 Jun 2011 14:04:43 -0700 From: Scott Fial To: "Suraj N. Kurapati" Subject: Re:

Re: [dev] ideas on suckless file manager

2011-06-09 Thread hiro
On Thu, Jun 9, 2011 at 15:00, Ethan Grammatikidis wrote: > I'm not sure "aliased" is quite an appropriate word for a font since it's the > display which does the aliasing by virtue of its pixellated nature. I think neither would be appropriate because in the artistic task of creating the font ea

Re: [dev] st - XEmbed patch

2011-06-09 Thread Aurélien Aptel
Ok I fixed it in tip. When st has its own window, focus change is notified with the FocusIn/FocusOut event. Now when st is embed, it just receives EnterNotify/LeaveNotify event.

Re: [dev] Re: sbase

2011-06-09 Thread Rob
On 9 June 2011 16:06, Hiltjo Posthuma wrote: > I like it, but what about -signalnumber (and maybe -signalname), I use > -9 all the time :) I was wondering whether to do that or not, it's pretty useful but there's a fair bit more code. I'll leave it to cls to decide. #include #include #include

Re: [dev] Re: sbase

2011-06-09 Thread Hiltjo Posthuma
> > Ah man, I've just been doing kill.c myself. Lowest SLOC count makes it > into base? > I like it, but what about -signalnumber (and maybe -signalname), I use -9 all the time :)

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Eckehard Berns
> The Tamsyn guy says it's an "aliased font". What does it mean? He means it's not anti-aliased. See also http://en.wikipedia.org/wiki/Aliasing -- Eckehard Berns

Re: [dev] [st] alternate screen switching

2011-06-09 Thread Ethan Grammatikidis
On Thu, 9 Jun 2011 12:37:32 +0200 Bert Münnich wrote: > I'm not sure about the "exporting" thing. If there's one thing I've > learned from writing url-select [1], it's that a lot of URLs get line > wrapped inside curses-based applications (e.g. mcabber, irssi, weechat, > vim, newsbeuter, mutt)

Re: [dev] Re: sbase

2011-06-09 Thread stateless
No worries Rob! :)

Re: [dev] Re: sbase

2011-06-09 Thread Rob
On 9 June 2011 13:54, stateless wrote: > Arrgh fucking gmail. +1 #include #include #include #include #include "util.h" int main(int argc, char *argv[]) { int sig = SIGTERM; char c, *end; while((c = getopt(argc, argv, "s:")) != -1) switch(c){ case 's': sig = strtol(optarg, &end, 0)

Re: [dev] Re: sbase

2011-06-09 Thread Rob
On 9 June 2011 13:48, stateless wrote: > Hi, > > Just to be on the same page and we don't start working on the same > tools.  I'll look into implementing id, kill and comm. > > Thanks, > stateless Ah man, I've just been doing kill.c myself. Lowest SLOC count makes it into base? #include #include

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Ethan Grammatikidis
On Thu, 9 Jun 2011 13:55:30 +0100 Ethan Grammatikidis wrote: > On Thu, 9 Jun 2011 14:50:53 +0200 > hiro <23h...@googlemail.com> wrote: > > > The Tamsyn guy says it's an "aliased font". What does it mean? > > It's not, but it has some overlap in places which makes it look smoother. My bad, I th

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Ethan Grammatikidis
On Thu, 9 Jun 2011 14:50:53 +0200 hiro <23h...@googlemail.com> wrote: > The Tamsyn guy says it's an "aliased font". What does it mean? It's not, but it has some overlap in places which makes it look smoother.

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Arrgh fucking gmail. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte; int ch0, ch1; in

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 13:50, hiro <23h...@googlemail.com> wrote: > The Tamsyn guy says it's an "aliased font". What does it mean? It means it isn't anti-aliased. Nice font, btw. cls

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Small update, attached cmd.c and cmd.1. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte;

Re: [dev] ideas on suckless file manager

2011-06-09 Thread hiro
The Tamsyn guy says it's an "aliased font". What does it mean? On Thu, Jun 9, 2011 at 10:00, ilf wrote: > On 06-09 09:04, Petr Sabata wrote: >> >> How about bgs? http://s01.de/~tox/index.cgi/proj_bgs > > Been using that for a while. Doesn't do it for me with rxvt-unicode 9.09 any > more, because

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Hi, Just to be on the same page and we don't start working on the same tools. I'll look into implementing id, kill and comm. Thanks, stateless

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Attached cmp.c and cmp.1. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte; int ch0, ch1

Re: [dev] [st] fix segfault

2011-06-09 Thread Aurélien Aptel
Applied, thanks.

Re: [dev] [st] alternate screen switching

2011-06-09 Thread Bert Münnich
On 08.06.11, Aurélien Aptel wrote: > On Wed, Jun 1, 2011 at 9:59 AM, Bert Münnich wrote: > > I would also like to look into the scrollback buffer goal. How do > > you > > want to achieve an unlimited scrollback buffer? Writing every line to a > > file and printing its content instead of the curre

Re: [dev] ideas on suckless file manager

2011-06-09 Thread ilf
On 06-09 09:04, Petr Sabata wrote: How about bgs? http://s01.de/~tox/index.cgi/proj_bgs Been using that for a while. Doesn't do it for me with rxvt-unicode 9.09 any more, because it doesn't set XROOTPMAP on the root window. Too busy to fix. -- ilf Über 80 Millionen Deutsche benutzen keine

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Petr Sabata
On Wed, Jun 08, 2011 at 10:12:26PM +0200, Mate Nagy wrote: > Hi, > On Wed, Jun 08, 2011 at 08:40:48PM +0200, ilf wrote: > > On 06-08 12:13, Bert Münnich wrote: > > >>i dont think this is a task for an image viewer. we should > > >>probably write an ssetroot or so linking against imlib2 and > > >>al