Dialog and console fonts problems

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Dialog and console fonts problems

Postby jm-mga » May 30th, '12, 21:19

Hi,

I use Mandriva 2010.2 in my servers, now i want to switch to Mageia 2, but i need some help.

Let me exemplify!
The server boots in text mode, i do not use a DE, WM, etc.
I have a user called user1 with autologin and it run a script after login, see below.
/etc/passwd
Code: Select all
...
user1:x:501:500::/home/user1:/usr/bin/my-scrip.sh

The script use the 'dialog' to make the menu, some of the options in the menu: run my application, reboot, shutdown, etc.

1) The dialog screen do not draw properly, see the image...
Image Image

What i did..
Change back /etc/passwd to default and after autologin i manually run the script and the dialog screen works.

The workaroud
Leave /etc/passwd default and put at the end of /home/user1/.bash_profile the lines:
Code: Select all
my-scrip.sh
exit 0

With this the dialog screen problem do not occurs.
How can i make it works with user1:x:501:500::/home/user1:/usr/bin/my-scrip.sh ?


2) The application screen do not draw properly too. See.
Image Image

How can i configure console fontes, chamap, etc? Do i need to use vconsole to set this? How it works?

P.S. Its a xHarbour application.
User avatar
jm-mga
 
Posts: 4
Joined: May 25th, '12, 17:37

Re: Dialog and console fonts problems

Postby doktor5000 » May 30th, '12, 22:37

I think i remember something similar, this is actually an ncurses problem with charmap: https://bugs.mageia.org/show_bug.cgi?id=4894
There's also sort of a workaround, but it doesn't seem to work in all cases ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dialog and console fonts problems

Postby jm-mga » Jun 4th, '12, 12:13

Thank you for the help.

I'll try to do something, no fix yet.
User avatar
jm-mga
 
Posts: 4
Joined: May 25th, '12, 17:37


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron