[dev] [surf] patch to remove duplicate line

2011-06-09 Thread James Campos
Hello, While reading surf.c, I noticed the line `s = webkit_get_default_session();` occurs twice in the same function, with nothing relevant happening in between. This patch removes the first occurrence. $ hg diff diff -r 2533f186089d surf.c --- a/surf.cThu Mar 31 12:52:35 2011 +0200 +++

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 allowing opaque

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] [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 be...@gmx.com 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

Re: [dev] Re: sbase

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

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] 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 i...@zeromail.org 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,

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 unistd.h #include stdio.h #include stdlib.h #include string.h #include stdbool.h #include util.h static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) {

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
Arrgh fucking gmail. /* See LICENSE file for copyright and license details. */ #include unistd.h #include stdio.h #include stdlib.h #include string.h #include stdbool.h #include util.h static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int

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 Rob
On 9 June 2011 13:48, stateless statel...@archlinux.us 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?

Re: [dev] ideas on suckless file manager

2011-06-09 Thread Ethan Grammatikidis
On Thu, 9 Jun 2011 13:55:30 +0100 Ethan Grammatikidis eeke...@fastmail.fm 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

Re: [dev] Re: sbase

2011-06-09 Thread Rob
On 9 June 2011 13:54, stateless statel...@archlinux.us wrote: Arrgh fucking gmail. +1 #include stdio.h #include unistd.h #include stdlib.h #include signal.h #include util.h int main(int argc, char *argv[]) { int sig = SIGTERM; char c, *end; while((c = getopt(argc, argv, s:)) != -1)

Re: [dev] Re: sbase

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

Re: [dev] [st] alternate screen switching

2011-06-09 Thread Ethan Grammatikidis
On Thu, 9 Jun 2011 12:37:32 +0200 Bert Münnich be...@gmx.com 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,

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] 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] Re: sbase

2011-06-09 Thread Rob
On 9 June 2011 16:06, Hiltjo Posthuma hil...@codemadness.org 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

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] 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 sc...@fial.com To: Suraj N. Kurapati

[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

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.

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 robpill...@gmail.com wrote: On 9 June 2011

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 Kurt H Maier
On Thu, Jun 9, 2011 at 6:25 PM, pancake panc...@youterm.com 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

Re: [dev] Re: sbase

2011-06-09 Thread Anthony J. Bentley
On Thu, Jun 9, 2011 at 6:58 PM, Connor Lane Smith c...@lubutu.com wrote: On 9 June 2011 13:40, stateless statel...@archlinux.us 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

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 9 June 2011 16:28, Rob robpill...@gmail.com 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

Re: [dev] Re: sbase

2011-06-09 Thread Connor Lane Smith
On 10 June 2011 02:32, Connor Lane Smith c...@lubutu.com 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