?
Solved

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

Posted on 2001-07-24
7
Medium Priority
?
215 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 20 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 2 hours left to enroll

777 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