Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2001-07-24
7
Medium Priority
?
223 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

636 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