Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dziwny problem z consolefont
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
taopai
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 287
Location: Warsaw, Poland

PostPosted: Tue Jan 23, 2007 8:55 pm    Post subject: dziwny problem z consolefont Reply with quote

Jakiś czas temu zauważyłem podczas bootowania systemu, że przy "Setting terminal encoding..." lub "Setting user font" znikają mi znaki z polskich komunikatów systemowych. Nazwy plików, katalogów i komunikaty w programach są ładnie polskie.

Problem znika przy:
Code:
rc-update del consolefont

ale to prowadzi do utraty pliterek w nazwach plików i katalogów oraz w programach...

Wiem, że to niby nic te kilka znaków, ale świadomość czegoś takiego nie pozwala mi spać spokojnie :)

Pozdrawiam,
Tao
Back to top
View user's profile Send private message
koziolek
n00b
n00b


Joined: 28 Jan 2007
Posts: 25
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 9:23 am    Post subject: Reply with quote

A jaką masz czcionkę w /etc/conf.d/consolefont? Jakie wartości dla LC_ALL i LANG?
Back to top
View user's profile Send private message
taopai
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 287
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 11:06 am    Post subject: Reply with quote

koziolek wrote:
A jaką masz czcionkę w /etc/conf.d/consolefont? Jakie wartości dla LC_ALL i LANG?

wszystko według tutoriali:
Code:
tux michal # cat /etc/conf.d/consolefont
# /etc/conf.d/consolefont
CONSOLEFONT="lat2a-16"
CONSOLETRANSLATION="8859-2_to_uni"

Code:
tux michal # cat /etc/env.d/02locale
LC_ALL="pl_PL"
LANG="pl_PL"


Pozdrawiam,
Tao
Back to top
View user's profile Send private message
koziolek
n00b
n00b


Joined: 28 Jan 2007
Posts: 25
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 11:11 am    Post subject: Reply with quote

Przyznam, że dziwne troszkę masz te ustawienia - widać nie trafiłem na te manuale, co Ty :). Rozumiem, że UTF-8, choć w LC_ALL ani LANG tego nie podałeś :/. Mogę doradzić:
Code:
CONSOLEFONT="lat2-16"
#CONSOLETRANSLATION="8859-1_to_uni"  # zakomentowane
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"

I cała konsola chodzi pięknie z UTF-8 - używam na kilku maszynkach (poza man). Spróbuj - może pomoże (jeśli byś planował je zostawić, to pamiętaj o odpowiednim wpisie w /etc/locale.gen)
Back to top
View user's profile Send private message
taopai
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 287
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 2:31 pm    Post subject: Reply with quote

koziolek wrote:
Przyznam, że dziwne troszkę masz te ustawienia - widać nie trafiłem na te manuale, co Ty :). Rozumiem, że UTF-8, choć w LC_ALL ani LANG tego nie podałeś :/. Mogę doradzić:
Code:
CONSOLEFONT="lat2-16"
#CONSOLETRANSLATION="8859-1_to_uni"  # zakomentowane
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"

I cała konsola chodzi pięknie z UTF-8 - używam na kilku maszynkach (poza man). Spróbuj - może pomoże (jeśli byś planował je zostawić, to pamiętaj o odpowiednim wpisie w /etc/locale.gen)

Tyle że ja nie korzystam z utf. Zmianę na lat2-16 też testowałem i komentowanie consoletranslation też. Podejrzewam, że bardziej ma to coś wspólnego ze spolszczeniem tych programów, a jednak mniej z /etc/conf.d/consoletranslation, zważywszy na to, że wszystko inne ładnie bangla.

Pozdrawiam,
Tao
Back to top
View user's profile Send private message
koziolek
n00b
n00b


Joined: 28 Jan 2007
Posts: 25
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 3:45 pm    Post subject: Reply with quote

Skoro nie UTF to co? Wybacz, ale tego nie napisałeś, a informacja w sumie podstawowa...

Jak na kodowanie ISO-8859-2 w terminalu też są to bardzo nietypowe ustawienia...
Back to top
View user's profile Send private message
taopai
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 287
Location: Warsaw, Poland

PostPosted: Sun Jan 28, 2007 6:28 pm    Post subject: Reply with quote

koziolek wrote:
Jak na kodowanie ISO-8859-2 w terminalu też są to bardzo nietypowe ustawienia...

Szczerze mówiąc nie znam systemu w takim stopniu w jakim mi się wydaje że ty go znasz :) ale korzystałem z polskiego localization guide http://www.gentoo.org/doc/pl/guide-localization.xml, więc wszystko powinno być ok. Ale z chęcią dowiem się jakie powinny być typowe ustawienia dla iso-8859-2.

Aha. Pisząc o komunikatach systemowych, miałem na myśli tylko te komunikaty, które pojawiają się podczas startowania systemu. Wszystkie inne wyświetlają się prawidłowo.

Pozdrawiam,
Tao
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum