Δευτέρα 24 Σεπτεμβρίου 2012

Unix Solaris 10 greek alphabet support

Three weeks ago, I realised that my unix Solaris 10u8 system has a font representing problem with the letters of Greek alphabet. I couldn't read any of my text files, containing greek filename or inner greek text, and all these files were recently backed up in unix system. Consequently, that situation would be very uncomfortable in case that I would need to proceed on partial recovering of some files by using filename.

To encounter this problem we should install greek font support on the Solaris 10 unix system. Everything we need is on installation cdrom of Solaris 10.

There is an administration utility -called localeadm- that helps to install the required fonts.

Steps.
  1. The required fonts are in the Solaris 10 cdrom. Supposing that the mounting directory is on /cdrom/cdrom0, we list the available language font systems by entering "localeadm -ls -d /cdrom/cdrom0" We notice that the representing description name for the Greek font system is el_gr.
  2. To install the font system we enter "localeadm -a el_gr -d /cdrom/cdrom0"
Additional localeadm commands:

  1. localeadm -q el_gr : This example queries whether the Greek font system called "el_gr" is installed on the current machine
  2. localeadm -r el_gr  : This example removes the Greek font system from the current machine