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

Reply via email to