Mailing List Archive

Support open source code!


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

tlug: Re: Japanese support in MSDOS and VFAT file systems



>>>>> "hy" == YAMAGATA Hiroo <hiyori13@example.com> writes:

    >> I get weird and intermittent behavior even on simple directory
    >> listings of my c:\windows directory (mount -t vfat /dev/hda1
    >> /W95 or mount -t msdos /dev/hda1 /W95)

    hy> They do handle it. It appears fine in my keterm&less, and
    hy> there shouldn't be much trouble.

Mule should handle it too, but doesn't.  Here's a portion of the
listing with a VFAT mount (these are XEmacs Dired):

  /W95/windows:
  total 29504
  drwxr-xr-x  37 root     root        32768 Jan 17  1998 .
  drwxr-xr-x  14 root     root        16384 Jan  1  1970 ..
  -rwxr-xr-x   1 root     root          276 Dec 27  1996 640x16b.reg
  -rwxr-xr-x   1 root     root        66146 Sep  5  1996 ?.bmp
  -rwxr-xr-x   1 root     root       307514 Sep  5  1996 ?.bmp
  -rwxr-xr-x   1 root     root        77878 Sep  5  1996 ??.bmp
[...]
  -rwxr-xr-x   1 root     root         5120 Sep  5  1996 write.exe
  -rwxr-xr-x   1 root     root       196608 Jun 20  1996 zcstup32.exe
  -rwxr-xr-x   1 root     root           51 Mar 19  1998 $B:G6a;H$C(B.grp
  -rwxr-xr-x   1 root     root         7670 Mar 19  1998 )I±¸¾»Ø.grp-A
  -rwxr-xr-x   1 root     root         4713 Mar 19  1998 )I²ÝÀ°È¯ÄÂ.grp-A
[...]

And with a MSDOS mount:

  /W95/windows:
  /bin/ls: /W95/windows/./$B@example.com;3J;R(B.bmp: No such file or directory
  /bin/ls: /W95/windows/./$B?FEX(B.cpe: No such file or directory
  /bin/ls: /W95/windows/./$B$*CN$i$;(B.cpe: No such file or directory
  /bin/ls: /W95/windows/./$B:G6a;H$C(B.grp: No such file or directory
  total 29376
  drwxr-xr-x  37 root     root        32768 Jan 17  1998 .
  drwxr-xr-x  14 root     root        16384 Jan  1  1970 ..
  -rwxr-xr-x   1 root     root          276 Dec 27  1996 640x16b.reg
  drwxr-xr-x   2 root     root        32768 Mar 16  1998 a3w_data
[...]
  -rwxr-xr-x   1 root     root         5120 Sep  5  1996 write.exe
  -rwxr-xr-x   1 root     root       196608 Jun 20  1996 zcstup32.exe
  -rwxr-xr-x   1 root     root         2118 Sep  5  1996 $B$7$c$\(B~1.bmp
  -rwxr-xr-x   1 root     root        80400 Sep 19  1997 $B%A%c%s(B~1.scr
  -rwxr-xr-x   1 root     root         5973 Sep  5  1996 $B0lHL(B.cpe
  -rwxr-xr-x   1 root     root       307514 Sep  5  1996 $B1@(B.bmp
  -rwxr-xr-x   1 root     root        77878 Sep  5  1996 $B2V8+(B.bmp
  -rwxr-xr-x   1 root     root         4377 Sep  5  1996 $B6[5^;v9`(B.cpe
  -rwxr-xr-x   1 root     root        32854 Sep  5  1996 $B:=Gy(B.bmp
  -rwxr-xr-x   1 root     root        66146 Sep  5  1996 $B?Y(B.bmp
  -rwxr-xr-x   1 root     root         2754 Sep  5  1996 $B@example.com)IÚݶÞ(B.bmp-A
  -rwxr-xr-x   1 root     root         7670 Mar 19  1998 )I±¸¾»Ø.grp-A
  -rwxr-xr-x   1 root     root         4713 Mar 19  1998 )I²ÝÀ°È¯ÄÂ.grp-A
  -rwxr-xr-x   1 root     root          582 Sep  5  1996 )I´¼ÞÌßÄ.bmp-A
  -rwxr-xr-x   1 root     root         3048 Mar 19  1998 )I¹Þ°Ñ.grp-A
[...]

    hy> However, Win95 uses a lot of the dreaded Hankaku-kana in their
    hy> directory name, which fxxks up stuff.

This is definitely part of the problem.

    hy> There is a Kernel patch to automatically subsitute hankaku
    hy> kanas into zenkaku ones, which works pretty well.

Is this mentioned in the book ;-)

What happens when you use a glob, say `ls `echo *'?  Does the kernel
patch automatically do the reverse substitution?  What happens if you
request a file name with zenkaku?  Suppose both a zenkaku and hankaku
version of the same name exist?

I bet this kernel patch will never ever ever get past Linus!

    hy> But maybe I'm not addressing your problems here... What
    hy> exactly is happening? You're not refferring to everything
    hy> turning to a punc of question marks phenomenon, right?

No, I get this for part of the listing, but I'm pretty sure I
understand it, it's kanji with first bytes in the CR (0x80-0x9F)
region, right?

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
__________________________________________________________________________
__________________________________________________________________________
What are those two straight lines for?  "Free software rules."
----------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 *** place TBA ***
IMPORTANT: TLUG is looking for a venue for the next meeting
if you could host in your university or office, please contact us
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links