Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SunOS more -f overflows page

14 views
Skip to first unread message

Chris Boyd

unread,
Oct 22, 2004, 5:39:49 AM10/22/04
to
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.

Is this a bug in more, or do I need to alter stty/terminfo? (Experiments
in this direction have not worked so far.)

Markus Gyger

unread,
Oct 22, 2004, 6:58:45 AM10/22/04
to
chrisb...@netscape.net (Chris Boyd) writes:
> 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.

/usr/bin/less (on newer versions of Solaris) or
/usr/xpg4/bin/more might work better for you.


Markus

Chuck Dillon

unread,
Oct 22, 2004, 9:29:55 AM10/22/04
to
Chris Boyd wrote:

> 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.

Chris Boyd

unread,
Oct 22, 2004, 12:03:42 PM10/22/04
to
chrisb...@netscape.net (Chris Boyd) wrote in message news:<6e793af4.04102...@posting.google.com>...

> In SunOS (at least) "more -f" does not fold long lines, as documented in
> "man more"...

Sorry, I meant to say:


In SunOS (at least) "more -f" _does_ fold long lines, as documented in
"man more"...

Chris Boyd

unread,
Oct 23, 2004, 4:04:09 PM10/23/04
to
chrisb...@netscape.net (Chris Boyd) wrote in message news:<6e793af4.0410...@posting.google.com>...

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.

0 new messages