Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!ogicse!zephyr.ens.tek.com!tekcrl!tekgvs!toma From: toma@tekgvs.LABS.TEK.COM (Tom Almy) Newsgroups: comp.sys.ibm.pc Subject: Re: MKS vi problems and solutions (was Re: stevie editor) Message-ID: <7061@tekgvs.LABS.TEK.COM> Date: 9 Mar 90 17:23:38 GMT References: <2PSFZ5W@drivax.UUCP> <294@isgtec.UUCP> <0MWF6WC@drivax.UUCP> <4530@pegasus.ATT.COM> Reply-To: toma@tekgvs.LABS.TEK.COM (Tom Almy) Organization: Tektronix, Inc., Beaverton, OR. Lines: 33 In article <4530@pegasus.ATT.COM> psrc@pegasus.ATT.COM (Paul S. R. Chisholm) writes: >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. The trick is the MKS tools must be able to find GLOB.EXE. It must either be in the directory \etc or in the directory specified by the environment variable GLOB. >> 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). Not so if you are using COMMAND.COM. With ksh you do either need to use the forward slash or pairs of backwards slashes. >> 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. The most recent version of MKS (3.1) works just fine with nnansi.sys, even in 43/50 line modes or 132 column modes. Earlier versions had problems unless the screen was cleared first. Tom Almy toma@tekgvs.labs.tek.com Standard Disclaimers Apply