[Prev][Next][Index][Thread]

Re: ircII and Hebrew



On Mon, 26 Aug 1996, guy keren wrote:

> On Thu, 22 Aug 1996, David Brauman wrote:

> > > define 'wrong' - there's no standard for hebrew on IRC yet.
> > 
> > mIRC is the de-facto standard. ISO 8859-8 Hebrew. 
 
> the above is not a definition. it's ambigous. you forgot to add 'visual'
> or 'logical'.

It's not a difinition, but sadly it is true.
My goal, very specificly, was to be able to communicate in Hebrew with the
people on the Undernet channel #'ivrit'.
 
> this 'standard' doesn't work on any non-windows/mac system (and please
> stop telling me they are the bulk of the market, we're not promoting
> windows here, i hope).

Well, it works now on my ircII. 
We're most definitly not promoting windows here. 

> but i asked, how do you *type* those hebrew characters without using a
> proper keyboard mapping? using some nifty hebrew-in-windows or
> hebrew-in-xtermh thing? care to tell me your secret?

The same way you type them in bash, English pico or whatever.
HEBREW-HOWTO is quite thorough about this. 
I had to modify the keymap I got with Slackware 2.3 to actually reflect
my keyboard. 

Basically: 

setfont iso08.f16 -m trivial
setmetamode metabit
echo -n -e "\033(K" > /dev/tty<whatever>
loadkeys hebrew-real

Then ctrl-leftshift for permanent Hebrew mode or leftalt+key for a single
Hebrew character. 

> you know, the keyboard won't generate hebrew codes unless you ask the
> program/interface to assume the keyboard is in hebrew mode.

The keyboard won't generate Hebrew codes anyways. The keyboard generates
raw scan codes. :) 
 
> sounds like a slightly wrong algorithm. would it work on the following
> string:    abc<aleph><bet><gimel>123def ??

As I said, if this was recieved raw from the server it will be translated to 
fed321<gimel><bet><aleph>cba

I am aware that mIRC acts slightly different concerning this, reverseing
only Hebrew portions of words as well. 

> what about question marks, etc..?

Reversed words are only words containing <aleph> through <taf>. Question
marks are left untouched, unless they are attached to a Hebrew word and not
left alone as a single word or attached to an non-Hebrew word.

> or you've been az lazy as i was, but won't admit it?

I've been veyr lazy. Afterall, I used ircII scripts for crying out loud.
You should see it, it contains a loop that does like 5 or 6 ONs for 
each Hebrew letter. A VERY bad thing to do, but if I want other scripts 
to have hooks on PUBLIC, MSG etc. I must do it this way. Or maybe there
are priorities. I didn't delve into that really.

> i'm "someone else" then. but perhaps better not post, instead put it on
> some public place? (i bet it grew by a few since your 162 count).

I'll put it on my future homepage (it's about time I guess to have one.)
Also, it did grow since I've added hooks for signoffs, kicks, quits and 
some other minor stuff. It's now 201 lines.
 
Dudu

crisk@netivision.net.il                                       Haifa, ISRAEL

So... so you think you can tell... 
Heaven from Hell, blue skies from pain...
                                                 -- "Wish You Were Here"
					             Pink Floyd



Follow-Ups: References: