Re: [Lynx-dev] text browsing

2006-07-28 Thread Doug Kaufman
On Fri, 28 Jul 2006, Henry Nelson wrote:

 I think I saw somewhere that the gettext tools (what you want if you're
 going to get into translating the messages) had been ported to Windows, but
 unfortunately I don't have the slightest idea how they work on Windows.

The MingW version of lynx which I have been porting (but not yet
distributing) is compiled with NLS and seems to work fine. I linked
it with gettext-0.11.5 which I ported to MingW last year. I generally
compile MingW programs under Cygwin with -mno-cygwin and don't have
any experience with the native MingW MSYS environment. I see from
the MingW web page that there is an official port of gettext to
mingw. I haven't looked to see if what I did matched that port or not.
At least with the version I am using, you specify the environment
variable LYNX_LOCALEDIR unless the locale directory is the same as
the default compiled into gettext. The utilities (msgfmt and xgettext)
work the same as on unix, but when building under Cygwin for MingW,
the Cygwin utilities are used to make the .gmo files. Just specify the
LANG and possibly the LANGUAGE environment variables and lynx uses
the lynx.mo file installed in the $LYNX_LOCALEDIR/$LANG/LC_MESSAGES
directory.

I am happy to send the patch file that I used for porting gettext to
anyone interested.

For a Cygwin build of lynx, gettext is part of the Cygwin system and
should work out of the box. I haven't built a pure Cygwin lynx since
2.8.5pre.3 in February 2004, however, and I built that without NLS, so
I can't comment from personal experience.

By the way, if anyone is interested in doing translations for lynx, be
sure to first read the information from the translation project web page 
http://www.iro.umontreal.ca/translation/;, then sign up to be part of
the translation team.

  Doug
-- 
Doug Kaufman
Internet: [EMAIL PROTECTED]



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread Thomas Dickey

On Fri, 28 Jul 2006, Stegozor wrote:


On 7/28/06, Thomas Dickey [EMAIL PROTECTED] wrote:

 One more thing: As you may have guessed, English is not my native
 tongue: in exchange, I'd gladly do my best to translate any Lynx
 related file into French and/or Turkish. Just realise that you'll have
 to cope with a newbie and that I'll need time. Apart from that, feel
 free to send me a message if a translation would be useful. I'd be
 more than pleased if I could help the project in some way.

It would be useful to have an up-to-date translation for fr.po (French),
since that's been neglected. The Turkish (tr.po) is more current,
though none of us can gauge its quality.


Er...Firstly,  I hope you really noticed that you'll have to cope with
a newbie who had difficulties to find a Windows version of Lynx.
As for the po files, there are two fr.po in http://lynx.isc.org/po/ .
Which one should I pick up? Where's the 'authoritative' po file? Is it
http://lynx.isc.org/po/lynx.po ? If so, it seems quite old (19990525).
As for the tr.po, I just couldn't find it.


There's a current one in the source tarball.  The other files in 
http://lynx.isc.org/po/ are just for reference (someone else was using 
them).  I update the line-numbers, etc., in the ones in the source 
tarballs (e.g., in http://lynx.isc.org/current/) periodically, and 
incorporate new po-files as they are available.


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread Thorsten Glaser
Walter Ian Kaye dixit:

 There are no links for Mac OS X either.

Oops. Does Mac OSX come shipped without lynx?

This cries for a lynx port in the MirPorts Framework.

//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.  -- Coywolf Qi Hunt


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread patakuti
On Fri, 28 Jul 2006, [EMAIL PROTECTED] wrote:

 The MingW version of lynx which I have been porting (but not yet
 distributing) is compiled with NLS and seems to work fine. I linked
 it with gettext-0.11.5 which I ported to MingW last year. I generally
 compile MingW programs under Cygwin with -mno-cygwin and don't have
 any experience with the native MingW MSYS environment. 

May I ask you the concrete steps to compile Lynx under Cygwin with 
-mno-cygwin?  Do you mean running configure  make on Cygwin bash?

I've tried these but I'm not satisfied yet.
  (1) using makelynx.bat on command prompt
  (2) configure  make under MSYS envrironment

(1) It rebuilds all whenever I run the batch file because it doesn't
check the timestamp like make command does.

(2) I can build it with slang but can't with pdcurses. I want to use
pdcurses because I can change screen size only with pdcurses.

So I'm very curious to know how you compile Lynx.
Thanks in advance.
--
Takeshi Hataguchi
E-mail: [EMAIL PROTECTED]


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread Stef Caunter
Lynxlet, while not ssl-capable, is an excellent and very quick OS X app which 
obviates the need to install XCode since it just unpacks and runs in Terminal.



Walter Ian Kaye dixit:


There are no links for Mac OS X either.


Oops. Does Mac OSX come shipped without lynx?


I believe there's a 2.8.5 via Fink.




___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread Walter Ian Kaye
At 12:44a + 07/28/2006, Thorsten Glaser didst inscribe upon an 
electronic papyrus:



Walter Ian Kaye dixit:


 There are no links for Mac OS X either.


Oops. Does Mac OSX come shipped without lynx?

This cries for a lynx port in the MirPorts Framework.

//mirabile


I think the original public beta back in 1999 (or whenever it was) 
may have had lynx, but the shipping versions never have. (Do you 
suppose it had anything to do with the 1997 Microsoft five-year 
agreement for IE as default browser?)



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: GPL (was Re: [Lynx-dev] text browsing)

2006-07-28 Thread David Woolley
 That would, I guess, be UKansas and a few individuals.

Including important contributors who are no longer traceable, 
like Foteos.  A long time ago the FSF wanted Lynx to have the
copyrights assigned to single organisation.  It couldn't be
done then, because it was impossible to track down everyone
and get agreement.

You would also have to remove GPLed code from other libraries,
e.g. is GNU gettext being used for the internationalisation?

Once you had permission from all the copyright owners of GPLed code,
you wouldn't actually need to remove the GPL; what you would need to
do is give an additional permission on all the GPLed code to allow it
to be linked with OpenSSL.  The conflict that arises is because
OpenSSL imposes an additional restriction (an advertising clause).
The GPL doesn't allow, for reasons wholly predictable from the policy
behind it, additional restrictions, but it allows additional 
permissions.

Incidentally, I suspect an anti-FSF or anti-copyright line from one
contributor to this thread.  For clarification of what I've written,
there is no doubt that distributing an OpenSSL binary for Windows
is a copyright infringement.  The area where they may (but also might
not) be a conflict between letter and spirit is where either an
incomplete product is supplied, with the intention that the recipient
links with an incompatible library, or a complete product is provided
but with such a poor implementation of the library that most reasonable
people would be forced to replace it with the incompatible one.

Where one usually sees this brinkmanship is when someone wants to make
a profit from open source code without contributing back fully.


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] text browsing

2006-07-28 Thread Stef Caunter
Debatable. Getting a binary up this quickly is quite convenient. To add any ssl 
functionality to lynx requires a compile and always has in my experience. Even 
without ssl you still get that 'real view' of the web, scriptable, customizable 
and fast.


On Fri, 28 Jul 2006, Walter Ian Kaye wrote:

A non-SSL Lynx is a crippled Lynx. Can't even log in to Yahoo, let alone do 
any online shopping. Nice PoC, though.



___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external

2006-07-28 Thread gilmap
In a recent note, Lawrence Armstrong said:

 Date: Wed, 26 Jul 2006 23:34:13 -0400
 
 
 Just make the following changes to your Lynx.cfg.  It's been quite a =
 while=20
 ago, but I believe these were the only changes necessary for it to work. =
 
 You basically define the mime type and tell it what viewer app you =
 want to=20
 handle it. Hope it works for you.
 
 I just tested it with a few shoutcast stations.
 
 SUFFIX:.ram:audio/x-pn-realaudio
 
 VIEWER:audio/x-pn-realaudio:start realplay.exe %s
 
By analogy, on Solaris 2.8 with Lynx 2.8.6dev.17, I created a
cgi-bin script which did

Content-type: text/x-streaming

then mostly a

od -x /dev/random

I added to lynx.cfg

VIEWER:text/x-streaming:/bin/less

When I connect to my cgi-bin script, all I get is a progress
odometer.  I stopped Lynx when it reached 25 Mb.  What am I
doing wrong?

By contrast,  when I do:

lynx -source same.script.cgi | /bin/less

it pages with less, as I'd expect.

Does it make a difference to specify SUFFIX?

-- gil
-- 
StorageTek
INFORMATION made POWERFUL


___
Lynx-dev mailing list
Lynx-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lynx-dev