Re: Unicode Character key-in problem

2010-09-16 Thread Daniel Barclay

Phil Requirements wrote:

On 2010-09-10 18:56:03 -0400, Daniel Barclay wrote:

Phil Requirements wrote:
...

GNU/Linux has an *improved* method of inputting these special
characters.  In Windows, you have to memorize these four digit codes
that don't mean anything. In GNU/Linux, I memorize two-letter codes
that actually hint at the meaning.


On the other hand, a method based on hexadecimal character codes can
handle a lot more characters than you can memorize two-key combinations
for, and ... [you] can use
standard Unicode code point numbers for characters (which are also used
in HTML, [etc.]).
the character in those other places; learning a hex code would.)



I agree with your point that the ability to enter hex codes would be
portable in a certain way. However, they are not mnemonic at all, and
are difficult to memorize.

I was trying to address the very specific problem the original poster
had laid out. He had certain characters that he needed frequently,
which he had memorized the decimal ASCII code for. In that situation
(an average user who needs to enter some special characters now and
then) I still think that the two-letter mnemonic codes are an
improvement over memorizing decimal ASCII codes.

It's a good and valid point about working with Unicode codes. But my
email that you are quoting was written on a simpler level than that.


I didn't mean that GNU/Linux isn't improved because it adds the
composition method (or that the composition is an improvement in many
cases).  I just meant to point out that it wouldn't clearly be an
improvement if Linux(/GTK/X11/etc.) had also dropped the numeric entry
method.

(I'm thinking of when Macintoshes first came out--they added (relative
to typical computers of the day) the mouse, which was a big improvement
in most cases, but they dumbly dropped the left and right arrow keys.
That combination definitely was _not_ an improvement in cases such as
correcting a typo a couple of characters back from the text cursor.)

Daniel



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c924577.2050...@fgm.com



Re: Unicode Character key-in problem

2010-09-16 Thread Phil Requirements
On 2010-09-16 12:27:35 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 On 2010-09-10 18:56:03 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 ...
 GNU/Linux has an *improved* method of inputting these special
 characters.  In Windows, you have to memorize these four digit codes
 that don't mean anything. In GNU/Linux, I memorize two-letter codes
 that actually hint at the meaning.
 
 On the other hand, a method based on hexadecimal character codes
 can handle a lot more characters than you can memorize two-key
 combinations for, and ... [you] can use standard Unicode code
 point numbers for characters (which are also used in HTML,
 [etc.]).  the character in those other places; learning a hex code
 would.)
 
 
 I agree with your point that the ability to enter hex codes would be
 portable in a certain way. However, they are not mnemonic at all, and
 are difficult to memorize.
 
 I was trying to address the very specific problem the original poster
 had laid out. He had certain characters that he needed frequently,
 which he had memorized the decimal ASCII code for. In that situation
 (an average user who needs to enter some special characters now and
 then) I still think that the two-letter mnemonic codes are an
 improvement over memorizing decimal ASCII codes.
 
 
 I didn't mean that GNU/Linux isn't improved because it adds the
 composition method (or that the composition is an improvement in many
 cases).  I just meant to point out that it wouldn't clearly be an
 improvement if Linux(/GTK/X11/etc.) had also dropped the numeric entry
 method.
 
 (I'm thinking of when Macintoshes first came out--they added (relative
 to typical computers of the day) the mouse, which was a big improvement
 in most cases, but they dumbly dropped the left and right arrow keys.
 That combination definitely was _not_ an improvement in cases such as
 correcting a typo a couple of characters back from the text cursor.)
 
 Daniel
 

Daniel,

I see what you mean, that it's good to have multiple input methods,
depending on what the user is accustomed to. Definitely agree.

One small point worth noting is that the traditional Windows method of
inputting special characters, going way back for decades, was to enter
the *decimal* ASCII code. So even though GNU/Linux has a method for
entering hex Unicode code points, a migrating user still has to learn
new tricks (convert decimal to hex, or memorize new hex codes).

Windows does have a way to enter Unicode code points, but I haven't
used it. I think it's safe to say that most Windows users with this
problem are accustomed to *decimal* ASCII codes.

Phil


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100916202421.ga3...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-14 Thread Celejar
On Fri, 10 Sep 2010 18:56:03 -0400
Daniel Barclay dan...@fgm.com wrote:

...

 (From Celejar(?)'s Control-Shift-U comment, it sounds like Linux does
 provide both types of methods.)

Yes, it does.  For the archives:

Compose key:

http://www.hermit.org/Linux/ComposeKeys.html

GTK ctrl-shift methods - I can't find the official documentation, but
these comments from the source code are floating around the web:

http://mail.gnome.org/archives/gtk-devel-list/2005-September/msg1.html

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100914201925.b2671b6d.cele...@gmail.com



Re: Unicode Character key-in problem

2010-09-14 Thread Phil Requirements
On 2010-09-10 18:56:03 -0400, Daniel Barclay wrote:
 Phil Requirements wrote:
 ...
 GNU/Linux has an *improved* method of inputting these special
 characters.  In Windows, you have to memorize these four digit codes
 that don't mean anything. In GNU/Linux, I memorize two-letter codes
 that actually hint at the meaning.
 
 On the other hand, a method based on hexadecimal character codes can
 handle a lot more characters than you can memorize two-key combinations
 for, and instead of using keyboard-layout-specific combinations, can use
 standard Unicode code point numbers for characters (which are also used
 in HTML, XML, JavaScript, Java, Ruby I think, and who know where else).
 (That is, learning learning a multi-key compose combination for a
 character won't help you when you want to enter the encoded form of
 the character in those other places; learning a hex code would.)
 

I agree with your point that the ability to enter hex codes would be
portable in a certain way. However, they are not mnemonic at all, and
are difficult to memorize.

I was trying to address the very specific problem the original poster
had laid out. He had certain characters that he needed frequently,
which he had memorized the decimal ASCII code for. In that situation
(an average user who needs to enter some special characters now and
then) I still think that the two-letter mnemonic codes are an
improvement over memorizing decimal ASCII codes.

It's a good and valid point about working with Unicode codes. But my
email that you are quoting was written on a simpler level than that.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100915045804.ga3...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-10 Thread Daniel Barclay

Phil Requirements wrote:
...

GNU/Linux has an *improved* method of inputting these special
characters.  In Windows, you have to memorize these four digit codes
that don't mean anything. In GNU/Linux, I memorize two-letter codes
that actually hint at the meaning.


On the other hand, a method based on hexadecimal character codes can
handle a lot more characters than you can memorize two-key combinations
for, and instead of using keyboard-layout-specific combinations, can use
standard Unicode code point numbers for characters (which are also used
in HTML, XML, JavaScript, Java, Ruby I think, and who know where else).
(That is, learning learning a multi-key compose combination for a
character won't help you when you want to enter the encoded form of
the character in those other places; learning a hex code would.)

An improvment over Windows would be giving you _both_ types of
methods.  (Then you can use the composition method for, say, common
characters, and can still use the numeric method when you need to.)

(From Celejar(?)'s Control-Shift-U comment, it sounds like Linux does
provide both types of methods.)



Daniel


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c8ab783.2080...@fgm.com



Re: Unicode Character key-in problem

2010-09-08 Thread Carl Johnson
Doug dmcgarr...@optonline.net writes:

 On 9/7/2010 9:34 PM, Celejar wrote:
 On Tue, 07 Sep 2010 09:01:11 -0700
 Carl Johnsonca...@peak.org  wrote:

 ...

 Sorry, I was referring to the link to compose keys.  I haven't figured
 out how to use hex input for Linux (or FreeBSD).

 As Camaleón has explained, it's really pretty straightforward: press
 ctrl-shift-u simultaneously, then release all three; you'll see an
 underlined 'u'.  Now enter the hex code for the character, one digit at
 a time, then press enter when finished.  Voila, you'll get the Unicode
 character!

 Celejar

 This question brought up an interesting, and bigger question:

 In DOS and all versions of Windows, going back to the stone age, you
 could hold ALT and press 3 digits of the extended (128~255) ASCII
 table, using the number pad, and get all kinds of foreign and other
 useful characters. For instance, if you wanted a German ess-tset
 character, you would hold ALT and push 225, like this: ß.  I'm writing
 this from Win 7, and you can see that it works. It also works in Open
 Office in the Windows version. Something similar in MS Word--I think
 Word requires a 0 before the code.

 As far as I can tell, this does _not_ work in Debian or in PcLinuxOs,
 the two Lx's I have present access to.  Not in plain files like
 KWrite, and not in Open Office. I don't understand what the above
 correspondent is getting at (I don't know what Unicode is).  How, in
 plain English, can one get foreign characters in Linux without using
 an international keyboard?  (I assume that works, as the international
 keyboard is a choice in many distros, under Locale.)  Or is it
 basically just not possible?

That is why we were talking about the Compose and AltGr keys.  I have a
US keyboard and I just press the Compose key followed by s and s to
get ß.  Similarly, I can press Compose ' and a to get á.  The AltGr
key will also allow access to alternate values of individual keys by
holding down the AltGr key and pressing another key.  For the
US-international layout, the AltGr-a combination will give á, AltGr-s
gives ß, AltGr-/ gives ¿.  I am using unicode, but it works for all
characters that the charset and locale allow.

-- 
Carl Johnsonca...@peak.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87eid4aljj@oak.localnet



Re: Unicode Character key-in problem

2010-09-08 Thread Phil Requirements
On 2010-09-07 22:44:27 -0400, Doug wrote:
 
 In DOS and all versions of Windows, going back to the stone age, you
 could hold ALT and press 3 digits of the extended (128~255) ASCII
 table, using the number pad, and get all kinds of foreign and other
 useful characters. For instance, if you wanted a German ess-tset
 character, you would hold ALT and push 225, like this: ß.  I'm
 writing this from Win 7, and you can see that it works. It also
 works in Open Office in the Windows version. Something similar in MS
 Word--I think Word requires a 0 before the code.
 
 As far as I can tell, this does _not_ work in Debian or in
 PcLinuxOs, the two Lx's I have present access to.  Not in plain
 files like KWrite, and not in Open Office. I don't understand what
 the above correspondent is getting at (I don't know what Unicode
 is).  How, in plain English, can one get foreign characters in Linux
 without using an international keyboard?  (I assume that works, as
 the international keyboard is a choice in many distros, under
 Locale.)  Or is it basically just not possible?
 

Doug,

It is very much possible to input foreign characters in GNU/Linux.
And it's easier than in Windows, though it is *different*.

Like you, I was accustomed to the Windows way of inputting special
characters. There were several special characters that I always input
with 3- or 4-digit codes. ALT+0161, ALT+0181, and ALT+0191 to name a
few.

Let's say I want an upside down exclamation mark, so I can write ¡Ay
de mi! In Windows, you would do something like ALT+0161.

In GNU/Linux, I hit the Compose Key, then !, then !.

Let's say I want to type mu, so that it looks like this: µ.
In Linux, I hit the Compose Key, then m, then u.

GNU/Linux has an *improved* method of inputting these special
characters.  In Windows, you have to memorize these four digit codes
that don't mean anything. In GNU/Linux, I memorize two-letter codes
that actually hint at the meaning.

!! -- ¡
mu -- µ
c| -- ¢
e= -- €
Y= -- ¥
ss -- ß

The thing that worked for me was:

1. Set up a Compose Key (plenty of tutorials online)
2. Learn the simple logical two-letter codes (plenty of docs online)

You may already have a Compose Key set up, I wouldn't know.  I had
to set mine up manually. Getting that done is the hardest
part. Learning the codes is easy because they are all common sense.

There might be some other ways to get the function you want, but I
wanted to tell you what worked for me.

I don't know any way to use the actual 4-digit codes that one can use
in Windows. In my opinion, the GNU/Linux method is better.

If you get this working, it will work in a terminal, in a browser, in
KWrite, or whatever else you can think of.

Hope this helps,

Phil


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100908060101.ga32...@kasploosh.net



Re: Unicode Character key-in problem

2010-09-08 Thread John Jason Jordan
On Tue, 07 Sep 2010 21:47:44 -0700
Carl Johnson ca...@peak.org dijo:

That is why we were talking about the Compose and AltGr keys.  I have a
US keyboard and I just press the Compose key followed by s and s to
get ß.  Similarly, I can press Compose ' and a to get á.  The AltGr
key will also allow access to alternate values of individual keys by
holding down the AltGr key and pressing another key.  For the
US-international layout, the AltGr-a combination will give á, AltGr-s
gives ß, AltGr-/ gives ¿.  I am using unicode, but it works for all
characters that the charset and locale allow.

I have a US keyboard and I do not have an AltGr key. I do have two Alt
keys, one on either side of the spacebar, but neither works as you
describe. However, in Linux Ctrl-Shift-u plus the unicode value enters
any character contained in the font.

How did you get a US keyboard with an AltGr key?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100908004327.1c434...@mailhost.pdx.edu



Re: Unicode Character key-in problem

2010-09-08 Thread Lisi
On Wednesday 08 September 2010 03:44:27 Doug wrote:
 How, in plain English,
 can one get foreign characters in Linux without using an international
 keyboard?

I use skim; scim, I believe, if you do not have KDE. 

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201009080852.41702.lisi.re...@gmail.com



Re: Unicode Character key-in problem

2010-09-08 Thread Doug

On 9/8/2010 2:01 AM, Phil Requirements wrote:

On 2010-09-07 22:44:27 -0400, Doug wrote:

/snip/


Doug,

It is very much possible to input foreign characters in GNU/Linux.
And it's easier than in Windows, though it is *different*.

Like you, I was accustomed to the Windows way of inputting special
characters. There were several special characters that I always input
with 3- or 4-digit codes. ALT+0161, ALT+0181, and ALT+0191 to name a
few.

Let's say I want an upside down exclamation mark, so I can write ¡Ay
de mi! In Windows, you would do something like ALT+0161.

In GNU/Linux, I hit the Compose Key, then !, then !.

Let's say I want to type mu, so that it looks like this: µ.
In Linux, I hit the Compose Key, then m, then u.

GNU/Linux has an *improved* method of inputting these special
characters.  In Windows, you have to memorize these four digit codes
that don't mean anything. In GNU/Linux, I memorize two-letter codes
that actually hint at the meaning.

!! --  ¡
mu --  µ
c| --  ¢
e= --  €
Y= --  ¥
ss --  ß

The thing that worked for me was:

 1. Set up a Compose Key (plenty of tutorials online)
 2. Learn the simple logical two-letter codes (plenty of docs online)

You may already have a Compose Key set up, I wouldn't know.  I had
to set mine up manually. Getting that done is the hardest
part. Learning the codes is easy because they are all common sense.

There might be some other ways to get the function you want, but I
wanted to tell you what worked for me.

I don't know any way to use the actual 4-digit codes that one can use
in Windows. In my opinion, the GNU/Linux method is better.

If you get this working, it will work in a terminal, in a browser, in
KWrite, or whatever else you can think of.

Hope this helps,

Phil


Your input is very clear and helpful.  I have found a chart of compose 
key functions, and it looks quite useful.  Maybe there's even a way to 
make Windows use that system!


I have been doing a lot of research since this whole topic came up, and
I think I know how to make my right ALT key a compose key--in Linux, 
anyway--but I had the impression that sometimes you need an AltGr key--I 
forget what for--and apparently that's what the right ALT key does.  (I 
may very well be wrong!)


On the IBM k/b, there's also an extra - key on the number pad, that I 
never use.  That could be an AltGr or a compose.


I am using Linux (PcLOs on a desktop with an old IBM k/b) and a laptop
with a single Microsoft key on the left of the space bar for PcLOs and
Debian.  I would never give up the IBM k/b's I have on this and the 
Linux desktop machines. At this point I am open to suggestions, both for 
the desktop Linux machine and the laptop, which runs XP and the two

Linux distros.

Thanx--doug


--
Blessed are the peacemakers...for they shall be shot at from both sides. 
 --A.M. Greeley



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c8741f2.3040...@optonline.net



Re: Unicode Character key-in problem

2010-09-08 Thread Kelly Clowers
On Wed, Sep 8, 2010 at 00:43, John Jason Jordan joh...@comcast.net wrote:
 On Tue, 07 Sep 2010 21:47:44 -0700
 Carl Johnson ca...@peak.org dijo:

That is why we were talking about the Compose and AltGr keys.  I have a
US keyboard and I just press the Compose key followed by s and s to
get ß.  Similarly, I can press Compose ' and a to get á.  The AltGr
key will also allow access to alternate values of individual keys by
holding down the AltGr key and pressing another key.  For the
US-international layout, the AltGr-a combination will give á, AltGr-s
gives ß, AltGr-/ gives ¿.  I am using unicode, but it works for all
characters that the charset and locale allow.

 I have a US keyboard and I do not have an AltGr key. I do have two Alt
 keys, one on either side of the spacebar, but neither works as you
 describe. However, in Linux Ctrl-Shift-u plus the unicode value enters
 any character contained in the font.

 How did you get a US keyboard with an AltGr key?

It is *really* hard to find a US keyboard with it actually printed on the
key, but any right-alt (or any other key, really) can be a altgr if you
use something like this:
XKBOPTIONS=lv3:ralt_switch

or you can get compose with either:
XKBOPTIONS=compose:ralt

or:
XKBLAYOUT=us
XKBVARIANT=intl

(or you can use both with something like:
XKBOPTIONS=compose:ralt, lv3:rwin_switch)


If you like dead keys:
XKBLAYOUT=us
XKBVARIANT=alt-intl

In current systems, these go in /etc/default/keyboard
Older systems use xorg.conf.

On Wed, Sep 8, 2010 at 00:52, Lisi lisi.re...@gmail.com wrote:
 On Wednesday 08 September 2010 03:44:27 Doug wrote:
 How, in plain English,
 can one get foreign characters in Linux without using an international
 keyboard?

 I use skim; scim, I believe, if you do not have KDE.

I have found ibus to be a bit robust than scim, and less finicky
about ABI transition issues (since it isn't C++ and anyway uses
DBus instead of internal communication).


Cheers,
Kelly Clowers


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinw-dsjt_zh1tearviw3b4+bichvmmj-2qbc...@mail.gmail.com



Re: Unicode Character key-in problem

2010-09-08 Thread Celejar
On Wed, 8 Sep 2010 06:16:52 -0700
Kelly Clowers kelly.clow...@gmail.com wrote:

 On Wed, Sep 8, 2010 at 00:43, John Jason Jordan joh...@comcast.net wrote:
...

  How did you get a US keyboard with an AltGr key?
 
 It is *really* hard to find a US keyboard with it actually printed on the
 key, but any right-alt (or any other key, really) can be a altgr if you

My Acer Aspire 3690 (purchased from Tiger) does have AltGR printed on
the right alt key.

 use something like this:
 XKBOPTIONS=lv3:ralt_switch
 
 or you can get compose with either:
 XKBOPTIONS=compose:ralt
 
 or:
 XKBLAYOUT=us
 XKBVARIANT=intl
 
 (or you can use both with something like:
 XKBOPTIONS=compose:ralt, lv3:rwin_switch)
 
 
 If you like dead keys:
 XKBLAYOUT=us
 XKBVARIANT=alt-intl
 
 In current systems, these go in /etc/default/keyboard
 Older systems use xorg.conf.

I don't have any of those, and indeed, both my alts are just plain alts.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100908095003.93f78ea6.cele...@gmail.com



Re: Unicode Character key-in problem

2010-09-08 Thread Carl Johnson
John Jason Jordan joh...@comcast.net writes:

 On Tue, 07 Sep 2010 21:47:44 -0700
 Carl Johnson ca...@peak.org dijo:

That is why we were talking about the Compose and AltGr keys.  I have a
US keyboard and I just press the Compose key followed by s and s to
get ß.  Similarly, I can press Compose ' and a to get á.  The AltGr
key will also allow access to alternate values of individual keys by
holding down the AltGr key and pressing another key.  For the
US-international layout, the AltGr-a combination will give á, AltGr-s
gives ß, AltGr-/ gives ¿.  I am using unicode, but it works for all
characters that the charset and locale allow.

 I have a US keyboard and I do not have an AltGr key. I do have two Alt
 keys, one on either side of the spacebar, but neither works as you
 describe. However, in Linux Ctrl-Shift-u plus the unicode value enters
 any character contained in the font.

 How did you get a US keyboard with an AltGr key?

As others have already commented, I just reassigned some of the keys.  I
assigned the right windows key to be Compose and the left windows key to
be AltGr.  I use KDE and just use the Keyboard Layout section of
settings to specify them as Xkb options.  I am sure that Gnome has
something similar, and probably other windowing environments as well.
They actually just run the setxkbmap command to update the keyboard
mapping that X11 uses.

-- 
Carl Johnsonca...@peak.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877hiw9pov@oak.localnet



Re: Unicode Character key-in problem

2010-09-07 Thread Philipp Pagel
Thomas Vazhappilly t...@vazhappilly.co.cc wrote:
 [-- text/plain, encoding 7bit, charset: ISO-8859-1, 15 lines --]

 Hi..!

 I am a migrant from MS Windoz to Gnu/Linux. Only one problem where I stuck
 is, I cannot key in some characters in UTF-8 such as CURRENCY SIGN as in
 typing MS Windoz. In MSW I can get the character by holding the alt key and
 type 0164 and on release the alt key, I get the  CURRENCY SIGN in the
 editor.

 Is there a ditto input method in Debian Gnu/Linux system? Somebody help

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ossyz-0001kn...@arronax.matrix.foo



Re: Unicode Character key-in problem

2010-09-07 Thread Carl Johnson
Celejar cele...@gmail.com writes:

 On Mon, 06 Sep 2010 20:43:13 -0700
 Carl Johnson ca...@peak.org wrote:

 Celejar cele...@gmail.com writes:
 
  On Mon, 6 Sep 2010 06:45:06 + (UTC)
  Camaleón noela...@gmail.com wrote:
 
  ...
 
  In GNOME, you can get it by pressing Ctrl+Shift+u and release the keys. 
  You'll get an underline u. Then you have to type the desired characters 
  sequence, i.e., for currency sign type 00a4 and press enter:
  
  http://www.hermit.org/Linux/ComposeKeys.html
 
  General GTK thing; I do it on my XFCE system.
 
 General X11 thing;  they can all be done at the command line.  A full
 list for UTF-8 is at /usr/share/X11/locale/en_US.UTF-8/Compose, and
 similar for other locales.

 I don't usually use X without GTK, but I was relying on this:

 http://en.wikipedia.org/wiki/Unicode_input#Hex_input

Sorry, I was referring to the link to compose keys.  I haven't figured
out how to use hex input for Linux (or FreeBSD).

-- 
Carl Johnsonca...@peak.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8739tlbl14@oak.localnet



Re: Unicode Character key-in problem

2010-09-07 Thread David Jardine
On Tue, Sep 07, 2010 at 09:01:11AM -0700, Carl Johnson wrote:
 
 Sorry, I was referring to the link to compose keys.  I haven't figured
 out how to use hex input for Linux (or FreeBSD).

AltGr and the keypad.  For a-f work round the outside of the keypad from
top left to bottom right.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100907193249.ga3...@gennes.augarten



Re: Unicode Character key-in problem

2010-09-07 Thread Carl Johnson
David Jardine da...@jardine.de writes:

 On Tue, Sep 07, 2010 at 09:01:11AM -0700, Carl Johnson wrote:
 
 Sorry, I was referring to the link to compose keys.  I haven't figured
 out how to use hex input for Linux (or FreeBSD).

 AltGr and the keypad.  For a-f work round the outside of the keypad from
 top left to bottom right.

That doesn't work either, but maybe because I am working under KDE.  I
don't know what AltGr is supposed to be, but I assigned a key to what is
called 3rd level chooser, but that doesn't do anything.  Either I
guessed wrong or there is some other configuration necessary.

-- 
Carl Johnsonca...@peak.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87tym19q8u@oak.localnet



Re: Unicode Character key-in problem

2010-09-07 Thread David Jardine
On Tue, Sep 07, 2010 at 02:51:29PM -0700, Carl Johnson wrote:
 David Jardine da...@jardine.de writes:
 
  On Tue, Sep 07, 2010 at 09:01:11AM -0700, Carl Johnson wrote:
  
  Sorry, I was referring to the link to compose keys.  I haven't figured
  out how to use hex input for Linux (or FreeBSD).
 
  AltGr and the keypad.  For a-f work round the outside of the keypad from
  top left to bottom right.
 
 That doesn't work either, but maybe because I am working under KDE.  I
 don't know what AltGr is supposed to be, but I assigned a key to what is
 called 3rd level chooser, but that doesn't do anything.  Either I
 guessed wrong or there is some other configuration necessary.
 
No, sorry, even if you guessed right (right alt key???) it wouldn't have 
worked in X, let alone KDE.  Unless someone knows how to configure it to 
do just that...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100907225627.ga3...@gennes.augarten



Re: Unicode Character key-in problem

2010-09-07 Thread Celejar
On Tue, 07 Sep 2010 09:01:11 -0700
Carl Johnson ca...@peak.org wrote:

...

 Sorry, I was referring to the link to compose keys.  I haven't figured
 out how to use hex input for Linux (or FreeBSD).

As Camaleón has explained, it's really pretty straightforward: press
ctrl-shift-u simultaneously, then release all three; you'll see an
underlined 'u'.  Now enter the hex code for the character, one digit at
a time, then press enter when finished.  Voila, you'll get the Unicode
character!

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100907213418.8b93179c.cele...@gmail.com



Re: Unicode Character key-in problem

2010-09-07 Thread Doug

On 9/7/2010 9:34 PM, Celejar wrote:

On Tue, 07 Sep 2010 09:01:11 -0700
Carl Johnsonca...@peak.org  wrote:

...


Sorry, I was referring to the link to compose keys.  I haven't figured
out how to use hex input for Linux (or FreeBSD).


As Camaleón has explained, it's really pretty straightforward: press
ctrl-shift-u simultaneously, then release all three; you'll see an
underlined 'u'.  Now enter the hex code for the character, one digit at
a time, then press enter when finished.  Voila, you'll get the Unicode
character!

Celejar


This question brought up an interesting, and bigger question:

In DOS and all versions of Windows, going back to the stone age, you 
could hold ALT and press 3 digits of the extended (128~255) ASCII
table, using the number pad, and get all kinds of foreign and other 
useful characters. For instance, if you wanted a German ess-tset 
character, you would hold ALT and push 225, like this: ß.  I'm writing 
this from Win 7, and you can see that it works. It also works in Open 
Office in the Windows version. Something similar in MS Word--I think 
Word requires a 0 before the code.


As far as I can tell, this does _not_ work in Debian or in PcLinuxOs, 
the two Lx's I have present access to.  Not in plain files like KWrite, 
and not in Open Office. I don't understand what the above correspondent 
is getting at (I don't know what Unicode is).  How, in plain English, 
can one get foreign characters in Linux without using an international 
keyboard?  (I assume that works, as the international keyboard is a 
choice in many distros, under Locale.)  Or is it basically just not 
possible?


--doug



--
Blessed are the peacemakers...for they shall be shot at from both sides. 
 --A.M. Greeley



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c86f88b.90...@optonline.net



Re: Unicode Character key-in problem

2010-09-07 Thread Celejar
On Tue, 07 Sep 2010 22:44:27 -0400
Doug dmcgarr...@optonline.net wrote:

 On 9/7/2010 9:34 PM, Celejar wrote:
  On Tue, 07 Sep 2010 09:01:11 -0700
  Carl Johnsonca...@peak.org  wrote:
 
  ...
 
  Sorry, I was referring to the link to compose keys.  I haven't figured
  out how to use hex input for Linux (or FreeBSD).
 
  As Camaleón has explained, it's really pretty straightforward: press
  ctrl-shift-u simultaneously, then release all three; you'll see an
  underlined 'u'.  Now enter the hex code for the character, one digit at
  a time, then press enter when finished.  Voila, you'll get the Unicode
  character!
 
  Celejar
 
 This question brought up an interesting, and bigger question:
 
 In DOS and all versions of Windows, going back to the stone age, you 
 could hold ALT and press 3 digits of the extended (128~255) ASCII
 table, using the number pad, and get all kinds of foreign and other 
 useful characters. For instance, if you wanted a German ess-tset 
 character, you would hold ALT and push 225, like this: ß.  I'm writing 
 this from Win 7, and you can see that it works. It also works in Open 
 Office in the Windows version. Something similar in MS Word--I think 
 Word requires a 0 before the code.
 
 As far as I can tell, this does _not_ work in Debian or in PcLinuxOs, 
 the two Lx's I have present access to.  Not in plain files like KWrite, 

Did you try the method I gave above?  It's very similar to what you
describe, just much more powerful - giving you all Unicode, not just
extended ASCII.

 and not in Open Office. I don't understand what the above correspondent 
 is getting at (I don't know what Unicode is).  How, in plain English, 

http://en.wikipedia.org/wiki/Unicode

It's rather overwhelming and confusing, but basically, it's a large set
of characters that includes all sorts of different alphabets.

 can one get foreign characters in Linux without using an international 
 keyboard?  (I assume that works, as the international keyboard is a 

Of course.

 choice in many distros, under Locale.)  Or is it basically just not 
 possible?

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100908000734.c6b92f8b.cele...@gmail.com



Re: Unicode Character key-in problem

2010-09-07 Thread Carl Johnson
David Jardine da...@jardine.de writes:

 On Tue, Sep 07, 2010 at 02:51:29PM -0700, Carl Johnson wrote:
 David Jardine da...@jardine.de writes:
 
  On Tue, Sep 07, 2010 at 09:01:11AM -0700, Carl Johnson wrote:
  
  Sorry, I was referring to the link to compose keys.  I haven't figured
  out how to use hex input for Linux (or FreeBSD).
 
  AltGr and the keypad.  For a-f work round the outside of the keypad from
  top left to bottom right.
 
 That doesn't work either, but maybe because I am working under KDE.  I
 don't know what AltGr is supposed to be, but I assigned a key to what is
 called 3rd level chooser, but that doesn't do anything.  Either I
 guessed wrong or there is some other configuration necessary.
  
 No, sorry, even if you guessed right (right alt key???) it wouldn't have 
 worked in X, let alone KDE.  Unless someone knows how to configure it to 
 do just that...

I found enough information in the wikipedia article about AltGr to
confirm that I do have it working right, but it still doesn't work
for numeric keypad input.  The compose characters handle anything I
need, so it doesn't matter to me.

-- 
Carl Johnsonca...@peak.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87iq2gam9e@oak.localnet



Re: Unicode Character key-in problem

2010-09-06 Thread Camaleón
On Mon, 06 Sep 2010 10:58:22 +0530, Thomas Vazhappilly wrote:

 I am a migrant from MS Windoz to Gnu/Linux. Only one problem where I
 stuck is, I cannot key in some characters in UTF-8 such as CURRENCY
 SIGN as in typing MS Windoz. In MSW I can get the character by holding
 the alt key and type 0164 and on release the alt key, I get the 
 CURRENCY SIGN in the editor.
 
 Is there a ditto input method in Debian Gnu/Linux system? Somebody help.

Yes, it is called compose :-)

If you are using GNOME, you're in luck:

Currency sign → ¤

In GNOME, you can get it by pressing Ctrl+Shift+u and release the keys. 
You'll get an underline u. Then you have to type the desired characters 
sequence, i.e., for currency sign type 00a4 and press enter:

http://www.hermit.org/Linux/ComposeKeys.html

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.09.06.06.45...@gmail.com



Re: Unicode Character key-in problem

2010-09-06 Thread Osamu Aoki
On Mon, Sep 06, 2010 at 10:58:22AM +0530, Thomas Vazhappilly wrote:
 Hi..!
 
 I am a migrant from MS Windoz to Gnu/Linux. Only one problem where I stuck
 is, I cannot key in some characters in UTF-8 such as CURRENCY SIGN as in
 typing MS Windoz. In MSW I can get the character by holding the alt key and
 type 0164 and on release the alt key, I get the  CURRENCY SIGN in the
 editor.
 
 Is there a ditto input method in Debian Gnu/Linux system? Somebody help.
 
 Thanks in advance.

Currency sign may be done just by simple compose with binary code trick.

But if you wish to type any indic fancy text, I recommend you to look
into ibus or SCIM tool chain which provide GUI input method.

http://www.debian.org/doc/manuals/debian-reference/ch08.en.html#_the_input_method_support_with_ibus

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100906163101.ga17...@debian.org



Re: Unicode Character key-in problem

2010-09-06 Thread Celejar
On Mon, 6 Sep 2010 06:45:06 + (UTC)
Camaleón noela...@gmail.com wrote:

...

 In GNOME, you can get it by pressing Ctrl+Shift+u and release the keys. 
 You'll get an underline u. Then you have to type the desired characters 
 sequence, i.e., for currency sign type 00a4 and press enter:
 
 http://www.hermit.org/Linux/ComposeKeys.html

General GTK thing; I do it on my XFCE system.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100906214513.7a0fab24.cele...@gmail.com



Re: Unicode Character key-in problem

2010-09-06 Thread Carl Johnson
Celejar cele...@gmail.com writes:

 On Mon, 6 Sep 2010 06:45:06 + (UTC)
 Camaleón noela...@gmail.com wrote:

 ...

 In GNOME, you can get it by pressing Ctrl+Shift+u and release the keys. 
 You'll get an underline u. Then you have to type the desired characters 
 sequence, i.e., for currency sign type 00a4 and press enter:
 
 http://www.hermit.org/Linux/ComposeKeys.html

 General GTK thing; I do it on my XFCE system.

General X11 thing;  they can all be done at the command line.  A full
list for UTF-8 is at /usr/share/X11/locale/en_US.UTF-8/Compose, and
similar for other locales.

-- 
Carl Johnsonca...@peak.org


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fwxmb4mm@oak.localnet



Re: Unicode Character key-in problem

2010-09-06 Thread Celejar
On Mon, 06 Sep 2010 20:43:13 -0700
Carl Johnson ca...@peak.org wrote:

 Celejar cele...@gmail.com writes:
 
  On Mon, 6 Sep 2010 06:45:06 + (UTC)
  Camaleón noela...@gmail.com wrote:
 
  ...
 
  In GNOME, you can get it by pressing Ctrl+Shift+u and release the keys. 
  You'll get an underline u. Then you have to type the desired characters 
  sequence, i.e., for currency sign type 00a4 and press enter:
  
  http://www.hermit.org/Linux/ComposeKeys.html
 
  General GTK thing; I do it on my XFCE system.
 
 General X11 thing;  they can all be done at the command line.  A full
 list for UTF-8 is at /usr/share/X11/locale/en_US.UTF-8/Compose, and
 similar for other locales.

I don't usually use X without GTK, but I was relying on this:

http://en.wikipedia.org/wiki/Unicode_input#Hex_input

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100906235811.ba9817aa.cele...@gmail.com



Unicode Character key-in problem

2010-09-05 Thread Thomas Vazhappilly
Hi..!

I am a migrant from MS Windoz to Gnu/Linux. Only one problem where I stuck
is, I cannot key in some characters in UTF-8 such as CURRENCY SIGN as in
typing MS Windoz. In MSW I can get the character by holding the alt key and
type 0164 and on release the alt key, I get the  CURRENCY SIGN in the
editor.

Is there a ditto input method in Debian Gnu/Linux system? Somebody help.

Thanks in advance.

Thomas M. Vazhappilly
Kerala, India