From owner-cvs-all Sat Jun 5 13:27:13 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DFFAD14C21; Sat, 5 Jun 1999 13:27:11 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Received: (from hoek@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA41880; Sat, 5 Jun 1999 13:27:11 -0700 (PDT) (envelope-from hoek@FreeBSD.org) Message-Id: <199906052027.NAA41880@freefall.freebsd.org> From: Tim Vanderhoek Date: Sat, 5 Jun 1999 13:27:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/more command.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk hoek 1999/06/05 13:27:11 PDT Modified files: usr.bin/more command.c Log: - When trying to decide if $EDITOR == "vi", match against only the first two characters of $EDITOR. This allows things like "vim" and "vi -G" (although nvi would fail...oh well). - Avoid certain cases where the editor is passed an invalid line number. Revision Changes Path 1.13 +28 -5 src/usr.bin/more/command.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message