Backspace problem in console with unicode characters
So I am trying to get unicode to work on my console in Slackware 13.37. I load a unicode font using setfont, and set my keyboard to a German layout using loadkeys. The following errors occur:
1. If I enter a character into the command prompt which is not ASCII, like ö,ä,ß, if I try to delete the character, the character does not display on my screen, but it is processed in the command as if it were there. 2. If I enter a character into the command prompt which is not ASCII, and then try to remove everything entered using the backspace key, I wind up deleting part of my shell prompt. If the number of non-ascii characters entered is N, then backspace will seem to delete N extra characters. So these problems seem related, and I have no idea what to do. If anybody could provide any help, I would greatly appreciate it! Edit: I should also probably mention that I am using bash. |
Awesome. Super easy fix! All you have to do is edit the file /etc/profile.d/lang.sh to set the LANG variable to something that supports UTF-8... For example, comment out the line that reads:
Code:
export LANG=en_US Code:
export LANG=en_US.utf8 |
Backspace deletes prompt after entering non-ASCII characters
I am also facing same problem, but suggested solution did not work for mi. I am using fedora13.
|
Quote:
And as you've been told in your other threads, you should REALLY not be using Fedora 13..it's ancient and unsupported, the latest is 20. Please update. And your question here seems to be related to another thread you have opened: http://www.linuxquestions.org/questi...ng-4175504200/ |
All times are GMT -5. The time now is 03:34 PM. |