LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Weird characters get typed in terminal (https://www.linuxquestions.org/questions/linux-newbie-8/weird-characters-get-typed-in-terminal-789146/)

sumeet inani 02-14-2010 11:36 PM

Weird characters get typed in terminal
 
I am using ubuntu 8.04 & in gnome-terminal when I type a letter i see weird foreign character.

When I ran ls then
bash: ልስ: command not found

Also If I copy & paste text from gedit(notepad) then it is alright like
$alias ls
alias ls='ls --color=never -pCA'
$
Ran 'reset' in gnome-terminal but invain.
My current character encoding is UTF-8 .Keyboard indicator says USA.
In xterm everything is normal.
What do you suggest ?

sumeet inani 02-15-2010 01:53 AM

System restart restored normalcy.
Still I would like to know what had I done ?

scheidel21 02-15-2010 09:09 AM

Probably changed the keyboard mapping somehow, can't say how though.

bret381 02-15-2010 09:13 AM

was compiz running? I ran into this using gentoo. Never really did figure out what was causing it other than something with compiz. I think the emerald WM. But it's been about a year ago. It was kind of hit or miss with it. sometimes it worked, other times it didn't. But try turning off Compiz if it's running.

sumeet inani 02-16-2010 04:02 AM

Actually i don't use any visual effects.That is system > preferences > appearance > visual effects > 'none' selected as always.

sumeet inani 03-11-2010 03:57 AM

Unpleasant surprise
I was running gnome-terminal 2.22.1 in ubuntu 8.04
I had extracted a binary file from .jar archive
I did
Code:

15:13:17 ~/Desktop/sun-java6-jre,sun-java6-jdk,sun-java6-plugin $ cat /home/lxuser/Desktop/m.class
����-        




  ()B (I)V (IB)V <␋┼␋├> B C⎺␍␊ ▒ ␉ └ ├ !     
                                                                           
          
                
                    *· *µ ±    
           ¬      15:14:23 ·/D␊⎽┐├⎺⎻/⎽┤┼-┘▒┴▒6-┘⎼␊,⎽┤┼-┘▒┴▒6-┘␍┐,⎽┤┼-┘▒┴▒6-⎻┌┤±␋┼ $ ┌⎽#This is ls command
⎺␍␉␌␋┼⎽├1␍␊␉␋▒┼1_2.2.11-16␉┤␋┌␍1_␋386.␍␊␉  ⎽┤┼-┘▒┴▒6-┘⎼␊_6-06-0┤␉┤┼├┤1_▒┌┌.␍␊␉
⎽┤┼-┘▒┴▒6-␉␋┼_6-06-0┤␉┤┼├┤1_␋386.␍␊␉      ⎽┤┼-┘▒┴▒6-⎻┌┤±␋┼_6-06-0┤␉┤┼├┤1_␋386.␍␊␉
⎽┤┼-┘▒┴▒6-┘␍┐_6-06-0┤␉┤┼├┤1_␋386.␍␊␉      ┤┼␋│⎺␍␉␌_2.2.11-16␉┤␋┌␍1_␋386.␍␊␉
15:14:27 ·/D␊⎽┐├⎺⎻/⎽┤┼-┘▒┴▒6-┘⎼␊,⎽┤┼-┘▒┴▒6-┘␍┐,⎽┤┼-┘▒┴▒6-⎻┌┤±␋┼ $ #back to prompt but it is garbled


repo 03-11-2010 04:00 AM

type reset

jamescondron 03-11-2010 04:00 AM

Yes, you don't want to be doing that ;) What you've done is try to read a binary, to extract.

If it happens again just close the terminal window, or use the reset command.

sumeet inani 03-11-2010 10:06 PM

Thank You repo.
I typed reset & it became alright.
I think cat command outputs content of file just like 'type' in MS-DOS.
Is this garbled scene a bug in gnome-terminal ?


All times are GMT -5. The time now is 07:19 PM.