[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ascii character typeing
From: |
Pascal Bourguignon |
Subject: |
Re: Ascii character typeing |
Date: |
Tue, 18 Jul 2006 13:40:37 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Sonu" <sanjaykumar.barick@gmail.com> writes:
> hi all, i want to know how can i type ascii characters, for example in
> windows i do this by typing ALT + xxx where "xxx" is the ascii code of
> the character. so i want to know how can i do this in linux, any help
> would be apreciated...
ASCII? Isn't it already deprecated in favor of unicode?
Any honest keyboard should allow you to entery directly ALL the
character in the ASCII code map:
SP ! " # $ % & ' ( ) * + , - . /
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
@ A B C D E F G H I J K L M N O
P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ DEL
Why would you want to type 4 keys to enter one of them when you have
direct access (or at worse, with the SHIFT modifier) to them?
Now, let's speak seriously, nowadays we use unicode characters.
Well, in emacs, you can merely use the ucs input method, where you can
type U or u followed by the four-digit hex number code of the
character.
M-x set-input-method RET ucs RET
U00C1 inserts: Á
U03A9 inserts: Ω
Then you can switch between the two input methods with C-\
But still, most of the unicode characters are more easily input using
the various emacs input methods. If you want to type Greek, just
select the greek input method: ηελενα, if you want Russian, use the
yawerty input method: россия, etc.
Otherwise, you'd have to see at the X (xmodmap) level or at the linux
console level whether the keyboard driver include such a feature.
Perhaps you don't really want to enter random codes, but you want some
specific character. You can design your own keyboard maps (either
linux console or X) to allow you to enter easily all kind of
characters.
--
__Pascal Bourguignon__ http://www.informatimago.com/
"You can tell the Lisp programmers. They have pockets full of punch
cards with close parentheses on them." --> http://tinyurl.com/8ubpf
- Ascii character typeing, Sonu, 2006/07/18
- Re: Ascii character typeing,
Pascal Bourguignon <=
- Re: Ascii character typeing, Mathias Dahl, 2006/07/18
- Re: Ascii character typeing, Brian Elmegaard, 2006/07/19
- Re: Ascii character typeing, Pascal Bourguignon, 2006/07/19
- Re: Ascii character typeing, Brian Elmegaard, 2006/07/19
- Re: Ascii character typeing, Pascal Bourguignon, 2006/07/19
- Re: Ascii character typeing, Brian Elmegaard, 2006/07/19
- Re: Ascii character typeing, B. T. Raven, 2006/07/21
- Re: Ascii character typeing, Kevin Rodgers, 2006/07/21
- Re: Ascii character typeing, Pascal Bourguignon, 2006/07/21
- Message not available
- Re: Ascii character typeing, B. T. Raven, 2006/07/23