id,summary,reporter,owner,description,type,status,priority,milestone,version,resolution,keywords,cc
101,read from /dev/tty when stdin isn't a terminal,judah,,"Darcs apply doesn't work when reading from a file with interactive mode:
 {{{darcs apply -i < foo.dpatch}}}
In that case, Haskeline should read user input from stdin, like `less`.

Darcs ticket and email thread:
http://bugs.darcs.net/issue1648
http://lists.osuosl.org/pipermail/darcs-users/2009-October/021861.html

There's two possible ways to do this:
  - Query an environmental flag (e.g. HASKELINE_FORCE_TTY).
  - Add a parameter to one of Haskeline's functions. 

We need to figure out the Darcs use cases in order to decide which way is better.",enhancement,closed,minor,0.6.3,0.6,fixed,,
