> There is no way to send the "end of file" signal that ack (or grep, or > anything) expects. > I have no idea how to do that in fact.
Could close its stdin when all data is sent to it. Should probably be a separate function. >> I never get the prompt back >> I note that in a yi interactive shell, the following does not print 1 >> unlike in emacs : >> >> $ perl -e 'print -t STDOUT' Interactive sub-processes of this sort should probably get a pty allocated. (System.Posix.Terminal.openPseudoTerminal), and of course have all the related sid/pgid stuff set, shell job-control style. Emily Backes em...@accela.net --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---