On Mon, Mar 5, 2012 at 12:12 AM, Tatsuro MATSUOKA <tmacch...@yahoo.co.jp> 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. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev