OpenSUSE :: UTF-8 Characters On Vi / Can't Handle Those Characters Properly
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
ADVERTISEMENT
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
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
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
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
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
May 6, 2010
I'm using openSUSE 11.2 with GNOME dual-booted with Windows 7, been installed from scratch for like a week. The bottom line is: Nautilus displays a series of matrices, "x"s and other symbols instead of characters in Hebrew.
Screenshot:
Now, it worked fine at the beginning but once I started installing updates it went. I installed a whole bunch of updates and programs so I don't know what changed it. The weird part is (as you can see in the screenshot) that the shortcut to the left of a Hebrew-named folder shows up correctly only the first time Nautilus opens after starting. So as soon as I closed the Nautilus window after taking the screenshot and reopened it, it also displayed like the others. The screenshot is of my ntfs Windows drive, however the problem occurs in my home folder as well.
Here's my fstab anyway:
Code:
/dev/disk/by-id/ata-ST9160821AS_5MA727CM-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9160821AS_5MA727CM-part6 / ext4 acl,user_xattr 1 1
[Code]....
View 9 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
Dec 21, 2010
Probably an easy question but my googlefu is weak. How do I change the number of characters per line for konsole?
View 6 Replies
View Related
Mar 3, 2011
I have Open Suse 11.3 KDE desk. with default Open_office as installed. How can i use diacritics characters for a specific language(Romanian). I search "help" but didn't figured out.
View 3 Replies
View Related
Aug 3, 2011
I upgraded my openSUSE 11.2 to openSUSE 11.4 . Unfortunately after the upgrade the OS does not recognize many characters at many places . For eg :- In YaST , everything is square boxes as if the character set weren't present . Moreover , every theme has same font at every place i.e. Sans Serif . After the upgrade, the graphics have become worse . I'm using KDE environment . Hardware is : Core i5/4GB .
View 1 Replies
View Related
Mar 21, 2011
I did not have this problem with OpenOffice in OpenSuse 11.3, it came after upgrading to 11.4. When typing some characters (these three: ?"!) a blank space (grey box) in inserted before them. If the next character is a "normal" one, the grey box disappears as soon as such next character is typed. But, if the next character is one of these three, or a space, the box stays there.
Being a local keyboard, I have to use the Shift key (? = Shift + key next to 0; " = Shift + 2; ! = Shift + 1). But, as you can see, only one of them (?) does differ from the USA keyboard, the other two ("!) are the same as for the USA keyboard. On the other hand, other characters requiring the Shift key (�$%&/()=) do not raise the grey box, so I do not think that the point be the local keyboard.
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
Feb 8, 2010
Now the messages in certain programs, like yast or in the console, are in spanish, but the special characters are written wrong:
felisa:~ # man ls
Man: find all matching manual pages
* ls (1)
[code]...
View 1 Replies
View Related
Dec 10, 2010
I have about 300 files that need renaming, because the file system does not display the French characters properly. The dodgy letter in question has been replaced by a "question mark in a black diamond" symbol.No way of renaming, other then using mv in the Konsole has worked. Is there any way, script or program out there, that will do a batch rename?
View 9 Replies
View Related
Dec 30, 2009
I WAS using opensuse 11.1 with gnome networkmanager and vpnc. I am NOW using opensuse 11.2 with gnome networkmanager and vpnc.When vpn concentrators are configured, they are configured with 'split horizons' (or not). If not, a default route is required from the client to pass ALL client traffic through the vpn connection. (when the connection is established, the vpn client replaces the default route on the client machine to point to the host site) If 'split horizons' is enabled, only the traffic bound for the host site is passed through the vpn connection.
What I have noticed, is since I installed 11.2, the vpn client is NOT enabling split horizon on connections that call for it. In stead, it is putting in a default gateway every time. This is a big problem, because for those sites that are configured for split horizon, doing this means that no Internet traffic will pass unless you manually adjust the route table.
View 2 Replies
View Related
Oct 11, 2010
1. Unable to find frequently used Special Characters and Symbols in Novell openoffice writer. 2. How to import more symbols for writer while using Special Characters in Writer.
View 9 Replies
View Related
May 22, 2011
I am using a VRS for ftp operations. I have bought it with OpenSuSe 11.3 installed without any Control Panel installed. I have used NX and installed IceWM as windows manager. It works really great. Then system wanted me to upgrade. I did so. After upgrade to 11.4, my programs screwed up. They don't show any text at all but squares instead. I have tried everything i know to fix this but i could not manage to repair it.
My VRS has 512mb RAM , OpenSuse 11.4 (32-Bit) and has no control panel. I use yast through SSH Telnet client (Putty).
View 9 Replies
View Related
Dec 29, 2010
I often use VNC to connect to my desktop upstairs using a laptop downstairs over my home network. I tunnel the VNC connection via SSH. The problem I keep running into is that I'll attempt to type a ! or a : or even a captial A and it will come across the wire as a 1, ;, or a respectively. Is this something I can fix? It's really REALLY annoying while one is programming to have to pop open character map and find a colon and copy/paste it in each time. Running Ubuntu 10.04 upstairs, Linux Mint 10 downstairs.
View 1 Replies
View Related
Jul 6, 2010
I added a Romanian keyboard to the system. When I check the layout I see some keys have four characters associated with them. For example the key highlighted in the screenshot I attached has four characters: ș, Ș, ;, :. The first two can be used by pressing the key with or without Shift, but how about the other two?
View 1 Replies
View Related
Dec 23, 2010
Just now, after I open my computer, all of sudden, all the characters in windows and menus became little rectangles. What shall I do?
View 9 Replies
View Related
Aug 17, 2010
any tips from you guys on how to filter my awk output?I want to exclude last 5 characters using awk in my tcpdump result.I don't want to include ".443:" in my tcpdump using awk.
View 6 Replies
View Related
Nov 1, 2010
We have a list of cyclones in the world. Now i got to check whether or not the second field is more than 1000 mm. If so, than the line has to have a[*] at the end of the line. For exemple:
Australia:1411:55.55:Mackay Cyclone 1918:1918:Mackay
to
Australia:1411:55.55:Mackay Cyclone 1918:1918:Mackay[*]
I also have to use a substitute. So far i've got this but it fails, 6,$s/([0-9])111:1/.* [*]
View 7 Replies
View Related
Nov 4, 2010
How many characters does Linux recognize on usernames?
View 2 Replies
View Related
Apr 4, 2010
The input file consists of several fields. The first field is always five or more characters long. I want to keep the last five characters of the first field.
Example:
If the input file record is FEDERAL PACIFIC ELECTRIC PRODUCTS then I want to keep DERAL I can do this in four steps by using C, REV, C, and REV again but that seems like doing an easy thing the hard way. Is there a straightforward way to achieve this result with C or some other command?
View 14 Replies
View Related
Nov 2, 2010
I have a file with a random word on each line (3k+ lines). How can I get the lines with only five characters? I tried using grep file | more, but it returns all the words (even those less than 5 characters).
Edit: I also tried grep '.{5}' file | more but it doesn't show anything. And grep '.{5}' file | more returns all lines with four or more characters (I'm really confused about why it's doing this).
View 4 Replies
View Related