Re: [Uim] does uim-fep works for debian 7

2014-04-11 Thread Zhang Cong
Hi dai,

On Wed, Apr 9, 2014 at 1:41 PM,  wrote:
>
> > 1.  What's the difference between generic-on-key and generic-on-key?
> stuff?
> > what's the detail meaning of this two?
>
> statement with ? maybe conditional.
> i just pick up this resolution by trial and error, sorry.


 I guess the name with ? is a lambda function object,  it can be use for
checking key input directly.
 So,
(define generic-on-key '("zenkaku-hankaku" " " " "))  ;;key
define
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" " "
" "))) ;;key check function define, generic-on-key? is lambda
function


> i can use "uim-fep -S" with below ~/.screenrc.
>
>
> http://code.google.com/p/uim-doc-ja/wiki/UimFep#screen-uim%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E4%BD%BF%E3%81%86


My config is follow https://code.google.com/p/uim/wiki/UimFep,  and that
should be the same
My ~/.screenrc,

backtick 0 0 0 uim-fep-tick
hardstatus alwayslastline "%0`"

It does not work, and the uim-fep -e screen seems good, and no need special
screen support.

Thanks,
Cong Zhang


Re: [Uim] does uim-fep works for debian 7

2014-04-09 Thread Richard Braun
On Wed, Apr 09, 2014 at 01:26:25PM +0200, Thomas Schwinge wrote:
> > Generating locales (this might take a while)...
> >   ja_JP.EUC-JP...Segmentation fault
> >  done
> >   ja_JP.UTF-8...Segmentation fault
> >  done
> > Generation complete.
> 
> See »IRC, freenode, #hurd, 2013-06-18« on
> .
> I suggest to simply install the locales-all package.

FYI, this bug is fixed by commit da2d6e677ade278bf34afaa35c6ed4ff2489e7d8
in the Hurd glibc repository.

-- 
Richard Braun


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140409122455.ga17...@dalaran.sceen.net



Re: [Uim] does uim-fep works for debian 7

2014-04-09 Thread Thomas Schwinge
Hi!

On Mon, 7 Apr 2014 16:44:03 +0900, NOKUBI Takatsugu  wrote:
> In my environment, locale was missing, so I installed
> locale-data package and tried to generate Japanese locale.
> 
> # locale-gen
> Generating locales (this might take a while)...
>   ja_JP.EUC-JP...Segmentation fault
>  done
>   ja_JP.UTF-8...Segmentation fault
>  done
> Generation complete.

See »IRC, freenode, #hurd, 2013-06-18« on
.
I suggest to simply install the locales-all package.


Grüße,
 Thomas


pgp7ivUtNN02U.pgp
Description: PGP signature


Re: [Uim] does uim-fep works for debian 7

2014-04-08 Thread dai
Hi Zhang,

On Mon, Apr 07, 2014 at 11:56:32PM +0800, Zhang Cong wrote:
>   It works for py input method too, it's great:)

:)

> So, at least the py input method works well in uim-fep for debian 7.
> 
> My addition question:
> 1.  What's the difference between generic-on-key and generic-on-key? stuff?
> what's the detail meaning of this two?

statement with ? maybe conditional.
i just pick up this resolution by trial and error, sorry.

> 2.  If I use uim-fep -S with screen ( config the backtick for screen first,
> https://code.google.com/p/uim/wiki/UimFep), it start convert automate (why?
> ) and  exit immediately after one char input.

i can use "uim-fep -S" with below ~/.screenrc.

http://code.google.com/p/uim-doc-ja/wiki/UimFep#screen-uim%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E4%BD%BF%E3%81%86

> 3.  uim-fep does not work in hurd console, this maybe TERM related problem,
> I need debug it another day.

i see.
-- 
Regards,
dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E


signature.asc
Description: Digital signature


Re: [Uim] does uim-fep works for debian 7

2014-04-07 Thread Zhang Cong
Hi Dai and NOKUBI,

On Mon, Apr 7, 2014 at 10:11 PM,  wrote:

> Hi Zhang,
>
> Which keys do you use to on/off conversion?
> If you use Shift+Space keys, uim-fep does not support Shift+Space keys.
> Please see below:
>
> uim-fep does not start to convert KANJI in default settings.
>
 The same for py input method.
 I use  uim-pref-gtk to make start to convert by default, so I don't dig
the Shift+Space keys problem more before

Would you show me .uim.d/customs/custom-global-keys1.scm settings?
> Default setting maybe below (or nothing this file).
>
> % grep generic-o .uim.d/customs/custom-global-keys1.scm
> (define generic-on-key '("zenkaku-hankaku" " "))
> (define generic-on-key? (make-key-predicate '("zenkaku-hankaku" "
> ")))
> (define generic-off-key '("zenkaku-hankaku" " "))
> (define generic-off-key? (make-key-predicate '("zenkaku-hankaku" "
> ")))
> %
>
 The same with you.


> I cannot on/off conversion with Shift+Space.
>
> Then, I added " " (Control+Space) for another on/off conversion
> keys.
>
> % grep generic-o .uim.d/customs/custom-global-keys1.scm
> (define generic-on-key '("zenkaku-hankaku" " " " "))
> (define generic-on-key? (make-key-predicate '("zenkaku-hankaku" " "
> " ")))
> (define generic-off-key '("zenkaku-hankaku" " " " "))
> (define generic-off-key? (make-key-predicate '("zenkaku-hankaku" "
> " " ")))
> %
>
> So I can on/off conversion with Control+Space.
>
  It works for py input method too, it's great:)

% uim-fep -u py
> py[IM-]
>
> (type Control+Space)
>
> % uim-fep -u py
> py[IMO]
>
> (type nihao)
>
> % 你好

 I get this, too. Thank you:)

So, at least the py input method works well in uim-fep for debian 7.

My addition question:
1.  What's the difference between generic-on-key and generic-on-key? stuff?
what's the detail meaning of this two?

2.  If I use uim-fep -S with screen ( config the backtick for screen first,
https://code.google.com/p/uim/wiki/UimFep), it start convert automate (why?
) and  exit immediately after one char input.

3.  uim-fep does not work in hurd console, this maybe TERM related problem,
I need debug it another day.

Thanks,
Cong Zhang


Re: [Uim] does uim-fep works for debian 7

2014-04-07 Thread dai
Hi Zhang,

Which keys do you use to on/off conversion?
If you use Shift+Space keys, uim-fep does not support Shift+Space keys.
Please see below:

uim-fep does not start to convert KANJI in default settings.
https://bugs.debian.org/743277

uim-fep (in Japanese)
http://code.google.com/p/uim-doc-ja/wiki/UimFep#%E6%B3%A8%E6%84%8F

Would you show me .uim.d/customs/custom-global-keys1.scm settings?
Default setting maybe below (or nothing this file).

% grep generic-o .uim.d/customs/custom-global-keys1.scm
(define generic-on-key '("zenkaku-hankaku" " "))
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" " ")))
(define generic-off-key '("zenkaku-hankaku" " "))
(define generic-off-key? (make-key-predicate '("zenkaku-hankaku" " ")))
%

I cannot on/off conversion with Shift+Space.

Then, I added " " (Control+Space) for another on/off conversion keys.

% grep generic-o .uim.d/customs/custom-global-keys1.scm
(define generic-on-key '("zenkaku-hankaku" " " " "))
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" " " 
" ")))
(define generic-off-key '("zenkaku-hankaku" " " " "))
(define generic-off-key? (make-key-predicate '("zenkaku-hankaku" " " 
" ")))
%

So I can on/off conversion with Control+Space.

% uim-fep -u py
py[IM-]

(type Control+Space)

% uim-fep -u py
py[IMO]

(type nihao)

% 你好
-- 
Regards,
dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E


signature.asc
Description: Digital signature


Re: [Uim] does uim-fep works for debian 7

2014-04-07 Thread Zhang Cong
Hi NOKUBI,

I test on Debian 7 and  it support input Japanese character, which I
need  set default input mode for anthy to other than Direct Input like
Hiragana in uim-pref-gtk.

So maybe, Chinese PY input method has something option like this. but I
can't find that, it seems always in direct mode.

The uim-fep -u py can't work on debian 7( none hurd), if this problem
can be slove, the hurd part was just a port problem,  forgot hurd first:).

Thanks for your reply.



On Mon, Apr 7, 2014 at 3:44 PM, NOKUBI Takatsugu  wrote:

> In my environment, locale was missing, so I installed
> locale-data package and tried to generate Japanese locale.
>
> # locale-gen
> Generating locales (this might take a while)...
>   ja_JP.EUC-JP...Segmentation fault
>  done
>   ja_JP.UTF-8...Segmentation fault
>  done
> Generation complete.
>
> It seems not work appropriately, but uim-fep works
> on the envrionment.
>
> $ uim-fep -u anthy
> $
> anthy[An- R]
>
> Can you check /etc/locale.gen and try to make locale
> data?


 locale-gen will cause Segment fault (this problem can be deal with later),
 I use locales-all package, which include all the precompiled locale.


> On Thu, 3 Apr 2014 23:00:17 +0800
> Zhang Cong  wrote:
>
> > Hi NOKUBI,
> >
> >The problem I face is even I use some method, it always like direct,
> > like( it's for normal debian not hurd):
> >
> > congzhang@gantry:~$ uim-fep -u py
> > congzhang@gantry:~$ nihao
> > py[IM-]
> >
> > My machine:
> > congzhang@gantry:~$ lsb_release  -a
> > No LSB modules are available.
> > Distributor ID: Debian
> > Description:Debian GNU/Linux 7.4 (wheezy)
> > Release:7.4
> > Codename:   wheezy
> > congzhang@gantry:~$ uname -a
> > Linux gantry 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
> >
> >
> >   maybe I need config my xterm?
> >
> >   Thanks
> >
> >   Cong Zhang
> >
> >
> > On Thu, Apr 3, 2014 at 4:51 PM, NOKUBI Takatsugu 
> wrote:
> >
> > > At Mon, 31 Mar 2014 20:15:14 +0800,
> > > Zhang Cong wrote:
> > > > As Debian GNU/Hurd may have some other problem not related to uim, I
> > > don't
> > > > advise you to try on Hurd directly.
> > > > Maybe Debian 7 was a good choice.
> > > > If it is work for wheezy at least, I can do other part to make it it
> > > work for
> > > > hurd.
> > >
> > > Finally I can work Hurd/wheezy and uim-fep.
> > >
> > > At first, uim-fep itself seems to work on direct mode.
> > > ~# uim-fep
> > >
> > > The Hurd is not Linux. Make sure to read
> > > http://www.debian.org/ports/hurd/hurd-install
> > > to check out the few things you _need_ to know.
> > >
> > > To read a short intro on some nice features of the Hurd, just have a
> look
> > > at
> > > ./translator_primer, for example via 'nano translator_primer'
> > >
> > > root@debian:~#
> > > direct[- -]
> > >
> > > However, uim-fep with anthy doesn't seem to work propery.
> > > ~# uim-fep -u anthy
> > >
> > > The Hurd is not Linux. Make sure to read
> > > http://www.debian.org/ports/hurd/hurd-install
> > > to check out the few things you _need_ to know.
> > >
> > > To read a short intro on some nice features of the Hurd, just have a
> look
> > > at
> > > ./translator_primer, for example via 'nano translator_primer'
> > >
> > > root@debian:~#
> > > anthy[]
> > >
> > > The following is the correct behavor:
> > >
> > > $ uim-fep -u anthy
> > > $
> > > anthy[An- R]
> > >
> > > uim-fep uses unix domain socket under ~/.uim.d , and it seems to
> > > create, but not work.  It seems Debian GNU/Hurd don't have lsof, so I
> > > can't find the sockes were used correctry...
> > >
> > > # ls -lR
> > > .:
> > > total 8
> > > drwx-- 2 root root 4096 Apr  3 04:45 fep
> > > drwx-- 2 root root 4096 Apr  3 04:23 socket
> > >
> > > ./fep:
> > > total 4
> > > -rw-r--r-- 1 root root 2 Apr  3 04:45 getmode-995
> > > prw--- 1 root root 0 Apr  3 04:45 setmode-995
> > >
> > > ./socket:
> > > total 0
> > > srw-r--r-- 1 root root 0 Apr  3 04:23 uim-helper
> > >
>
>
> --
> NOKUBI Takatsugu 
>


Re: [Uim] does uim-fep works for debian 7

2014-04-07 Thread NOKUBI Takatsugu
In my environment, locale was missing, so I installed
locale-data package and tried to generate Japanese locale.

# locale-gen
Generating locales (this might take a while)...
  ja_JP.EUC-JP...Segmentation fault
 done
  ja_JP.UTF-8...Segmentation fault
 done
Generation complete.

It seems not work appropriately, but uim-fep works
on the envrionment.

$ uim-fep -u anthy
$
anthy[An- R]

Can you check /etc/locale.gen and try to make locale
data?

On Thu, 3 Apr 2014 23:00:17 +0800
Zhang Cong  wrote:

> Hi NOKUBI,
> 
>The problem I face is even I use some method, it always like direct,
> like( it's for normal debian not hurd):
> 
> congzhang@gantry:~$ uim-fep -u py
> congzhang@gantry:~$ nihao
> py[IM-]
> 
> My machine:
> congzhang@gantry:~$ lsb_release  -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:Debian GNU/Linux 7.4 (wheezy)
> Release:7.4
> Codename:   wheezy
> congzhang@gantry:~$ uname -a
> Linux gantry 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux
> 
> 
>   maybe I need config my xterm?
> 
>   Thanks
> 
>   Cong Zhang
> 
> 
> On Thu, Apr 3, 2014 at 4:51 PM, NOKUBI Takatsugu  wrote:
> 
> > At Mon, 31 Mar 2014 20:15:14 +0800,
> > Zhang Cong wrote:
> > > As Debian GNU/Hurd may have some other problem not related to uim, I
> > don't
> > > advise you to try on Hurd directly.
> > > Maybe Debian 7 was a good choice.
> > > If it is work for wheezy at least, I can do other part to make it it
> > work for
> > > hurd.
> >
> > Finally I can work Hurd/wheezy and uim-fep.
> >
> > At first, uim-fep itself seems to work on direct mode.
> > ~# uim-fep
> >
> > The Hurd is not Linux. Make sure to read
> > http://www.debian.org/ports/hurd/hurd-install
> > to check out the few things you _need_ to know.
> >
> > To read a short intro on some nice features of the Hurd, just have a look
> > at
> > ./translator_primer, for example via 'nano translator_primer'
> >
> > root@debian:~#
> > direct[- -]
> >
> > However, uim-fep with anthy doesn't seem to work propery.
> > ~# uim-fep -u anthy
> >
> > The Hurd is not Linux. Make sure to read
> > http://www.debian.org/ports/hurd/hurd-install
> > to check out the few things you _need_ to know.
> >
> > To read a short intro on some nice features of the Hurd, just have a look
> > at
> > ./translator_primer, for example via 'nano translator_primer'
> >
> > root@debian:~#
> > anthy[]
> >
> > The following is the correct behavor:
> >
> > $ uim-fep -u anthy
> > $
> > anthy[An- R]
> >
> > uim-fep uses unix domain socket under ~/.uim.d , and it seems to
> > create, but not work.  It seems Debian GNU/Hurd don't have lsof, so I
> > can't find the sockes were used correctry...
> >
> > # ls -lR
> > .:
> > total 8
> > drwx-- 2 root root 4096 Apr  3 04:45 fep
> > drwx-- 2 root root 4096 Apr  3 04:23 socket
> >
> > ./fep:
> > total 4
> > -rw-r--r-- 1 root root 2 Apr  3 04:45 getmode-995
> > prw--- 1 root root 0 Apr  3 04:45 setmode-995
> >
> > ./socket:
> > total 0
> > srw-r--r-- 1 root root 0 Apr  3 04:23 uim-helper
> >


-- 
NOKUBI Takatsugu 


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140407164403.8c5ad1aa8c6dd6a80c69c...@daionet.gr.jp