Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 15:50:29 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        adrian@virginia.edu, p.richards@elsevier.co.uk, msmith@atrad.adelaide.edu.au, FreeBSD-current@FreeBSD.ORG
Subject:   Re: editors
Message-ID:  <199605232250.PAA17328@GndRsh.aac.dev.com>
In-Reply-To: <2963.832886643@time.cdrom.com> from "Jordan K. Hubbard" at "May 23, 96 02:24:03 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605232250.PAA17328>