0

i Know i don't do something dumb, cause im working with Octave for years now. I installed it on my new computer and the command window showed a weird output of differrent colored symbols. I installed 7.1 back than.

I tried 8.3 afterwards. There was no weird output, but the command window wasnt working either. Even a=1 didnt work as a test. So i tried 7.3, cause thats the Version im used to at work, and there, the same different Output is shown. Weird Output in Command Window

Would love to get some help! Im thinking at could be an error caused bei UTF-8 or something like this.

1
  • 2
    This may be related to the new terminal app on Windows 11. See here for workaround. Commented Nov 15, 2023 at 22:46

1 Answer 1

1

Problem

Currently, Octave is not fully compatible with the new "Windows Terminal App" (which become the default console in Windows 11).

During Octave installation you should see the following warning:

Octave doesn't work correctly when the default console on Windows is set to the new Terminal app. Check if the default is set to the Windows Console Host and show advice if it is not.

Consequences

This unsupported configuration could lead to unexpected behavior of the Octave CLI like the "weird" characters and colors mentioned in your question.

Also, you can have both CLI and command window opened simultaneously and displaying exactly the same content (you could also observe strange text overlap and difficulty to scroll-up/down).

Workaround

As stated in comment, a workaround consists of setting the "Windows Console Host" (i.e. the old cmd.exe console) as the default windows console (see screenshot of the settings screen below) [from here]. A way to access this setting is to type "terminal" in the Windows search box and select "Choose a terminal host app for interactive command-line tools".

enter image description here

Potential solution to come

A "new cross-platform command window widget" is currently in development and may be able to solve this issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.