LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using extended ascii characters (https://www.linuxquestions.org/questions/linux-newbie-8/using-extended-ascii-characters-800318/)

sasser 04-06-2010 06:28 AM

using extended ascii characters
 
Hello all,

How can I use extended ascii characters, like ALT + 2 + 0 + 0 for instance?
I'm using some of those characters for my passwords for online accounts made under MS Windows and it seams I'm unable to use them in Slackware 13.

For instance: if I type ALT+2+0+0 in Pidgin there is no character displayed and if I type in the Terminal the same thing, it will replace my shell prompter (sasser@HOSTA:~$) with (arg: 200):

Quote:

sasser@HOSTA:~$
(arg: 200)
Thanks

neonsignal 04-06-2010 08:06 AM

You can enter arbitrary Unicode characters into GTK applications by holding down 'ctrl-shift' throughout and pressing 'u' followed by the hex code. For example, you can put in the ASCII character 200 into Pidgin by pressing:
Code:

ctrl-shift-u ctrl-shift-c ctrl-shift-8
For non-GTK applications the method varies. For example, in VIM you can use 'ctrl-V' 'u' {hexcode} while in insert mode.

In KDE you can use the control app KCharSelect to place characters, but I don't know of a way to do it more directly (ie keyboard only into a Qt application).

Likewise, I'm not sure of how to do it in xterm (apart from cut-and-paste or changing the keyboard map), though the GTK method would likely work in gnome-terminal.

berbae 04-06-2010 08:50 AM

From a Google search : linuxhowtos.org:Tips:compose
You find explanations on how to declare a Compose key.

I tested the command :

setxkbmap -model pc105 -layout fr -option compose:rwin

to use the <rightwindows> key as the compose key.

You can get your ascii 200 character which is (Egrave) character with :
<rightwindows> then ` then E

See for example ComposeKeys
for possible Linux Compose Key Sequences.

Or in a Compose file on your installation, for example :
/usr/share/X11/locale/iso8859-15/Compose

Adapt to your case of course.


All times are GMT -5. The time now is 02:49 PM.