welcome back to the adventure this is Adam and today we will be working with
the mode command the mode command allows you to set parameters for how devices
function in ms-dos first we will need to add a line to our config sis file that
will load ans I dots is on boot ans I is a relatively small file so I'm going to
add that here below the cd-rom drivers
oh right there we go and we will save the file and while we were here there is
one quick change that I would like to make to order autoexec.bat file for das
key and would like to use the insert parameter and then we can save that and
a quick reboot of the pc
let's start with the keyboard using the mode command we can change how fast the
character will be repeated if you hold down a key and it also changes how long
it takes before the repeating starts the average keyboard takes about half a
second of holding a key down before the repeat starts and usually repeats 20
times per second to change this parameter type mode followed by con
which in this context is our keyboard then be raped for how fast we wanted to
repeat and I'm going to go with the fastest option we have which is 32
however the rate can be anything between 1 and 32 one being slow 30 too fast and
that's the number of times per second the character would be repeated last we
will need to enter the delay this is how long it takes before the repeating
starts I will go for the fastest option which is one that translates to a
quarter second delay before the repeat starts both the rate and the delay need
to be specified in the mode command let's take a quick look at how fast a
character will repeat right now pretty average rate
the command was accepted there was no display on the screen confirming nor
denying that it worked although if it didn't work there would have been an
error so now if we hold down the same key will get a much faster typing great
the main purpose of the repeat is if you are separating text with a line the
character you choose to make the line like dashes or underscores will be
repeated faster so you can make the line a little bit quicker and you can do a
quick test of this
and there we go next we will take a look at what options we have for the display
with the mode command by default the display shows any characters across than
25 lines down we can make the text bigger by setting the parameter for the
columns to 40 where we can set the number of lines down to be 2543 or 50
let's try the large text just to see what it looks like if you're just
changing the columns we can type mode 40 it clears the screen and we have the
larger text as seen here we know better feel for what a full screen looks like
by using the der command I don't mind the way that looks I think it's a little
bit easier to read on the screen personally but of course I'm very blind
so this just works better for me to get back to what the screen will normally
look like we can type in mode 80 and effectively 80 columns to adjust the
number of lines will type mode followed by a con which in this context refers to
the display followed by the columns parameter and the lines parameters so
we'll look something like this
and no we could fit more on the screen
we could fit a lot more on the screen no I like the way that looks too I'm used
to having a rather large monitor when I'm viewing spreadsheets with lots of
text and so that would also work better in some applications so we can also mix
and match the columns and lines if we wanted to go for the 40 lines excuse me
40 columns and we'll do 43 lines I have a feeling this is going to look very
awkward and it does it's squeezing the text like a poorly resized image and a
PowerPoint presentation I don't like that
let's go back to this it looks better the mode command does have parameters
that can be set for serial and parallel ports we will circle back to that later
for now let's look at one last feature of the mode command that is the status
type in mode forward slash status to see how the system currently understands the
devices that are available to it the error code page operation not supported
on this device means that the system has not been set up for international
languages currency or other regional settings that wraps up this look at the
mode command thanks for stopping by see you next video