From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 29 05:56:28 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 62E223BA for ; Mon, 29 Jul 2013 05:56:28 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [IPv6:2607:f8b0:400c:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 24CBC2CA5 for ; Mon, 29 Jul 2013 05:56:28 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id jw11so2609093veb.18 for ; Sun, 28 Jul 2013 22:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=999tQQa61GB1DveTJshL3NParfkxHhzE7Hl7m8ZTNH4=; b=SmJ5V4U5uZwaRYdK5KZq/XgggTYwexKwaWkIjCNTo1jEFg7K9JyqFgVs2ki3wLVRGL Oa+Wk/nYsEPI+A31xFFvkNoscFP8vdzD8iA9cmaUUoZ7fiGjJrA8V6mUnKu9/6/77AKm KQL8EV9EXBKj/LVcZXOxRyaUVeBhjlQiBZ+JFKy1xthsacB1vC6NzHrapHBsyt53L9yK GvImYLIK6xIiXJNm7EMQrvqQdDhAnzykNH3RIQChQDTW9NVdqfCdtXomHVeJrihKDh1z O7KfdKfYFlo7Pwu7c9KUCt3/KqqGAk9kxbXcoSzjUXs7h414qW6yeDg0Gn7CIm0PIc8W rNpQ== X-Received: by 10.58.207.195 with SMTP id ly3mr25101886vec.77.1375077386720; Sun, 28 Jul 2013 22:56:26 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.145.101 with HTTP; Sun, 28 Jul 2013 22:56:06 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Mon, 29 Jul 2013 07:56:06 +0200 X-Google-Sender-Auth: K_5leEpHm6mJTeWjwp-Ooqd0-EU Message-ID: Subject: How to display 256 colors on the vga console shell ? To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 05:56:28 -0000 Hi, I'm trying to display 256 colors on my vga console but didn't reach to display more than 16 colors. I'm using this perl script for my test: http://www.robmeerman.co.uk/_media/unix/256colors2.pl I'm using -current (r253755) with the default xterm for all ttyv. I've tried different vidcontrol mode (MODE_280, MODE 279, MODE_261) but still 16 colors for each try. The splash screen and the screen saver (rain_saver.ko) are able to display more than 16 colors on my laptop but why not the console ? Thanks, Olivier