LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-14-2010, 11:36 PM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908
Blog Entries: 26

Rep: Reputation: 49
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-14-2010 at 11:53 PM.
 
Old 02-15-2010, 01:53 AM   #2
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
System restart restored normalcy.
Still I would like to know what had I done ?
 
Old 02-15-2010, 09:09 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

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

Rep: Reputation: 79
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, 04:02 AM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

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

Original Poster
Blog Entries: 26

Rep: Reputation: 49
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, 04:00 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

Rep: Reputation: 70
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, 10:06 PM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 908

Original Poster
Blog Entries: 26

Rep: Reputation: 49
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



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-25-2009 11:30 PM
Linuxconf didn't show up when i typed in the terminal and problems with samba ineth Red Hat 1 10-22-2005 04:44 PM
Weird Characters in terminal Mr. New Linux - Newbie 3 05-10-2005 04:49 PM
Weird Characters LQtoto Linux - Software 2 07-01-2004 05:10 PM
show all terminal typed commands joulupukki Linux - Newbie 6 05-10-2004 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 AM.

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
Open Source Consulting | Domain Registration