Switching Console Mode

Bart Garst bartgarst at cox.net
Thu Dec 22 06:20:31 MST 2005


...snip...

>
> That brings me back to my original question:
>
> >DOS had a simple "mode" command that would switch the screen
> mode on the fly.  I know Linux has no such simple tool, but is
> there something I can do after the fact to get the console
> density I want?  Or can someone suggest another place in the boot
> sequence where the static might be coming from?
> >
> >
> Thanks,
>
> Vic
>

This link discusses resizing the terminal both at boot, and later (after
something messes up your boot settings).
http://www.talug.org/howto/console-mini-howto.html

I don't know if it will give you a direct solution to your problem, but it
may help to refine your search.

Here's the relevant part...
<quote>
Now, on occasion, the Console size may get changed unexpectedly.  For
example, if you run Red Hat's Xconfigurator, or X -probeonly, or something
like that, and the video card gets probed, your console size may change.
For those who don't want to go through an unnecessary reboot, there is a way
to do this!  :^).  It's pretty simple, just run this program:

    # resizecons -lines (numberoflines)

Replace (numberoflines) with the actual number of lines (minus the
parentheses, of course).  You don't have a "43" line mode with this, by the
way-- you have to use "44".  You can find more information on this program
by typing man resizecons.  I won't include that information here.  :)

There is another command that you can use to control the size of the console
called SVGATextMode-- but I have no experience with this...
</quote>

Once you find the command to fix the size, placing it in your startup
scripts should solve the problem.

Bart



More information about the PLUG-discuss mailing list