Bash now works with é, but not vi, grep, etc
Darius.Clynes@cec.eu.int
Darius.Clynes@cec.eu.int
Wed Mar 14 13:30:00 GMT 2001
(I will write in English for others on this list, thanks Michel)
Indeed, I made a directory /home/myusername
and created the file .inputrc containing,:
set meta-flag on
set convert-meta off
set output-meta on
and then restarted cygwin.
Yes, now the beautiful letters é and è came out in bash, when typed.
However, I still haven't gotten vi or vim to accept or display é etc.
Neither does grep, and probably others.
Even though I set the environment variable
export LANG=fr_BE.iso8859-1
However,
Interesting note and clue perhaps, if I run xterm, and then
suddenly inside xterm, vi and grep
etc, now show these characters é without problem!
What is vi getting when xterm starts that it is not getting
under bash, what is grep getting under xterm that it is not getting
under bash?
Any suggestions as to how to get vi to translate these characters é
correctly
while running vi directly under bash. I have waded through the vi
documentation
and I can't seem to get anywhere, there must be some simple command
somewhere to set the locale (charset). But WHERE and WHAT?
-----Original Message-----
From: Michel Debar [ mailto:michel.debar@fundp.ac.be ]
Sent: Wednesday, March 14, 2001 8:54 AM
To: CLYNES Darius (SCIC)
Subject: Re: How do you get accent characters like é and è in bash
and vi
Bonjour,
je suis loin d'être expert en cygwin, mais je peux néanmoins vous
apporter une aide modeste :
Pour Bash
créez un fichier .inputrc contenant ce qui suit :
set meta-flag on
set convert-meta off
set output-meta on
et installez le dans le répertoire c:/cygwin/home/loginusername
dans mon cas : c:/cygwin/home/mdebar
Pour tcsh (si vous l'utilisez)
Avec mon clavier azerfy français, je donne àtcsh la commande
setenv LANG fr_BE.iso8859-1
Cordialement, Michel Debar
At 22:16 13/03/2001 +0100, you wrote:
I am working with some sources that contain "international"
characters used in languages other than english,
(typically french)
Vi interprets sources from unix with accents like é and è
strangely. Windiff and windows programs like notepad
see the same sources from unix with no problem.
What is happening? Is there a setting in bash or vi
that I need to make, keyboard or locale etc?
If so how do I do that? Anybody know?
PS. é in expérience, shows up as expÃÂrience
è in interprète, shows up as interprÃÂte
here are few other examples:
Avez-vous dÃÂjÃÂ travaillÃÂ en tant qu'interprÃÂte
Quelle expÃÂrience professionnelle d'interprÃÂte avez-vous
PrÃÂcisez le nombre de jours d'interprÃÂtation prestÃÂs.
Avez-vous dÃÂjÃÂ participÃÂ ÃÂ un test professionnel ou ÃÂ un
concours
SÃÂjours importants ÃÂ l'ÃÂtranger ? Indiquez les pays visitÃÂs,
l'annÃÂe
Bash won't even respond to the keyboard character é (under 2
as lower case).
Just beeps (belgian keyboard setting).
Darius Clynes
Software Engineer
European Commission
Rue De Mot 24
Brussels, 1040
Belgium
Office tel: +32 2 2962441
fax: +32 2 2966025
Cell phone: +32 476 218850
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
< http://cygwin.com/ml/ >
Michel DEBAR - Directeur Technique
FUNDP University computing service (SIU)
61, rue de Bruxelles B5000 Namur Belgium
tel +32 (81) 72 50 16 secrétariat : 72 50 07
fax +32 (81) 72 50 23
e-mail Michel.Debar@fundp.ac.be
web < http://www.fundp.ac.be/ >
Darius Clynes
Software Engineer
European Commission
Rue De Mot 24
Brussels, 1040
Belgium
Office tel: +32 2 2962441
fax: +32 2 2966025
Cell phone: +32 476 218850
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list