Setting Up VI POSIX Editor for Windows NT 3.1Last reviewed: May 13, 1997Article ID: Q108581 |
The information in this article applies to:
To successfully execute the VI POSIX Editor that ships with the Windows NT Resource Kit, you must correctly setup the system environment. The Windows NT "Resource Kit Tools Help" helpfile does not give all the information needed to configure VI for use with Windows NT 3.1. To correctly setup VI for use within Windows NT 3.1, perform the following steps:
ExampleIf the directory of the TERMCAP file and the location of "tmp" is on drive D, AND VI.EXE is located in the D:\reskit\posix directory, then the environment variable entries should be the following:
TERM = ansi TERMCAP = //D/etc/termcap (Drive letter must be in ALL CAPS) _POSIX_TERM = on tmp = //D/etc (Drive letter must be in ALL CAPS) path = d:\reskit\posixYou can verify that these environment variables are set correctly by typing "set" from the command prompt. However, do not initialize these environment variables using "set" because they will disappear when you exit the VDM. Always use the System applet. The TERMCAP file must have the following entries to work under Windows NT: li|ansi|psx_ansi|:\ :co#80:li#25:\ :am:pt:ms:bw:\ :cl=\E[2J:cm=\E[%i%d;%dH:ce=\E[K:cd=\E[J:\ :sf=\E[S:sr=\E[T:\ :ho=\E[H:sc=\E[s:rc=\E[u:up=\E[A:d=^J:nd=\E[C:le=^H:\ :ku=\E[A:kd=\E[V:kr=\E[C:kl=\E[D:kb=^H:\ :so=\E[7m:se=\E[m:mr=\E[7m:me=\E[0m:\WARNING: Having the "tmp" variable set to a POSIX-style path causes problems with other applications that look for "tmp" because they expect the "tmp" variable to be set to a standard MS-DOS style naming convention, and may fail when it is not.
|
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |