Re: [dev] wicd and his little friends

2011-01-20 Thread Kurt Van Dijck
On Wed, Jan 19, 2011 at 12:14:06PM +, hiro wrote: > I still want wireless to be switched off completely when I attach the > ethernet cable. Is there any program I could combine with wpa_actiond > to acchieve this? ifplugd is a daemon that runs a trigger script when ethernet cable is attached/d

Re: [dev] wicd and his little friends

2011-01-20 Thread Christoph Lohmann
Hi, hiro wrote: I also don't remember why I started using wicd instead of scripting, there definitely was an other reason, too. Butl, nevermind. Ok, my mind came back. It was automatically switching between wireless networks which let me think I needed wicd. The only thing missing now is a ni

Re: [dev] wicd and his little friends

2011-01-20 Thread Kai Hendry
Please let me know if you figure this problem out. http://natalian.org/archives/2011/01/20/Trying_to_get_Windows_hotplug_usability/ I've yet to debug why /etc/ifplugd/netcfg.action doesn't work for me. Code is hard to read at first glances.

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Danilo Bargen
Hey Kai On Sun, Jan 9, 2011 at 11:36 PM, Kai Hendry wrote: > http://greptweet.com/ -- Uses grep for searching retrieved tweets That's a pretty awesome idea. Thanks a lot :) But the UI should be improved, to prevent questions like "what does this webapp do?" or "how do I get my tweets after the p

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Kai Hendry
On 20 January 2011 11:26, Danilo Bargen wrote: > I especially like fetch-tweets.sh. Would be cool to turn this into a > nice Python script though. What's the point of it being in Python? It's several times the size of bloated bash! We are trying to make things suck less here, not more. I'm happy

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Anselm R Garbe
On 20 January 2011 12:40, Kai Hendry wrote: > On 20 January 2011 11:26, Danilo Bargen wrote: >> I especially like fetch-tweets.sh. Would be cool to turn this into a >> nice Python script though. > > What's the point of it being in Python? It's several times the size of > bloated bash! We are tryi

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Danilo Bargen
> What's the point of it being in Python? It's several times the size of > bloated bash! We are trying to make things suck less here, not more. Reading Python sucks a lot less than reading bloated non-modular Bash :) But that's a matter of opinion. Cheers

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Kurt H Maier
On Thu, Jan 20, 2011 at 8:27 AM, Danilo Bargen wrote: > Reading Python sucks a lot less than reading bloated non-modular Bash > :) But that's a matter of opinion. If that's your only metric, you should pay a calligrapher to write it out on a nice piece of parchment so you can frame it for easy re

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread pancake
On 01/20/11 14:27, Danilo Bargen wrote: What's the point of it being in Python? It's several times the size of bloated bash! We are trying to make things suck less here, not more. Reading Python sucks a lot less than reading bloated non-modular Bash :) But that's a matter of opinion. Cheers re

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Connor Lane Smith
Hey, On 20 January 2011 11:40, Kai Hendry wrote: > What's the point of it being in Python? It's several times the size of > bloated bash! We are trying to make things suck less here, not more. You know the Plan 9 kernel is over two and a half times the size of Unix v6. Why bother, right? Perhap

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread John Yates
What is the largest corpus of code you have authored? What is the largest corpus you did not author yet had to master? At large scale the choice of language makes a big difference. Worth a read: http://www.linuxjournal.com/article/3882 /john (who has written process control systems in assembler

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread Aurélien Aptel
On Wed, Jan 19, 2011 at 9:27 PM, Ross Mohn wrote: > What will struct term_t look like? > -Ross It currently looks like that: typedef struct { int pid; int io; // master pty int row; // rows nb int col; // cols nb term_line_t* line;

[dev] wmii put computer to sleep/suspend

2011-01-20 Thread Eitan Goldshtrom
Is there a way to put your computer to sleep/suspend it in wmii? I've been 'quit'ing and suspending from the Ubuntu login screen but it would be nice to be able to keep all my apps and such open. Even just being able to switch users instead of logging off. -Eitan

Re: [dev] Recent vain attempts at suckless Web applications

2011-01-20 Thread Kurt H Maier
On Thu, Jan 20, 2011 at 9:13 AM, John Yates wrote: > What is the largest corpus of code you have authored?  What is the > largest corpus you did not author yet had to master?  At large scale > the choice of language makes a big difference. thank you, john, for your completely irrelevant questions

Re: [dev] wmii put computer to sleep/suspend

2011-01-20 Thread Kurt H Maier
pm-suspend -- # Kurt H Maier

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread cryptix
Is a scrollback buffer really that usefull? I always get lost in them... Personally I'm much more comfortable with the history of my shell and less, grep or all kinds of other programs for long output. But I'd love to hear how you guys feel about this. kind regards, cryptix

Re: [dev] wmii put computer to sleep/suspend

2011-01-20 Thread thuban
Hi! You can use pm-hibernate and pm-suspend commands. I think pm-utils must be installed. You can modify /etc/sudoers to don't require sudo for these commands : ALL ALL=NOPASSWD:/usr/sbin/pm-hibernate ALL ALL=NOPASSWD:/usr/sbin/pm-suspend On Thu, 20 Jan 2011 10:23:34 -0500, Eitan Goldshtrom wr

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread pancake
On 01/20/11 16:20, cryptix wrote: Is a scrollback buffer really that usefull? I always get lost in them... Personally I'm much more comfortable with the history of my shell and less, grep or all kinds of other programs for long output. But I'd love to hear how you guys feel about this. kind reg

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread Josh Cartwright
On Thu, Jan 20, 2011 at 05:11:14PM +0100, pancake wrote: > I tend to use the scrolling, mostly when I type a command, and the > result is longer than expected, so it doesnt fits the window. I find that using the scrollback buffers from tmux is a lot nicer than wrestling with my terminal's scrollb

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread pancake
If we can bind the mouse wheel to tmux and we use tmux as default shell in st.. On Jan 20, 2011, at 5:42 PM, Josh Cartwright wrote: > On Thu, Jan 20, 2011 at 05:11:14PM +0100, pancake wrote: >> I tend to use the scrolling, mostly when I type a command, and the >> result is longer than expected,

[dev] wmii extremely beginner scripting help

2011-01-20 Thread Eitan Goldshtrom
Hi all. I want to add something to my status bar, but I'm finding that online tutorials are leaving me uncertain of a lot of what I need to do. Is it sufficient for me to create a file called wmiirc in ~/.wmii-3.5/, put a status() function inside, and make the file executable? I have been led

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-20 Thread hiro
Will you guys implement a NOSCROLL option like in plan9? Then I might use it too :) On 1/20/11, pancake wrote: > If we can bind the mouse wheel to tmux and we use tmux as default shell in > st.. > > On Jan 20, 2011, at 5:42 PM, Josh Cartwright wrote: > >> On Thu, Jan 20, 2011 at 05:11:14PM +0100

Re: [dev] [9base] cheeky TODO patch

2011-01-20 Thread Uriel
And col(1), which sadly is missing from p9p too, but should be trivial to port from Plan 9. uriel 2011/1/20 Stanley Lieber : > diff -r e39eeddcc295 TODO > --- a/TODO      Thu Jan 06 09:50:05 2011 + > +++ b/TODO      Wed Jan 19 23:02:02 2011 -0600 > @@ -1,1 +1,1 @@ > -add wc > +add htmlfmt > >