Installation and Browser Configuration for Multiple Platforms
To correctly display Greek web pages on your screen, your system must support the Greek character set according to the ISO 8859-7 standard (also known as ELOT 928). If your system does not have this support, you will need to install a suitable Greek font. You will also need to configure your web browser (such as Netscape or Mosaic) appropriately.
The following sections provide the necessary software and instructions for accomplishing this on various platforms. Please note that these solutions enable you to view and print Greek text, though they may not allow you to type in Greek on all systems.
Several character encodings exist for Greek text:
To add Greek fonts to your Windows 3.1x system, follow these steps:
\WINDOWS\SYSTEM directory. This is a self-extracting LHA archive containing Greek TrueType fonts.There are two options available for Macintosh users:
Download the file patcher.sit and unpack it using StuffIt. Apply the patch to Netscape 1.1N. This allows you to use your own high-quality Greek (non-standard) Mac fonts, which currently yield the best results. (Contributed by tsaoutos@hyper.gr)
For an ELOT-928 compliant Mac font, download hellastimes.sit.hqx (70 KB). After decompressing its contents, drop the font files into your System Folder. Then select "HellasTimes" as your font in Netscape and choose "MacRoman" encoding (via Options > Preferences). (Contributed by topalis@euclid.iacm.forth.gr)
A comprehensive package (218 KB) is available containing:
The same fonts can be used to read and send email written in Greek.
Note: These solutions require a VGA graphics adapter. Hercules and similar adapters are not supported.
Download the file abcgrl.com (16 KB) and run it from DOS. This utility provides support for ISO 8859-7 (ELOT 928) as well as older, obsolete character sets. Use the following keyboard shortcuts to switch between character sets:
(Contributed by lialiamb@hyper.gr)
A more conventional approach uses the standard DOS programs for handling different codepages. Download dosgreek.zip (12 KB), a ZIP archive containing GAUSS.CPI and GRKEYB.COM. (Contributed by mchris@hyper.gr)
To install the Greek font GAUSS.CPI under DOS 6.xx or DOS 7.0/Windows 95:
Add the following lines to your CONFIG.SYS file:
For DOS 7.0 / Windows 95:
DEVICE=C:\WIN95\COMMAND\DISPLAY.SYS CON=(EGA,,1) COUNTRY=030,737,C:\WIN95\COMMAND\COUNTRY.SYS
For DOS 6.22 or earlier:
DEVICE=C:\DOS\DISPLAY.SYS CON=(EGA,,1) COUNTRY=030,737,C:\DOS\COUNTRY.SYS
The country code 004 is for Canada. For other countries, see the Appendix.
Add the following lines to your AUTOEXEC.BAT file:
For DOS 7.0 / Windows 95:
C:\WIN95\COMMAND\MODE CON CODEPAGE PREPARE=((737) C:\path\GAUSS.CPI) C:\WIN95\COMMAND\MODE CON CODEPAGE SELECT=737
For DOS 6.22 or earlier:
C:\DOS\MODE CON CODEPAGE PREPARE=((737) C:\path\GAUSS.CPI) C:\DOS\MODE CON CODEPAGE SELECT=737
Replace path with the directory where you placed the GAUSS.CPI file.
Reboot your computer for the changes to take effect.
To add the Greek DOS keyboard driver, add the following line to your CONFIG.SYS file:
INSTALL=C:\path\GRKEYB.COM
Replace path with the directory where you placed the GRKEYB.COM file.
To switch between the Greek and US keyboard layouts, press Ctrl+Alt+Space.
Several institutions provide Greek fonts for the X Window System:
In order to use Greek fonts, you must configure the Xsession file (either the system's /usr/lib/X11/xdm/Xsession or your personal .xsession file). First, the Greek fonts must be loaded into the server, and then the server must be notified about the XTerm Greek resources.
Fonts in X11 are typically located in /usr/lib/X11/fonts/ or /usr/X11R6/lib/X11/fonts/. You can install Greek fonts anywhere, but a common location is /usr/lib/X11/fonts/greek/.
Fonts come in different formats:
Use the appropriate converter to convert BDF fonts to the format required by your system.
When a client requests a specified font, the server searches in each directory in its font path for a file called fonts.dir. After placing your font files in the directory, run:
mkfontdir /usr/lib/X11/fonts/greek
For SGI machines, add the following lines to /usr/lib/X11/xdm/Xsession (or /usr/lib/X11/xdm/Xsession.dt if your version is 5.2 or newer and you have not disabled the desktop), just before the final line:
# Load the Greek fonts to the server xset +fp "/usr/lib/X11/fonts/greek" xset fp rehash # Load the Greek translation table to the server xrdb -merge /usr/lib/X11/app-defaults/gterm_keymap exec /usr/bin/X11/reaper
Restart the window manager, run xterm, and check if the fonts are correctly installed with:
xlsfonts | grep gr
or
xlsfonts | grep gb
You should see the names of the fonts you have just installed in the output.
To use Greek fonts with vi, run xterm with a Greek font:
xterm -fn <greek-font-name>
Then run vi. Press the appropriate key (typically defined in the keyboard mapping) to switch between Greek and English input.
Note: The version of vi in Irix 5.2 has some problems with Greek fonts that do not appear in Irix 4.x versions. An excellent vi for Greek fonts called "vigr" is available from ftp.csi.forth.gr, though it is distributed only as an executable for Sun systems.
Many useful programs for working with Greek fonts may be found at the dolphin.doc.ic.ac.uk FTP site (Maintainer: A. Haritsis, ah@doc.ic.ac.uk):
Based on documentation from the Democritus University of Thrace and other sources
To configure Mosaic for Greek fonts, you need to modify the X resources file. Edit /usr/lib/X11/app-defaults/Mosaic (or create a .Mosaic file in your home directory) and add the following lines:
Mosaic*TitleFont: -greek-gallant-bold-r-normal--19-100-75-75-p-57-iso8859-7 Mosaic*Font: -greek-screen-bold-r-normal--14-100-75-75-p-57-iso8859-7 Mosaic*ItalicFont: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*BoldFont: -greekb-screen-bold-r-normal--14-100-75-75-p-57-iso8859-7 Mosaic*FixedFont: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*Header1Font: -greek-gallant-bold-r-normal--19-100-75-75-p-57-iso8859-7 Mosaic*Header2Font: -greek-screen-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*Header3Font: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*Header4Font: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*Header5Font: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*Header6Font: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*AddressFont: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*PlainFont: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7 Mosaic*ListingFont: -greek-courier-bold-r-normal--16-100-75-75-p-57-iso8859-7
Note: These font specifications work because of the fonts.alias file configuration. You may substitute any Greek fonts you prefer in the above definitions.
A Netscape.ad.gz file is provided for configuring Greek fonts in Netscape. This file requires the fonts from the National Technical University of Athens (NTUA).
Alternatively, you can start Netscape with an explicit character set mapping:
netscape -xrm "*documentFonts.charset*iso8859-7: iso-8859-1"
After installing the Greek fonts:
For optimal Greek text display in any browser:
The Greek characters in ELOT 928 fonts are mapped to the upper 128 ASCII positions (characters 128-255). The lower 128 characters remain standard Latin characters. This means you can use these fonts on an English system without noticing any difference until Greek text appears.
Note: Other European languages that use special accent characters (such as German umlauts) will not display correctly with Greek fonts, as these accents occupy the same positions as Greek characters.
The following country codes are used in the CONFIG.SYS COUNTRY command:
| Country | Code | Supported Codepages |
|---|---|---|
| United States | 001 | 437, 850, 858 |
| Canada (French) | 002 | 863, 850, 858 |
| Canada (English) | 004 | 850, 863 |
| Greece | 030 | 869, 737, 850, 858 |
| Netherlands | 031 | 858, 850, 437 |
| Belgium | 032 | 858, 850, 437 |
| France | 033 | 858, 850, 437 |
| United Kingdom | 044 | 858, 850, 437 |
| Germany | 049 | 858, 850, 437 |
| Australia | 061 | 437, 850, 858 |
| Codepage | Name | Description |
|---|---|---|
| 737 | Greek II | DOS Greek codepage, commonly used in DOS applications |
| 869 | Greek | Alternative DOS Greek codepage |
| ISO 8859-7 | ELOT 928 | International standard for Greek, used on Unix and the Internet |
| CP1253 | Windows Greek | Windows Greek codepage, similar to ISO 8859-7 |
| ELOT 823 | Macintosh Greek | Native Macintosh Greek encoding |
MS-DOS 6.22 includes three codepage information (.CPI) files:
EGA.CPI contains:
EGA2.CPI contains:
EGA3.CPI contains: