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

Re: ircII and Hebrew



On Thu, 22 Aug 1996, guy keren wrote:

> On Tue, 20 Aug 1996, David Brauman wrote:
> 
> > ircII simply doesn't work that well with hebrew.
> > 
> > Even after "/set EIGHT_BIT_CHARACTERS ON" and "/set TRANSLATION LATIN_1"
> > it ofcourse types backwards and, you guessed it, displays other people's 
> > hebrew wrong (backwards. Windows stuff.)
 
> define 'wrong' - there's no standard for hebrew on IRC yet.

mIRC is the de-facto standard. ISO 8859-8 Hebrew. 

> > Before I go on and write a script to fix this, or even modify the client,
> > is there any ready-made solution? 
> 
> 1. how exactly do you type in hebrew letters? as far as i know, this
>    requires a change in the translation tables of ircII so it'll send
>    hebrew chars whenever you type out in hebrew mode.

Nope.
You can "/set TRANSLATION LATIN_1" which is, if you'll look at the 
client code, not a file but a simple raw translation table == no 
translation. Then you can use your Hebrew.
However, you -also- need to "/set EIGHT_BIT_CHARACTERS ON" so the input
line will display what you type. 

>    changed the license - in 2.2.9 it was NOT a GNU license...). it
>    includes modified translation tables, a few commands in hebrew (and
>    on-line help in hebrew for them), typing english words in the correct
>    direction during a hebrew sentence typing (but NOT in a general
>    mechanism), and 'proper' displaying of hebrew text sent via hebrew irc
>    clients (proper - just reversing the whole line, not a true logical to
>    visual translation), and possibly few other things.

Well yesterday I've done just that, but as an ircII script. No hebrew
commands or help though - everything is screened smoothly.
It handles public text, private messages, notices, dcc chats and topic
changes. I couldn't think of where else I would find Hebrew.
(I left channel names reversed for other scripts' sake. It isn't very
 important either. Besides #'ivrit', and sometimes #'sihot', I don't know
 of any Hebrew channels.)
Basically it has one function that takes a line and reverses the word order,
then reverses every word that contains a Hebrew letter. (English, numbers,
etc. are kept staight mIRC-like.)
The rest is an interface to this function and to some LiCe internals 
(since I use it. :) 
You don't need LiCe to run it, but the design is LiCe-like.

If someone else requests it, I'll post it here. (Ira already did.) 
Currently it is 162 lines.

>    if anyone wants to see BAD coding style - go ahead and look at those
>    hacks (actually, look at the complete ircII codying style - it commites

Yeah. The irc server code is horrible. The client is not much better. 

> 3. snunit's system change was (as far as i know from itzik) a soruce-code
>    change as well. also, they have more then one hebrew mode in their
>    change, that affects the alignment of the text. itzik said something to
>    the effect that 'he solved the implicit / explicit translation
>    problem', thought i don't know if he solved it the true way, or using
>    the fake lazy method choo used.

Snunit uses IRC Dough - a VMS client. 
I do know they have more than one mode, althought most Snunit folks when
talking between themselves use the "straight" mode (not mIRC-readable).
I wanted to take a shot at ircII scripts before rushing to modify a client.
My client is modified enough already. (Home made stuff, nothing fancy)
Oh, and ircII is copyrighted. However, one is allowed to make modifications
for local use.
 
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: