Re: need help on vi

From: Michele Andreoli (m.andreoli@tin.it)
Date: Mon Apr 02 2001 - 14:12:54 CEST


On Mon, Apr 02, 2001 at 07:47:01AM +0100, Alfred Breull nicely wrote:
>
> Thank you for your replies. However, please, remember my original
> question which has nothing to do with removing dec \015, ^M or cr.
> I wrote:
>
> <<<
> I've 2 questions, on which I found no solution:
>
> How to create German umlauts in vi ?
>
> How to create special characters, i.e. capital Greek sigma
> (sign/ symbol for sum), in vi ?
>
> de.map works on the console, however, not in vi.
> >>>

I usually enter escape code in vi with this sequence:

                CONTROL-X hh where "hh" is the two-digit hex
                                code of the keycode iso_8859_1

For example, the "esclamation mark reversed", used in spanish text,
is 0xa1 (hex=a1, decimal=161, octal=\241).

I can enter it now using C-X a1: ¡ (<---- saw you something?)
In my vi the code show simply as "\xa1".

Example: ^A (control-A) is 0x01; ^B is 0x02.

Michele

-- 
In summing up, I wish I had some kind of affirmative message to leave
you with, I don't. Would you take two negative messages? - Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET