[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave-3.6.1 for Windows (VS2008/VS2010) available
From: |
Michael Goffioul |
Subject: |
Re: Octave-3.6.1 for Windows (VS2008/VS2010) available |
Date: |
Mon, 5 Mar 2012 08:31:19 +0000 |
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.
Re: Octave-3.6.1 for Windows (VS2008/VS2010) available, Michael Goffioul, 2012/03/03
Re: Octave-3.6.1 for Windows (VS2008/VS2010) available, Carnë Draug, 2012/03/03