From owner-freebsd-current Thu May 23 15:52:54 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA29749 for current-outgoing; Thu, 23 May 1996 15:52:54 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA29740 for ; Thu, 23 May 1996 15:52:50 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id PAA17328; Thu, 23 May 1996 15:50:29 -0700 From: "Rodney W. Grimes" Message-Id: <199605232250.PAA17328@GndRsh.aac.dev.com> Subject: Re: editors To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Thu, 23 May 1996 15:50:29 -0700 (PDT) Cc: adrian@virginia.edu, p.richards@elsevier.co.uk, msmith@atrad.adelaide.edu.au, FreeBSD-current@FreeBSD.ORG In-Reply-To: <2963.832886643@time.cdrom.com> from "Jordan K. Hubbard" at "May 23, 96 02:24:03 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Erm... Does ":help" count as "_self documenting_"? It spits out > > No. :-) > > Yes, I know about ex's doc commands, but that's as good as buried if > you've got nothing telling you to type it. Well, you could almost do it with vi and :split, but I can't find an easy way make it exit without having to close the first screen with the help commands in it: vi -c "split /the/file/you/really/want" /usr/share/misc/vicommands.txt #vicommands.txt would have help for vi in it. I suppose a: vi -c "help" /the/file/you/really/want/to/edit would work, heck, the output even stays on the bottom of the screen, until you cause a screen scroll to wipe it out :-). Perhaps it is not out of the question to add an option to vi that would put this and a few other things on the bottom of the screen... a small addition to vi would be smaller than any additional editor as far as source code sizes go :-) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD