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

Re: acon (was Re: KDE 2 with Hebrew support)



On Tue, 12 Sep 2000, Matan Ziv-Av wrote:

> 
> On Sun, 10 Sep 2000, Tzafrir Cohen wrote:
> 
> > - acon - support for a bidi console. Basically you should use the package
> > from Mandrake, version >= 1.0.4 .
> > See a post by me to ivrix-discuss for more information
> 
> I use the version you listed (acon-1.0.4-2mdk), and it almost works: I
> can choose in the menu (ctrl-alt-o) hebrew translation and font, and it
> works as expected, but trying to set those in a config file, or command
> line does not seem to work. What exactly does your config file (or
> command line) look like?

I use an earlier version on my system. It seems to use the LANG_NAME
variable to set the language (alternatively - the command-line
parameters).
Anyway - the init.d script sets LANG_NAME according to LANG et al. :
(a partial quote)
---
[ -z "$LANG" -a -n "$LC_ALL" ] && LANG=$LC_ALL
[ -z "$LANG" -a -n "$LC_CTYPE" ] && LANG=$LC_CTYPE
[ -z "$LANG" -a -n "$LANGUAGE" ] && LANG=$LANGUAGE

case "$LANG" in
        ar*) LANG_NAME="Arabic";;
        fa*) LANG_NAME="Farsi";;
        he*) LANG_NAME="Hebrew";;
        yi*) LANG_NAME="Yiddish";;
        *) LANG_NAME="Arabic";;
esac

case "$1" in
        start)
                echo -n "Loading $LANG_NAME console support: "
                /usr/bin/acon -hc -s 1 2 3 4 5 6 &
                ps auwx |grep /usr/bin/acon | grep -v grep >& /dev/null \
                        && success || failure
                ;;
---

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il