[dev] [surf] SearchEngines patch

2009-09-22 Thread Nils
Hi, I wrote a little patch for surf which allows you to define custom search engines, so you can google for "foo bar" simply by loading the url "g foo bar" (or any other search engine you prefer). Put this in your config.h: > static SearchEngine searchengines[] = { > { "g", "http://www.goo

Re: [dev] [sic]: patches for string handling

2009-09-22 Thread Kris Maglione
On Wed, Sep 23, 2009 at 12:53:35AM +0200, Mark Edgar wrote: * Fix buffer overrun when using strncpy() It's really sad to see code using strncpy. * Use startswith() macro instead strncmp() Macros don't go over so well around here, but I'm in favor of that one (even if as a utility function

[dev] Question upgrading dwm

2009-09-22 Thread David Neu
All, My apologies if this has been addressed on the list, but I just upgraded from dwm 5.5 to dwm 5.6.1, and the following features using the default config.h don't seem to be working: - The title of the focused window is not showing up in the status bar (getting a 0) - The selected tags are ind

[dev] [sic]: patches for string handling

2009-09-22 Thread Mark Edgar
Here's a summary of the changes in this patch: * Fix buffer overrun when using strncpy() * Use startswith() macro instead strncmp() * Use strcmp() instead of strncmp() where appropriate * Use const char * where appropriate * Use size_t instead of unsigned int in readl(). The startswith() macro is

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Kurt H Maier
On Tue, Sep 22, 2009 at 5:30 PM, Uriel wrote: > On Wed, Sep 23, 2009 at 12:03 AM, Antoni Grzymala > wrote: >> I reckon it's been the best toolkit ever. And I quite like the >> programming language it's been thought out to work with. Ever tried >> writing a Tk app? > > People that bash Tk have ne

Re: [dev] HTML Mail Rant Response

2009-09-22 Thread hiro
Don Suck Harder, the Eris Discordia of suckless...

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Uriel
On Wed, Sep 23, 2009 at 12:03 AM, Antoni Grzymala wrote: > Kurt H Maier dixit (2009-09-22, 16:54): > >> On Tue, Sep 22, 2009 at 12:26 PM, Uriel wrote: >> > I hope that means he is porting it to Tk. >> >> god knows I'm not in love with gtk, but Tk is a pretty big pile of >> crap in its own right >

Re: [dev] HTML Mail Rant Response

2009-09-22 Thread Uriel
2009/9/22 Don Harper : > if it bugs you so much, why not set a filter, and keep your childish > attitude to yourself? Why should I waste my time setting up such a thing because some people are too stupid or lazy to learn how to send email? >  You can never change the world, but you can > change

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Antoni Grzymala
Kurt H Maier dixit (2009-09-22, 16:54): > On Tue, Sep 22, 2009 at 12:26 PM, Uriel wrote: > > I hope that means he is porting it to Tk. > > god knows I'm not in love with gtk, but Tk is a pretty big pile of > crap in its own right I reckon it's been the best toolkit ever. And I quite like the pr

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Kurt H Maier
On Tue, Sep 22, 2009 at 12:26 PM, Uriel wrote: > I hope that means he is porting it to Tk. god knows I'm not in love with gtk, but Tk is a pretty big pile of crap in its own right -- # Kurt H Maier

Re: [dev] HTML Mail Rant Response

2009-09-22 Thread Antoni Grzymala
Christian G. Warden dixit (2009-09-22, 11:48): > > Seems simpler, and does the job. BTW, I'm using the following viewer for > > the html-only e-mails (via .mailcap): > > > > text/html; /usr/bin/elinks -dump -force-html '%s'; copiousoutput; > > description=HTML Text; nametemplate=%s.html > > > >

Re: [dev] HTML Mail Rant Response

2009-09-22 Thread Christian G. Warden
On Tue, Sep 22, 2009 at 08:11:34PM +0200, Antoni Grzymala wrote: > Don Harper dixit (2009-09-22, 12:56): > > > In mutt, it is as easy as: > > # Plain as default: > > message-hook ~A 'alternative_order text/plain' > > I use just that: > > alternative_order text/plain text/enriched text/html >

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Mate Nagy
On Tue, Sep 22, 2009 at 08:05:22PM +0200, Anders Andersson wrote: > Whut? Lightweight resources on the host? How do you figure running a > text editor in obfuscated javascript in a browser locally on your > computer is lighter than running a text editor natively? AND selling all your company and p

Re: [dev] wmii: fullscreen window, new window becomes floating?

2009-09-22 Thread Kris Maglione
On Sun, Sep 20, 2009 at 04:40:13PM +0200, Dieter Plaetinck wrote: Hi, in wmii, let's say I go to a new tag, open a window, make sure it's not floating but rather the default layout. then i fullscreen this window. then i launch a new window (using dmenu or whatever) result: new window opens, but

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Robert C Corsaro
Uriel wrote: Can we setup a filter for dev@suckless.org that sends any html email to /dev/null, and autoreplies with "Fuck off moron." to the author of any such email? Thanks uriel I know it's against your principles, but couldn't you just send your mail through a filter? You might have th

Re: [dev] HTML Mail Rant Response

2009-09-22 Thread Antoni Grzymala
Don Harper dixit (2009-09-22, 12:56): > In mutt, it is as easy as: > # Plain as default: > message-hook ~A 'alternative_order text/plain' I use just that: alternative_order text/plain text/enriched text/html Seems simpler, and does the job. BTW, I'm using the following viewer for the html-o

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Anders Andersson
Whut? Lightweight resources on the host? How do you figure running a text editor in obfuscated javascript in a browser locally on your computer is lighter than running a text editor natively? // pipe 2009/9/22 Don Harper : > Are you opposed to using the cloud?  Google docs fits the bill, ie, >

[dev] HTML Mail Rant Response

2009-09-22 Thread Don Harper
if it bugs you so much, why not set a filter, and keep your childish attitude to yourself? You can never change the world, but you can change what you see in the world. Oh, wait...I just noticed your MUA is gmailhtml from the git-go... Seriously, Fix you own email experience, and STFU with t

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Antoni Grzymala
Uriel dixit (2009-09-22, 19:26): > > If you want RTF your options are Ted and Abiword.  I use Ted -- > > specifically the gtk port recently released; until then I used to > > motif version.  Ted's author is active working on it, and has told me > > the next release will focus on cleaning up aftere

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Don Harper
Are you opposed to using the cloud? Google docs fits the bill, ie, lightweight resources on the host, and you can do some disconnected work, I think... don 2009/9/22 Илья Илембитов : > Hi,all! > > > > I am looking for a lightweight solution to create rich formatted content in > any MS Word-edit

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Uriel
On Tue, Sep 22, 2009 at 6:55 PM, Kurt H Maier wrote: > If you want RTF your options are Ted and Abiword.  I use Ted -- > specifically the gtk port recently released; until then I used to > motif version.  Ted's author is active working on it, and has told me > the next release will focus on cleani

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Kurt H Maier
If you want RTF your options are Ted and Abiword. I use Ted -- specifically the gtk port recently released; until then I used to motif version. Ted's author is active working on it, and has told me the next release will focus on cleaning up aftereffects of the gtk port. -- # Kurt H Maier

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Anselm R Garbe
2009/9/22 Илья Илембитов : >> RTF sucks. > Why? And what is a better MS Word-editable format? (since that is what > required by editors in the magazine where I work and in my university) ODT > isn't really mature yet and didn't get any proper support in MS Word. DOC is > closed. .WPF then? (sinc

[dev] test email, ignore (html)

2009-09-22 Thread Premysl "anydot" Hruby
test

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Илья Илембитов
22.09.09, 19:20, "Anselm R Garbe" : > To create a less sucking word processor, one need to start with a less > sucking doc format. > For legacy stuff I'd rather rip off the OO importer bits (afaik Google > uses them in Google Docs as well). > Kind regards, > Anselm Well, a new format could be a ni

[dev] Suckless word processing solution?

2009-09-22 Thread Илья Илембитов
Hi, all! I am looking for a lightweight solution to create rich formatted content in any MS Word-editable format - I think RTF is more likely to happen, since it is an open format. Basically, what I am looking for is a lightweight, distractionless (preferably no menus or toolbars) word process

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Илья Илембитов
Oops, sorry. I reposted the topic in plain text, could anyone possibly remove this one? > On Tue, Sep 22, 2009 at 06:39:05PM +0400, Илья Илембитов wrote: > > ... > Don't send html email to the list. > -- wbr, Илембитов

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Илья Илембитов
> RTF sucks. Why? And what is a better MS Word-editable format? (since that is what required by editors in the magazine where I work and in my university) ODT isn't really mature yet and didn't get any proper support in MS Word. DOC is closed. .WPF then? (since it is actually supported by nearly

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Anselm R Garbe
2009/9/22 Uriel : > Can we setup a filter for dev@suckless.org that sends any html email > to /dev/null, and autoreplies with "Fuck off moron." to the author of > any such email? Well I'm fine with a more polite filter that does just that. Kind regards, Anselm

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Uriel
Can we setup a filter for dev@suckless.org that sends any html email to /dev/null, and autoreplies with "Fuck off moron." to the author of any such email? Thanks uriel On Tue, Sep 22, 2009 at 5:06 PM, Anselm R Garbe wrote: > Hi Илья, > > 2009/9/22 Илья Илембитов : >> I am looking for a lightwei

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Anselm R Garbe
Hi Илья, 2009/9/22 Илья Илембитов : > I am looking for a lightweight solution to create rich formatted content in > any MS Word-editable format - I think RTF is more likely to happen, since it > is an open format. I'm looking for such thing as well. On IRC in the #suckless channel someone posted

Re: [dev] Suckless word processing solution?

2009-09-22 Thread Jacob Todd
On Tue, Sep 22, 2009 at 06:39:05PM +0400, Илья Илембитов wrote: >... Don't send html email to the list. -- Jake Todd // If it isn't broke, tweak it! pgp04h1Oy5YFS.pgp Description: PGP signature

[dev] Suckless word processing solution?

2009-09-22 Thread Илья Илембитов
Hi,all! I am looking for a lightweight solution to create rich formatted content in any MS Word-editable format - I think RTF is more likely to happen, since it is an open format. Basically, what I am looking for is a lightweight, distractionless (preferably no menus or toolbars) word processor wit