Re: [dev] GSoC 2010

2010-03-03 Thread Connor Lane Smith
Hey all, I'm a first year student, and I'd be interested in helping out for GSoC. I like the idea of centring the projects on a development environment, which doesn't seem too broad. I'm personally interested in writing a Unix-native samterm of some kind (I love sam, but not the Plan 9 samterm),

Re: [dev] GSoC 2010

2010-03-04 Thread Connor Lane Smith
On 4 March 2010 11:40, Szabolcs Nagy nszabo...@gmail.com wrote: if we need to focus the application in one area then these are not very good i guess.. A lot of them have a theme, though. Gnome's GSoC theme is basically their desktop environment, which is fairly broad itself. If Suckless focus

Re: [dev] [dmenu] vertical list bugs and patch

2010-03-07 Thread Connor Lane Smith
As a remark: The plan is to remove the cursor handling from dmenu again, since it violates the single purpose idea of dmenu. Instead there will be a dinput or sinput program that basically is nothing else as a text field widget that prints the input to standard out. That seems a little fiddly

[dev] [tabbed] incorrect manpage

2010-03-22 Thread Connor Lane Smith
Hey all, The manpage for tabbed is incorrect (and was in the 0.2 release). If someone wants to update it, here's a patch. Thanks, cls tabbed.diff Description: Binary data

Re: [dev] terminal that accepts any size

2010-03-22 Thread Connor Lane Smith
Hey, On 22 March 2010 18:13, Jonas Bernoulli jo...@bernoulli.cc wrote: On Sat, Mar 20, 2010 at 21:40, hiro 23h...@googlemail.com wrote: 9term I couldn't download it from http://www.cs.usyd.edu.au/~matty/9term/. Where else should I get it? It's distributed with Plan 9 Port:

Re: [dev] [tabbed] incorrect manpage

2010-03-24 Thread Connor Lane Smith
On 24 March 2010 14:12, Enno Boland (Gottox) got...@gmail.com wrote: applied. Thanks a lot :) Hey, I checked over the patch again and it's meant to be Ctrl-Tab, not Ctrl-Shift-Tab, for toggling between tabs, sorry. cls

Re: [dev] [dmenu] A clickable dmenu is a dream?

2010-03-27 Thread Connor Lane Smith
Hey, On 27 March 2010 22:30, Sean Whitton s...@silentflame.com wrote: You can achieve this with M-p in dmenu-4.0. Julien was right, actually. 4.0 doesn't support M-p unless you apply the paste patch. Tip integrates paste and cursor. (On that note, Shift-Insert would make more sense imo.) As

Re: [dev] [dmenu] A clickable dmenu is a dream?

2010-03-28 Thread Connor Lane Smith
On 28 March 2010 20:20, Dieter Plaetinck die...@plaetinck.be wrote: bashrun? I had not heard of this, though it isn't exactly what I had in mind. On 28 March 2010 20:22, Anselm R Garbe garb...@gmail.com wrote: As said earlier, dmenu will be simplified until next release, The cursor stuff etc

[dev] [dmenu] subwindow patch

2010-03-30 Thread Connor Lane Smith
Hey, I thought it would be nice for certain programs (like surf) to spawn dmenu within its own borders. It turns out this is actually very simple. The attached patch uses the argument '-w'. Hopefully it could be of use to someone else. Thanks, cls dmenu.diff Description: Binary data

Re: [dev] [dmenu] bugs and senselessness

2010-04-01 Thread Connor Lane Smith
On 1 April 2010 20:38, Anselm R Garbe garb...@gmail.com wrote: Forgot to mention I reviewed and applied your patch and added you to the LICENSE file as well. Thanks a lot. :) cls

Re: [dev] [surf] segfault

2010-04-02 Thread Connor Lane Smith
Hey, On 2 April 2010 15:55, Peter John Hartman peterjohnhart...@gmail.com wrote: I should stress that it is, even for me, intermittent, but intermittent without any change in the environment (that's what makes it odd).  E.g. I run these two commands back to back.  One time it works, the next

Re: [dev] [dmenu] kpress bugs patch

2010-04-03 Thread Connor Lane Smith
I realised the second kpress patch actually introduced a new bug, sorry guys! Quick fix patch attached. cls dmenu.diff Description: Binary data

Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Connor Lane Smith
Hey, On 4 April 2010 07:57, Mate Nagy mn...@port70.net wrote: This means that making your page respect an imaginary standard gives no results except than a pretty badge. Rather than striving towards such an ideal, I find it much more useful (dare I say suckless) to make your web markup as

Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Connor Lane Smith
, say, htmlfmt. To quote, On Mon, Apr 5, 2010 at 1:38 PM, Connor Lane Smith c...@lubutu.com wrote: I'm not even sure how fewer characters equates as simpler: LOC is only an approximation of how suckless our code is. When given a trade-off between two simple lines or one complex one, write two

Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Connor Lane Smith
On 5 April 2010 17:34, Charlie Kester corky1...@comcast.net wrote: it struck me that my email client was giving me an elegant example of how the need for a closing tag can be eliminated.  See how the '' character is used? As for paragraphs, separating them with blank lines always made more

[dev] Re: sprop: simple xprop replacement

2010-04-07 Thread Connor Lane Smith
sprop now has a suckless repo, with docs, a makefile, and a bugfix. $ hg clone http://hg.suckless.org/sprop Thanks, cls

Re: [dev][surf]

2010-04-07 Thread Connor Lane Smith
On 7 April 2010 14:12, J Thigpen (cdarwin) dar...@senet.us wrote: It is surf's job to display web pages.  Things like this are better handled outside of surf, traditionally with javascript, sh and/or dmenu.  Is it so difficult to launch your viewer and browse to your surf download directory?

Re: [dev] tabbed-list patch

2010-04-17 Thread Connor Lane Smith
lsw seems to print the clients' names in reverse chronological order by access time. So if you change it to something like lsw xid | tac | dmenu -l 5 the top should always be the current tab, and so on down. On another note, to make it able to uniquely identify a window, rather than using a name,

Re: [dev] tabbed-list patch

2010-04-17 Thread Connor Lane Smith
Hey, On 17/04/2010, Anselm R Garbe garb...@gmail.com wrote: Feel free to apply that patch to lsw. I think it's a great generalisation of lsw. Have done. Thanks, cls

Re: [dev] my suckless.org compatible ideas: vim like mapping for any tools, C scripts, vi clone

2010-05-15 Thread Connor Lane Smith
Hey, On 15/05/2010, anonymous aim0s...@lavabit.com wrote: This behaviour is compatible with unix keybindings (http://unix-kb.cat-v.org/). Most (all?) suckless tools follow these rules so there are no problems. Maybe they should be documented somewhere? dmenu uses alt for a couple of

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Dmitry Maluka dmitrymal...@gmail.com wrote: To me it's a silly limitation. The style is clean and uniform across the program, that's all what's needed. I find it extremely confusing to read - but maybe I'm just not used to the style. Regardless, it's not uniform across the

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Elmo Todurov todu...@gmail.com wrote: Well, that's the style I'm used to. I tried to find the style guidelines, but the only thing I found is http://suckless.org/devel/style_guide which is pretty thoroughly unhelpful. Yeah, that page is sort of lacking. What I did is just read

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Dmitry Maluka dmitrymal...@gmail.com wrote: But it creates a feeling of the Third Reich. Godwin! Formal things like indentation have nearly nothing in common with code quality and other Suckless goals. Code quality is for the programmer as well as the computer. Basically it's

Re: [dev] unsubscribe

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Jonas H. jo...@lophus.org wrote: wutt, doesn't this work on this installation? anyways, please unsubscribe me. dev+unsubscr...@suckless.org

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Elmo Todurov todu...@gmail.com wrote: 7) I would change --force flag check to be just '-f' A matter of taste. Long flags are irritating on the command line, and no other suckless tools use it. It's a matter of taste until it's a matter of consistency. Unix utils would be easier

Re: [dev] dmenu_path rewrite in C

2010-05-19 Thread Connor Lane Smith
On 19/05/2010, Dmitry Maluka dmitrymal...@gmail.com wrote: That's OK inside a single project. But you wrote: When it comes to code style questions, it is very likely that individual programmers will disagree. It is absolutely fine to use an individual style for individual projects, especially

Re: [dev] dwm-5.8 / dmenu-4.1

2010-05-28 Thread Connor Lane Smith
Hey, First, hurray for the two releases. On 28/05/2010, anonymous aim0s...@lavabit.com wrote: Why config.def.h is not named config.h.def? Extra extensions are usually added after existing, like config.h.bak. imo it's clearer as it is that it is in fact a header file. config.h: config.h.def

Re: [dev] stderr: unnecessary?

2010-06-11 Thread Connor Lane Smith
On 11 June 2010 17:19, pancake panc...@youterm.com wrote: In GObject, exceptions, or errors are passed as reference in an argument, so the return value can be used without restrictions: for example:   unsigned int read(int fd, ref char *buf, unsigned int buf_len, GError **err); (yeah,

Re: [dev] [OT] twitter

2010-06-11 Thread Connor Lane Smith
On 11 June 2010 17:15, pancake panc...@youterm.com wrote: Certainly I would prefer to use a twitter-like protocol if it was text-based (no xml), distributed. Isn't that basically IRC?

Re: [dev] stderr: unnecessary?

2010-06-11 Thread Connor Lane Smith
On 11 June 2010 21:15, Anders Andersson pipat...@gmail.com wrote: Think before posting or blaming. 2GB might be silly now, much as 2MB was silly 20 years ago. I can't see why it would be extraordinarily silly to read in/map 2GB from a file 10 years from now. It takes 10 seconds at most

Re: [dev] stderr: unnecessary?

2010-06-11 Thread Connor Lane Smith
On 12 June 2010 02:42, Kris Maglione maglion...@gmail.com wrote: Which is, of course, entirely relevant. This is a non-issue. It's not a practical limitation. It's already possible to read as much of a file into memory as your memory will hold. The only limitation is that if you want more than

Re: [dev] stderr: unnecessary?

2010-06-12 Thread Connor Lane Smith
On 12 June 2010 06:59, Kris Maglione maglion...@gmail.com wrote: The size of size_t and ssize_t are irrelevant when you're talking about a function that isn't guaranteed or expected to return any specific amount of data on a specific call. Let me run that by you again: On 12 June 2010 02:42,

Re: [dev] stderr: unnecessary?

2010-06-12 Thread Connor Lane Smith
On 12 June 2010 07:16, Kris Maglione maglion...@gmail.com wrote: Are we talking about in some hypothetical world where all computers are 64 bit or all C libraries define ssize_t to be a 64 bit int, or are we talking about practical reality, where most computers are still 32 bit and nearly all

Re: [dev] stderr: unnecessary?

2010-06-12 Thread Connor Lane Smith
On 12 June 2010 08:00, Kris Maglione maglion...@gmail.com wrote: The read operation can only fetch data the size of half of the entire addressable memory space of a given machine in one call Except it can actually fetch as much data as is addressable in memory in a single call, if the kernel

Re: [dev] Suckless operating system

2010-06-13 Thread Connor Lane Smith
On 13 June 2010 23:28, Matthew Bauer mjbaue...@gmail.com wrote: I think surf and uzbl are good steps forward in making a kiss web browser. Problem is the vast complexity they both contain is hidden inside libwebkit. That thing is huge. I get the feeling surf and uzbl only make the tip of the

Re: [dev] Suckless operating system

2010-06-13 Thread Connor Lane Smith
On 14 June 2010 00:16, David Tweed david.tw...@gmail.com wrote: One of the issues to consider is that what computers are used for changes with time, and decisions that one may classify as the suckless way of doing things at one point in time may mean that it's not effectively useable in some

Re: [dev] Interesting post about X11

2010-06-15 Thread Connor Lane Smith
On 15 June 2010 09:58, Robert Ransom rransom.8...@gmail.com wrote: - a terminal emulator written in JavaScript - which produces its output by manipulating XML DOM objects - which in turn cause a browser to rerun its page *layout* algorithm - and then redraw the terminal screen You have heard

Re: [dev] Interesting post about X11

2010-06-15 Thread Connor Lane Smith
On 15 June 2010 14:05, Ethan Grammatikidis eeke...@fastmail.fm wrote: On 15 Jun 2010, at 12:51, Connor Lane Smith wrote: In my opinion the problem is purely user experience: Is this your opinion, or lines you've been fed? My own, strangely enough. UX is one of my interests, particularly

Re: [dev] Interesting post about X11

2010-06-15 Thread Connor Lane Smith
On 16 June 2010 02:32, Kurt H Maier karmaf...@gmail.com wrote: Using the term 'user experience' at all, much less abbreviating it 'UX,' is every bit as snotty.  A lot of programmers don't give a shit about 'user experience' because they are competent users of a complicated machine, and they

Re: [dev] Interesting post about X11

2010-06-15 Thread Connor Lane Smith
I also just realised I missed an opportunity: On 16 June 2010 02:32, Kurt H Maier karmaf...@gmail.com wrote: Try to keep that in mind while we all ignore your glowing buttons and dynamic menus with pastel gradients. You're going to ignore the dynamic menu [1]? I do try to contribute... :( [1]

Re: [dev] Interesting post about X11

2010-06-15 Thread Connor Lane Smith
On 16 June 2010 00:44, Robert Ransom rransom.8...@gmail.com wrote: You have heard of HTML5's canvas, right? No, I hadn't.  Does that only bypass the text layout step, or does it allow directly painting on the screen? It supports a bunch of 2D raster drawing functions within the bounds of the

Re: [dev] Interesting post about X11

2010-06-16 Thread Connor Lane Smith
On 16 June 2010 08:42, Anselm R Garbe garb...@gmail.com wrote: I wouldn't say that careful user interface consideration results in sam or acme necessarily. I tried to adapt acme for quite a long time some years ago; and always felt uncomfortable. This doesn't mean that they don't work for

Re: [dev] Interesting post about X11

2010-06-16 Thread Connor Lane Smith
on psychology? the fact that you consider Acme's interface 'well-designed' indicates at best a lack of consensus in the matter. On 16 June 2010 09:23, Connor Lane Smith c...@lubutu.com wrote: I'm not sure whether Pike was right with regards to rio and acme, which is why I use dwm and (bitterly) vim. I

Re: [dev] Surf download target directory?

2010-06-21 Thread Connor Lane Smith
Hey, On 21 June 2010 16:28, Donald Allen donaldcal...@gmail.com wrote: It appears to me that there is no way in surf to control the target directory into which downloaded files are stored. If I'm correct, I'd like to suggest that such a capability be added. If I'm incorrect, please tell me

Re: [dev] [dmenu] dinput make error

2010-07-30 Thread Connor Lane Smith
Darn, I hoped no one would notice my mistake until I got back to a computer with internet access. I'll fix it tomorrow; I have a big patch ready. As for the spaceitem warning, just update your config.h by removing it - it's not in config.def.h. (Sorry for the html. Android.) Thanks, cls On Jul

[dev] dmenu: state of the tip

2010-08-02 Thread Connor Lane Smith
As of my latest commit dmenu tip is a third smaller than 4.1.1, because of both libdraw and my zealous hammering of the 'd' key. But while restructuring I may have overlooked some subtlety and broken something, so before we consider releasing 4.2 I'd like to have a little bug hunt. If anyone can

Re: [dev] curses samterm

2010-08-03 Thread Connor Lane Smith
Hey, On 3 August 2010 09:50, Joseph Xu joseph...@gmail.com wrote: Very few people use sam to begin with, even fewer would like the curses interface. I'm guessing no more than 20 people. The best reason not to write a program ever: nobody is using it yet. Usually I'll have acme always running

Re: [dev] curses samterm

2010-08-03 Thread Connor Lane Smith
Hey, On 3 August 2010 17:43, Joseph Xu joseph...@gmail.com wrote: I said I'm guessing no more than 20 people will find it useful if it was written. I think in this case samterm is more important than sam itself when it comes to attracting users. Few will convert to using sam if it is ugly and

Re: [dev] dmenu: state of the tip

2010-08-03 Thread Connor Lane Smith
Hey, On 3 August 2010 18:14, Gene Auyeung quaker4...@gmail.com wrote: Hi, a small typo in dmenu.c.  533s/i++/++i Fixed, thanks. I seem to make more typos when programming in a cafe. I blame the coffee. cls

Re: [dev] [dwm] number of tag limited?

2010-08-06 Thread Connor Lane Smith
Hey, On 6 August 2010 06:27, thuban thu...@singularity.fr wrote: But what do you think to create the tag justs when you move in? I'm just thinking to the same comportement of wmii. Especially, I would like to be able to rename tags, and create them as I want (and automatically remove them

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
Hey, On 06/08/2010, Daniel Clemente dcl441-b...@yahoo.com wrote: This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are also used in programs like bash or Emacs. I've added C-d but not C-g, since it seems like an emacsism. Thanks, cls

[dev] wrap: minimalist archiving tool

2010-08-06 Thread Connor Lane Smith
Hey all, I've written a tiny archiver, which I've called wrap for lack of a better name. It is 120 lines of C, and yields far smaller archives than tar while overcoming the various crippling limitations of ar. It does, however, only store files - subdirectories are implicit. Interestingly during

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
On 06/08/2010, Antoni Grzymala ant...@chopin.edu.pl wrote: AFAIR C-g just emits BEL by default in bash (as it used in most old terminals), but yeah, it's probably good to have it, thx. dmenu already has C-c to abort, btw. cls

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Connor Lane Smith
Hey, On 8 August 2010 09:22, Uriel ur...@berlinblue.org wrote: Both are emacsisms as far as I can tell, and of little use (specialy given ^C already aborts). ^D isn't an emacsism insofar as using it in bash when not at the end of the line works the same way. That said, I'm aware bash is a

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Connor Lane Smith
On 9 August 2010 13:35, Uriel ur...@berlinblue.org wrote: This is a totally retarded argument, Plan 9 terminals do have a cursor, and certainly don't implement every retarded stupid keybinding imaginable, specially not ones that conflict with one of the most generally accepted and used

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Connor Lane Smith
On 9 August 2010 23:38, TJ Robotham tj.robot...@gmail.com wrote: Actually, it is an emacsism insomuch as bash's manpage specifically describes the default line editing commands as emacs-style, in contrast to a vi-style that can be enabled in its place. Sorry, I suppose I expected better than

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Connor Lane Smith
On 9 August 2010 23:38, TJ Robotham tj.robot...@gmail.com wrote: Actually, it is an emacsism insomuch as bash's manpage specifically describes the default line editing commands as emacs-style, in contrast to a vi-style that can be enabled in its place. Sorry, I suppose I expected better than

Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-10 Thread Connor Lane Smith
On 9 August 2010 22:35, StephenB mail4...@gmail.com wrote: I think I read in a previous post that there may be a dmenu release sometime soon. I can make sure that Conner's version of the patch works with that. (in the mean time I will back port Conner's to 4.1.1 (latest stable) and put a pkg

Re: [dev] Suckless design in Games

2010-08-10 Thread Connor Lane Smith
Hey, On 10 August 2010 14:51, lordkrandel lordkran...@gmail.com wrote: Sure you can code a game in a way which sucks less, but I think that it's not so easy to say Less is more when the main purpose is to entertain. I'm not sure I agree with you. There are lots of examples of games about

Re: [dev] Suckless design in Games

2010-08-10 Thread Connor Lane Smith
On 10 August 2010 15:18, lordkrandel lordkran...@gmail.com wrote: As in all fields of art, the purpose goes beyond effectiveness and semplicity or productivity. Sure a simple design can be more attractive and addictive, but they say, de gustibus non dispuntanda est. By simple I do not mean

Re: [dev] Suckless design in Games

2010-08-10 Thread Connor Lane Smith
On 10 August 2010 16:04, lordkrandel lordkran...@gmail.com wrote: Do you live in a protestant country? I live in Italy, we have seen plenty of aesthetics. No, I don't. England is officially neither Catholic nor Protestant. Not that Christianity has had much influence on my beliefs, and thanks

Re: [dev] fossil scm

2010-08-10 Thread Connor Lane Smith
Hey, On 10 August 2010 16:24, Szabolcs Nagy n...@port70.net wrote: web based project documentation solutions can be improved but it's not such a big deal (wiki, man2html, ..) I think suckless.org's solution to this (hg werc) is perfect. Though I would consider keeping the documentation for a

Re: [dev] Suckless design in Games

2010-08-10 Thread Connor Lane Smith
On 10/08/2010, lordkrandel lordkran...@gmail.com wrote: I believe that real life context greatly affects one's tastes. Psychology is one's own history, with all the experiences life brings. I agree, though I have tended to be influenced by subcultures, so my beliefs and tastes are not really

[dev] Re: dmenu: state of the tip

2010-08-10 Thread Connor Lane Smith
Hey, Is there anyone with either a multi-screen Xinerama setup or a font with proper UTF8 characters, who can confirm whether those two features work in dmenu tip? My machine has neither, so when editing those features I'm sort of coding blind. If someone could test to make sure they work

Re: [dev] fossil scm

2010-08-10 Thread Connor Lane Smith
On 10/08/2010, b...@methodlogic.net b...@methodlogic.net wrote: The wiki/bugtracker integration is key to it's design principles. The repository is a complete collection of source files, documentation (wiki) and tickets (bugtracker). This means that as repositories are cloned, the new

Re: [dev] Re: dmenu: state of the tip

2010-08-10 Thread Connor Lane Smith
On 10/08/2010, Gene Auyeung quaker4...@gmail.com wrote: I'm using '-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO10646-1' and non ascii characters do show up correctly in dmenu (I visited some sites that has non ascii characters in their titles eg http://www.google.ru/intl/ru/ads/ and

Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-11 Thread Connor Lane Smith
4.2 should be released soon, yes. The code affected probably won't be changed at all between now and then, so the patch shouldn't get rejected. That was a lie. The patch fails as of r357. cls

Re: [dev] Suckless design in Games

2010-08-11 Thread Connor Lane Smith
On 11 August 2010 15:35, Anh Hai Trinh anh.hai.tr...@gmail.com wrote: I think the essence of minimalism is that one take away as much as one possibly can. It's interesting that in this meaning, minimalism is not just the opposite of bloat, but also denotes some kind of balance. The

Re: [dev] Suckless design in Games

2010-08-11 Thread Connor Lane Smith
On 11 August 2010 05:28, Alex Hutton highspeed...@gmail.com wrote: Thanks, join looks very useful. Actually a while ago I was talking to some web developer friends and I was talking about writing a CMS that uses flat files and no databases, but they thought I was crazy... don't know why I've

Re: [dev] Suckless design in Games

2010-08-13 Thread Connor Lane Smith
On 11 August 2010 19:15, Chidambaram Annamalai quantumeli...@gmail.com wrote: Interesting. May I ask what languages you are familiar with? C, Python, and Java, mostly, with some Ruby, Vala, Awk, etc on the side. I've just never had a reason to learn C++, really. cls

Re: [dev] [mkpkg] a suckless package manager

2010-08-14 Thread Connor Lane Smith
(Sorry if this appears to be a separate thread. I can't actually recieve email right now.) Which means that you have to specify the full compilation rules for every pkg If by full compilation rules you mean cd $dir make install. I'm sure maintainers will cope. The slpm equivalent package:

Re: [dev] [mkpkg] a suckless package manager

2010-08-17 Thread Connor Lane Smith
Okay, I think my email is starting to work again now. you should check slpm before arguing ;) I have used it, though admittedly it was before the recent burst of activity. I will make sure to try it out again. i also recommend u to try pkgsrc. Will do. Naturally any problems to do with

[dev] Re: [dev] Usage, -h, --help, help, synopsis, …

2010-08-17 Thread Connor Lane Smith
Hey, Options without values are combined? Is that correct? Can be. Though, many suckless projects don't accept this and use, eg, strcmp(argv[i], -sb). A number of non-suckless programs are similar. usage: flo [-cr id] [-ft date] … This would lead me to think that there were options '-cr' and

[dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, s ynopsis, …

2010-08-18 Thread Connor Lane Smith
On 18 August 2010 15:37, Alexander Teinum atei...@gmail.com wrote: But we don’t need the brackets. As long as the usage text is unambiguous, then they don’t add any information. Am I right? Two instances which make this untrue: ar [-]key archive [files...] eg [-b from to] files... It also

[dev] Re: [dev] Re: [dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

2010-08-18 Thread Connor Lane Smith
2010/8/18 Alexander Teinum atei...@gmail.com: I’d like to write a KISS option parser that accepts “program -c -a -f some_file”, but not “program -ca -fsome_file”. I prefer to keep the rules simple. Such a simple option set probably doesn't actually *need* a parser. I don't think any lines

[dev] [dmenu] smaller dmenu_path.c

2010-08-21 Thread Connor Lane Smith
Hey all, The dmenu_path.c in patches seemed a bit long and complex, so I wrote my own. It's 100 lines, versus the other's 376. It might be a couple of milliseconds slower, it's difficult to tell -- but in my opinion its simplicity makes up for that. Source attached. cls dmenu_path.c

Re: [dev] libdraw development

2010-08-31 Thread Connor Lane Smith
On Monday, August 30, 2010, pancake panc...@youterm.com wrote: I also liked to know if the libdraw author is open to contributions (can I commit it directly?). Yes, except, libdraw is currently waiting to be released as version 0.1, and ofc development would destabilize it. I'm waiting for

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
Hey, On Wednesday, September 1, 2010, Alexander Teinum atei...@gmail.com wrote: I haven't tried it, but nice. I would like to see that in dwm as well. Not as a patch that needs to be maintained, but rather as a part of dwm. Are the old style X fonts really that much better? One benefit of

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
it a few times now. Still, I haven't used X long enough to have seen it any other state than its present misery... (Sorry about the html. Android.) cls On Sep 1, 2010 6:00 PM, Ethan Grammatikidis eeke...@fastmail.fm wrote: Connor Lane Smith wrote: If someone were to write a simple clean xft patch

Re: [dev] [patch] dmenu - support for xft font rendering

2010-09-01 Thread Connor Lane Smith
Grammatikidis's message of 2010-09-01 19:00:17 +0200: Connor Lane Smith wrote: If someone were to write a simple clean xft patch for libdraw it coul... I can't comment on the code complexity, but I do wish there was support for proportional fonts and other typographical niceties in terminal

Re: [dev] libdraw development

2010-09-03 Thread Connor Lane Smith
On Friday, September 3, 2010, Anders Andersson pipat...@gmail.com wrote: Since this library doesn't seem to have much to do with drawing anyway, I fail to see why it should pollute the already taken and very generic 'libdraw'. As far as I have seen from sporadically following this thread is

Re: [dev] libdraw development

2010-09-03 Thread Connor Lane Smith
On Friday, September 3, 2010, Uriel ur...@berlinblue.org wrote: I understand that when you are busy reinventing square wheels, causing extra confusion is the least of your worries... Clearly you didn't read the explanation of what libdraw is... Allow me to reiterate: the functions already

Re: [dev] libdraw development

2010-09-03 Thread Connor Lane Smith
On Friday, September 3, 2010, Anselm R Garbe garb...@gmail.com wrote: Plan 9's libdraw is very different to the libdraw we are discussing. libdraw of dmenu/dwm is intended to be used for different backends, not just xlib, hence having libxdraw would be misleading. If we think about a better

Re: [dev] libdraw development

2010-09-03 Thread Connor Lane Smith
On Friday, September 3, 2010, yy yiyu@gmail.com wrote: It doesn't. libdraw uses a custom protocol to speak with devdraw, which is a separate program and the only one in p9p which really depends on xlib. I'd still consider that a dependency, but a bit crazier. But fair enough I guess? I

Re: [dev] libdraw development

2010-09-07 Thread Connor Lane Smith
On Monday, September 6, 2010, Kris Maglione maglion...@gmail.com wrote: On Mon, Sep 06, 2010 at 10:10:16PM +0200, Moritz Wilhelmy wrote: Isn't portability one of the goals? I don't use that kind of GNU extension gunk so I split my files anyway. Indeed. The day suckless software depends on GNU

Re: [dev] [OT] Music?

2010-09-11 Thread Connor Lane Smith
For minimalism, to some degree, may I recommend The Shins (The Celibate Life, New Slang), recent CocoRosie (Grey Oceans, Werewolf), and early Björk (Human Behaviour, Headphones). I have been told I have a strange taste in music, though -- especially with CocoRosie. cls

Re: [dev] [dmenu] linker fail

2010-09-13 Thread Connor Lane Smith
On 13 September 2010 10:52, Jakob Nixdorf flo...@shadowice.org wrote: in the current hg of dmenu is a little mistake. You changed the include after renaming libdraw but you forgot to change the linker options in config.mk so it still searches for libdraw and not libdc. Whoops, fixed in tip.

Re: [dev] [dwm] tagging interface

2010-09-22 Thread Connor Lane Smith
Hey, On Wednesday, 22 September 2010, Wolf Tivy wti...@my.bcit.ca wrote: I wasn't just being cheap when I left that out. It looks like XPeekEvent blocks, which won't do. I haven't found the (hopefully existent) non-blocking equivalent, so I can't even write that part. There are various

Re: [dev] [libdc] default font and unicode

2010-09-30 Thread Connor Lane Smith
Hey, On 30 September 2010 10:49, sta...@cs.tu-berlin.de wrote: I've switched to newer dmenu (one with libdc) these days and noticed that with the deafult font Cyrillic characters are broken. The attached tiny patch selects a fixed font aware of unicode and works for me. Interesting, the

Re: [dev] [libdc] default font and unicode

2010-10-01 Thread Connor Lane Smith
Hey, On 30 September 2010 10:49, sta...@cs.tu-berlin.de wrote: The attached tiny patch selects a fixed font aware of unicode and works for me. I'm not sure what to do here, since the font you specified is in fact different, and I doubt it's standard. Keeping it as fixed seems the safest for

Re: [dev] [dwm] Status color patch for dwm 5.8.2

2010-10-17 Thread Connor Lane Smith
Hey, On 17 October 2010 11:50, Kobi dev.c...@gmail.com wrote: Can somebody put it on the dwm site? That somebody could be you! http://suckless.org/wiki/ cls

Re: [dev] [dwm] Fedora package

2010-10-19 Thread Connor Lane Smith
Hey, On 19 October 2010 20:15, Kurt H Maier karmaf...@gmail.com wrote: Each distribution should have their own discussion about this on their own lists, so we don't have to listen to to it.  dwm is licensed such that we don't have to give a damn how they patch the software. I think knowing

Re: [dev] [sta.li] Minimalist Live Distro

2010-11-10 Thread Connor Lane Smith
Hey, On 10 November 2010 08:19, Szabolcs Nagy n...@port70.net wrote: eg a js interpreter on its own is not very useful as most js code is about interacting with a browser: handling browser events, manipulating site related states, drawing stuff on screen, issuing browser commands There are a

Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

2010-11-11 Thread Connor Lane Smith
Hey, On 11 November 2010 05:25, Dan Brown danbr...@gmail.com wrote: Why is this patch of interest? I call it filtermode because it uses dmenu to generate a list of matches, with interactivity similar to the trendy instant style of searching. For applications working with sets of items, this

Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

2010-11-11 Thread Connor Lane Smith
On 11 November 2010 11:47, Dieter Plaetinck die...@plaetinck.be wrote: you mean you want to choose between return current result vs return all current matches at run-time? What's a use case for that? I think this should be configured with a commandline argument, because the script that calls

Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

2010-11-11 Thread Connor Lane Smith
On 11 November 2010 14:02, Connor Lane Smith c...@lubutu.com wrote: I do agree there should be some sort of indication like this, but I don't think it's that easy. Right now all I can think of is changing the prompt, like dwm does when its behaviour changes with the layout symbols. I'd also

Re: [dev] dmenu patch to return all matching items (for a new dmenu-powered music player interface)

2010-11-11 Thread Connor Lane Smith
On 11 November 2010 23:59, TJ Robotham tj.robot...@gmail.com wrote: Meh, I can't really think of a particularly compelling reason to put config.h back in, but from the perspective of someone who was using it, its removal feels strange and arbitrary and a bit like someone insisting that I get

Re: [dev] [slock] Linux-PAM support

2010-11-16 Thread Connor Lane Smith
Hey, On 16 November 2010 17:33, Kurt H Maier karmaf...@gmail.com wrote: and I hope to god people one day stop cramming 'features' into simple software.  I'm talking to you, dmenu If someone has a use case for something it makes sense to make a patch. One of the benefits of our simple software

Re: [dev] st font change

2010-11-18 Thread Connor Lane Smith
Hey, On 18 November 2010 19:32, Mitchell Church mitchellchu...@gmail.com wrote: Okay, the specific error message is Can't load font -*-inconsolata-*-*-*-*-12-*-*-*-*-*-iso10646-1 This is when trying to use the font string -*-inconsolata-*-*-*-*-12-*-*-*-*-*-iso10646-1 I also tried the

Re: [dev] Re: [dmenu] [patch] add xft and fix possible memory leak in version 4.2.1

2010-11-21 Thread Connor Lane Smith
Hey, On 21 November 2010 03:56, Dan Brown danbr...@gmail.com wrote: 2) dmenu v4.2.1 appears to be leaking memory. It is missing the routines to teardown/cleanup memory structures present in previous versions. This patch also adds them. As Wolf says, there is no memory leak: there are only

  1   2   3   4   5   >