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

Bug#250789: Please fix this bug!



Recai Oktas написав:
> * Denis Barbier [2004-07-24 22:51:00+0200]
> [...]
> 
>>If termwrap is needed outside of d-i, I suggest to have a minimal
>>termwrap-di to deal with Asian locales, and nothing more.
> 
> 
> Eugeniy has once said that only those languages without a declared 
> debian-installer/consoletype needed termwrap.  I've prepared proof of 
> concept by using the idea.  Attached is the minimal implementation.  It 
> doesn't behave according to the ENCODING, instead it first evaluates the 
> CONSOLETYPE from  debian-installer/consoletype and only then it does 
> something based on the ENCODING.  Following explains this idea:
> 
> 	WRAPPER=""
> 	WRAPPER_OPTION=""
> 
> 	CONSOLETYPE=$(get_db debian-installer/consoletype)
> 	ENCODING=$(locale charmap)
> 
> 	case $CONSOLETYPE in
> 	kbd|cyr)
Should be kbd*|cyr*) here. Consoletype is kbd=font(acm) or
cyr=font,size,encoding,keymap(modifiers).

> 		# Nothing to do.
> 		;;
> 	*)
> 		case $ENCODING in
> 		eucJP|EUC-JP)
> 		[...]
> 
> Please note that this is only a draft, far from complete and untested.  
> Now, could it be a base for further discussions?
> 
> 
> 



Reply to: