Re: mutt and stdin

2012-04-17 Thread Andrei Mikhailov
Thank you, this solved my problem. I knew it was a Linux question. > TTY=$(tty); echo mymaildir | xargs -I{} sh -c "mutt -f '{}' <$TTY" > > -- > David Champion • d...@uchicago.edu • IT Services • University of Chicago

Re: mutt and stdin

2012-04-17 Thread Andrei Mikhailov
he terminal'' Is that possible? Is it possible to call Mutt from within scripts accepting pipe input? On Tue, Apr 17, 2012 at 10:37:55AM -0500, Derek Martin wrote: > On Tue, Apr 17, 2012 at 11:46:15AM -0300, Andrei Mikhailov wrote: > > I would expect that this command: >

mutt and stdin

2012-04-17 Thread Andrei Mikhailov
Dear Mutt Users, I am not sure if this is a bug of mutt, or my poor knowledge of Linux. I would expect that this command: echo mymaildir | xargs mutt -f be equivalent to: mutt -f mymaildir But instead, mutt complains about ``no recipient specified''. Please help me to figure this out! An