Re: [unattended-devel] customizing bootini.pl for your country

2004-03-23 Thread Gerhard Heift
Patrick J. LoPresti wrote:

my %regexp_map =
('enu' = qr{Previous Operating System on}
 'fra' = qr{Systme d\'exploitation prcdent sur}
 );
here is the german on added:

my %regexp_map = (
'enu' = qr{Previous Operating System on},
'fra' = qr{Syst\x8Ame d\'exploitation pr\x82c\x82dent sur},
'nld' = qr{Vorig besturingssysteem op},
'deu' = qr{Vorheriges Betriebssystem auf}
);


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


[unattended-devel] customizing bootini.pl for your country

2004-03-22 Thread Sylvain Faivre
Hello,
I just commited a CVS patch for the bin/boot.pl file, in order to make it work with 
the French version of Windows too.
People using other languages of Windows might want to customize it for their language. 
It is quite easy : you just have to modifiy the regexp in this line :
my @lines = grep { $_ !~ /Previous Operating System on|Systme d'exploitation 
pr'c'dent sur/ } BOOTINI;
and add your language like this :
my @lines = grep { $_ !~ /Previous Operating System on|Systme d'exploitation 
pr'c'dent sur|Whatever it says in your language/ } BOOTINI;
This will get rid of the boot menu.

Sylvain.


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel


RE : [unattended-devel] customizing bootini.pl for your country

2004-03-22 Thread Sylvain Faivre
Hi,
It is cleaner indeed, thanks.
However I think you didn't get the French characters right, and if it is the case I 
might submit a patch again tomorrow.
BTW the boot.ini uses a DOS charset, I can view it correctly with the view  OEM 
character set option in UltraEdit... Don't ask me what it means... But I think you 
can view it correctly only with a French version of Windows, and the font files are 
different.

Sylvain.


 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] De la 
 part de Patrick J. LoPresti
 Envoy : lundi 22 mars 2004 18:03
  : Sylvain Faivre
 Cc : [EMAIL PROTECTED]
 Objet : Re: [unattended-devel] customizing bootini.pl for your country
 
 
 Sylvain Faivre [EMAIL PROTECTED] writes:
 
  I just commited a CVS patch for the bin/boot.pl file, in order to
  make it work with the French version of Windows too.
 
 I have checked in a slightly cleaner (IMO) implementation.
 
 Just edit this hash at the top to add your translations:
 
 my %regexp_map =
 ('enu' = qr{Previous Operating System on}
  'fra' = qr{Systme d\'exploitation prcdent sur}
  );
 
 UTF-8 encoding (?), I think.
 
  - Pat
 
 
 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id70alloc_id638op=ick
 ___
 unattended-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/unattended-devel
 
NHS^X'uS+l.)y
zThm'^t!:(!h'-+axwZj[-vhkjmv,vw(xFw~\'$vy^fj)b
 
bj^uX(~zwilqzlX)j^u

Re: RE : [unattended-devel] customizing bootini.pl for your country

2004-03-22 Thread Patrick J. LoPresti
Sylvain Faivre [EMAIL PROTECTED] writes:

 However I think you didn't get the French characters right, and if
 it is the case I might submit a patch again tomorrow.

That is possible.  I tried to cut and paste, but Emacs needed me to
pick an encoding...  I picked UTF-8 which is probably wrong.

 BTW the boot.ini uses a DOS charset, I can view it correctly with
 the view  OEM character set option in UltraEdit... Don't ask me
 what it means... But I think you can view it correctly only with a
 French version of Windows, and the font files are different.

I think I would prefer to use bytes; and use \xNN escapes to encode
the string in ASCII.  Anything else (except maybe UTF-8) gets too
confusing when combining multiple languages in a single file.

 - Pat


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
unattended-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-devel