octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave-3.6.1 for Windows (VS2008/VS2010) available


From: Tatsuro MATSUOKA
Subject: Re: Octave-3.6.1 for Windows (VS2008/VS2010) available
Date: Mon, 5 Mar 2012 19:59:54 +0900 (JST)

--- On Mon, 2012/3/5, Michael Goffioul wrote:

> On Mon, Mar 5, 2012 at 9:05 AM, Tatsuro MATSUOKA <address@hidden> wrote:
> > --- On Mon, 2012/3/5, Michael Goffioul wrote:
> >
> >> On Mon, Mar 5, 2012 at 12:12 AM, Tatsuro MATSUOKA <address@hidden> wrote:
> >> >> * Marker in Octave cmd prompt in octave-gui is 2-4 spaces on the right, 
> >> >> compared to where it should be. Confusing at the beginning. ;-)
> >> >
> >> > This also happens for me.
> >> > The same phenomena is happened when using octgave-gui built on mingw.
> >> >
> >> > This might be default code page (for me cp is 932) of the command prompt 
> >> > dependent.
> >> > Perhaps Octave-gui terminal uses console2 technique.  However, console2 
> >> > does not work correctly for Japanese version of windows.
> >> >
> >> > Anyway at least fior Japanese version windows, terminal of octave-gui 
> >> > does not work as expected.
> >>
> >> Indeed, it is using the same principle as Console2. However, you're
> >> probably the only one able to debug and fix the issue...
> >>
> >> As you may know, the octave terminal (and Console2) uses a hidden
> >> regular command prompt window, whose content is mirrored in the
> >> terminal widget. So the first I'd do is to display that hidden command
> >> prompt and compare with the terminal widget. To show it, edit the file
> >> QWinTerminalImpl.cpp and comment the line "#define HIDDEN_CONSOLE" and
> >> also the call to ShowWindow (around line 203).
> >>
> >> Next, you can start cmd.exe from octave prompt (system("cmd.exe")) and
> >> use "chcp" to see wether you can get the command prompt to work as
> >> expected.
> >>
> >> Michael.
> >
> > Hello
> >
> > I have execute (system("cmd.exe") ) , then execute (chcp 437) (US code 
> > page) then (exit) come back to the octave prompt. The behaviors were 
> > improved.
> > For example (ls) results aligns properly.
> >
> > However,
> >  * Marker in Octave cmd prompt in octave-gui is 2-4 spaces on the right, 
> > compared to where it should be.
> > (Ole Jacob Hagen reported)
> > was not improved.
> 
> Is it on every prompt?
> What's the content of the prompt-related variables (PS1, PS2, PS4)?
> Can you try to change PS1 to see whether things improve?
> 
> Michael.

I am now in my home. I have installed the VS2008 version.
Marker in Octave cmd prompt is located as expected.

OS of computer in my home is XP sp3 home while that in the University is 
windows 7 Home Premium 64 bit. .

I will try again other computers tomorrow. 

Regards

Tatsuro



reply via email to

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