[gentoo-user] how to japanese intput

2005-05-07 Thread askar ...
Hello!

I'm using Gentoo 2005.0, KDE and Fluxbox.
I want to be able writing in japanese.
Is there step-by-step setup guide for this.
I looked at internet there some information, but each site has its own
differences.
I dont want to japanise everything - only japanese input needed.
Also with Emacs.

askar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Jason Stubbs
On Saturday 07 May 2005 16:44, askar ... wrote:
 Hello!

 I'm using Gentoo 2005.0, KDE and Fluxbox.
 I want to be able writing in japanese.
 Is there step-by-step setup guide for this.
 I looked at internet there some information, but each site has its own
 differences.
 I dont want to japanise everything - only japanese input needed.
 Also with Emacs.

For KDE, skim is the easiest. Just install it as well as whatever input 
methods you require and run it. No messing with locale settings or anything. 
I'm currently using it with canna and skk.

I'm not an emacs user so not sure about that one. I know that ddskk is easy to 
install and comes with a tutorial if you like SKK, although the tutorial is 
in Japanese. The other emacs package for Japanese is tamago, which has the 
description Emacs Backend for Sj3 Ver.2, FreeWnn, Wnn6 and Canna.

Regards,
Jason Stubbs


pgpE8fch2hfKg.pgp
Description: PGP signature


Re: [gentoo-user] how to japanese intput

2005-05-07 Thread James Rubingh
http://www.cs.ubc.ca/~kdeeter/gentoo-jap-guide/
This is old, but for the most part works. I use canna and kinput2 and
it works fairly well for most regular things with fluxbox.

Cheers,
 James Rubingh


On 5/7/05, askar ... [EMAIL PROTECTED] wrote:
 Hello!
 
 I'm using Gentoo 2005.0, KDE and Fluxbox.
 I want to be able writing in japanese.
 Is there step-by-step setup guide for this.
 I looked at internet there some information, but each site has its own
 differences.
 I dont want to japanise everything - only japanese input needed.
 Also with Emacs.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread askar ...
Thanks to everybody.
I'll try.

askar


On 5/7/05, James Rubingh [EMAIL PROTECTED] wrote:
 http://www.cs.ubc.ca/~kdeeter/gentoo-jap-guide/
 This is old, but for the most part works. I use canna and kinput2 and
 it works fairly well for most regular things with fluxbox.
 
 Cheers,
  James Rubingh
 
 
 On 5/7/05, askar ... [EMAIL PROTECTED] wrote:
  Hello!
 
  I'm using Gentoo 2005.0, KDE and Fluxbox.
  I want to be able writing in japanese.
  Is there step-by-step setup guide for this.
  I looked at internet there some information, but each site has its own
  differences.
  I dont want to japanise everything - only japanese input needed.
  Also with Emacs.
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Nicolas Litchinko
On 14:48 Sat 07 May , askar ... wrote:
 Thanks to everybody.
 I'll try.
 
 askar
 
 
 On 5/7/05, James Rubingh [EMAIL PROTECTED] wrote:
  http://www.cs.ubc.ca/~kdeeter/gentoo-jap-guide/
  This is old, but for the most part works. I use canna and kinput2 and
  it works fairly well for most regular things with fluxbox.
  
  Cheers,
   James Rubingh
  
  
  On 5/7/05, askar ... [EMAIL PROTECTED] wrote:
   Hello!
  
   I'm using Gentoo 2005.0, KDE and Fluxbox.
   I want to be able writing in japanese.
   Is there step-by-step setup guide for this.
   I looked at internet there some information, but each site has its own
   differences.
   I dont want to japanise everything - only japanese input needed.
   Also with Emacs.
  
  --
  gentoo-user@gentoo.org mailing list
  
 
 
 -- 
 gentoo-user@gentoo.org mailing list

I am also using canna and kinput2. Since I don't need japanese input in 
all my applications, I'm using two scripts to start kinput2 and an 
application with japanese input enabled.

This one starts kinput2 with a connection to the canna server 
(canna.sh):

#!/bin/bash
export XMODIFIERS='@im=kinput2'
export LANG=ja_JP.eucjp
export LC_ALL=ja_JP.eucjp
kinput2 -canna 

And this one starts the application you want with kinput2 support 
(japan.sh):

#!/bin/bash
XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp 
LC_ALL=ja_JP.eucjp ${1+$@} 

(the last 2 lines are actually one long line)

So, when I need to write japanese text in openoffice, I only have to:
$ ~/canna.sh
$ ~/japan.sh oowriter
And then press shift+space to switch between the different input modes 
supported by kinput2, space at the end of a word if I want to convert it 
to kanjis and enter to choose between the different kanjis available.

I am not using KDE nor emacs but this should work for KDE applications 
and XEmacs.

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread askar ...
Thanks.
I created these 2 scripts (canna.sh and japan.sh) you wrote below.
But I couldn't execute them. Do I need to do smth like chmod?

askar

 I am also using canna and kinput2. Since I don't need japanese input in
 all my applications, I'm using two scripts to start kinput2 and an
 application with japanese input enabled.
 
 This one starts kinput2 with a connection to the canna server
 (canna.sh):
 
 #!/bin/bash
 export XMODIFIERS='@im=kinput2'
 export LANG=ja_JP.eucjp
 export LC_ALL=ja_JP.eucjp
 kinput2 -canna 
 
 And this one starts the application you want with kinput2 support
 (japan.sh):
 
 #!/bin/bash
 XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp
 LC_ALL=ja_JP.eucjp ${1+$@} 
 
 (the last 2 lines are actually one long line)
 
 So, when I need to write japanese text in openoffice, I only have to:
 $ ~/canna.sh
 $ ~/japan.sh oowriter
 And then press shift+space to switch between the different input modes
 supported by kinput2, space at the end of a word if I want to convert it
 to kanjis and enter to choose between the different kanjis available.
 
 I am not using KDE nor emacs but this should work for KDE applications
 and XEmacs.
 
 --
 Nicolas Litchinko
 
 BOFH Excuse #38:
 secretary plugged hairdryer into UPS
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Nicolas Litchinko
On 23:37 Sat 07 May , askar ... wrote:
 Thanks.
 I created these 2 scripts (canna.sh and japan.sh) you wrote below.
 But I couldn't execute them. Do I need to do smth like chmod?
 
 askar
 
  I am also using canna and kinput2. Since I don't need japanese input in
  all my applications, I'm using two scripts to start kinput2 and an
  application with japanese input enabled.
  
  This one starts kinput2 with a connection to the canna server
  (canna.sh):
  
  #!/bin/bash
  export XMODIFIERS='@im=kinput2'
  export LANG=ja_JP.eucjp
  export LC_ALL=ja_JP.eucjp
  kinput2 -canna 
  
  And this one starts the application you want with kinput2 support
  (japan.sh):
  
  #!/bin/bash
  XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp
  LC_ALL=ja_JP.eucjp ${1+$@} 
  
  (the last 2 lines are actually one long line)
  
  So, when I need to write japanese text in openoffice, I only have to:
  $ ~/canna.sh
  $ ~/japan.sh oowriter
  And then press shift+space to switch between the different input modes
  supported by kinput2, space at the end of a word if I want to convert it
  to kanjis and enter to choose between the different kanjis available.
  
  I am not using KDE nor emacs but this should work for KDE applications
  and XEmacs.
  

Hello,

Those scripts must indeed be executable to be executed.
$ chmod u+x canna.sh
$ chmod u+x japan.sh
will take care of that.

You can also create aliases for them if you're often using them (it 
saves time).
http://gentoo-wiki.com/TIP_alias

-- 
Nicolas Litchinko

BOFH Excuse #38:
secretary plugged hairdryer into UPS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread askar ...
Thank you.
Would you please tell me what do I need to install some package like canna etc.?

askar

On 5/8/05, Nicolas Litchinko [EMAIL PROTECTED] wrote:
 On 23:37 Sat 07 May , askar ... wrote:
  Thanks.
  I created these 2 scripts (canna.sh and japan.sh) you wrote below.
  But I couldn't execute them. Do I need to do smth like chmod?
 
  askar
 
   I am also using canna and kinput2. Since I don't need japanese input in
   all my applications, I'm using two scripts to start kinput2 and an
   application with japanese input enabled.
  
   This one starts kinput2 with a connection to the canna server
   (canna.sh):
  
   #!/bin/bash
   export XMODIFIERS='@im=kinput2'
   export LANG=ja_JP.eucjp
   export LC_ALL=ja_JP.eucjp
   kinput2 -canna 
  
   And this one starts the application you want with kinput2 support
   (japan.sh):
  
   #!/bin/bash
   XMODIFIERS='@im=kinput2' [EMAIL PROTECTED] LANG=ja_JP.eucjp
   LC_ALL=ja_JP.eucjp ${1+$@} 
  
   (the last 2 lines are actually one long line)
  
   So, when I need to write japanese text in openoffice, I only have to:
   $ ~/canna.sh
   $ ~/japan.sh oowriter
   And then press shift+space to switch between the different input modes
   supported by kinput2, space at the end of a word if I want to convert it
   to kanjis and enter to choose between the different kanjis available.
  
   I am not using KDE nor emacs but this should work for KDE applications
   and XEmacs.
  
 
 Hello,
 
 Those scripts must indeed be executable to be executed.
 $ chmod u+x canna.sh
 $ chmod u+x japan.sh
 will take care of that.
 
 You can also create aliases for them if you're often using them (it
 saves time).
 http://gentoo-wiki.com/TIP_alias
 
 --
 Nicolas Litchinko
 
 BOFH Excuse #38:
 secretary plugged hairdryer into UPS
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Holly Bostick
askar ... wrote:
 Thank you.
 Would you please tell me what do I need to install some package like canna 
 etc.?
 
 askar
 

What, other than

# emerge -av kinput2

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] app-i18n/canna-3.7_p2  -canna -doc 1,233 kB
[ebuild  N] app-i18n/kinput2-3.1-r1  -canna -freewnn 500 kB

Total size of downloads: 1,733 kB

Do you want me to merge these packages? [Yes/No] no

Looks like you'd need to add 'canna' and 'freewnn' to your USE flags--
check /usr/portage/profiles/use.desc and/or
/usr/portage/profiles/use.local.desc to find out if you do.

Otherwise, there's not too much too it other than emerge and go!

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to japanese intput

2005-05-07 Thread Julien Cayzac
On 5/7/05, askar ... [EMAIL PROTECTED] wrote:
 Hello!
 
 I'm using Gentoo 2005.0, KDE and Fluxbox.
 I want to be able writing in japanese.
 Is there step-by-step setup guide for this.
 I looked at internet there some information, but each site has its own
 differences.
 I dont want to japanise everything - only japanese input needed.
 Also with Emacs.

Canna and kinput2 are deprecated. Use scim.
Here is a good guide:
http://linux-life.net/gentoo/setting/japanese/

Hope it helps,
Julien

-- 
gentoo-user@gentoo.org mailing list