General :: Interpret Keyboard Characters Properly?
Feb 18, 2010
I access a linux server shell via putty, but many of the keys I use do not translate across, up, down, left and right all are seen as ^[[A, ^[[B, ^[[D and ^[[C; But so is C-up, C-down, C-left and C-right. And enter is seen as C-j (which move down to the next line), and backspace is seen as C-h, which is backwards delete.
How can I stop these keys being translated into other keys (so I can, for example, configure C-h and backspace to perform two different functions) and what's doing this translation (Putty, the kernel, the shell)?
View 4 Replies
ADVERTISEMENT
Jun 16, 2010
I have my OpenSuse 11.1 box set up with utf-8, however, every time I try to open a file with utf-8 characters with vi it can't handle those characters properly.
View 6 Replies
View Related
Sep 9, 2011
Debian won't display Japanese characters properly, it shows them as symbols. Is there a language pack or a particular browser plugin I need to install? It's sort of a noobish question, but I looked for something related to this issue in my Package Manager, and didn't find anything that seemed suitable/related.
View 2 Replies
View Related
Jul 21, 2010
The code below prints garbage if I use puts() but it is fine if I use printf() instead (see sample of output at the bottom of this post). The odd thing is that the mess always starts after exactly eight properly printed characters. That sort of regularity can't be a coincidence, can it? It almost looks like an encoding issue (I'm using UTF-8) but if it really is, then I don't understand why the printf() is unaffected.
Code:
#include <stdio.h>
#include <string.h>
const char *nChars (const char *, int);
int main (int argc, char * argv[]){
char * name ="Count Dracula++";
int len = strlen(name);
if (argv[1] == 0) argv[1]="printf";
printf("--->%d characters", len); .....
View 9 Replies
View Related
Mar 3, 2009
I recently intalled Debian lenny and I'm having issues with some of the unicode characters. Instead of displaying the symbols properly it shows one of the following depending on font/app:
1) Square outline with four letters/numbers arranged inside
2) Just a blank square outline
3) Just a blank space
I haven't been able to test all possible characters, but from a quick check it seems that Cyrillic works properly, Japanese doesn't.A few Google searches later and I'm no wiser on how to fix the issue. Any help?
View 2 Replies
View Related
Nov 13, 2010
Debian "squeeze" AMD64 Some filenames, containing accented or other extended ASCII characters are not shown both in Nautilus and Terminal, nor in Virtual Console.
I also noticed than when asking octave interpreter (ran from terminal) to display character range from 97 to 140 the output was:
On the other hand, when executing the same query in qtoctave the characters are displayed properly.
I've tried to change the font that the gnome terminal uses, to no benefit.
My default locale is en_us.utf8 and I am about to install every package that contains the prefix ttf
thank you for your time reading this
View 3 Replies
View Related
Dec 16, 2010
On Linux Mint FBReader (both the latest version and the one in the 10.04 repositories)displays Chinese characters as boxes(see screenshot) for some reason, but on Windows it works fine. Is there any way to fix it?
View 1 Replies
View Related
Jun 6, 2010
I have been using SUSE 11.2 for some time now. I have 2 problems that I have been unable to resolve.
1. I like to use the Caps-Lock key to type capital letters every now and then. I turn caps lock on, type the letter, turn it off, and type the rest of the word (Yes I know I can use shift. My brain is not willing to unlearn ). After I turn the caps lock off, there seems to be a delay after which it switches off. This ends up making the second character caps as well. For example I want to type 'Who' instead I end up typing 'WHo'.
What setting can I tweak to get rid of this ? I am not sure what to search for, if some one has already asked this question.
2. I often select a couple of words using the 'ctrl+shift+ left / right arrow key' combination and attempt to overwrite the selection by typing in new characters. For example select the words 'abcd xyz' and then type 'a', which will replace the selected text. Sometimes I get this character '' instead of 'a'. A similar thing happens for other characters. Sometimes the keyboard will not respond for the first 2-3 strokes and the system will send out a *beep*. I have no clue why this happens. It does not happen consistently either. But it does happen in all text related windows. For example in a browser / kwrite / <Insert an application that can handle text here>
View 9 Replies
View Related
Jun 29, 2010
On SuSE 10.0 I used to be able to use shift + ctrl + unicode code. That does not seem to work now. How can I get this feature again? I miss it. I used to use it a lot to put the copyright symbol over my artwork in Gimp.
View 9 Replies
View Related
Aug 28, 2011
While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?
View 1 Replies
View Related
Aug 2, 2010
I am using Linux as my OS and using TOP command to measure the system performance. From the readings using the TOP, I have observed the following
(1) The used memory increase significantly from 7% to 99% over sometimes? Is there a sign of memory leak? Does OS play a part in used memory? Will system performance be affected? Will system crash due to 99% used memory?
(2) What is the difference between Memory Buffers and Cached?
(3) From the readings, it was observed that Buffers readings decrease, whereas Cached readings increase over time.
(5) Should TOP be used to take readings for system performance (memory & CPU usage)? What is the recommended method to take readings?
Whereas, my applications only consume a bit of memory and CPU.
View 2 Replies
View Related
Jun 7, 2011
I've installed the x86_64 edition of fedora 15 using the kde desktop.There's a peculiar problem that iḿ now facing. My keyboard for some reason types french characters(I am not sure if its french or some other european language though, it looked french to me). I want this to stop, let me illustrate the problem by typing some text.
View 14 Replies
View Related
May 10, 2010
how to capitalize 3rd level characters with a layout such as Dvorak International. (My layout) It turns out that one must use "Caps Lock" to capitalize a single character like". Being the person I am I have altered the Caps lock key so that it functions as an extra backspace button. My question is how can I use the shift key instead or at least map my right shift key to be Caps lock? I'd prefer not changing my shift keys but will remap the right one via some dubious script if need be.
View 1 Replies
View Related
Aug 29, 2010
In Welsh, we have a variety of accented characters - 56 with diacritic marks. Most are fairly rare, and accessing them via the Character Map is not really a problem, although it does slow down typing.There is a superb utility, provided free, which works on Windows systems only, and which maps the commonest accented characters.
I am recycling old PCs, installing Ubuntu, and distributing them in a predominantly Welsh-speaking area, and would love to be able to set up the same pattern of keyboard shortcuts for users.I have looked at using the COMPOSE key, but that means up to 6 keystrokes. I have also looked at keyboard preferences, bindings, custom layouts etc, but feel a little bit out of my depth. It doesn't appear as if there is a simple solution to this. A bit of time asking around and using search engines would appear to indicate that nobody has cracked this problem for Ubuntu.
Naerly all users will have UK keyboards, and being bilingual will be content with that.Is there a simple way of adding the extra characters, via the keystrokes described, for i386 systems running Ubuntu 10.04, system-wide, in all applications, for all users?
View 2 Replies
View Related
Oct 10, 2010
I'm getting a weird charset problem in a chroot'ed system that I kexec'ed into. It is especially noticeable in ncurses programs like aptitude, but it also noticeable in vim. [URL] My locales are configured to en_US.UTF-8, I have choosen my keyboard layout with kbd-config while in the chroot before kexec'ing into it, I've passed the bootkbd= parameter to the kexec'ed kernel, and my TERM variable is set to "linux". I can't try xterm because this chroot system doesn't has X.
EDIT: I just noticed that the keyboard layout I selected is not working properly. All keys work fine except the ones that are specific to my country. Instead of ç I get a weird symbol.
View 2 Replies
View Related
Mar 14, 2009
Since yesterday I have been having a strange and fairly aggravating keyboard problem. For some reason I am sometimes unable to type upper-case characters. My shift key doesn't behave normally. If I type shift-C, for example, nothing happens; if I try it several times, sometimes the character will eventually appear, sometimes preceded by a ) character. What's worse, some key combinations, such as shift-I, kill the brightness on the screen. After this happens a couple of times, the mouse freezes, and only a reboot will restore it. This does not seem to be remedied by logging out of the session (either gnome or KDE) and into another session. The problem seems to affect both desktop environments.
This problem seems to be intermittent. For example, it seems to be working normally now, but about five minutes ago GNOME gave me a bug reporting window on boot and informed me that the keyboard-switcher panel applet had crashed. I have tried exciting to a console with ctrl-alt-F1 while my keyboard is behaving in this way, and have found that my keyboard does not work correctly in the console either.
I would normally use several keyboard layouts as I need to write in several languages, but I have turned them all off and reset the keyboard control panels to defaults in both environments, and I am still experiencing the problem.
[Code]..
View 9 Replies
View Related
Oct 13, 2010
I'm having trouble with a bash script. I have something like this:export VAR=`command`The problem is that "command" can return this: "** NONE **". bash will then replace each of the * by the list of files in the current directory.I want the output to be uninterpreted (i.e. VAR should contain "** NONE **", not "list of files list of files NONE list of files list of files"). It shouldn't be hard but I am unable to figure it out, and I'm not sure how to phrase the problem,
View 1 Replies
View Related
Nov 19, 2009
I have a strange keyboard problem. If I enable keyboard repeat from system settings, every key press gets repeated no matter how fast I press the key. For example if I try to type the letter 'a' I get 'aaaaaaaaaaa'. Or if I type 'mouse' I get 'mouseeeeeeeeeeee'. I've tried different delay and rate options but that doesn't change the problem. If I disable keyboard repeat I can type normally, but it's very annoying when you can't for example delete characters quickly.
View 5 Replies
View Related
Feb 19, 2011
I've recently installed Ubuntu 10.10 and everything worked like a dream the first 10 days. Now I have to restart X to get my keyboard to work like it should. When I start the computer everything is fine until the login prompt where my password contains certain letters that don't work. To fix this I must use ctrl + alt + F1 and then start htop/top to find PID of X and kill it. This fixes the problem temporary but after next reboot I need to the same again...
View 2 Replies
View Related
Aug 1, 2009
I just installed F11 on my new laptop (Acer Timeline 3810T) and I have the following issue when adjusting volume. The keyboard shortcuts work, but they don't raise/lower the volume smoothly, instead they do it in 4 or 5 increments total. What's weird is that the notification that appears in the screen when I adjust the volume (the whitish square with a picture of a speaker, I think it's part of Compiz) shows the the volume changing in small increments, but when I get to the 3rd or 4th little increment from the right the volume is already muted. If I look at the alsa volume controls at the same time, I see it changing by the 4 or 5 big increments.
View 2 Replies
View Related
Sep 13, 2010
I've troubles with wireless keyboard and mouse on openSuse 11.3, XFCE. The keyboard is A4tech GL100 and mouse A4tech G7-630 working on 2.4 GHz. The mouse after few seconds of inactivity switches off and I have to click to bring it working again. The keyboard is set to CZ, but always after start automatically switched on ENG, I have to go to Yast and open keyboard setup and close even if the CZ is selected to force the CZ layout.
View 1 Replies
View Related
May 6, 2010
My keboard was working perfectly (backlight, inverse FN) until upgrade from karmic to lucid. Now neither backlight neither inverting FN (in pommed.conf) works- backlight is always off, FN is default OSX-like.
Trackpad worked "almost superb" (missing click with one finger and drag with another!!) but after upgrade (=no mode udev) event number changes with every reboot so I cannot put configuration based on /dev/input/eventX to Xorg.conf. How can I make it have the same number after reboot now?
View 2 Replies
View Related
Sep 21, 2011
time a.out
106.130u 0.000s 1:46.28 99.8% 0+0k 0+0io 83pf+0w
As per my understanding of the man page:
the first value is the time since the code execution started and ended,
the second values is the time spent in usermode
the third one being in kernel mode
Is the 99.8% indicating time spent in kernel mode?
Also, what does this indicate?
0+0k 0+0io 83pf+0w .
The program definitely takes more than a minute to execute - then why is the first value so small?
View 2 Replies
View Related
Jul 8, 2011
What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.
I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?
View 4 Replies
View Related
Sep 8, 2010
To understand the output of rpm -Va on my server?
The last few lines look like this:
Code:
I know that "c" means configuration file.
The man page explains the other codes
Quote:
But here's my question. Should I worry about rpm reporting so many file changes? And is there anything I should do?
This is a dedicated server. The host reformatted and reinstalled the software on August 24. A lot of the listed files are like this:
It looks as though the files weren't pulled from the repository but installed some other way by my host?
View 6 Replies
View Related
Mar 27, 2010
1.What character instructd the shell to interpret a special character as an ordinary character?
2.What directory contains some of the utilities available on the system in the form of binary files?
3. What command is used to search the location of a utility?
4. What command is used to instruct the editor to write the file and quit the editor?
5. What key quits the more utility and displays the shell prompt?
6. What command starts a child shell as the super user, taking on root's identity and environment?
7. Which wildcard characters can be used for searching all the files in the system that start with "A"?
8. The user name or login name of the super user is????
[Code]....
View 10 Replies
View Related
Jan 21, 2011
Ah, this time you've really screwed it up without covering you traces: F14 does not interpret correctly my (possibly botched up) ACPI tables and HANGS!!! With acpi=off I have to press the power button to switch my desktop off and that is really ANNOYING. Surely the Fedora engineers could have done a better job with this one.
View 14 Replies
View Related
Mar 21, 2011
i am getting the following errors when i was using iNSPect
[root@localhost iNSpect_4_beta_3]# ./iNSpect -c out.conf -l2 out4.tr
WARNING: packetString in config file not set. Using default of " ".
WARNING: simulationSpeedAtInit in config file not set. Using default of ".01".
WARNING: simulationSpeedMinimum in config file not set. Using default of ".005".
[code].....
View 5 Replies
View Related
Apr 25, 2011
It looks like I have one hard drive (30 GB) with three partitions, but df says my primary partition is under 9 GB? Shouldn't it be much larger?
Code:
$ sudo fdisk -l
Disk /dev/sda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004b8d0 .....
View 4 Replies
View Related
Feb 14, 2010
I have a number of errors captured by SELinux against NetworkManager - text of one of those is below. I'm not really sure how to interpret it
[code]...
View 1 Replies
View Related