LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fake larger width in terminal (https://www.linuxquestions.org/questions/linux-newbie-8/fake-larger-width-in-terminal-571223/)

Four 07-21-2007 02:35 PM

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

MS3FGX 07-21-2007 04:50 PM

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.

Four 07-22-2007 02:12 PM

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

timothyb89 07-22-2007 11:44 PM

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.

Four 07-24-2007 09:23 AM

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.

lugoteehalt 07-24-2007 09:33 AM

How about just using a smaller font?

timothyb89 07-25-2007 12:34 AM

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).

lugoteehalt 07-26-2007 05:12 AM

'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.


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