From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kendall Shaw Newsgroups: gmane.emacs.help Subject: Re: List of evil ex commands? Date: Sat, 31 Oct 2015 16:31:44 -0700 Message-ID: <56354F60.5040606@kendallshaw.com> References: <56350BAA.2010700@kendallshaw.com> <87fv0qdei5.fsf@wanadoo.es> <563527DC.7060306@kendallshaw.com> <20151031161507195383866@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1446334337 5705 80.91.229.3 (31 Oct 2015 23:32:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2015 23:32:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 01 00:32:10 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zsfd3-00061B-U8 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Nov 2015 00:32:10 +0100 Original-Received: from localhost ([::1]:57347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsfd3-0004Od-9d for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Oct 2015 19:32:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsfcr-0004OR-Sr for help-gnu-emacs@gnu.org; Sat, 31 Oct 2015 19:32:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zsfck-0003nb-Cp for help-gnu-emacs@gnu.org; Sat, 31 Oct 2015 19:31:57 -0400 Original-Received: from c.mail.sonic.net ([64.142.111.80]:54450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsfck-0003nP-55 for help-gnu-emacs@gnu.org; Sat, 31 Oct 2015 19:31:50 -0400 Original-Received: from kitsune-ko.localdomain (70-36-187-124.dsl.dynamic.sonic.net [70.36.187.124]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t9VNViSA004150 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 31 Oct 2015 16:31:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <20151031161507195383866@bob.proulx.com> X-Sonic-CAuth: UmFuZG9tSVbIcAbPL0NCUq/rAAvJ9NPn74wY/85pJ7DJ4+yGSReT2PqCOWLkK0tHYAwb+dXxbCVf8AXeEreKKulejFd6IReS X-Sonic-ID: C;6tIOjCeA5RG0zL0U9jFv0A== M;yrScjCeA5RG0zL0U9jFv0A== X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 64.142.111.80 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107883 Archived-At: On 10/31/2015 03:23 PM, Bob Proulx wrote: > Kendall Shaw wrote: >> The command :ex is what I have been using in vi since 1982. In vi it >> switches to ex (the line editor that came after ed) mode. > What vi program are you using? > > I am using 'nvi' because it is the closest to the original BSD vi > program that is available by free(dom) license. There if I start nvi > as 'ex' then I am in ex mode. Typing in 'vi' (the ':' is already > there in ex mode) then I enter visual mode. But in nvi visual mode > typing in ":ex" does not turn off visual mode. Typing in ":" does > however allow me to type in any ex command. This is sufficient for > me. Supposedly in nvi the Q command exits visual mode and returns to > ex mode but for whatever reason for me it says the Q command is > unknown. This has never bothered me enough to pursue it further. I > assume it is simply a bug in the nvi implementation. It hasn't been > getting much love lately. > Sorry, I am conflating some things. My train of thought was that it's called ex because it switched/switches to ex mode in vi that was on either Ultrix, Berkeley Unix or SunOS 4.x. But, :ex filename loaded a file and so that was what muscle memory has been using. I've been using vim in some form on linux for a long time and nvi on openbsd just because it is what is/was installed by default. Kendall