Date: Fri, 4 Jul 2003 12:25:14 -0400 From: Paul Chvostek <paul+fbsd@it.ca> To: freebsd-questions@freebsd.org Subject: Re: vi Message-ID: <20030704162514.GA28343@mail.it.ca> In-Reply-To: <20030704161506.40251.qmail@web21207.mail.yahoo.com> References: <20030704161506.40251.qmail@web21207.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 05, 2003 at 12:15:06AM +0800, adrian kok wrote: > > Can I avoid this warning message from vi? > When I run "vi <in.txt" > Vim: Warning: Input is not from a terminal The man page for vi says: Vi is a screen oriented text editor. Ex is a line-oriented text edi- tor. Ex and vi are different interfaces to the same program, ... VI is a VIsual editor. If you have commands you'd like to execute on stdin, try using ex. If your stdin uses commands that exist in vim but not in ex, I'd recommend rewriting your stdin.... -- Paul Chvostek <paul@it.ca> it.canada http://www.it.ca/ Free PHP web hosting! http://www.it.ca/web/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704162514.GA28343>
