From owner-freebsd-questions Mon Sep 25 10:42:34 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA17739 for questions-outgoing; Mon, 25 Sep 1995 10:42:34 -0700 Received: from servicom.es (sparky.bcn.servicom.es [194.106.1.132]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA17728 for ; Mon, 25 Sep 1995 10:42:20 -0700 Received: from none (ppp_4.val.servicom.es) by servicom.es (5.0/SMI-SVR4) id AA12127; Mon, 25 Sep 1995 18:40:09 GMT Message-Id: <9509251840.AA12127@servicom.es> Date: Mon, 25 Sep 95 18:42:29 0200 From: Antonio Navarro Organization: Beatriz Martínez, S.L. X-Mailer: Mozilla 1.2N (Windows; I; 32bit) Mime-Version: 1.0 To: questions@freebsd.org Subject: Using color in C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii content-length: 416 Sender: owner-questions@freebsd.org Precedence: bulk Hello ! I am trying to use colors under C. How can I show colors on the screen (something similar to the COLOR statement in Basic) ?. I have read the source code of the vidcontrol program (because you can obtain 16 colors when you execute the vidcontrol utility with the 'show' keyword), but I do not understand the sequences to obtain color. Thanks in advance. Antonio Navarro L'Eliana - Valencia (Spain)