Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-02-22 18:40:36

callmejoe
Member
Registered: 2019-11-19
Posts: 75

xfce4-terminal line wrap

is there a way to disable the line wrap when either resizing window or for long output and instead have a horizontal scroll bar?

Offline

#2 2020-02-22 21:00:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: xfce4-terminal line wrap

xfce4-terminal isn't able to do that natively, but you could use "less -S" and pipe your output to less (it supports horizontal scrolling).
For example (make the terminal window small to test):

ls -l $HOME | less -S

There is some more information here about using setterm to disable line wrapping (though you can't horizontally scroll).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-02-23 01:31:48

callmejoe
Member
Registered: 2019-11-19
Posts: 75

Re: xfce4-terminal line wrap

ToZ wrote:

xfce4-terminal isn't able to do that natively, but you could use "less -S" and pipe your output to less (it supports horizontal scrolling).
For example (make the terminal window small to test):

ls -l $HOME | less -S

There is some more information here about using setterm to disable line wrapping (though you can't horizontally scroll).


thanks for the reply

Offline

Board footer

Powered by FluxBB