Package: eblook
Version: 1:1.6.1-6
Severity: normal

Hi,

I recently saw the eblook's wrong behavior with "-e euc-jp" on
LANG=ja_JP.UTF-8.

For example session (note input is euc-jp),

$ LANG=ja_JP.UTF-8 /home/hirofumi/bin/eblook -q -e euc-jp 
/usr/local/share/dict/srd-fpw
eblook> select 1
eblook> search "テスト
 1. 12079:1506  ex<gaiji=ha263>am<gaiji=ha263>i<gaiji=ha263>na<gaiji=ha263>tion 
[テスト]
 2. 23711:1208  n<gaiji=ha332>eds ass<gaiji=ha331>ssment [テスト]
 3. 27110:218   pi<gaiji=ha263>lot [テスト]
 4. 29302:178   que<gaiji=ha263>ry [テスト]
 5. 36889:748   test1 [テスト]
 6. 38349:652   tr<gaiji=ha346><gaiji=ha263><gaiji=ha33b>ut [テスト]
eblook> "set prompt "eblook> "
Unkown command: set prompt eblook>
eblook> 

Note, I inputed

        select 1
        search "テスト"
        set prompt "eblook> "

actually, but the behavior is 'search "テスト'.

With some debugging, the cause of this behavior looks like readline()
returned the 'search "テスト'. Because, perhaps locale is "UTF-8", but
input text was EUC-JP, I'm not sure though.

This setup (-e euc-jp on UTF-8) is the default of lookup-el on emacs.

Any idea to fix this?

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eblook depends on:
ii  dpkg                    1.15.7.2         Debian package management system
ii  install-info            4.13a.dfsg.1-5   Manage installed documentation in 
ii  libc6                   2.11.1-3         Embedded GNU C Library: Shared lib
ii  libeb13                 4.4.2-2          C library for accessing electronic
ii  libncurses5             5.7+20100313-2   shared libraries for terminal hand
ii  libreadline6            6.1-3            GNU readline and history libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

eblook recommends no packages.

Versions of packages eblook suggests:
pn  lookup-el                     <none>     (no description available)

-- no debconf information

-- 
OGAWA Hirofumi <[email protected]>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to