octave-maintainers
[Top][All Lists]
Advanced

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

Re: The problem of file separator of mingw octave on Japanese windows. R


From: Tatsuro MATSUOKA
Subject: Re: The problem of file separator of mingw octave on Japanese windows. Re: 3.0.1 release?
Date: Thu, 6 Mar 2008 19:28:15 +0900 (JST)

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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]