Top Navigational Bar

How To Change The Text Background Colors At D
DocumentID: 600525
Revision Date: 29-Feb-96 1:28:26 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: For the customer to change screen colors, ANSI.SYS must be loaded in the CONFIG.SYS file. In WP, type in these lines:
      echo [XXm
      cls
Save as DOS text with the name GREEN.BAT, or RED.BAT, etc. Replace XX with 41 for red, 42 for green, and 44 for blue background. The <27> must be entered on the numeric keypad, not the with the numbers across the top of the alphabetical keyboard. The "m" must be lower case. In WP the will appear on the screen as a left-pointing arrow.

If created in another text editor, the Alt-27 may appear as ^[. Example: ^[[41m. It will not work to manually type in the carat and left bracket in most editors. These batch files cannot be created with COPY CON.

Customers can use a similar procedure for changing the text foreground colors or setting a text attribute such as bold, blink, reverse video, etc. The codes used for doing this can be found in the MS-DOS manual under ANSI.SYS.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.