You are not logged in.
using gnome-terminal,
i create a text file:
echo "hello" > test
then i open test with emacs -nw:
emacs -nw test
and i get:
[Ihello]
instead of just
hello
everytime i move the mouse off the terminal more stuff gets added to that first line like this:
[[[[[[[IOIOIOIhello]]]]]]]
only the first line is affected.
this behavior doesn't occur if i use -q (in gnome-terminal)
emacs -nw -q
(so there seems to be something strange about the init.el file may be)
nor does it happen in xterm at all.
gnome-terminal at one time didn't do this.
what is happening (i imagine it has something to do with graphic codes)?
how do i stop it (or find the problem in my emacs config files)?
Last edited by pradtf (2021-11-21 20:42:36)
in friendship,
prad
Offline
Offline
TERM=xterm-256color
I just set
TERM=gnome-256color
and there is no problem!
thx!!
Last edited by pradtf (2021-11-21 23:32:02)
in friendship,
prad
Offline
You shouldn't be setting TERM anywhere, that's what's breaking your system.
Offline
You shouldn't be setting TERM anywhere, that's what's breaking your system.
oh i didn't know that.
i never set TERM after installing gnome, so i don't know how it got xterm-256colors.
how do i fix the problem then without exporting TERM in .zshenv?
things seem to be working fine now, but i'd like to know the proper way to deal with this.
in friendship,
prad
Offline