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 Szabolcs Nagy
* Alexander Teinum [2010-08-17 09:01:00 +0200]: > s/ISO 6801 date/ISO 6801 week/ s/6801/8601/

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 seem

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

2010-08-17 Thread Florian Ermisch
/^s/s/$/g/ ? 2010/8/17, Szabolcs Nagy : > * Alexander Teinum [2010-08-17 09:01:00 +0200]: >> s/ISO 6801 date/ISO 6801 week/ > s/6801/8601/ > > -- Do YOU trust google?

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: http://lists.suckless.org/dev

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 wrote: > 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

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

2010-08-17 Thread yy
You could also be interested in http://todotxt.com/ (although I don't really know it, neither have I taken a look at flo) -- - yiyus || JGL . 4l77.com

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 var

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

2010-08-17 Thread Alexander Teinum
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? What should the program option or options be named that show the usage or help text? Are there any existing standards for usage and help text? How should the

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

2010-08-17 Thread Andreas Wagner
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. The user could specify (a) task(s) that depends on another task or an uno

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 progra

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 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 cumbersome. Yeah, I d

[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

[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'

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

2010-08-17 Thread stanio
* Andreas Wagner [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 might find pyGTD useful

[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 wrote: > On Tue, Aug 17, 2010 at 6:50 PM, Andreas Wagner > 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 requires [...] that the items must have

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 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 'id' field to t

[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 (AUT

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] [sic] port argument necessary?

2010-08-17 Thread Josh Rickmar
On Wed, Aug 18, 2010 at 07:18:48AM +1000, Ramana Kumar wrote: > 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): *** Lo

Re: [dev] [sic] port argument necessary?

2010-08-17 Thread Ramana Kumar
Thanks Josh! Does anyone know whether ircd is "supposed" to be set up properly on Linux? I can tell you that it doesn't get done on Arch, at least. On Wed, Aug 18, 2010 at 7:32 AM, Josh Rickmar wrote: > On Wed, Aug 18, 2010 at 07:18:48AM +1000, Ramana Kumar wrote: >> Why must an argument be provi

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, arro

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 suckl

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

2010-08-17 Thread pancake
Would be nice if parsing and help get generated from same data structure. I think that java getopt implementation, or the one in glib (vala) does it in this way. - Original message - > It would be a nice challenge to write a really small getopt() > replacement, and a program that generat

Re: [dev] [sic] port argument necessary?

2010-08-17 Thread Robert Ransom
On Wed, 18 Aug 2010 07:37:28 +1000 Ramana Kumar wrote: > Thanks Josh! > Does anyone know whether ircd is "supposed" to be set up properly on Linux? > I can tell you that it doesn't get done on Arch, at least. On an Arch system: $ getent services ircd $ getent services irc irc

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 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 items you want to

[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 sort

[dev] [st] various possible bugs

2010-08-17 Thread Ramana Kumar
I finally got st to build by just copying the st.info file to the (missing) st-256color.info file. First things I noticed: 1. Backspace doesn't work (nor does CTRL-H) 2. Unicode characters don't display properly (the one I noticed is ∀) 3. This one is probably not your problem, but man and vim both

Re: [dev] [wmii] wimenu custom completion

2010-08-17 Thread Kris Maglione
On Tue, Aug 17, 2010 at 03:56:38PM +0200, LuX wrote: 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: http://lists.suckless.org/dev/1008/5610.html I copied 'post' and 'patch' fro

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:11:09 +0200 Alexander Teinum wrote: > The downside is that it’s hard to remove lots of items that are > grepped. If you want to do that, and you don’t need to identify the > items by their date, then you can do that manually in vim by deleting > the lines. # pacman -S more

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

2010-08-17 Thread Alexander Teinum
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 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS …”

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 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 WHATSOEVER RESULTI

[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 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 $COLUMNS, paginati

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 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 informa

[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 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 > with badly broke

[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 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 set. > -b    O

Re: [dev] [st] various possible bugs

2010-08-17 Thread Aurélien Aptel
On Wed, Aug 18, 2010 at 1:11 AM, Ramana Kumar wrote: > I finally got st to build by just copying the st.info file to the > (missing) st-256color.info file. It builds but it doesn't add any new description. It will just overwrite the previous st description. > First things I noticed: > 1. Backspa

[dev] Man coloring. [was: Usage, -h, - -help, help, synopsis, …]

2010-08-17 Thread Antoni Grzymala
Suraj Kurapati dixit (2010-08-17, 20:49): > > As for bold, fortunately my terminal has it disabled, > > I set up nice colors for bold and underline so things are easy to read > (see the attached screenshot). If anyone is interested, my Xdefaults > file is here: > > http://github.com/sunaku/ho