delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/22:09:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 7 Jul 2005 22:05:05 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Daniel Landry <dlandry AT denharco DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Cygwin doesn't recognize the Canadian French keyboard
In-Reply-To: <A996F029B716D211A5BF00A0C9B3F90C022393BE@NTHYAC02>
Message-ID: <Pine.GSO.4.61.0507072157540.5413@slinky.cs.nyu.edu>
References: <A996F029B716D211A5BF00A0C9B3F90C022393BE AT NTHYAC02>
MIME-Version: 1.0

Ugh, top-posting.  Reformatted.

On Thu, 7 Jul 2005, Daniel Landry wrote:

> On Thu, 7 Jul 2005, Igor Pechtchanski wrote:
>
> >At which point this stops being an X-related problem, and is better
> >discussed on the main list.  I've set the Reply-To: accordingly (though
> >the xfree list is likely to add another pointing to itself).
>
> >> I have followed the link and adapt to my specific need but it seems that
> >> I have missed something.  Accented characters are printed as if
> >> convert-meta is set to on.  As an example e (e acute) is displayed as
> >> \351.
>
> >Displayed by what?  If you type "echo e" at the bash prompt, does that
> >display properly?  What about "echo -e '\0351'"?
>
> >> These are my home configuration files
> >>
> >> # .bashrc ?
> >> # .inputrc ?
>
> >What does "bind -v | grep meta" show when run from bash?
>
> In Xterm, running bash, the result is:
>
> $ echo \351
> e		(e acute is displayed correctly)
>
> $ bind -v | grep meta
> set convert-meta off
> set input-meta off
> set meta-flag off
> set output-meta off

This would seem to indicate that the .inputrc either isn't read, or is
overridden.

> My complete .bashrc is (I have removed only the line beginning by #):
>
> # User dependent .bashrc file
>
> eval 'dircolors -b'
> alias whereis=which
> alias xterm='xterm -sl 5000'
>
> # Requis pour accent francais dans certaines applications
> alias less='less -r'
> alias ls='ls -F --color=tty --show-control-chars'
> export LANG="fr"
> export LC_ALL="fr_CA"
> export LC_CTYPE="iso-8859-1"
> export OUTPUT_CHARSET="iso-8859-1"
> export LESSCHARSET="iso8859"
> # Requis lorsque la dedection automatique de Xwin ne fonctionne pas
> setxkbmap ca_enhanced

Try running 'bind "set input-meta on"; bind "set output-meta on"', and
then see if that lets you input French characters.  If it does,
investigate why your .inputrc isn't read by bash.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019