Subject: Re: VI in dumb mode?
To: Alistair G. Crooks <>
From: Chris G. Demetriou <>
List: current-users
Date: 08/30/1994 16:45:44
> The problem above is that you should be invoking vi by using the name
> "ex" - and you can edit using ex-mode commands (all the ':' ones you
> use in vi).

not really true: traditional 'vi' invokes 'open mode' if it can't do
the right thing with the terminal.  for instance, under OSF/1:

127 [alpha] cgd % setenv TERM dumb
128 [alpha] cgd % vi /etc/passwd

[Using open mode]
"/etc/passwd" [Read only] 16 lines, 1025 characters 
root:YOU_WISH!:0:1:system PRIVILEGED account:/:/bin/csh

nvi should do this as well, but Keith Bostic hasn't done the support
for it yet.  it requires several things:
	(1) one line 'editing windows' and currently nvi only has
		support for windows >= 2 lines, and
	(2) a reasonable idea of what open mode does; it's completely