Link to home
Start Free TrialLog in
Avatar of chinhdo1
chinhdo1

asked on

How to turn off word wrap with "more"

I am running AIX 5. Is there any way to turn off word wrapping when using the "more" command? Or is there a different text viewer tool I can use that can turn off auto text wrap in AIX? Thanks.
ASKER CERTIFIED SOLUTION
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chinhdo1
chinhdo1

ASKER

Good suggestions... but is there a tool that would allow to scroll to the right as well? Like Notepad/Textpad on Windows?
Check out /usr/bin/dt/dtpad - a full GUI text editor
tfewster: unfortunately /usr/bin/dt/dtpad is not available on my AIX install system.

I am going to keep this thread open a while longer to see if anyone else has a better solution.
dtpad is part of the X11 software set - X11.Dt.rte - if you decide to install it
There's a replacement for `more' called `less' -- it will scroll horizontally among other useful things.  You may find that on your system `more' is actually `less' -- try entering `-S' (without the quotes) while viewing a file.
Good call, svs!

"less" is only standard with Linux & Solaris, but the GPL sources can be downloaded from http://www.greenwoodsoftware.com/less/  and it's been tested on AIX (and just about every other OS ;-)