Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
Sounds intriguing, and I'm going to check it out, but I have to admit to being the Designer of a competing bit of software at http://taskwarrior.org I don’t have time to try it out right now, but I see how an interactive interface might be practical. Mine is more like a pure command line

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
s/ISO 6801 date/ISO 6801 week/

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
Damn right! Alexander

[dev] offtopic / simple amusement

2010-08-17 Thread Jakub Lach
AC_INIT(Chocolate Doom, 1.4.0, frag...@gmail.com, chocolate-doom) (...) # Engine room, we need more speed! AC_ARG_ENABLE(penis-extension, [ --enable-penis-extension Enable counterproductive compiler optimisations ], [ OPT_LEVEL=3 ])

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread LuX
Hello! on, 16 Aug 2010 21:22:18 -0400, Kris Maglione wrote: But our file is a FIFO, anyway. Its contents never touch the disk. It would probably be better in ~/.wmii/menu_fifo or the like, though. I see. I put files wi_cli.sh, fifo and opts, with obvious meanings, in '$HOME/.wmii/wi_cli/'.

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread Kris Maglione
On Tue, Aug 17, 2010 at 12:04:28PM +0200, LuX wrote: I'd suggest some slight changes, though: *** Here is a patch (diff file) The following will do what you want: *** Here is a full script I'm sorry but I'm a little bit confused here (recall that I'm somewhat a beginner in this area). It

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread David J Patrick
On 10-08-17 02:57 AM, Alexander Teinum wrote: I don’t have time to try it out right now, but I see how an interactive interface might be practical. Don't have time right now, hence that task management application ? ;-) taskwarrior is also purely cli at the moment, but working towards adding

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread LuX
Hello! Tue, 17 Aug 2010 06:26:37 -0400, Kris Maglione wrote: The patch was against your script. OK, let us call: - 'post' the last script I have posted, on: http://lists.suckless.org/dev/1008/5609.html - 'patch' and 'script' the patch and script you posted on:

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Nikhilesh S
I made a flo-git package for AUR then when I was about to submit I found that there was already flo-git in AUR. This would have been my first package. ;_;

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
Don't have time right now, hence that task management application ? ;-) $ f check out david’s app Ids are updated. On Tue, Aug 17, 2010 at 5:32 PM, Nikhilesh S s.nikhil...@gmail.com wrote: I made a flo-git package for AUR then when I was about to submit I found that there was already flo-git

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

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

2010-08-17 Thread anonymous
On Tue, Aug 17, 2010 at 05:40:40PM +0200, Alexander Teinum wrote: What is the most concise way of outputting a usage and help text? Must the usage text be unambiguous when it comes to valid combinations? No, compatibility of options should be described in man page. What should the program

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
On Tue, Aug 17, 2010 at 6:50 PM, Andreas Wagner andreasbwag...@gmail.com wrote: I would like a system for managing a task dependency graph, it is easier for many people to complete vague tasks when they are broken down. Having many small tasks without a dependency graph of some sort would be

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

2010-08-17 Thread Alexander Teinum
I think the best format for usage is something like what Plan 9 utilities use (BSD use the same): usage: cmd [-abcde] [-f file] [-g pattern] [file ...] Options without values are combined? Is that correct? With these rules flo usage should be usage: flo [-c id] [-f from] [-r id] [-t to]

[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

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread stanio
* Andreas Wagner andreasbwag...@gmail.com [2010-08-17 18:51]: I would like a system for managing a task dependency graph, it is easier for many people to complete vague tasks when they are broken down. Having many small tasks without a dependency graph of some sort would be cumbersome. You

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

2010-08-17 Thread Alexander Teinum
It would be a nice challenge to write a really small getopt() replacement, and a program that generates usage text. Okay, how about… usage: program -a [-b] [-c] -f file blah blah blah No grouping. Should make parsing simpler. I guess it’s still a good idea to let the user choose the order of the

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Suraj Kurapati
On Tue, Aug 17, 2010 at 10:19 AM, Alexander Teinum atei...@gmail.com wrote: On Tue, Aug 17, 2010 at 6:50 PM, Andreas Wagner andreasbwag...@gmail.com wrote: I would like a system for managing a task dependency graph Yeah, I did think about having some sort of dependency graph today. it

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
$ flo do something … $ flo -c 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb -w do something else … I’ll think about it.

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Suraj Kurapati
On Tue, Aug 17, 2010 at 2:56 PM, Nikhilesh S s.nikhil...@gmail.com wrote: On Tue, 17 Aug 2010, Suraj Kurapati wrote: uuidgen(1) for the win. I don't see why they should be univrsally unique - just unique within the input file should do. All that is required is adding an additional integer

[dev] [sic] port argument necessary?

2010-08-17 Thread Ramana Kumar
Why must an argument be provided with its default value? ram...@archbox ~ % sic error: cannot resolve hostname 'irc.oftc.net': Success ram...@archbox ~ % sic -p 6667 solenoid.oftc.net: 08/18/10 07:17 NOTICE (AUTH): *** Looking up your hostname... solenoid.oftc.net: 08/18/10 07:17 NOTICE (AUTH):

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
It might be obvious, but there’s one thing that I have found that is nice about changing ids, and that’s when you’re removing items in a row. Count how many items you want to remove, and then remove the first id three times. Type command, enter, arrow up, enter, arrow up, enter.

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Nikhilesh S
On Tue, 17 Aug 2010, Alexander Teinum wrote: It might be obvious, but there’s one thing that I have found that is nice about changing ids, and that’s when you’re removing items in a row. Count how many items you want to remove, and then remove the first id three times. Type command, enter,

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

2010-08-17 Thread pancake
Plan9 getopt replacement is quite nice. I recommend the reading. Maybe a port would be good. Dunno if its in 9base.. But it should be enought with a .h and few defines - Original message - Hey, Options without values are combined? Is that correct? Can be. Though, many suckless

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Robert Ransom
On Wed, 18 Aug 2010 01:38:26 +0300 (AST) Nikhilesh S s.nikhil...@gmail.com wrote: On Tue, 17 Aug 2010, Alexander Teinum wrote: It might be obvious, but there’s one thing that I have found that is nice about changing ids, and that’s when you’re removing items in a row. Count how many

[dev] [surf] URI handling, with patch

2010-08-17 Thread Ryan Mullen
Hi, Surf takes a URI as a command line argument or via dmenu/xprop. I have two small and unimportant problems with the way it is currently done. First, I am not sure surf handles the command line argument with the URI in the correct way. The issue here is that everything that doesn't have a ://

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Alexander Teinum
flo does not store any ids in the items file. Items get their id once they are listed in the order that they are sorted. Since they’re sorted, it’s safe to remove ids between range 5–7 like this: for i in {0..2}; do flo -r 5; done Changing items in a range is not safe, since an item might be

Re: [dev] flo - a command line program for organizing events, to-dos, and deadlines

2010-08-17 Thread Robert Ransom
On Wed, 18 Aug 2010 01:27:22 +0200 Alexander Teinum atei...@gmail.com wrote: How many of these small tools are there? Before this gets out of hand – scream along with me: “IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES

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

2010-08-17 Thread Suraj Kurapati
On Tue, Aug 17, 2010 at 8:40 AM, Alexander Teinum atei...@gmail.com wrote: What is the most concise way of outputting a usage and help text? For my programs, the --help option simply displays their manpage. :-) man(1) is better suited for information display (text-wrapping to 80 characters or

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

2010-08-17 Thread Kris Maglione
On Tue, Aug 17, 2010 at 07:54:44PM -0700, Suraj Kurapati wrote: On Tue, Aug 17, 2010 at 8:40 AM, Alexander Teinum atei...@gmail.com wrote: What is the most concise way of outputting a usage and help text? For my programs, the --help option simply displays their manpage. :-) man(1) is better

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

2010-08-17 Thread Suraj Kurapati
On Tue, Aug 17, 2010 at 8:27 PM, Kris Maglione maglion...@gmail.com wrote: GNU man has the annoying and difficult to stop habit of filling the entire width of the terminal rather than wrapping at 80 chars. And if you set $MANWIDTH or $COLUMNS to 80 and the terminal isn't that wide, you wind up

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

2010-08-17 Thread Anh Hai Trinh
On Wed, Aug 18, 2010 at 2:36 AM, Alexander Teinum atei...@gmail.com wrote: It would be a nice challenge to write a really small getopt() replacement, and a program that generates usage text. Okay, how about… usage: program -a [-b] [-c] -f file blah blah blah -a    Required. Must always be