[dev] wmii unicode in the status?

2011-01-22 Thread Eitan Goldshtrom
Hi. I'm trying to print out a progress bar sort of thing that represents my remaining battery life. I finally got the script to work such that from a cli I can print out the status as I like it with the correct information. However, for the bar itself I use unicode block characters. When it pri

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

2011-01-22 Thread cryptix
On 21.01.2011, at 22:25, Ross Mohn wrote: > >>> >>> >> >> >> > Scrollback buffer is also useful with SIGWINCH. Let's say you're in > dwm's default tiling mode with a screenful of output on the left-hand st > and 4 st's stacked up on the right; you swap, then swap back and you've > lost 75%

Re: [dev] wmii extremely beginner scripting help

2011-01-22 Thread loz.accs
Hi, Eitan. Yes, file in your home directory will be used only when wmii starts for your user, so different users can have different wmii configurations. wmiirc in /etc/ will be used when no file found in users home, I suggest. Just copy wmiirc to ~/.wmii-3.5/ and customize it as you want, you alway

Re: [dev] wmii extremely beginner scripting help

2011-01-22 Thread Eitan Goldshtrom
Thanks. I ended up trying that temporarily and it so far has been working. Glad to know it is the right way to do it. -Eitan On 01/22/2011 11:44 AM, loz.accs wrote: Hi, Eitan. Yes, file in your home directory will be used only when wmii starts for your user, so different users can have differen

Re: [dev] wmii unicode in the status?

2011-01-22 Thread loz.accs
Hi, Eitan. I am using wmii 3.9.2-r2 and I have no problems with wmii and utf-8 characters. Can you post output of you python script somewere (with utf-8 support of cource) and paste a link here? I will try to see this wierd characters in my wmii. 2011/1/23, Eitan Goldshtrom : > Hi. I'm trying to p

Re: [dev] wmii unicode in the status?

2011-01-22 Thread Eitan Goldshtrom
Looks like the pastebin didn't handle the unicode well, but I have a picture of the weird display in the statusbar. http://tinypaste.com/53518 -Eitan

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

2011-01-22 Thread Kurt H Maier
On Sat, Jan 22, 2011 at 11:44 AM, cryptix wrote: > I'd really dislike scrolling. Maybe I'm prejudiced because of bad > configuration but I always got pissed of when I scrolled inside an active > less/vim/mutt/whatever session. What your terminal program than displays is > rubbish. > I don't get

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

2011-01-22 Thread Joseph Xu
Here's a little data just to ground things a bit: $ time dash -c '' real0m0.001s user0m0.000s sys 0m0.000s $ time rc -c '' real0m0.002s user0m0.000s sys 0m0.000s $ time bash -c '' real0m0.007s user0m0.003s sys 0m0.000s $ time python -c '' real0m0.028s

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

2011-01-22 Thread Kurt H Maier
On Sat, Jan 22, 2011 at 2:41 PM, Joseph Xu wrote: > When we're talking about a small script with trivial running time > (which is not necessarily the case here), the 10x slower startup time > for python does make a difference when you're programmatically > executing the script several thousand tim

[dev] st default geometry patch

2011-01-22 Thread Dan White
I've been using st on and off for a bit. It's been great as a fast-start popup terminal. However, I go for 80x40 for most uses and made up this patch to make the initial geometry an option. Enjoy, Dan -- SDG www.whiteaudio.com # HG changeset patch # User Dan White # Date 1295736734 21600 # N

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

2011-01-22 Thread Rob
How about getting the width and height of the largest screen at startup and just fixing the buffer to be that size? Then use the WM to expand the terminal, or add in scrolling. Either way, the buffer stays the same. Of course this doesn't work if your terminal can move to another display, but thank

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

2011-01-22 Thread pancake
That would be faster :) What about adding scrolling support for just this buffer? On Jan 23, 2011, at 12:12 AM, Rob wrote: > How about getting the width and height of the largest screen at > startup and just fixing the buffer to be that size? > Then use the WM to expand the terminal, or add in

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

2011-01-22 Thread carmen
> ...and this is precisely the garden path that people followed to create > modern massive web frameworks. indeed. Merb, when it began, was a 180 line of code masterpiece. somehow, it bloated up to Rails proportions and eventually merged with it. Camping is decent, but i found it uneditable (w