Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 16:49:46 -0500
From:      "Shawn Barnhart" <swb@grasslake.net>
To:        "freebsd" <freebsd@ru.ru>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: vidcontrol VESA
Message-ID:  <049901bfb092$818d2d10$b8209fc0@marlowe>
References:  <1229.000428@ru.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <freebsd@ru.ru>
To: <freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?049901bfb092$818d2d10$b8209fc0>