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 |
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. |
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 |
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. |
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.
|
How about just using a smaller font?
|
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).
|
'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. |