Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.i386 Subject: Re: color for 386/ix Summary: see terminfo(4) Keywords: color consoles Message-ID: <1990Mar5.125403.10941@virtech.uucp> Date: 5 Mar 90 12:54:03 GMT References: <511241@nstar.UUCP> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 19 In article <511241@nstar.UUCP> larry@nstar.UUCP (Larry Snyder) writes: >I received a "setcolor" utility for 386 unix and it works until >I bring up vi - in which case the console is reset to white on >black. This can be fixed by modifying the terminfo definition for AT386 (or whatever you are using for your terminal type). I believe the parameter is something like initc for "initialize color", but I'm not positive. You should add in the sequence to set the appropriate color for initc. You might want to have several AT386-xx entries for each color path and set up your setcolor utility as a shell function which will change your TERM environment variable to match the color settings. Review the terminfo(4) man page for more information. -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170