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

Re: Translations for new boot floppies



On Wed, Jan 28, 1998 at 10:22:54PM +0100, Yann Dirson wrote:
> Enrique Zanardi writes:
>  > On Tue, Jan 27, 1998 at 01:45:52PM +0100, Yann Dirson wrote:
>  >  
>  > > As the maintainer of kbd, I'm wondering which fonts you plan to
>  > > include on the floppies.  
>  > 
>  > For this version, we are still using the same fonts than in Debian 1.3 :
>  > 
>  > disks-i386:
>  > 
>  > de-latin1-nodeadkeys.map.gz dvorak.map.gz es.map.gz
> [...]
> 
> Sorry, these are the keymaps, not the fonts. 

Oops, I really hate those days when I should have slept longer. :-)

> I don't really think it's
> a good idea to move some of the keymaps out, because, as you said, it
> will need to add some instructions.
> 
> But the fonts could be automagically selected with the language (eg,
> if there's no automation, one dir per language, containing the
> messages file + a link to the font)
> 
>  > (Total: 30KB)
>  > 
>  > disks-m68k:
>  > (Total: 23KB)
> 
> The fonts can take more place than that, so it would be a good thing
> to remove some of them, if not already done.

IIRC, there are no font files in the root floppy. We should add support
for different console fonts if(when) we add message catalogs for non-latin1
languages. OTOH, most of those files are not too big (~4 or 5 KB
uncompressed) so it won't be hard to add a few fonts more.

>  > As we are talking about kbd, may you make kbdconfig execute "zcat"
>  > instead of "gzip -c -d"? We have a "zcat" utility in the boot floppies,
>  > but no "gzip", and "ln -si zcat gzip" will confuse many users.
> 
> Problem: it is loadkeys itself calling gzip, not kbdconfig. 

Oops, again. ;-) Yes, I (really) meant loadkeys.

> But I can
> replace calls to "loadkeys file" by "zcat -f file | loadkeys", but
> your own zcat will have to support "-f" in order for the script to be
> portable enough (ie. loading uncompressed keymaps too).
> 
> If it doesn't, I can still provide the "zcat file | loadkeys"
> behaviour by adding a command-line switch.
> 
> Please tell me what is to be done. kbd is the next package I'll work
> on, if no critical bugs appear in e2fsprogs or tkman.

Well, as the problem is in loadkeys (we don't use kbdconfig in the
install system) I still think the best solution is changing "gzip -c -d %s"
in loadkeys to "zcat <%s". (Note the "<". "zcat" in the root floppy is a 
filter, it only uncompresses stdin to stdout). The "con" is that it won't
work on systems where zcat is not the gzip one but the older compress
one (not too much of a concern for Linux systems).

> BTW, the next-to-next package will probably a debian package for
> console-tools, my over-patched version of kbd, which features font
> compression, less duplicated code, etc. Maybe it will be a good
> candidate as a replacement for kbd, at least for now in the install
> floppies.

I will try it.
 
	Thanks,
--
Enrique Zanardi						   ezanardi@ull.es
Dpto. Fisica Fundamental y Experimental			Univ. de La Laguna


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-i18n-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: