Solved

how to change the text console to 50 lines instead of 25

Posted on 2001-07-24
7
212 Views
Last Modified: 2010-04-20
as title
0
Comment
Question by:adrianmak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 2

Expert Comment

by:_marko_
ID: 6316831
Edit /etc/lilo.conf and change
vga=something

to
vga=ask

Run /sbin/lilo and reboot.

Now when you restart it should show the compatible VGA modes. Eg:

1.  80x25
2.  80x43
3.  132x25
4.  132x43

Remember the precending number on the mode you want to use and after you've rebooted you should edit /etc/lilo.conf again and change
vga=ask

to
vga=your_chosen_number

Run /sbin/lilo again to install the new settings.

Marko
0
 

Author Comment

by:adrianmak
ID: 6317114
does it only take effect on local console ?
What about remote console e.g. telnet
0
 
LVL 2

Accepted Solution

by:
_marko_ earned 5 total points
ID: 6317198
It's only on the local console. In remote sessions it is up to the client program to adjust it's window. For example PuTTY can be resized anyway one likes.

As for telnet, you really shouldn't use it anymore. If the server has an sshd-daemon running then you should use SSH.

Anyways, try to download PuTTY at this site:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

It supports both telnet and SSH protocols.

If you want to resize the console on telnet/ssh session between two Linuxes/UNICES then I unfortunately don't have the answer.

Marko
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Expert Comment

by:Jossiah
ID: 6319421
Prolly the easiest way to resize a telnet screen is to use the above suggestion on the remote machine as well presuming of course that the telnet is from the CLI. If not, we'd need more info, such as the WM and Xwindows versions used.
0
 

Author Comment

by:adrianmak
ID: 6320426
I add the option vga=ask at lilo.conf and then run lilo to update
but when reboot, no prompt ask me for vga mode
it just stop at the graphical kernel selection screen

I am using RH 7
0
 

Author Comment

by:adrianmak
ID: 6320428
This is my lilo.conf

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
vga=ask
message=/boot/message
linear
default=linux-2.4.3

image=/boot/vmlinuz-2.2.18pre11-va1.1
        label=linux
        read-only
        root=/dev/hda2

image=/boot/vmlinuz-2.4.3
        label=linux-2.4.3
        read-only
        root=/dev/hda2
0
 
LVL 2

Expert Comment

by:_marko_
ID: 6321357
I'm not so sure of RH7, but this works in Mandrake 8.0:

Run setup (in Mandrake that's located at  /usr/X11R6/bin/setup)

Choose "Boot configuration" and from there you can choose "LILO with text menu". I'm sure RH has something similar.

Marko
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question