• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 797
  • Last Modified:

Disable text wrapping in gnome-terminal

Hello,

How do I disable wrapping of text in the gnome-terminal.  I need to view certain text files in an unwrapped and would just need to scrol horizontally.

Thanks,

ambokyo
0
ambokyo
Asked:
ambokyo
  • 3
1 Solution
 
GnsCommented:
To my knowledge you don't.

There might be some terminal emulator that support this, but I haven't heard of it.

The closest you'll probably get is to turn off autowrap in an xterm.

If you are viewing text with a paginator like less though, it can do this for you.
less -eS file
will paginate through "file", chopping lines longer than the screen, and still letting you "scroll" left-right with the arrow keys.

You might be able to use the screen package too, but why bother? Use less:-).

-- Glenn
0
 
CleanupPingCommented:
ambokyo:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
GnsCommented:
I am right.

-- Glenn
0
 
TheWeakestLinkCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from Gns as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer

P.S. Modest too, Glenn :-)
0
 
GnsCommented:
Yes I'm real modest... Just work hard on not letting it show:-):-)

-- Glenn
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now