Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site lzwi.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!lzwi!psc From: psc@lzwi.UUCP (Paul S. R. Chisholm) Newsgroups: net.unix Subject: Re: Setting variables for a running process Message-ID: <155@lzwi.UUCP> Date: Tue, 28-May-85 17:40:09 EDT Article-I.D.: lzwi.155 Posted: Tue May 28 17:40:09 1985 Date-Received: Thu, 30-May-85 02:36:23 EDT References: <10893@brl-tgr.ARPA> <2345@pegasus.UUCP> Organization: AT&T-IS Enhanced Network Systems Lines: 20 Summary: :set term not healthy in vi 3.9 < Smokey the Bar says, "Help stamp out software pirates" [squish!] > > As you've probably gathered by now you can't reset your TERM variable > in the current process. > > However, in vi there IS a way to change your terminal type. > The way to do it is to go into ex, change it and go back into vi. > The commands are : > > Q (put's you in ex) > set term=term_name > vi (put's you in vi) Alas! In version 3.9 of vi (the first well distributed version to use terminfo), that confuses the list of mappings *very* badly. Don't do it. -- -Paul S. R. Chisholm The above opinions are my own, {pegasus,vax135}!lzwi!psc not necessarily those of any {mtgzz,ihnp4}!lznv!psc telecommunications company.