Linux and the Euro Currency: Toward a Global Solution
Implementation for the Linux console was quite simple. I asked Ricardas Cepas (firstname.lastname@example.org) which tool he implemented his fonts with. He provided me with a custom version of the chedit font editor for linux-console. I simply took latin1 fonts and replaced the old unused characters by latin9 new characters, for each latin1 font size (from 16x16 to 08x08), but then I was able to display only iso-8859-15 latin9 characters.
Among the recommendations of the European Commission is “AltGr-e should be used to get the euro symbol”. (The Alt key to the right of the keyboard must be remapped to AltGr.) AltGr is used as a modifier like Shift on German keyboards, @ can be obtained with AltGr-q, on French keyboards # is AltGr-3, etc. AltGr is used in the Linux version of many European keyboards to output 8-bit characters, as a remembrance of things past: there was a time when making dead keys work was impossible. On French and Dutch keyboards, (“) and (^) are such dead keys: they act like compose plus this key on the following character. Since many words use (^) or (”) (ètre, aigü...), AltGr-v, where v is the appropriate vowel, and Shift-AltGr vowel were used to get, respectively, vowel-circumflex and vowel-diaeresis. Nowadays, dead keys work with most of the programs except for Netscape or Applixware so these shortcuts are still very much appreciated.
If AltGr-e already outputs è, where could the euro be placed?
This hard problem is yet to be solved by any keyboard maintainer; for the French one I am in charge of, I decided to rearrange the “dollar” ($)/ “British pound” (£)/ “international currency symbol” (¤) keys. Since none of these symbols is an official French money, I changed it to “euro”/“eurocent”/“dollar”/“British pound” respectively normal, Shift, AltGr and AltGr-Shift state. However, French keyboard official standard will use AltGr>-e for euro, so I had to change back this key, remove unavailable international currency symbol and find a new home for “e circumflex”, which was in AltGr-e under Linux. I decided to put dollar/British pound/eurocent/e circumflex on this key, only ¤ and ê had to be moved. This was the best possible solution I could imagine, but I am still looking for another solution to ease euro accessibility and keep 8-bit characters shortcuts.
I also added the other latin9 characters, in AltGr-Shift state for the unused ones which can also be obtained by ^-sSzZ or “-Y, and in unshifted plus shifted state for the very common
On the screenshot, you can see a representation of the French keyboard with all shortcuts shown: “MAJ” means “Caps Lock”, “Ferme” means “Close”, “Arrèt défil” means “Scroll Lock” and “Con” keys are the extended PC 105 keys (also called “Windows key”) mapped to previous console, next console and last console. This ASCII art is included in fr-latin9.map key map to remind users where all the Linux-specific shortcuts are.
Now, with a font and a key table, it was getting more interesting. I started a beta-release program to get feedback, which was mostly positive. The only drawback was ê; some people wanted it to stay where it was so I showed them how to edit the key table to do this.
X fonts are not covered by GPL, while the rest of the package was going to be released under GPL. Since I could not find any iso-8859-1 latin1 X font with a GPL, I had to use an XFree copyrighted basis. With Mark Leisher's xmbdfed (email@example.com), I could very easily change some fonts. X window fonts are not scalable; you have to choose Adobe or True-Type fonts (with xfdtt for the latter). Also, I didn't feel like editing all the fonts included with X. No real solution exists at present, except switching XFree to True-Type fonts, which would be a good idea since True-Type fonts are scalable, of good quality, many are released under GPL, BSD or public domain licenses and they already support the whole range of latin1 plus latin9 thanks to the cp1252 proprietary format.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Profiles and RC Files
- Astronomy for KDE
- Maru OS Brings Debian to Your Phone
- Understanding Ceph and Its Place in the Market
- Snappy Moves to New Platforms
- Git 2.9 Released
- What's Our Next Fight?
- OpenSwitch Finds a New Home
- The Giant Zero, Part 0.x
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide