I'm experiencing replacement of all occurrences of certain characters in the prompt and output of gnome-terminal
(3.6.2 in Ubuntu 14.04), e.g.
(latin d
is replaced with some kind of uppercase D in exponent and some other pixels below).
reset
and clear
don't help. Copying the output/prompt returns the character sequence without replacements. What could cause this?
This can happen after reading from
/dev/random
or/dev/urandom
withcat
. This seems to be fixed in version 3.20.2 ofgnome-terminal
. In older versions it's necessary to open a new terminal or try @Meow's solution below.try