Mon, Feb 3 2003
04:31:33
|
|
Request created by guest
|
|
Subject: man pages are ugly if terminal window is small
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: 5.0.0
The man pages are ugly if the terminal window is smaller than 87 columns wide.
It doesn't wrap cleanly; normal system man pages usually display "Reformatting
foo(1), please wait..." and then look good in a smaller window. The grass pages
display "Reformatting r.transect(1), please wait..." and then mess up the indentation/word
wrap on the next line.
e.g.:
DESCRIPTION
This progream outputs, in ASCII, the values in a raster
map which lie
along one or more user-defined transect lines. The
transects are
described by their starting coordinates, azimuth, and
distance. The
transects may be single-cell wide lines, or multiple-cell
wide lines.
The output, for each transect, may be the values at each
of the cells,
or a single aggregate value (e.g., average or median val-
ue).
g.html2man CR/LF vs <P> issue ?
This is on 5.0.0, multiple linux platforms. I don't know if it is fixed in 5.0.1
or CVS.
Hamish
|
|
Mon, Feb 3 2003
19:19:04
|
|
Mail sent by glynn.clements@virgin.net
|
|
Return-Path |
<glynn.clements@virgin.net>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
From |
Glynn Clements <glynn.clements@virgin.net>
|
MIME-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Transfer-Encoding |
7bit
|
Message-ID |
<15933.62743.450105.142201@cerise.nosuchdomain.co.uk>
|
Date |
Mon, 3 Feb 2003 04:50:31 +0000
|
To |
Request Tracker <grass-bugs@intevation.de>
|
Cc |
grass5@grass.itc.it
|
Subject |
Re: [GRASS5] [bug #1565] (grass) man pages are ugly if terminal window is small
|
In-Reply-To |
<20030203033134.2FE2813B33@lists.intevation.de>
|
References |
<20030203033134.2FE2813B33@lists.intevation.de>
|
X-Mailer |
VM 7.07 under 21.4 (patch 12) "Portable Code" XEmacs Lucid
|
X-Spam-Status |
No, hits=-3.3 required=5.0 tests=DATE_IN_PAST_12_24,EMAIL_ATTRIBUTION,IN_REP_TO, QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_01_02 version=2.43
|
X-Spam-Level |
|
Request Tracker wrote:
> Subject: man pages are ugly if terminal window is small
>
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.0.0
>
> The man pages are ugly if the terminal window is smaller than 87
> columns wide.
87? That suggests a problem with your "man" program, or at least with
the way in which it is being invoked. Are you running the "make"
command in a wider than normal terminal?
> It doesn't wrap cleanly; normal system man pages usually display
> "Reformatting foo(1), please wait..." and then look good in a
> smaller window. The grass pages display "Reformatting r.transect(1),
> please wait..." and then mess up the indentation/word wrap on the
> next line.
>
> g.html2man CR/LF vs <P> issue ?
>
> This is on 5.0.0, multiple linux platforms. I don't know if it is
> fixed in 5.0.1 or CVS.
GRASS installs pre-formatted man pages by default. I suggest changing
the default target in html/Gmakefile from:
all: htmlpages g.help-manpages
to:
all: htmlpages manpages
This should install the nroff source, which will be formatted
dynamically.
--
Glynn Clements <glynn.clements@virgin.net>
|
|
Wed, Feb 5 2003
01:28:34
|
|
Comments added by guest
|
|
> 87? That suggests a problem with your "man" program, or at least with
> the way in which it is being invoked.
87. This happens to me on both RedHat 7.3 & Debian/Sarge, BUT...
> Are you running the "make" command in a wider than normal terminal?
Most probably yes.
I just tried it on the laptop (RH8.0), it doesn't wrap nicely either, but on
that machine the magic number is <66 columns wide, which doesn't happen much..
I can guess that the terminal window was smaller on compile due to the smaller
screen, but couldn't remember. I'll have a go at putting 5.0.1 on that and see
what happens.
> GRASS installs pre-formatted man pages by default. I suggest changing
> the default target in html/Gmakefile from:
>
> all: htmlpages g.help-manpages
> to:
> all: htmlpages manpages
>
> This should install the nroff source, which will be formatted
> dynamically.
I'll give it a shot as well.
Hamish |
|
Tue, Jun 27 2006
05:31:25
|
|
User changed to hamish_nospam@yahoo.com by hbowman
|
|
Tue, Jun 27 2006
05:33:39
|
|
Status changed to resolved by hbowman
|
|
Tue, Jun 27 2006
05:33:39
|
|
Comments added by hbowman
|
|
Dependant on term width at compile time?
anyway with GRASS 6.1 it seems to adjust ok now, so I'm closing the bug.
I think the original was GRASS 5 on RedHat 8, and now I'm Debian/Sarge.
Hamish
|
|