[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] how to maximize client area???

From: Thomas Dickey
Subject: Re: [Lynx-dev] how to maximize client area???
Date: Fri, 28 Jan 2005 18:54:02 -0500 (EST)

On Fri, 28 Jan 2005, Daniele Baggio wrote:

 i've a big problem using lynx on small terminal with 21 columns and 16 rows. I 
need to use all the available area of text BUT
Lynx render the html page without use full client area size,
on the left size some blank columns are always present.

if you browse this link:
you get this page:

                              lynx-dev Archives

  Search String: ________________________________________ Search!
  [1][How to search]
  Display: [20_] Description: [normal] Sort:
  [by score______________________]

^^ There are some blank space between window left border and the text...
Is it possible to remove by option or by change the source code?

That would be the latter - changing the source code.  (Someone else asked
about this recently, so it was on my to-do list to check).  The indents
are coming from a table in src/DefaultStyle.c, e.g.,

static HTStyle HTStyleNormal =
    0, "Normal", ST_Normal, "P",
    HT_FONT, 1, HT_BLACK, 0, 0,
    3, 3, 6, HT_LEFT, 1, 0, tabs_8,
    YES, YES, 1, 0, 0};

The two "3"'s in the third line of the data are the first- and left-indents for the given tag ("normal" in this case). And the "6"
is the right-margin.

If one simply wants to cancel the indents, a good place to do this would
be in the DefaultStyle() function at the end of that file, since it constructs a copy of the table; the copy could be modified as it is constructed.

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]