LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2010, 12:36 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Rep: Reputation: 48
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 ?

Last edited by sumeet inani; 02-15-2010 at 12:53 AM.
 
Old 02-15-2010, 02:53 AM   #2
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
System restart restored normalcy.
Still I would like to know what had I done ?
 
Old 02-15-2010, 10:09 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
Probably changed the keyboard mapping somehow, can't say how though.
 
Old 02-15-2010, 10:13 AM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 78
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.
 
Old 02-16-2010, 05:02 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
Actually i don't use any visual effects.That is system > preferences > appearance > visual effects > 'none' selected as always.
 
Old 03-11-2010, 04:57 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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
 
Old 03-11-2010, 05:00 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
type reset
 
1 members found this post helpful.
Old 03-11-2010, 05:00 AM   #8
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
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.
 
Old 03-11-2010, 11:06 PM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mastering Characters Sets in Linux (Weird Characters, part 2) LXer Syndicated Linux News 0 11-26-2009 12:30 AM
Linuxconf didn't show up when i typed in the terminal and problems with samba ineth Red Hat 1 10-22-2005 05:44 PM
Weird Characters in terminal Mr. New Linux - Newbie 3 05-10-2005 05:49 PM
Weird Characters LQtoto Linux - Software 2 07-01-2004 06:10 PM
show all terminal typed commands joulupukki Linux - Newbie 6 05-10-2004 05:42 AM


All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration