[comp.sys.ibm.pc.programmer] MKS vi problems and solutions

psrc@pegasus.ATT.COM (Paul S. R. Chisholm) (03/09/90)

This started as a question about programming editors, and has since
become a question about an MS-DOS tool.  I've attempted to redirect
this discussion back to comp.sys.ibm.pc from the .programmer group.
Would everyone else please try to do the same, e.g., not talk about
monitors and hard drives in what's supposed to be a programming group?

In article <0MWF6WC@drivax.UUCP>, braun@drivax.UUCP (Kral) writes:
> I'm using ver 2.3d of the toolkit.  Vi (and other programs) seem to
> want the toolkit's shell under them.

Huh?  I just about always run vi (and other MKS tools) from
COMMAND.COM, and I've never had any problems doing so.

> 1.      You have to be in the directory of the file you want to edit
> (eg, if you are in c:\subdir, and you type 'vi \autoexec.bat', you
> get some sort of error (I don't recall what it is right now).

All of the MKS tools demand pathnames with forward slashes; back
slashes are used for escapes, just as they are in the UNIX(R) system
versions of the tools.  vi /autoexec.bat will work fine, as will egrep
\. /autoexec.bat (look for a literal dot in \autoexec.bat).

> 2.      It doesn't speak through the nnansi driver I'm using.

I don't know if there's a way to prevent direct screen access.

> 3.      It's in black and white.  While this isn't a real show
> stopper, it's rather hard on the eyes that have been staring at a
> color screen for a while.

RTF vipc(5) manual page; look for the attrib and errattrib options.

> -- kral,   ...amdahl!drivax!braun

Paul S. R. Chisholm, AT&T Bell Laboratories
att!pegasus!psrc, psrc@pegasus.att.com, AT&T Mail !psrchisholm
I have no relation to Mortice Kern Systems except as a customer.
I'm not speaking for the company, I'm just speaking my mind.