[ILUG] De Euro

Declan Moriarty declan.moriarty at ntlworld.ie
Thu Jan 3 18:16:32 GMT 2002


Was it John P. Looney who wrote on Thursday 03 January 2002 11:01:
> On Thu, Jan 03, 2002 at 10:54:29AM +0000, Declan Moriarty mentioned:
> > How many of you can write a 'euro' in X? I havew it in a console, but X
> > is proving awkward. Where do you get it??
>
>  That's a mad big sig there declan...

I'm an Electronic Hardware head, also available as tech.genius at ntlworld.ie, 
so you can guess the sales line  - "The Electronic Genius". Mind you, the 
'genius' bit is  a positive embarassment in the linux fraternity, but folks 
are too kind to slag me off that often.
>
>  Anyway. You need to use an iso-8859-15 font, in your application. It's
> the one with euro support.

Yeah, I read that much and got that far.
>
>  Next, you have to set it up...something like;
>
> xmodmap -e 'keycode 26 = e E currency'
> xmodmap -e 'keycode 54 = c C cent'

This gives me '?' (I see O with a circumflex) on Alt-Gr_e, and '¢'  (A 
circumflex) on Alt-Gr_c. That's under kmail. In a terminal,  In a terminal,  
I get the cent sign, but the euro comes out like an 'o' with the 4 ends of an 
'x' but not the middle.  If I write a euro in console mode, and hexedit the 
file, it comes out as 0xA4, not 0x26 :-/. Yet, open it with vi and I'll see a 
capital sized euro sign.

The fonts are from jim knoble
http://www.ntrnet.net/~jknoble/fonts Built from source. They give neep, (aka 
Nouveau Gothic) neep alt, and modd in a variety of sizes.
>
>  should set it up so that pressing Alt-GR and E will give euro, and Alt-GR
> and C will give a cent symbol...you should be able to run these from the
> ~/.xsession script, which is run when you log in.

This thing doesn't use ./xsession, AFAIK, but xtart from Mandrake which gives 
a menu of window managers. Don't worry though - I'll find somewhere to put it 
if it does any good :-/.

Do I have to tell it anywhere what the euro sign actually looks like? How 
does it know what to print?

-- 
	Regards,


	Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

	A Slightly Serious(TM) Company

Experience is like a comb, 
that Life gives you - AFTER all your hair has fallen out!




More information about the ILUG mailing list