LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2009, 11:17 PM   #1
pgb205
Member
 
Registered: Nov 2007
Posts: 129

Rep: Reputation: 15
Question console resolution problems


when using a text mode program such as elinks, for example, in xterm I have no problem with resolution. That is, I'm able to view webpage normally in text mode, scroll it up and down etc. In console the webpage comes out as too big for my screen it starts scrolling sideways when I try to tab my way down etc. So somehow in console the resolution is not reported correctly to the programs. Another situation where I had similar issue is by trying to view movies in ascii mode (not high priority obviously, but still)
So doing 'mplayer -vo aa movie_file.avi' I see a bunch of characters scrolling on the screen but no discernible picture. When I run the same command from xterm I'm able to see ascii-fied movie just fine.
 
Old 09-14-2009, 04:34 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You need to use the -quiet type options when on the console, so it doesn't scroll the image while outputing information in addition to the text of the image. There's also a few enviroment variables that set up the dimensions.

set | more

COLUMNS=124
LINES=35
(from my xterm after manually dragging it. If these aren't set (or set wrong), it could confuse the applications using a console.)
 
  


Reply

Tags
ascii, console, resolution


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Console resolution. snickwad Slackware 3 08-31-2005 11:48 AM
Console resolution dyrer SUSE / openSUSE 3 08-26-2005 04:27 AM
Console Resolution gsibble Linux - General 1 12-23-2003 05:51 AM
Console resolution Donald1000 Linux - Software 1 06-19-2003 05:58 PM
Console Resolution SuperRye Linux - Newbie 2 02-09-2002 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration