From vimdev-owner@prz.tu-berlin.de  Thu Jun 13 11:00:33 1996
Return-Path: vimdev-owner@prz.tu-berlin.de
Received: from haven.uchicago.edu (root@haven.uchicago.edu [128.135.12.3]) by fudge.uchicago.edu (8.7.5/8.7.3) with ESMTP id LAA01713 for <eric@fudge.uchicago.edu>; Thu, 13 Jun 1996 11:00:31 -0500 (CDT)
Received: from midway.uchicago.edu (root@midway.uchicago.edu [128.135.12.12]) by haven.uchicago.edu (8.7.5/8.7.3) with ESMTP id LAA07745 for <eric@fudge.uchicago.edu>; Thu, 13 Jun 1996 11:03:46 -0500 (CDT)
Received: from mail.Germany.EU.net (mail.germany.eu.net [192.76.144.65]) by midway.uchicago.edu (8.7.3/8.7.2) with SMTP id LAA11374 for <enf1@midway.uchicago.edu>; Thu, 13 Jun 1996 11:03:59 -0500 (CDT)
Received: by mail.Germany.EU.net with ESMTP (5.59:21/EUnetD-2.5.4.c) via EUnet
	id RAA06053; Thu, 13 Jun 1996 17:51:14 +0200
Received: (from majordom@localhost) by tubkom.prz.tu-berlin.de (8.6.11/8.6.9) id LAA19067 for vimdev-outgoing; Thu, 13 Jun 1996 11:40:00 -0400
Received: from haven.uchicago.edu (haven.uchicago.edu [128.135.12.3]) by tubkom.prz.tu-berlin.de (8.6.11/8.6.9) with ESMTP id RAA19031 for <vimdev@prz.tu-berlin.de>; Thu, 13 Jun 1996 17:39:54 +0200
Received: from ellis.uchicago.edu (enf1@ellis.uchicago.edu [128.135.12.62]) by haven.uchicago.edu (8.7.5/8.7.3) with ESMTP id KAA06221 for <vimdev@prz.tu-berlin.de>; Thu, 13 Jun 1996 10:41:06 -0500 (CDT)
Received: (from enf1@localhost) by ellis.uchicago.edu (8.7.1/8.7.2) id KAA21505 for vimdev@prz.tu-berlin.de; Thu, 13 Jun 1996 10:42:08 -0500 (CDT)
Date: Thu, 13 Jun 1996 10:42:08 -0500 (CDT)
From: eric fischer <enf1@midway.uchicago.edu>
Message-Id: <199606131542.KAA21505@ellis.uchicago.edu>
To: vimdev@prz.tu-berlin.de
Subject: Ex mode for vim 4.1
Sender: owner-vimdev@prz.tu-berlin.de
Precedence: bulk

Last night I wrote a bunch of patches to vim 4.1 to support Ex mode
and the :append, :insert, :change, and :z commands.  You can download
it from 

	http://rainbow.uchicago.edu/~eric/src/vim4.1ex.patch

and then

	cd vim-4.1
	patch -p1 < ../vim4.1ex.patch

With the patch installed, Vim starts in Ex mode when invoked as "ex"
or when you use the "Q" command.  This conflicts with the Q command to
wrap paragraphs, so I had to move that to "gq", which leaves something
to be desired but I couldn't think of anything better.  Use :vi to get
back to visual mode.  There is also another problem -- after all this
time, I still don't understand a lot of vim's internal data structures,
so undo doesn't work for :append, :insert, and :change.  I hope someone
who does understand how this works can fix it.

I think :open mode should be fairly easy to add too, but I didn't have
time to do that last night too.  So maybe that'll be today's project...

Eric

