problima me anagnosi ellinikon se konsola (delta)

Giorgos Keramidas keramida at ceid.upatras.gr
Wed May 21 04:04:20 EEST 2003


Hi all,

Den eimai melos ths listas, opote an apanthsei kapoios parakalo kante
Cc: kai se mena to mail, allios den tha dw thn apanthsh.  Diabaza ta
archives tis listas omws kai eida to parakato, pou ksero tin apanthsh
opote...

Oikonomakis Giannis wrote:
>
> Exo ena problima me ta ellinika se konsola. xrisimopoio redhat 8 kai
> prepei episis na po oti sto grafiko ta elinika douleuoun kanonika,
> grafo kai blepo. sthn konsola otan xrisimopoio 737 den blepo to 
> (delta). to xriazomai gia mia efarmogi cobol pou xrisimopoio. dokimasa
> gramatosira 928 alla eno mou bgazei to delta den mou bgazei ta sximata
> ton pinakon.

Gnosto problhma.  To eixa antimetopisei ki ego palia otan eftiaksa to
keyboard map gia DOS/737 codepage support sto greek-console.  H lush pou
eixa xrhsimopoihsei tote topika paizei alla einai "ugly hack".

O keyboard driver tou Linux gia tin konsola xrhsimopoiei ton ASCII
xarakthra 27 kai ton 128+27 = 155 san ESCAPE xarakthres.  O protos einai
ok, einai to gnosto se olous mas plhktro ESC alla o deuteros einai mia
atuxhs epilogh pou apo ta sxolia tou phruna den ebgala akrh otan
eftiaksa to 1997 to keyboard map pou eixe to greek-console gia ellinika
me to codepage 737.  Einai atuxhs epilogh giati sto codepage 737 to 155
einai o ASCII kwdikos pou exei to mikro elliniko delta.

Prepei na kaneis me to xeri edit ena arxeio tou kernel source sou kai na
bgaleis tis grammes pou ulopoioun tin 'periergh' sumperifora tou 'mikrou
delta'.  Gia na se dieukolunw kai na glitoseis to psaksimo, sose to
keimeno autou tou mail se ena arxeio me onoma "/tmp/grdelta.diff" kai
meta kane san root ta ejhs:

	# cd /usr/src/linux
	# patch -p0 < /tmp/grdelta.diff

Kane ksana compile kai install ton phryna sou kai to mikro delta tha
paizei pleon mia xara se codepage 737.  To parakato patch paizei mia
xara se phruna 2.4.20, alla an den paiksei sthn dikh sou ekdosh steile
mou thn akribh eksodo twn parapanw entolwn (copy/paste it all)...

						- Giorgos

========================================================================
--- drivers/char/console.c.orig	Wed May 21 03:55:31 2003
+++ drivers/char/console.c	Wed May 21 03:54:58 2003
@@ -1499,9 +1499,6 @@
 	case 127:
 		del(currcons);
 		return;
-	case 128+27:
-		vc_state = ESsquare;
-		return;
 	}
 	switch(vc_state) {
 	case ESesc:
========================================================================




More information about the Migrate2linux mailing list