Lynx and Unicode

View: New views
12 Messages — Rating Filter:   Alert me  

Lynx and Unicode

by Mario Lang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

Since I've once read (and believed) that Lynx is not fit for Unicode
consoles, I'd like to correct this false knowledge:
You can use lynx in unicode consoles with brltty from experimental
by configuring the CHARACTER_SET configuration option.  If you
put something like:

CHARACTER_SET:UNICODE (UTF-8)

in your /etc/lynx.cfg, lynx will display umlauts and thelike correctly.

If you have a braille unicode capable font loaded, it should also
be able to represent unicode braille correctly, see
http://delysid.org/music/braille.html for an example.

Samuel: Did you already submit your unicode braille tables to Debian?
It would be nice if we could select a unicode braille font in the
default system, not needing to fetch and untar a separate tarball...

--
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@...
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Fri 02 May 2008 11:55:30 +0200, a écrit :
> Samuel: Did you already submit your unicode braille tables to Debian?

They are in the console-data package, yes.

About lynx, it should select the encoding according to the current
locale's charset, see elderly bug #277200...

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Mario Lang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Samuel Thibault <samuel.thibault@...> writes:

> Mario Lang, le Fri 02 May 2008 11:55:30 +0200, a écrit :
>> Samuel: Did you already submit your unicode braille tables to Debian?
>
> They are in the console-data package, yes.

Nice, I see the .psf files in there.   But I could not find the
necessary unimap anywhere.  Can you please shed a little light on this?

--
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@...
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Fri 02 May 2008 12:52:57 +0200, a écrit :
> Samuel Thibault <samuel.thibault@...> writes:
>
> > Mario Lang, le Fri 02 May 2008 11:55:30 +0200, a écrit :
> >> Samuel: Did you already submit your unicode braille tables to Debian?
> >
> > They are in the console-data package, yes.
>
> Nice, I see the .psf files in there.   But I could not find the
> necessary unimap anywhere.  Can you please shed a little light on this?

Oops, it looks like it got forgoten in the bug report, and since I had
it already installed, I never noticed that.

Btw, I was thinking about maybe adding an option to setfont, that would
automatically extend the loaded 256-char font with braille patterns.
That would avoid having to write lat2brl, lat4brl, lat7brl, etc.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Mario Lang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Samuel Thibault <samuel.thibault@...> writes:

> Mario Lang, le Fri 02 May 2008 12:52:57 +0200, a écrit :
>> Samuel Thibault <samuel.thibault@...> writes:
>>
>> > Mario Lang, le Fri 02 May 2008 11:55:30 +0200, a écrit :
>> >> Samuel: Did you already submit your unicode braille tables to Debian?
>> >
>> > They are in the console-data package, yes.
>>
>> Nice, I see the .psf files in there.   But I could not find the
>> necessary unimap anywhere.  Can you please shed a little light on this?
>
> Oops, it looks like it got forgoten in the bug report, and since I had
> it already installed, I never noticed that.

OK, I guess you will follow up on this one then?

> Btw, I was thinking about maybe adding an option to setfont, that would
> automatically extend the loaded 256-char font with braille patterns.
> That would avoid having to write lat2brl, lat4brl, lat7brl, etc.

or lat1brl, which is what I'd like to use.
This also answers my question regarding duplicity.  Yes, I think
extending setfont (or whatever is actually non-deprecated these days)
would make sense, since duplicating all the existing fonts
seems like very bad and error-prone.

--
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@...
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Fri 02 May 2008 15:03:16 +0200, a écrit :

> Samuel Thibault <samuel.thibault@...> writes:
> > Mario Lang, le Fri 02 May 2008 12:52:57 +0200, a écrit :
> >> Samuel Thibault <samuel.thibault@...> writes:
> >> > Mario Lang, le Fri 02 May 2008 11:55:30 +0200, a écrit :
> >> >> Samuel: Did you already submit your unicode braille tables to Debian?
> >> >
> >> > They are in the console-data package, yes.
> >>
> >> Nice, I see the .psf files in there.   But I could not find the
> >> necessary unimap anywhere.  Can you please shed a little light on this?
> >
> > Oops, it looks like it got forgoten in the bug report, and since I had
> > it already installed, I never noticed that.
>
> OK, I guess you will follow up on this one then?

Already done so, yes.

> > Btw, I was thinking about maybe adding an option to setfont, that would
> > automatically extend the loaded 256-char font with braille patterns.
> > That would avoid having to write lat2brl, lat4brl, lat7brl, etc.
>
> or lat1brl, which is what I'd like to use.
> This also answers my question regarding duplicity.  Yes, I think
> extending setfont (or whatever is actually non-deprecated these days)
> would make sense, since duplicating all the existing fonts
> seems like very bad and error-prone.

Yep.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Fri 02 May 2008 15:03:16 +0200, a écrit :
> > Btw, I was thinking about maybe adding an option to setfont, that would
> > automatically extend the loaded 256-char font with braille patterns.
> > That would avoid having to write lat2brl, lat4brl, lat7brl, etc.
>
> or lat1brl, which is what I'd like to use.
> This also answers my question regarding duplicity.  Yes, I think
> extending setfont (or whatever is actually non-deprecated these days)
> would make sense, since duplicating all the existing fonts
> seems like very bad and error-prone.

Maybe it could be made more generic by permitting to give two 256
character fonts. That may be useful for people who often use two very
different scripts.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Samuel Thibault, le Fri 02 May 2008 14:13:17 +0100, a écrit :

> Mario Lang, le Fri 02 May 2008 15:03:16 +0200, a écrit :
> > > Btw, I was thinking about maybe adding an option to setfont, that would
> > > automatically extend the loaded 256-char font with braille patterns.
> > > That would avoid having to write lat2brl, lat4brl, lat7brl, etc.
> >
> > or lat1brl, which is what I'd like to use.
> > This also answers my question regarding duplicity.  Yes, I think
> > extending setfont (or whatever is actually non-deprecated these days)
> > would make sense, since duplicating all the existing fonts
> > seems like very bad and error-prone.
>
> Maybe it could be made more generic by permitting to give two 256
> character fonts. That may be useful for people who often use two very
> different scripts.

Actually it is _already_ implemented :)

I have added brl-{08,10,12,14,16} files to the linux-brl-console, and
you can simply set

CONSOLE_FONT="lat9w-08 brl-08"

in /etc/kbd/config!  I'll submit those to console-data as well.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Mario Lang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Samuel Thibault <samuel.thibault@...> writes:

> Samuel Thibault, le Fri 02 May 2008 14:13:17 +0100, a écrit :
>> Mario Lang, le Fri 02 May 2008 15:03:16 +0200, a écrit :
>> > > Btw, I was thinking about maybe adding an option to setfont, that would
>> > > automatically extend the loaded 256-char font with braille patterns.
>> > > That would avoid having to write lat2brl, lat4brl, lat7brl, etc.
>> >
>> > or lat1brl, which is what I'd like to use.
>> > This also answers my question regarding duplicity.  Yes, I think
>> > extending setfont (or whatever is actually non-deprecated these days)
>> > would make sense, since duplicating all the existing fonts
>> > seems like very bad and error-prone.
>>
>> Maybe it could be made more generic by permitting to give two 256
>> character fonts. That may be useful for people who often use two very
>> different scripts.
>
> Actually it is _already_ implemented :)
>
> I have added brl-{08,10,12,14,16} files to the linux-brl-console, and
> you can simply set
>
> CONSOLE_FONT="lat9w-08 brl-08"
>
> in /etc/kbd/config!

That sounds like something.  Pardon my ignorance, but how
does this work together with the unimap?  Will the fonts be mapped
correctly back, or are they just set for display?

--
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@...
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Lynx and Unicode

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Sun 04 May 2008 03:18:32 +0200, a écrit :

> Samuel Thibault <samuel.thibault@...> writes:
> >> Maybe it could be made more generic by permitting to give two 256
> >> character fonts. That may be useful for people who often use two very
> >> different scripts.
> >
> > Actually it is _already_ implemented :)
> >
> > I have added brl-{08,10,12,14,16} files to the linux-brl-console, and
> > you can simply set
> >
> > CONSOLE_FONT="lat9w-08 brl-08"
> >
> > in /etc/kbd/config!
>
> That sounds like something.  Pardon my ignorance, but how
> does this work together with the unimap?  Will the fonts be mapped
> correctly back, or are they just set for display?

I guess this supposes that the fonts have the unimap included (which is
usually the case), so that it can merge the two maps and things work
fine.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Unicode braille console fonts

by Mario Lang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Samuel Thibault <samuel.thibault@...> writes:

> Actually it is _already_ implemented :)
>
> I have added brl-{08,10,12,14,16} files to the linux-brl-console,

I assume you mean the tarball on brl.thefreecats.org?  I only found brl-NN.c
files in there.  Is the result of executing these binaries what is supposed
to be copied to /usr/share/consolefonts/brl-NN ?

--
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@...
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Unicode braille console fonts

by Samuel Thibault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mario Lang, le Mon 05 May 2008 18:05:58 +0200, a écrit :
> Samuel Thibault <samuel.thibault@...> writes:
>
> > Actually it is _already_ implemented :)
> >
> > I have added brl-{08,10,12,14,16} files to the linux-brl-console,
>
> I assume you mean the tarball on brl.thefreecats.org?

Yes.

> I only found brl-NN.c files in there.  Is the result of
> executing these binaries what is supposed to be copied to
> /usr/share/consolefonts/brl-NN ?

Yes, just run make.  I should have left the PSFs in the tgz actually.
Now I have, you can just re-download it.

Samuel


--
To UNSUBSCRIBE, email to debian-accessibility-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price!