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

Re: [RFR] templates://lynx-cur/{templates}



Esko Arajärvi wrote:
> Your review should be sent as an answer to this mail.

>  Template: lynx-cur/defaulturl
[...]
> + This must be a full URL (including the "http://";) or an absolute pathname
> + (beginning with "/").

(Incidentally, this value is overruled by $WWW_HOME, and in fact it
_can_ be a relative pathname, though the results are fairly silly)
 
>  Template: lynx-cur/etc_lynx.cfg
[...]
> +_Description: Please check the old configuration file /etc/lynx.cfg
> + File /etc/lynx.cfg belongs to the obsolete package lynx. The lynx-cur package 
> + uses configuration file /etc/lynx-cur/lynx.cfg.
        
Missing articles, but in fact you might as well shorten it to:

    The file /etc/lynx.cfg belongs to the obsolete package lynx. The
    lynx-cur package uses /etc/lynx-cur/lynx.cfg instead.

In the control file:
> -Description: Text-mode WWW Browser with NLS support (development version)
> +Description: text-mode web browser

Hurrah.

> + Lynx is a fully-featured and fast web browser to be used in text terminal.
> + It can't display images or videos embedded to HTML pages but can launch
> + external programs to handle them.

Full(y)-featured in the sense that it supports javascript and
stylesheets and so on?  It doesn't even have real support for HTML3
features like table layouts.  The only reason for using this web
browser instead of (say) w3m or elinks is that Lynx is particularly
basic. 

The mention of mime-handling deserves to be there, but notice that
it can do it even for _non_-graphical media files _not_ embedded in
HTML, if you do "lynx file://mp3collection/".

> + Lynx supports HTTP, HTTPS, FTP, NNTP, Gopher, WAIS, and more.

Are there any active WAIS servers in the world any more?  I'd drop
that one, and on the other hand I would explicitly mention file:// -
I for one used Lynx as a file browser for years after I'd abandoned
it as a web browser, since it has DIRED features like being able to
create/rename/edit files.

    This package provides a basic but fast non-graphical HTTP client. It
    can't display images or multimedia content inline, but can launch
    external programs to handle them.
    .
    Lynx supports HTTP, HTTPS, FTP, NNTP, Gopher, and browsing via the
    local file system.

>  Package: lynx-cur-wrapper
>  Architecture: all
>  Depends: lynx-cur
> +Description: basic settings for Lynx
> + This package provides most common settings for the text-mode web browser
> + Lynx. This package is aimed for novice users. Make sure that the LANG
> + environment variable is set appropriately as this package relies on it.

As far as I can see this package is far more about CJK support than
novice users.  For instance, if LANG=ko.EUC-KR, it sets Lynx's
CHARACTER_SET option to "euc-kr" and its PREFERRED_LANGUAGE option
to "ko,en".  For Japanese users it also checks TERM and COLORTERM to
see whether it's running in a fancy terminal, but otherwise that's
more or less it. 

This might be entitled to claim a position as a general-purpose
wrapper configuring "common settings" if only it supported other
legacy LANG values like fr.ISO-8859-15 or ru.KOI8 or zh_CN.GBK.  But
it doesn't - if LANG doesn't end in UTF-8 then ja* gets euc-jp, ko*
gets euc-kr, zh* gets big5 and everybody else gets iso-8859-1!

In fact I've just checked; if I'm on the console (the only situation
I can think of where a novice is likely to use Lynx rather than
Iceweasel) and LANG is "en-GB.UTF-8", it falls back to using
/etc/lynx-cur/lynx.cfg.dflt, which sets CHARACTER_SET=euc-jp and
PREFERRED_LANGUAGE=ja,en!

That probably deserves a wave of bugreports, but meanwhile:

   Description: wrapper for Lynx providing CJK character set support
    This package consults the LANG environment variable to select an
    appropriate configuration file for Lynx, setting Lynx options such as
    CHARACTER_SET and PREFERRED_LANGUAGE.

(It should say more, but I'm not sure what.)

>  Package: lynx
[...]
>  Description: text-mode web browser (transitional package)

(Why didn't lynx-cur just take over this packagename?)
-- 
JBR	with qualifications in linguistics, experience as a Debian
	sysadmin, and probably no clue about this particular package
Template: lynx-cur/defaulturl
Type: string
Default: http://www.debian.org/
_Description: Home page in Lynx:
 Please enter a URL to be loaded if none is given when Lynx is invoked.
 .
 This must be a full URL (including the "http://";) or an absolute pathname
 (beginning with "/").

Template: lynx-cur/etc_lynx.cfg
Type: note
_Description: Please check the old configuration file /etc/lynx.cfg
 The file /etc/lynx.cfg belongs to the obsolete package lynx. The
 lynx-cur package uses /etc/lynx-cur/lynx.cfg instead.
 .
 Please check the old file and move appropriate settings to the new.
 It is recommended that you then purge the package lynx.
Source: lynx-cur
Section: web
Priority: extra
Maintainer: Atsuhito KOHDA <kohda@debian.org>
Homepage: http://lynx.isc.org/
Build-Depends: debhelper (>= 4.1.16), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, zip, unzip, sharutils, bzip2, telnet, openssh-client, exim4-daemon-light | mail-transport-agent
Standards-Version: 3.7.2

Package: lynx-cur
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: www-browser, news-reader
Conflicts: lynx (<< 2.8.7dev9-1.1), lynx-ssl
Recommends: mime-support
Suggests: lynx-cur-wrapper
Description: text-mode web browser
 This package provides a basic but fast non-graphical HTTP client. It
 can't display images or multimedia content inline, but can launch
 external programs to handle them.
 .
 Lynx supports HTTP, HTTPS, FTP, NNTP, Gopher, and browsing via the
 local file system.

Package: lynx-cur-wrapper
Architecture: all
Depends: lynx-cur
Description: wrapper for Lynx providing CJK character set support
 This package consults the LANG environment variable to select an
 appropriate configuration file for Lynx, setting Lynx options such as
 CHARACTER_SET and PREFERRED_LANGUAGE.

Package: lynx
Architecture: all
Depends: lynx-cur (>= ${source:Version})
Description: text-mode web browser (transitional package)
 This is a transitional package and can safely be removed; see the
 lynx-cur package instead.
--- ../lynx-cur-2.8.7rel.1.pristine/debian/templates	2009-07-19 18:18:52.000000000 +0100
+++ debian/templates	2009-07-23 17:54:26.000000000 +0100
@@ -1,16 +1,17 @@
 Template: lynx-cur/defaulturl
 Type: string
 Default: http://www.debian.org/
-_Description: Lynx's homepage:
- Please enter the default URL to use if none is given when invoking lynx.
+_Description: Home page in Lynx:
+ Please enter a URL to be loaded if none is given when Lynx is invoked.
  .
- You must enter either a full URL (including the "http://";, etc.) or an
- absolute pathname.
+ This must be a full URL (including the "http://";) or an absolute pathname
+ (beginning with "/").
 
 Template: lynx-cur/etc_lynx.cfg
 Type: note
-_Description: Please check old /etc/lynx.cfg
- /etc/lynx.cfg is found but the configuration file of lynx-cur is
- /etc/lynx-cur/lynx.cfg so /etc/lynx.cfg would be of lynx or lynx-ssl.
+_Description: Please check the old configuration file /etc/lynx.cfg
+ The file /etc/lynx.cfg belongs to the obsolete package lynx. The
+ lynx-cur package uses /etc/lynx-cur/lynx.cfg instead.
  .
- Please check it and it will be better to PURGE lynx or lynx-ssl.
+ Please check the old file and move appropriate settings to the new.
+ It is recommended that you then purge the package lynx.
--- ../lynx-cur-2.8.7rel.1.pristine/debian/control	2009-07-19 18:18:52.000000000 +0100
+++ debian/control	2009-07-23 17:55:03.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Atsuhito KOHDA <kohda@debian.org>
 Homepage: http://lynx.isc.org/
-Build-Depends: debhelper (>= 4.1.16), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, sharutils, telnet, openssh-client, libbsd-dev
+Build-Depends: debhelper (>= 4.1.16), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, zip, unzip, sharutils, bzip2, telnet, openssh-client, exim4-daemon-light | mail-transport-agent
 Standards-Version: 3.7.2
 
 Package: lynx-cur
@@ -13,27 +13,25 @@
 Conflicts: lynx (<< 2.8.7dev9-1.1), lynx-ssl
 Recommends: mime-support
 Suggests: lynx-cur-wrapper
-Description: Text-mode WWW Browser with NLS support (development version)
- Lynx is a fully-featured World Wide Web (WWW) client for users running
- cursor-addressable, character-cell display devices.
- It is very fast and easy to use. It will display HTML documents
- containing links to files residing on the local system,
- as well as files residing on remote systems running Gopher, HTTP, FTP,
- WAIS, and NNTP servers.
+Description: text-mode web browser
+ This package provides a basic but fast non-graphical HTTP client. It
+ can't display images or multimedia content inline, but can launch
+ external programs to handle them.
  .
- This package contains a development version of lynx.
+ Lynx supports HTTP, HTTPS, FTP, NNTP, Gopher, and browsing via the
+ local file system.
 
 Package: lynx-cur-wrapper
 Architecture: all
 Depends: lynx-cur
-Description: Wrapper for lynx-cur
- This wrapper will provide almost all basic setup of lynx mainly for novice
- users using LANG environment variable so a user needs essentially nothing
- to do except setting LANG appropriately.
+Description: wrapper for Lynx providing CJK character set support
+ This package consults the LANG environment variable to select an
+ appropriate configuration file for Lynx, setting Lynx options such as
+ CHARACTER_SET and PREFERRED_LANGUAGE.
 
 Package: lynx
 Architecture: all
 Depends: lynx-cur (>= ${source:Version})
-Description: Text-mode WWW Browser (transitional package)
+Description: text-mode web browser (transitional package)
  This is a transitional package and can safely be removed; see the
  lynx-cur package instead.

Reply to: