From owner-freebsd-questions Tue Nov 20 16:54:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id 14B8137B405 for ; Tue, 20 Nov 2001 16:54:23 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fAL0sJu32301; Wed, 21 Nov 2001 01:54:19 +0100 (CET) Message-ID: <01bd01c17227$0da4f510$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "list" Cc: "FreeBSD Questions" References: <014d01c1721d$74e0c470$0a00000a@atkielski.com> <20011120164631.B11629@museum.rain.com> Subject: Re: How do I set vidcontrol modes? Date: Wed, 21 Nov 2001 01:54:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG But the vidcontrol -i mode command only lists modes with numbers to reference them; it doesn't seem to give the keywords that I need to specify in the same command in order to change the mode. But then vidcontrol doesn't seem to recognize just a number for the mode. So how do I pick a mode off the list and specify it in a subsequent vidcontrol command in order to change modes? For example: freebie# vidcontrol -i mode mode# flags type size font window linear buffer ------------------------------------------------------------------------------ 0 (0x000) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000 32k 1 (0x001) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000 32k 2 (0x002) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000 32k 3 (0x003) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000 32k 4 (0x004) 0x00000003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x00000000 32k 5 (0x005) 0x00000003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x00000000 32k 6 (0x006) 0x00000003 G 640x200x1 1 8x8 0xb8000 32k 32k 0x00000000 32k 13 (0x00d) 0x00000003 G 320x200x4 4 8x8 0xa0000 64k 64k 0x00000000 256k 14 (0x00e) 0x00000003 G 640x200x4 4 8x8 0xa0000 64k 64k 0x00000000 256k 325 (0x145) 0x0000000f G 1600x1200x8 1 8x16 0xa0000 64k 64k 0xd0000000 65536k [...] 326 (0x146) 0x0000000f G 1600x1200x16 1 8x16 0xa0000 64k 64k 0xd0000000 65536k Now how do I specify one of these modes in a vidcontrol command? ----- Original Message ----- From: "list" To: "Anthony Atkielski" Cc: "FreeBSD Questions" Sent: Wednesday, November 21, 2001 01:46 Subject: Re: How do I set vidcontrol modes? > On Wed, Nov 21, 2001 at 12:45:31AM +0100, Anthony Atkielski wrote: > > Okay, I give up: How do I set a video mode in vidcontrol after finding one on > > the list produced by vidcontrol -i mode that I wish to use? I tried specifying > > the number of the mode, with no luck. Tried it in hex, too (e.g., "vidcontrol > > 0x325") but that doesn't work, either. What's the secret? No, the man page > > doesn't explain it. > > > > You want vidcontrol mode where mode is the mode you want. For example, > > vidcontrol 80x43 > > Make sure you have the necessary kernel stuff for VESA support. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message