LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 11-14-2003, 02:38 AM   #1
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Set text (runlevel 3) console character width


I have a tosh laptop with a 'wide' screen, which I'm booting in runlevel 3. Can I set the character width from 40x25 (or whatever it is) to use the whole screen, say 60 characters wide?

Dave

Last edited by davee; 11-14-2003 at 02:54 AM.
 
Old 11-14-2003, 12:03 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,284

Rep: Reputation: 136Reputation: 136
The standard mode is 80x25. The mode is set either in the kernel or,more commonly, by passing kernel options in the boot loader. For lilo that's done in the "vga=mode" line. If "mode" is set to "normal" you get 80x25. I'm not sure what you need to set it to for more characters across, but it's a place to start looking anyway. There's also an excellent program called SVGATextMode which comes with Debian, Mandrake and Suse. The source code is available here:

http://freshmeat.net/projects/svgate...6&topic_id=136


You can set up text modes with this program that aren't available any other way and you can change the text mode without rebooting. Using this program overrides any options set in the kernel or by passing options to the kernel.

WARNING:
Read the documentation carefully on this program. Your essentially changing the resolution in text mode to get the display you want. Part of the configuration for the program is setting up the HorizSync and VertRefresh rates for your monitor and doing this improperly can damage your monitor. Also, improperly setting options in the program can yield a garbled display or no display at all.
 
Old 11-16-2003, 03:33 PM   #3
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Original Poster
Rep: Reputation: 30
Superb - I'll see if it can help. Thanks for that,

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tab width in Bash - how do I set it benr77 Linux - General 8 12-04-2012 10:53 AM
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 02:19 AM
Reverse and Squeezing of text of character in C egoleo Programming 1 03-19-2004 09:45 AM
loading from text file using column width spyghost Programming 5 11-03-2003 01:34 PM
Changing Text Size/Terminal Width in Bash TastyWheat Linux - General 2 11-02-2003 11:24 PM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration