[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: The problem of file separator of mingw octave on Japanesewindows. Re
From: |
Tatsuro MATSUOKA |
Subject: |
RE: The problem of file separator of mingw octave on Japanesewindows. Re: 3.0.1 release? |
Date: |
Fri, 7 Mar 2008 05:54:24 +0900 (JST) |
Hello
Thank you David.
Looking for your mail, the quating by "" is not a good selection
The alternaive way in the msys on the Japanese Windows is to use
'\\' instead of '\' like
cp c:\\Programs\\aaa.txt d:\\usr
If the octave can find the msys is working on the Japanese windows,
is it possible to make the path like the above?
Anyway it will take a time to solve this problem.
I think that I cannot to solve the problem at 3.0.1 release.
I will consider the problem for a while.
BTW, John,
I am happy you to have mind on this problem.
Is the 3.0.1 coming soon?
If so, the I will change the schedule of
the binary release for the new octave-forge for the 3.0.0 on the cygwin and
mingw.
Regards
Tatssuro
--- Bateman David-ADB014 <address@hidden> wrote:
>
> I attempted to do just this with the readline changes I made a few months
> back, but from not
> satisfying way of getting it completely correct. Check the changelog in
> liboctave for readline
> changes should give you an idea of what I tried. The issue I had was that
> adding the quotes was
> easy enough, but then that confused readline for completion of
> sub-directories.
>
> D.
>
> -----Original Message-----
> From: Tatsuro MATSUOKA [mailto:address@hidden
> Sent: Thu 06-Mar-08 11:28 AM
> To: John W. Eaton; address@hidden
> Cc: octave maintainers mailing list
> Subject: Re: The problem of file separator of mingw octave on
> Japanesewindows. Re: 3.0.1
> release?
>
> Hello John
>
> Thank you for your mail.
>
> I have recogined that the file filesperator should not be changed.
>
> To use the pkg system, the even octave-msvc uses the msys system.
> The requirement for the msys on Japanese windows is that the path should be
> quated by double
> quatation
> " if the path includes the '\' ; like "c:/aa\bb.m".
>
>
> Perhaps I think that no problem occuerred the path quated by "" on other
> unixy systems.
> At least, the use of
>
> #ifdef __win32__
>
> (codes)
>
> #endif
> decrease the effects.
>
> So I would like to the quate the path by "" when path includes '\'.
>
> The problem is that I could not find the .c or .cc file to which I can
> consider the patch.
>
> The problem is perhaps for specific for Japanese windows so that it is not in
> reality an
> urgent problem.
>
> What I would like to say is that to which file I can consider the patch.
> Please tell me what it is.
>
> Regards
>
> Tatsuro
>
>
>
>
> --- "John W. Eaton" <address@hidden> wrote:
>
> > On 13-Feb-2008, Tatsuro MATSUOKA wrote:
> >
> > | Hello
> > |
> > | Do you remember the thead?
> > |
> > | "dirty but most simple method by which pkg install will be successful in
> > mingw octave"
> > |
> > |
> >
>
http://www.nabble.com/dirty-but-most-simple-method-by-which-pkg-install-will-be-successful-in-mingw-octave-tt13619782.html#a13619782
> > |
> > | I have still been using the modified filesep='/' in dirfcns.cc
> > | Because pkg install does not work in my system wihout it
> > | ***********************************************************
> > | octave.exe:4> pkg install -local -verbose io-1.0.3.tar.gz
> > | cp: missing destination file
> > | Try `cp --help' for more information.
> > | mkdir (C:/DOCUME~1/Tatsu/LOCALS~1/Temp\oct-2)
> > | untar (io-1.0.3.tar.gz, C:/DOCUME~1/Tatsu/LOCALS~1/Temp\oct-2)
> > | make: Entering directory `/tmp/oct-2/io-1.0.3/src'
> > | mkoctfile dlmread.cc
> > | mkoctfile textread.cc
> > | make: Leaving directory `/tmp/oct-2/io-1.0.3/src'
> > | warning: package io is empty
> > | *************************************************************
> > |
> > | mkdir (C:/DOCUME~1/Tatsu/LOCALS~1/Temp\oct-2)
> > | untar (io-1.0.3.tar.gz, C:/DOCUME~1/Tatsu/LOCALS~1/Temp\oct-2)
> > |
> > | In my msys sytem (perhaps in the msys in Japanese windows),
> > | the files separator '\' should be used with
> > |
> > | mkdir "C:/DOCUME~1/Tatsu/LOCALS~1/Temp\oct-2"
> > | or
> > | mkdir C:/DOCUME~1/Tatsu/LOCALS~1/Temp\\oct-2
> > |
> > | is able to work.
> > |
> > | I think that the former is better as patch.
> > | I have ever considered the patch but I have never find where should be
> > modified.
> > |
> > | Please give me advises.
> > |
> > |
> > | In my speculation, the above prblem is Japanese windows specific problem.
> > | Please see the following in the prevous threads
> > | ******************
> > | In Japanese windows, we use Chinese and Japanese charactors (Kanji
> > charactors).
> > | Japanese windows have the shift-jis kanji code.
> > |
> > | A shift-jis kanji code consist of 2 bytes. The first byte code is larger
> > than 80(HEX).
> > | But second byte is not always larger than 80(HEX) and some kanji uses
> > 5C(HEX).
> > | The 5C(HEX) is the code of '\'.
> > | The facts make Jananese kanji code treatment very complex.
> > |
> > | I do not know the trouble comes from the above.
> > | But the treatment of the seperator may be complex for Japanese system.
> > |
> > | The above is only speculation.
> > | That's why I don't have english windows.
> > | *********************
> > |
> > | I think this is a good chance to kick out this problem.
> >
> > I don't know how to solve this problem, and I don't think I can accept
> > a patch that changes the default directory separator character for
> > Windows to be a forward slash "/" character.
> >
> > jwe
> >
>
>
> --------------------------------------
> Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
> http://pr.mail.yahoo.co.jp/toolbar/
>
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/