[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: automation

From: olafBuddenhagen
Subject: Re: OT: automation
Date: Sat, 14 Nov 2009 23:57:07 +0100
User-agent: Mutt/1.5.19 (2009-01-05)


On Wed, Nov 11, 2009 at 03:27:20PM +0100, Arne Babenhauserheide wrote:
> Am Dienstag, 10. November 2009 17:27:13 schrieb
> olafBuddenhagen@gmx.net:

>       find -print0 | shuf -z | xargs -0 mplayer

> I can't control the mplayer from the shell now...

Problem is that xargs doesn't reset stdin -- not only xargs, but also
the actual program exectuted reads from the pipe... Which obviously
doesn't work to well with interactive programs. (I stumbled over this a
few times myself with vim.)

I don't know how to work around this either :-(

> > The idea is actually quite simple (I think I mentioned it somewhere
> > already, perhaps in the mail on the netrik ML I linked): every
> > command has both a command line, and a GUI representation; you can
> > use either. Furthermore, they always reflect each other -- i.e. when
> > you operate some GUI elements, the equivalent text command is
> > displayed too; and vice versa. This way you can mix both methods in
> > a sigle command for maximum efficiency; and it also faciliates
> > learning.
> > 
> > Perhaps I should just put these three sentences in a blog article
> > and be done with it :-)
> Yes - It would be one of your shortest entries, I think, but it would
> be perfectly to the point and easy to understand. Put another way: It
> would be a great focus - for netrik, too. 
> How can you best reach that goal? 

What goal exactly?...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]