From owner-freebsd-questions@FreeBSD.ORG Fri Jul 4 09:25:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE2E37B401 for ; Fri, 4 Jul 2003 09:25:33 -0700 (PDT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5D8043F3F for ; Fri, 4 Jul 2003 09:25:32 -0700 (PDT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.9/8.12.9) with ESMTP id h64GPFU9031226 for ; Fri, 4 Jul 2003 12:25:15 -0400 (EDT) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.9/8.12.6/Submit) id h64GPEi1031221 for freebsd-questions@freebsd.org; Fri, 4 Jul 2003 12:25:14 -0400 (EDT) (envelope-from paul) Date: Fri, 4 Jul 2003 12:25:14 -0400 From: Paul Chvostek To: freebsd-questions@freebsd.org Message-ID: <20030704162514.GA28343@mail.it.ca> References: <20030704161506.40251.qmail@web21207.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030704161506.40251.qmail@web21207.mail.yahoo.com> User-Agent: Mutt/1.4.1i Subject: Re: vi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2003 16:25:33 -0000 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 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 it.canada http://www.it.ca/ Free PHP web hosting! http://www.it.ca/web/