Problem
I have configured my system to enter and display the Euro symbol using the instructions at:
http://osr600doc.xinuos.com/en/SM_local/locT.euro_intlset.htmland I can now enter and display the Euro font on the console but I cannot enter or display the Euro symbol in my X clients.
Cause
There are two separate problems here:1) The X Server keyboard mapping does not recognise AltGr-4 as the key sequence for the Euro Symbol
2) By default X clients are not configured to use a font that supports the Euro symbol
Solution
To solve the display problem you will need to tell the X client you are running to use a fontset that contains the Euro font.
For test purposes, go to a console tty screen, login and create a file called /tmp/Euro using vi(C). Use AltGr-4 to add the Euro symbol to this file.
NOTE: If, when you enter the Euro symbol it is displayed in vi(C) as/244this means that your locale/language is not set correctly. Use the International Settings Manager to set the language or set the LANG environment variable if you want the Euro symbol to appear correctly. e.g. for the UK do the following from the shell:
LANG=english_uk.8859
EXPORT LANGFor a list of fontsets capable of displaying the Euro symbol, from and xterm or scoterm run the command:
# xlsfonts -fn *-15 | moreNOTE: X clients like xlsfonts(1) are found in /usr/bin/X11. Your path
should include this location by default if you have logged into
the X Server.Choose a font from the resulting list that you would like to use with your X client. Say your X client is an xterm, to test your font run the command:
# xterm -fn <font_name>where font name is one of the fonts returned by xlsfonts(1). For example:
# xterm -fn -adobe-courier-bold-o-normal--14-100-100-100-m-90-iso8859-15Verify that you can display the Euro symbol by running the command:
cat /tmp/Eurofrom the newly created xterm.Once you have found a font that you are happy with you can set that font to be the default font used by your X client by setting the font as default in:
/usr/lib/X11/app-defaults/<X_Client_name>where <X_Client_name> is the name of the X Client that you are using. For example in the case of xterm(1) the file will be:
/usr/lib/X11/app-defaults/XTermThe keyboard mapping problem is a bug in the X Server that has been reported to engineering.
There are a number of workarounds to this problem including:
1) Use the key sequence Alt-Shift-4 (i.e. press and hold the Alt key, Shift key and 4 key to enter the symbol
2) If you are using a terminal emulator, run the commmand:
mapchan -f /usr/lib/mapchan/deadcompand you can then use:Ctrl_ee or Ctrl_e=to generate the Euro symbol.NOTE: This key sequence requires that you press Ctrl and
underscore together and then enter ee or e=.3) Run the command:xmodmap -e 'keycode 13 = 4 dollar currency currency currency currency'
NOTES: ScoTerm fonts are controlled by the file:/usr/lib/X11/app-defaults/ScoTermEditing this file and changing the fonts that are used may affect the behaviour of other applications you run in a scoterm.
If you running your X Clients (e.g. xterm) on a 3rd Party X Server then the server will need to support ISO8859-15 fonts in order to display the Euro symbol.
If you are attempting to enter or display the Euro symbol in a Windows Terminal Emulation window then you will need to configure:
- the keyboard mapping in the Terminal Emulator to allow the entry of the Euro symbol - the font in the Terminal Emulator to allow for the display of the font.
If when cat /tmp/Euro in a Terminal Emulator and see an n tilde then you are using an incompatible font set. Please contact the vendor of the Terminal Emulator to determine if their product supports entry and display of the Euro symbol.