If the terminal works well enough for general use, it is irrelevant to the choice of tools which one uses within the terminal. what OP actually is looking for is a set of tools that can be told to disable line-wrap, especially for viewing logfiles.(terminator does this - partly - but its other drawbacks cancel that out, except for those who only use the terminal for cat'ing a logfile to the screen). OP probably assumed that the application would scroll left/right to make the wide terminal usable.Of course that means that applications will spend a lot of time writing on the right-margin (and some, getting it wrong, will start a new line anyway).The shell knows the width of the terminal-but that can be overridden by setting COLUMNS to a "large" value.Suppressing line-wrapping is only one aspect of the problem: Whether the feature would be useful to OP is debatable. Which certainly does not "depend on your choice of terminal", since any terminal with VT100-compatibility supports the feature. The default is "true".Īnd in XTerm Control Sequences it says CSI ? Pm h Specifies whether or not auto-wraparound should be enabled. Consulting the manual, it says that autoWrap (class AutoWrap) The +aw option in xterm corresponds to the autoWrap resource. But (aside from terminator, whose developers document no terminal description) all of the examples given were xterm, rxvt and some look-alike or descendent. Some comments were made about the autowrap feature, stating that not all terminals have it. Is it possible to disable line wrap in a bash shell for all the commands? OP's question wasīut now I need to use tail -f, and it also line wraps the output. There are a lot of comments which stray from the question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |