Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-13-2011, 05:47 PM   #1
Registered: Dec 2010
Posts: 277

Rep: Reputation: 24
Terminal : Infinite Terminal Scaling

Is there a terminal that has the capacity for an infinite width?

I usually tool around in rxvt, but as it stands I am working on a project that needs to display a matrix in standard output and when it does so it wraps the lines.

I need the array to display one row per line.
With rxvt you can designate your own geometry, but the maximum allowed scale horizontally is 1000. The array only has 300 elements but each element is a 6 digit number, hence the wrapping.

The problem was solved by writing a script that fills a spreadsheet, so I can effectively review the matrix using Calc, but I do still wonder about the terminal limitations...

If no terminal has the potential for infinite width, which has the greatest?

Last edited by cin_; 08-13-2011 at 07:44 PM. Reason: gramm`err
Old 08-14-2011, 12:04 PM   #2
Senior Member
Registered: Jan 2010
Posts: 1,606

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448

I am not sure I am following. When I start xterm like
xterm +aw
Then no line wrapping will be done. If the line is longer than the display size it will simply be cut off.
Using 'less', however, you can scroll to the right and view the rest of the line. If started with '+aw' option then less will not insert *artificial* linebreaks.
Old 08-15-2011, 06:47 AM   #3
Registered: Dec 2010
Posts: 277

Original Poster
Rep: Reputation: 24

This is a fine solution.
Running with the +aw parameter and piping it through less().

# xterm +aw

# ./matrixprint | less

Last edited by cin_; 09-28-2011 at 08:52 AM. Reason: gramm`err
Old 08-15-2011, 09:46 AM   #4
Registered: Aug 2009
Location: Ilkeston, England
Distribution: ubuntu, xp, embeded
Posts: 79

Rep: Reputation: 1
If its outputting to stdout then I would have thought the best/easiest thing would be to pipe it to a file eg. "program>>outfile.txt" this can then be displayed in a text editor


geometry, maximization, terminal

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 06:46 AM
[SOLVED] Gnome terminal 2.1.0, centos 5 - how to 'find' text listed on terminal screen linuxquestions_forum_use Linux - Newbie 2 12-21-2010 09:35 PM
gnome-terminal:keyboard shortcut launches terminal with / directory default! deepclutch Linux - Desktop 1 06-21-2010 12:48 PM
Opening VLC with the terminal line so the terminal will go back to normal baldurpet Linux - Newbie 3 01-14-2009 10:57 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 03:45 PM

All times are GMT -5. The time now is 02:36 PM.

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