From owner-freebsd-questions Mon Jun 8 02:54:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA06659 for freebsd-questions-outgoing; Mon, 8 Jun 1998 02:54:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from raven.ravenbrook.com (root@gateway.ravenbrook.com [194.217.250.209]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06646 for ; Mon, 8 Jun 1998 02:54:40 -0700 (PDT) (envelope-from nb@ravenbrook.com) Received: from wren.ravenbrook.com (wren.ravenbrook.local [192.168.1.4]) by raven.ravenbrook.com (8.8.7/8.8.7) with ESMTP id KAA07392; Mon, 8 Jun 1998 10:59:27 +0100 (BST) (envelope-from nb@wren.ravenbrook.com) From: Nick Barnes To: Doug White cc: questions@FreeBSD.ORG Subject: Re: How do I find out the current vidcontrol settings? In-reply-to: Your message of "Fri, 05 Jun 1998 15:24:58 PDT." Date: Mon, 08 Jun 1998 10:56:21 +0100 Message-ID: <7485.897299781@wren.ravenbrook.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 1998-06-05 22:24:58 UT, Doug White writes: > On Fri, 5 Jun 1998, Nick Barnes wrote: > > > Is there any way to discover the current the current video driver > > settings? There ought to be a vidcontrol -a (or similar), c.f. stty. > > What do you want to know? I want to discover the colours and the cursor appearance, in a shell script. This isn't a very important application, but it strikes me as a general failing in this tool, and maybe in the underlying ioctls which vidcontrol uses. Also those ioctl's don't seem to covered in the man pages. Poking around a bit more (in syscons.c), it seems some of this information (in the "flags" variable) isn't actually available via an ioctl, which is a shame. Nick B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message