LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-06-2015, 11:28 PM   #1
rohitlinux12
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
character mismatch in linux terminal


I have installed rhel6 in oracle virtual machine on my windows7 laptop. In rhel6 terminal when i type any symbol, it displays another symbol, like

when i type " it displays @ in terminal.
when i type | it displays ~ in terminal.
when i type \ it displays # in terminal.

pls help me to resolve this issue.

Note: on windows7 everthing works fine.
 
Old 09-07-2015, 02:28 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It sounds like a font mismatch between what Windows is using, and what RH is using. RH normally would use UTF-8 which would handle nearly any character set... but Windows may be using something different.
 
Old 09-07-2015, 04:04 AM   #3
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by rohitlinux12 View Post
I have installed rhel6 in oracle virtual machine on my windows7 laptop. In rhel6 terminal when i type any symbol, it displays another symbol, like

when i type " it displays @ in terminal.
when i type | it displays ~ in terminal.
when i type \ it displays # in terminal.

pls help me to resolve this issue.

Note: on windows7 everthing works fine.
Your keyboard doesn't match the current keyboard layout in RH (US <> UK).

http://superuser.com/questions/66826...eyboard-layout
 
Old 09-08-2015, 06:14 AM   #4
rohitlinux12
LQ Newbie
 
Registered: Sep 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi hortageno, i have tried keyboard layout US<>UK both, but it didnt work for me. pls provide your support. thanks
 
Old 09-08-2015, 06:27 AM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What is your LANG and what is your keyboard?
 
Old 09-08-2015, 06:39 AM   #6
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by rohitlinux12 View Post
Hi hortageno, i have tried keyboard layout US<>UK both, but it didnt work for me. pls provide your support. thanks
Try Applications -> System Tools -> Settings -> Region & Language

If you have "English (UK)" in there, remove it and add "English (US)".

Reading your first post again, are you saying that happens only in terminal and not in any other program?
 
  


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
[SOLVED] Terminal uses wrong character encoding Snark1994 Linux - Software 1 10-28-2012 03:09 PM
The last character covered by the cursor in a terminal sheller Slackware 1 06-22-2010 01:29 AM
Character set in the terminal intuxicator Debian 1 05-01-2005 02:56 AM
Graphic Character on Terminal Emulator pymehta Linux - Software 1 03-25-2005 10:22 PM
HELP! terminal having weird character. kazi Linux - Newbie 4 03-22-2003 01:35 AM

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

All times are GMT -5. The time now is 08:43 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