Re: [dev] wmii unicode in the status?

2011-01-23 Thread Jeremy Jackins
On Sun, Jan 23, 2011 at 6:26 PM, Eitan Goldshtrom wrote: > So I had already done that, which made me wonder why you were suggesting > it, because obviously I must have done something wrong when I tried to hg > that URL. I hadn't realized that I needed to build that after getting it. I > did and ev

[dev] [wmii] Windows without borders

2011-01-23 Thread loz.accs
Hi all, I've got a problem with urxvt terminal emulator, there is a way to make urxvt behavior like background wallpaper on desktop. I mean without borders and control from wm like other "normal" windows, just terminal on your desktop. urxvt has -bl option, according man page: "-bl Compile frills:

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
So I had already done that, which made me wonder why you were suggesting it, because obviously I must have done something wrong when I tried to hg that URL. I hadn't realized that I needed to build that after getting it. I did and everything worked. I built wmii-3.9.2. Which leaves me now wonde

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Connor Lane Smith
On 24 January 2011 01:08, Eitan Goldshtrom wrote: > lib/libstuff/clientutil.c:9: fatal error: ixp.h: No such file or directory http://hg.suckless.org/libixp cls

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
Okay so I was missing a few packages. Installed them. Now I'm just getting lib/libstuff/clientutil.c:9: fatal error: ixp.h: No such file or directory -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
So I ran the 2 hg commands. Is there anything else I need to do? Make something? Make install? -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
Oh loaded on demand. I thought you meant I have to request it to install. I'll check out hg then. -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
On Sun, Jan 23, 2011 at 06:43:01PM -0500, Eitan Goldshtrom wrote: Isn't xft what I want for proper unicode support? I'm building 3.9.2 Yes, but as I said, it's loaded on demand in the hg version and no development headers are required during the build. Having the libxft2 package at runtime sh

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
Isn't xft what I want for proper unicode support? I'm building 3.9.2 -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
On Sun, Jan 23, 2011 at 05:27:52PM -0500, Eitan Goldshtrom wrote: I appreciate the tip. I downloaded the latest source, but I'm having a problem building. Make says it can't find the xft package, and I'm not sure where to get it because I have libxft2. What version are you trying to build? I

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
Just got it, not I'm getting the error: In file included from /usr/include/X11/Xft/Xft.h:39, from ../../include/x11.h:9, from cmd/wmii/dat.h:18, from cmd/wmii/area.c:4: /usr/include/ft2build.h:56: fatal error: freetype/config/ftheader.h: No such

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Connor Lane Smith
On 23 January 2011 22:27, Eitan Goldshtrom wrote: > I appreciate the tip. I downloaded the latest source, but I'm having a > problem building. Make says it can't find the xft package, and I'm not sure > where to get it because I have libxft2. Do you have libxft-dev? cls

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
I appreciate the tip. I downloaded the latest source, but I'm having a problem building. Make says it can't find the xft package, and I'm not sure where to get it because I have libxft2. -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Connor Lane Smith
On 23 January 2011 21:38, Eitan Goldshtrom wrote: > Is there a way to upgrade, sort of thing? Your best bet is to build from source[1]. Failing that, Ubuntu 11.04 has wmii-3.9.2[2] which ought to work with 10.10 (though I've not tried it). [1]: http://hg.suckless.org/wmii/ [2]: http://packages.u

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
I see. I didn't know I was that outdated. I installed wmii through the Ubuntu Software Center. Assumed it would give me the latest version, though I DID notice a lot of people talking about 3.9. I just thought it was the latest unstable release. Is there a way to upgrade, sort of thing? -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kris Maglione
On Sun, Jan 23, 2011 at 10:40:20AM -0500, Eitan Goldshtrom wrote: Forgot to say that I don't know about anything else. Everything for wmii is at it's defaults. I'm using wmii-3.5 You really shouldn't be using wmii 3.5. It's ancient. Your best bet if you want unicode, sadly, is to use a versio

Re: [dev] [bug] wmii segfaults on sudo wireshark

2011-01-23 Thread Kris Maglione
On Sun, Jan 23, 2011 at 05:26:30PM +0100, dtk wrote: On 01/14/2011 04:52 PM, Kris Maglione wrote: On Fri, Jan 14, 2011 at 04:13:34PM +0100, dtk wrote: Running wireshark as my default non-priviledged user works fine, as does running wireshark as root under awesome/gnome. The wireshark splash di

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
with '-*-*-*-*-*-*-*-*-*-*-*-*-*-*' as my font it seems to work perfectly, albeit it's ugly. I tried '-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*' and it only half worked -- one of the characters I use isn't recognized but the rest are. Is there a way for me to find out precisely which fonts support the c

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

2011-01-23 Thread Connor Lane Smith
On 23 January 2011 01:35, carmen <_...@whats-your.name> wrote: > Camping is decent, but i found it uneditable (without breaking), too much > metaprogramming insanity _why (the original author of camping) certainly loved his metaprogramming. Sinatra can be considered its spiritual descendent, thou

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Connor Lane Smith
On 23 January 2011 16:29, Eitan Goldshtrom wrote: > I'm getting the feeling that I should be using a UTF-8 supportive font and > that 'fixed' is not such a font? Is there another font I can set in my > wmiirc that does support UTF-8? fixed supports utf8 on some systems and not others. To check if

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

2011-01-23 Thread Anselm R Garbe
On 23 January 2011 19:27, Joseph Xu wrote: > On 1/23/11, Anselm R Garbe wrote: >> On 22 January 2011 20:41, Joseph Xu wrote: >>> Here's a little data just to ground things a bit: >>> >>> $ time dash -c '' >>> >>> real    0m0.001s >>> user    0m0.000s >>> sys     0m0.000s >>> >>> $ time rc -c ''

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

2011-01-23 Thread Joseph Xu
On 1/23/11, Anselm R Garbe wrote: > On 22 January 2011 20:41, Joseph Xu wrote: >> 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 0m

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

2011-01-23 Thread Anselm R Garbe
On 22 January 2011 20:41, Joseph Xu wrote: > Here's a little data just to ground things a bit: > > $ time dash -c '' > > real    0m0.001s > user    0m0.000s > sys     0m0.000s > > $ time rc -c '' > > real    0m0.002s > user    0m0.000s > sys     0m0.000s Can you provide the following output out o

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

2011-01-23 Thread Kai Hendry
Thanks Carmen for sharing. Anyone have anything sensible to say besides adhominen attacks on this person's unpopular colour taste? I quite like the idea of doing things in a browser. :P

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kurt H Maier
On Sun, Jan 23, 2011 at 11:29 AM, Eitan Goldshtrom wrote: > I'm getting the feeling that I should be using a UTF-8 supportive font and > that 'fixed' is not such a font? Is there another font I can set in my > wmiirc that does support UTF-8? depends on whether your font server is configured right

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

2011-01-23 Thread hiro
And now I know how my grandparents feel when they see a computer :D

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

2011-01-23 Thread hiro
This guy is now my new lsd dealer.

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

2011-01-23 Thread Džen
WTF?! On 23/01/2011 02:35, carmen wrote: ...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

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

2011-01-23 Thread Jacob Todd
Do you do everything in a web browser? How the hell do you use that abomination? It's a technicolor clusterfuck. On Jan 22, 2011 8:47 PM, "carmen" <_...@whats-your.name> wrote: >> ...and this is precisely the garden path that people followed to create modern massive web frameworks. > > indeed. Merb

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
I'm getting the feeling that I should be using a UTF-8 supportive font and that 'fixed' is not such a font? Is there another font I can set in my wmiirc that does support UTF-8? -Eitan

Re: [dev] [bug] wmii segfaults on sudo wireshark

2011-01-23 Thread dtk
On 01/14/2011 04:52 PM, Kris Maglione wrote: > On Fri, Jan 14, 2011 at 04:13:34PM +0100, dtk wrote: >> Running wireshark as my default non-priviledged user works fine, as does >> running wireshark as root under awesome/gnome. >> >> The wireshark splash displays nicely, showing the modules being loa

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

2011-01-23 Thread hiro
Wow your UI is so fucking messed up I had to puke :D

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
Forgot to say that I don't know about anything else. Everything for wmii is at it's defaults. I'm using wmii-3.5 -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Eitan Goldshtrom
I chose python because I am extremely new to linux and scripting so I just went with python. $LANG = en_US.utf8 I printed that directly to the statusbar so I'd know it's the one for wmii and not just my local cli instance. -Eitan

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Kurt H Maier
You need to pick a font that has the proper character set, or else you need to set the encoding properly. Under no circumstances, on a properly configured systm, should you ever resort to manually spitting out unicode characters. Fix the problem, don't code around it. What is $LANG? What font a

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

2011-01-23 Thread Aurélien Aptel
On Sun, Jan 23, 2011 at 1:03 AM, pancake wrote: > 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 tha

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Patrick Haller
On Sat, Jan 22, 2011 at 11:28:20AM -0500, Eitan Goldshtrom wrote: > Hi. I'm trying to print out a progress bar sort of thing that > represents my remaining battery life. Why use python? dc and printf suffice. Patrick percent=$1 buckets=10 # annoying math decimal=$( dc -e "5 k $buckets $percent