The TERM variable is not set to xterm-256color
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sakura |
Fix Released
|
High
|
David Gómez |
Bug Description
Hello,
With sakura 3.1.5 I was expecting TERM to be set to xterm-256color by default, but I noticed that this is not happening: I get TERM=xterm as before. I see that now in sakura.c we have
g_setenv("TERM", "xterm-256color", FALSE);
where that FALSE means that the variable is not overwritten. My guess is that something else is setting the TERM variable, and it is not my shell. I think it is libvte, as here
https:/
I read:
vte_terminal_
[...] The "TERM" environment variable is automatically set to a default value, but can be overridden from envv.
Now I see that sakura does not call that function, at least not directly, but still I think it may be vte that sets TERM.
I hope this can be fixed.
Thanks!
Changed in sakura: | |
importance: | Undecided → High |
assignee: | nobody → David Gómez (dabisu) |
status: | New → Confirmed |
Changed in sakura: | |
status: | Confirmed → Fix Committed |
Changed in sakura: | |
status: | Fix Committed → Fix Released |
- g_setenv("TERM", "xterm-256color", FALSE);
+ g_setenv("TERM", "xterm-256color", TRUE);
does not help sadly.