Xref: utzoo comp.sys.ibm.pc:11606 comp.sys.tandy:594 Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!pyramid!voder!kontron!optilink!cramer From: cramer@optilink.UUCP (Clayton Cramer) Newsgroups: comp.sys.ibm.pc,comp.sys.tandy Subject: Re: Video Attributes Message-ID: <1920@optilink.UUCP> Date: 8 Feb 88 17:39:00 GMT References: <518@auvax.UUCP> Organization: Optilink Corporation, Petaluma, CA Lines: 28 > > How do you change the video attributes on an IBM PC. I would like to > bold,reverse,underline strings on the screen but don't know how or > what escape sequences to use. > > Terry Tanski - Systems Analyst Make sure that you have ANSI.SYS installed. Send the following sequences for controlling attributes: ^[[0m normal ^[[1m bold ^[[4m underline (on monochrome cards) ^[[5m blink ^[[7m reverse Experiment with: ^[[30m - ^[[37m and ^[[40m - ^[[47m for a variety of foreground and background colors. Note that using the ANSI driver is very slow -- adequate for very simple programs, but not for a commercial product. Clayton E. Cramer