Re: [dev] mret

2011-06-01 Thread sqweek
2011/5/26 Kamil Cholewiński : > BTW offtopic, anyone knows of a decend CLI music player that doesn't > use any freaking curses UI (like mpc/mpd) *AND* doesn't try to build a > database (like moc)? Like mh, but for tunes. m9u is probably about as simple as it gets. Though technically it's not even

Re: Playing music (was: Re: [dev] mret)

2011-05-28 Thread Bjartur Thorlacius
On 5/26/11, hiro <23h...@googlemail.com> wrote: > Hmm. How do you "buffer linewise"? I knew that everything worked fine on sane ttys, but I just don't understand how FIFOs are buffered and thus not what happened if you tried to read from a pipe with less than 512 bytes written to it. I'm back on Li

Re: Playing music (was: Re: [dev] mret)

2011-05-27 Thread hiro
I still don't get the whole idea. http://sqweek.dnsdojo.org/code/m9u/

Re: Playing music (was: Re: [dev] mret)

2011-05-27 Thread Andrew Hills
On Thu, May 26, 2011 at 2:22 PM, hiro <23h...@googlemail.com> wrote: > Hmm. How do you "buffer linewise"? I'm 99% sure that means the songs file is a line-delimited list of filenames. --Andrew Hills

Re: Playing music (was: Re: [dev] mret)

2011-05-26 Thread hiro
Hmm. How do you "buffer linewise"? I think sqweek did some nice playlist file system, I can't find it right now.

Playing music (was: Re: [dev] mret)

2011-05-26 Thread Bjartur Thorlacius
On 5/26/11, hiro <23h...@googlemail.com> wrote: > mplayer has the -quiet flag at least, I'm quite sure you can disable > it's interactive features, too. I just don't want to read the man > "page". This. I'm on Windows ATM, but if I recall correctly: xargs -n0 mplayer -slave -quiet &>/dev/null Where

Re: [dev] mret

2011-05-26 Thread hiro
> Being able to queue commands would be nice for the use case > of playing something in mplayer, then realising in the next > few minutes it will come to an end and wanting to append > something else. I'm aware less command-centric media players > can do this, but I am rather fond of mplayer. mpla

Re: [dev] mret

2011-05-26 Thread Nick
On Wed, May 25, 2011 at 10:38:08PM +0100, Connor Lane Smith wrote: > imo (and stealing some ideas from Kurt) you should have separate boxes > which are filled with the output of the given command; you just type a > command and the box appears and starts to be filled. You can then type > your next c

Re: [dev] mret

2011-05-25 Thread Kamil Cholewiński
Hi, > It would be nice if the textbox can be more 'canvas-like', such as > drawing a horizontal or vertical line to indicate each individual > commands output? Stuff like that. Right now you can embed virtually any Tk widget or any image, simply use the wishpipe. I only started learning Tcl&Tk a

Re: [dev] mret

2011-05-25 Thread Valentin Ochs
On Wed, May 25, 2011 at 05:13:00PM -0400, Kurt H Maier wrote: > 2011/5/25 Kamil Cholewiński : > > BTW offtopic, anyone knows of a decend CLI music player that doesn't > > use any freaking curses UI (like mpc/mpd) *AND* doesn't try to build a > > database (like moc)? Like mh, but for tunes. > > mpd

Re: [dev] mret

2011-05-25 Thread pancake
mplayer -shuffle */* On 25/05/2011, at 23:13, Kurt H Maier wrote: > 2011/5/25 Kamil Cholewiński : >> BTW offtopic, anyone knows of a decend CLI music player that doesn't >> use any freaking curses UI (like mpc/mpd) *AND* doesn't try to build a >> database (like moc)? Like mh, but for tunes. > >

Re: [dev] mret

2011-05-25 Thread Connor Lane Smith
Hey, 2011/5/25 Kamil Cholewiński : > It's just an interactive mockup, a prototype, a testbed for ideas, not > meant for immediate consumption. Nice. I've only played with it briefly, but I get its being a mockup: I started building my own terminal in response to the TermKit thread, and I've not r

Re: [dev] mret

2011-05-25 Thread Kurt H Maier
2011/5/25 Kamil Cholewiński : > BTW offtopic, anyone knows of a decend CLI music player that doesn't > use any freaking curses UI (like mpc/mpd) *AND* doesn't try to build a > database (like moc)? Like mh, but for tunes. mpd with either mpc or pimpd2 as client. -- # Kurt H Maier

Re: [dev] mret

2011-05-25 Thread Kamil Cholewiński
Hi and thanks for your comments. > You are doing it wrong. Mixing code and data is one of the worst > things you can do. Not only for security reasons. [snip] > Plan9 just disables all screen control stuff to just a serial > communication channel. And all the graphical stuff is done on top of > it

Re: [dev] mret

2011-05-25 Thread pancake
You are doing it wrong. Mixing code and data is one of the worst things you can do. Not only for security reasons. Apart that depending on tcl/tk is somewhat sucky. Stetically and in size.. And not really keyboard friendly. The mimetype hint used in termkit is somewhat more elegant, but sucky t