On Mon, 7 Jan 2002 16:43:47 +0100, martin f krafft <[EMAIL PROTECTED]> wrote:
> can anyone please explain this to me? > > seamus:/usr/local/share/phpgw# find . -name Root | xargs vi > 221 files to edit > Vim: Warning: Input is not from a terminal > > seamus:/usr/local/share/phpgw# vi `find . -name Root` > 221 files to edit > > > how the heck does vi get the difference between the two methods of > calling it... if (!isatty()) { print Warning; } Vi obviously gets very personal with the terminal settings, and the first puts it in a subshell. -- Eric G. Miller <egm2@jps.net>