Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Are there any replacements for Terminal.app that allow the line wrapping to be turned off? By turned off I mean in such a way as to cause a horizontal scroll bar to appear?

I've seen proposed solutions that pipe commands through less and the like, but these are not helpful.

share|improve this question

migrated from stackoverflow.com Nov 16 '10 at 1:17

This question came from our site for professional and enthusiast programmers.

    
What have you tried so far? iTerm is a replacement terminal, for example (I don't know whether it has the feature you want). –  Greg Hewgill Nov 15 '10 at 22:53
2  
I have never seen a Unix terminal do this. –  mikerobi Nov 15 '10 at 22:53
    
this question should better be asked on superuser.com –  CharlesB Nov 16 '10 at 0:54
    
I don't understand why this is attractive. I'd hate to have to scroll horizontally across many screen widths instead of having monster command lines broken across multiple lines. –  ak2 Nov 16 '10 at 10:52
    
@ak2: I can see that it might be useful if you're looking at long lines of columns of data. There might be better ways of doing that, though. It would be interesting to know why less is not helpful. –  Dennis Williamson Nov 16 '10 at 15:34
add comment

1 Answer

up vote 5 down vote accepted

I downloaded 'Terminator', ran it, tried to cat a wide file, and a (working) horizontal scroll bar appeared:

alt text

share|improve this answer
1  
That window is obviously narrower than 80 columns. Does it still work when it's 80 columns or wider and the text is wider than that? What do stty size, tput cols and echo $COLUMNS say? –  Dennis Williamson Nov 16 '10 at 6:36
    
@Dennis - yes it does appear to work the same way for wide terminals, in a simple test case at least. When I opened the file in 'vi' though, the line wrapped at 170 chars: I had opened and manually resized the window to 170-chars wide. stty size reported '46 170', tput cols '170'. In bash $COLUMNS was 170. These stayed the same even when a wider file was displayed (using cat) and the scroll bar had appeared. –  martin clayton Nov 16 '10 at 6:50
    
Perfect. This is exactly what I was looking for. I put in every conceivable search query into Google and Terminator never came up. –  DataSurfer Dec 2 '10 at 2:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.