1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00
elinks/src/network
Kalle Olavi Niemitalo 5a43c55c9e Rewrap lines in option documentation.
Documentation strings of most options used to contain a "\n" at the
end of each source line.  When the option manager displayed these
strings, it treated each "\n" as a hard newline.  On 80x24 terminals
however, the option description window has only 60 columes available
for the text (with the default setup.h), and the hard newlines were
further apart, so the option manager wrapped the text a second time,
resulting in rather ugly output where long lones are interleaved with
short ones.  This could also cause the text to take up too much
vertical space and not fit in the window.

Replace most of those hard newlines with spaces so that the option
manager (or perhaps BFU) will take care of the wrapping.  At the same
time, rewrap the strings in source code so that the source lines are
at most 79 columns wide.

In some options though, there is a list of possible values and their
meanings.  In those lists, if the description of one value does not
fit in one line, then continuation lines should be indented.  The
option manager and BFU are not currently able to do that.  So, keep
the hard newlines in those lists, but rewrap them to 60 columns so
that they are less likely to require further wrapping at runtime.
2009-03-08 15:18:10 +02:00
..
ssl Rewrap lines in option documentation. 2009-03-08 15:18:10 +02:00
connection.c Revert "Use given connections id in connection_disappeared()." 2008-10-04 13:00:57 +03:00
connection.h Bug 1013: Don't assume errno is between 0 and 100000 2008-08-03 17:56:41 +03:00
dns.c Patch 2: Modifications to the remaining parts of ELinks 2008-11-01 22:20:25 +02:00
dns.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
Makefile path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
progress.c Document how timer callbacks erase timer IDs; add some assertions. 2006-12-02 18:35:03 +02:00
progress.h Remove empty lines in start of header files 2005-11-15 11:33:27 +01:00
socket.c Bug 1053: Fix crash when download ends prematurely. 2008-10-04 14:19:00 +03:00
socket.h Bug 1013: Don't assume errno is between 0 and 100000 2008-08-03 17:56:41 +03:00
state.c Fix blacklist crash in BitTorrent 2008-09-07 06:31:36 +03:00
state.h Fix blacklist crash in BitTorrent 2008-09-07 06:31:36 +03:00