LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 07-21-2007, 02:35 PM   #1
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
fake larger width in terminal


Hi,

When using something like MySQL in the terminal and request to see a table with many columns, in the terminal it just loops around and looks unreadable until I paste it into a text editor like gedit. Is it possible to have the terminal scroll sideway's? Logs also don't look readable sometimes until I paste to something that can scroll sideway's like gedit.
I use Xterm currently.

Thank you
 
Old 07-21-2007, 04:50 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You can just resize the terminal window horizontally, you can make it as wide as your monitor if you want.

Though it would also help to use a more advanced terminal than the basic xterm if possible.
 
Old 07-22-2007, 02:12 PM   #3
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
What terminals are there that could do this? I tried searching "linux terminals" and similar on google but I didn't get anything related to what I wanted.

Thank you
 
Old 07-22-2007, 11:44 PM   #4
timothyb89
Member
 
Registered: Jul 2006
Location: Colorado, USA
Distribution: openSuSE 11.4
Posts: 118

Rep: Reputation: 15
There's a bunch- Konsole, and gnome-terminal come to mind. Take a look at this page for a list of x11 terminals.

Also, try 'terminal emulators' as a google search- you should get a few more results with that.
 
Old 07-24-2007, 09:23 AM   #5
Four
Member
 
Registered: Aug 2005
Posts: 298

Original Poster
Rep: Reputation: 30
I got a gnome-terminal; I like this emulator most out of the ones I have tried (which is like 1-2 mostly looking at features). However I don't know how to get side scrolling with this emulator. To me it looks just like another xterm though its slightly faster at executing commands.
 
Old 07-24-2007, 09:33 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
How about just using a smaller font?
 
Old 07-25-2007, 12:34 AM   #7
timothyb89
Member
 
Registered: Jul 2006
Location: Colorado, USA
Distribution: openSuSE 11.4
Posts: 118

Rep: Reputation: 15
As far as I can tell, there aren't any terminals that allow sidescrolling (although if someone knows of one that would be very nice to know!). It may just be that bash itself continues the line at the end of the 'screen' width (the terminal width in the case of graphical emulators).
 
Old 07-26-2007, 05:12 AM   #8
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
'less' will scroll sideways with '> <right arrow>', don't think you need <shift> for >.

Perhaps it could be piped into less.

mc's internal editor goes sideways forever, if you have a long line and don't wrap.

Perhaps put output in a file, go to the file in mc, and then press F4.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fake Directories wwnexc Linux - Software 14 09-05-2005 11:43 PM
How can a bash script findout the width of the terminal window alex.e.c Linux - Software 2 10-14-2004 11:20 AM
fake ip's g452 Linux - Networking 3 06-04-2004 01:26 PM
Scripting question: the width of the terminal window Bebo Programming 13 11-06-2003 04:41 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 04:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration