PCBUILD Archives

Personal Computer Hardware discussion List

PCBUILD@LISTSERV.ICORS.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bill Nussbaumer <[log in to unmask]>
Reply To:
PCBUILD - Personal Computer Hardware discussion List <[log in to unmask]>
Date:
Thu, 22 Mar 2001 10:06:37 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (125 lines)
Heres some information about mode as it relates to display adapters from
IDG Books DOS 6 Handbook 2nd Ed.

Maybe will be helpful.

MODE display    DOS 3.2, IBM 2.0 and later, External
Change display characteristics
This command allows you to make changes to the display. There are several
versions of
this command, depending on which display adapter you have.

Syntax
mode con[:] [cols=c] [lines']

(DOS 4.0 and later.) Sets the number of lines on the screen and the width
of the screen
(in characters).
mode {display] [,/i]
(DOS 4.0 and later.) Allows you to change the number of lines on the screen
(like the
previous form) and change the display mode (like the following form).
mode {display} [,l I r [,t]]
Allows you to switch display modes or between displays. On CGA display
adapters you
can shift the screen left and right (this was designed with the idea of
using a T.V. for
display  we're talking ancient history here). This form of the MODE command is
designed for CGA and monochrome displays. Most people never use this form.

Parameters
cols=c
(DOS 4.0 and later.) The number of columns you want on the screen. The only
valid
values are 40 and 80.
lines=n
(DOS 4.0 and later.) The number of lines on the screen. You must have an
EGA or VGA
display adapter to use this feature, and you also have to install ANSI.SYS.
The number
can be 25, 43, or 50 (VGA only for 50 lines).
display
This parameter has two uses. First, if you have two display adapters
installed (one must
be a monochrome display and the other color), you can use this to select
which is the
active monitor. And second, on color displays you can use it to turn off
color (which
most, but not all, programs honor). Here are the valid values for this
parameter:
40 or 80       Sets the number of characters per line (this is the same as
the COLS=
parameter).
bw40 or bw80 Sets the number of characters per line to 40 or 80 and
disables color
(this is an internal flag that isn't honored by all programs).
co40 or co80   Sets the number of characters per line to 40 or 80 and
enables color.
mono       Switches to the monochrome display adapter, if installed. If you
have
a VGA card, this switches to the monochrome display adapter mode,
which allows only black and white.
l|r
CGA displays only. This command allows you to shift the screen left or
right. It is rarely
useful these days since there are few CGA display adapters In use.
CGA displays only. Shows a test pattern so you can see whether the entire
display is
visible on the screen. This Is used with the left and right shift
parameter. Again, it's
ancient history and rarely used.

Notes
You'll need to install ANSI.SYS before you can change the number of lines
on the screen
of an EGA or VGA display.

Messages
ANSI.SYS must be installed to perform requested function
MODE uses the ANSI.SYS device driver to change the number of lines on the
screen.
Install ANSI.SYS in your CONFIG.SYS file and reboot before you try again.

Examples
More lines offscreen
If you're using an EGA or VGA display adapter, you can change the number of
lines on
your screen from the normal 25 to 43 (EGA and VGA) or 50 (VGA). Here is how
you would
switch to 43-line mode:
C:\>mode con lines-43

Laptop control of color
If you're using a laptop computer, you might want to put the following line
into your
AUTOEXEC.BAT file:
C:\>mode bw80
This will turn off the color bit (which doesn't change the screen). Many
programs look at
this bit to see if they should display in color or black and white. If you
have a program
that ignores this setting, you'll probably have to change the colors either
from within the
program or by using that program's installation program.

See also
ANSI.SYS   You'll need to Install this device driver before you can change
the number
of lines on the screen.



At 12:10 AM 3/11/01 +1100, you wrote:
>The DOS command is "MODE" if my memory serves me right. But, now, I
>completely dumped win9x, and use win2k only. I couldn't tell more. Try type
>"mode /?" under DOS prompt.


Good Luck,

Bill Nussbaumer

            Do you want to signoff PCBUILD or just change to
                    Digest mode - visit our web site:
                   http://freepctech.com/pcbuild.shtml

ATOM RSS1 RSS2