From owner-freebsd-questions Thu Apr 27 14:49:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mercury.campbell-mithun.com (Mercury.campbell-mithun.com [192.159.32.151]) by hub.freebsd.org (Postfix) with ESMTP id D30E537B639 for ; Thu, 27 Apr 2000 14:49:33 -0700 (PDT) (envelope-from swb@grasslake.net) Received: from marlowe (Marlowe.campbell-mithun.com [192.159.32.184]) by mercury.campbell-mithun.com (8.9.1a/8.9.1) with SMTP id QAA17461; Thu, 27 Apr 2000 16:49:30 -0500 Message-ID: <049901bfb092$818d2d10$b8209fc0@marlowe> From: "Shawn Barnhart" To: "freebsd" , References: <1229.000428@ru.ru> Subject: Re: vidcontrol VESA Date: Thu, 27 Apr 2000 16:49:46 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got allscreens_flags="VESA_132x25" in my rc.conf on a 4.0-STABLE system without any problems on some dumb Dell 15" display. I wish I knew where to submit a change for termcap, to include a "cons25-w" definition, so that 132 column mode looked right in all applications. ----- Original Message ----- From: "freebsd" To: Sent: Thursday, April 27, 2000 15:43 Subject: vidcontrol VESA | subject: vidcontrol VESA | Hello. | I workaround with FreeBSD 4.0. | I have troubles when i try enable vidcontrol VESA_800x600. | On my desk: monitor Flatron 795FT Plus (17 inches). | When i use other vidcontrol modes, like VESA_132x25, VESA_132x43, the result is | not good for me, and i think for others ;) | For 15 inches monitor, i just patch vidcontrol.c --> add lines to | if (ioctl(0, mode, NULL) < 0) | warn("cannot set videomode"); | if (mode == SW_VESA_800x600) { | - size[0] = 80; /* columns */ | - size[1] = 25; /* rows */ | + size[0] = 100; /* columns */ | + size[1] = 37; /* rows */ | size[2] = 16; /* font size */ | if (ioctl(0, KDRASTER, size)) { | ioerr = errno; | | Where you see minus - remove this line, where plus - add this line. | It's working perfect. | But my home monitor is 17 inches, and lines contains size[0] = 100 | and size[1] = 37 only for 15 iches work well, then my question: what numbers i | must use instead off 100 and 37? | I tried many combinations, but nothing help, maybe the guru and simple people | who love this OS know other way to do this? | | Best regards from Sergey. | | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-questions" in the body of the message | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message