From owner-freebsd-questions Fri Jun 12 01:14:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA03803 for freebsd-questions-outgoing; Fri, 12 Jun 1998 01:14:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA03741 for ; Fri, 12 Jun 1998 01:13:45 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id BAA04939; Fri, 12 Jun 1998 01:13:32 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 12 Jun 1998 01:13:32 -0700 (PDT) From: Doug White To: Nick Barnes cc: questions@FreeBSD.ORG Subject: Re: How do I find out the current vidcontrol settings? In-Reply-To: <7485.897299781@wren.ravenbrook.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 Jun 1998, Nick Barnes wrote: > 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. I didn't know vidcontrol toyed with that. I think the console supports ANSI color, so why not use that? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message