Terminal not fully functional

Did you look at: Environment variables ?

And which version of Windows do you have?

The output of:

julia> get(ENV, "TERM", "")
"dumb"

should be empty, and not “dumb”.

Someone else wrote:

So remove the TERM system variable from Windows 10 environment variables settings fix this issue without any further updates.

Now, type echo $TERM shown the default value: xterm-256color works for everything…

2 Likes

I am on Windows 10.
Also I tried to check environment variables are listed but was greeted with another error message.

PS C:\Users\21910478> set

cmdlet Set-Variable at command pipeline position 1
Supply values for the following parameters:
Name[0]:
Set-Variable : Cannot bind argument to parameter 'Name' because it is an empty array.
At line:1 char:1
+ set
+ ~~~
    + CategoryInfo          : InvalidData: (:) [Set-Variable], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyArrayNotAllowed,Microsoft.PowerShell.Commands.SetVariableCommand

Looks like you are using power shell. Can you try using command prompt instead?

Well guys it worked someway or other. I cannot thank everyone enough for their suggestions. And of course special thanks to @ufechner7 for the finding the last piece of puzzle.

1 Like

I’m installing it as we speak (I’m NOT on Windows, it also supports Linux; and macOS):

  1. [✓] org.freedesktop.Platform.GL.default 23.08 i flathub 163,6 MB / 163,9 MB
  2. [|] org.freedesktop.Platform.GL.default 23.08-extra i flathub 22,6 MB / 163,9 MB
  3. org.freedesktop.Platform.Locale 23.08 i flathub < 371,6 MB (partial)
  4. org.freedesktop.Platform.openh264 2.2.0 i flathub < 944,3 kB
  5. org.gtk.Gtk3theme.Mint-Y 3.22 u flathub < 114,5 kB
  6. org.freedesktop.Platform 23.08 i flathub < 230,3 MB
  7. org.wezfurlong.wezterm stable i flathub < 46,7 MB

[It’s rather large for a terminal (only because of [open]GL seemingly, i.e. GPU, support), I guess one feature making it better.]

Since I’m not on Windows (with ok default Linux Mint terminal) I do NOT get:

Is WezTerm really worthwhile over alternatives in Linux (or Windows)? I guess I’ll find out…

I actually could “flatpak install”, since on Mint, if on Ubuntu see:
https://flatpak.org/setup/Ubuntu

@sammyD5

I suppose you were trying to go into the package mode with ], and it works in non-dumb terminal (as I guess you discovered), not in what you had, but I’m unsure what you were trying with “j?”:

For the help mode you must first press ? then type what you want help for, but something more than just “j”.

Are these terminal issues standard for Windows users? If so, Julia installation depends on first setting up an appropriate terminal. That would be bad.

They are not. Usually the TERM variable is not set on Windows. But there are exceptions, for example an old Perl version used to set it to “dumb” when installing it.

2 Likes

You can no longer buy Windows 10 or older, and this isn’t a problem for Windows 11, I understand (that has Windows terminal, except some early first version of it).

I made a PR for Julialang.org website for Windows maybe clarifying this (also recommending 64-bit, which is anyway they only thing supported in Windows 11; it feels unhelpful by now to mention that 32-bit version works for 32-bit and 64-bit even is strictly true).

If there are any instructions for Windows 10 or older that need to be clarified, please suggest at my PR.

3 Likes

For easy reference, the PR is at this address.