bash$ ls -l | more -f
is entered, and the current xterm screen has long lines, some lines
disappear off the top off the screen.
Is this a bug in more, or do I need to alter stty/terminfo? (Experiments
in this direction have not worked so far.)
/usr/bin/less (on newer versions of Solaris) or
/usr/xpg4/bin/more might work better for you.
Markus
> In SunOS (at least) "more -f" does not fold long lines, as documented in
> "man more". However, if (for example)
>
> bash$ ls -l | more -f
>
> is entered, and the current xterm screen has long lines, some lines
> disappear off the top off the screen.
-f says don't fold but it doesn't say to truncate long lines. If you
are getting wrap it's because of the terminal wrapping.
-- ced
>
> Is this a bug in more, or do I need to alter stty/terminfo? (Experiments
> in this direction have not worked so far.)
--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Sorry, I meant to say:
In SunOS (at least) "more -f" _does_ fold long lines, as documented in
"man more"...
Aargh -- I was right the first time. I hate Fridays.
mgy...@gmu.edu (Markus Gyger) wrote:
> /usr/bin/less (on newer versions of Solaris) or
> /usr/xpg4/bin/more might work better for you.
Tried those -- neither have a "no fold" option, so neither works, no
matter what stty/COLUMNS= settings I try. It looks like I'm going
to have to script this.