This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Non-US keyboard (PT) bash problem
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Lino Miguel Martins Tinoco <lino-m-tinoco at telecom dot pt>
- Cc: cygwin at cygwin dot com
- Date: Fri, 17 Dec 2004 12:52:37 -0500 (EST)
- Subject: RE: Non-US keyboard (PT) bash problem
- References: <9D3B864C501E024B86A5ABF53972A66A0C0007@COMTVLEX02.ptcom.corppt.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 17 Dec 2004, Lino Miguel Martins Tinoco wrote:
> The --show-control-chars flag worked fine and I've created a new alias
> for ls. The set solution doesn´t work, I've already tried it before.
Exactly what have you tried? Please post the output of 'bind -V' in your
bash shell. FWIW, I could reproduce your behavior when "output-meta" is
set to "off".
> Also tried to export this variables (have them on my ~/.profile):
>
> [a whole bunch of locale stuff snipped]
This doesn't affect readline (which is what's giving you the problem).
> Still those special characters get displayed as an octal value. This is
> na exaple of what I'm saying:
>
> XPTP165@pc701523 ~/My Documents# cd Programa\347\343o/ XPTP165@pc701523
> ~/My Documents/Programação#
As I said before, you should have *all four* of
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
in your ~/.inputrc. Note: these *aren't* bash commands, these are
readline options; if you want to have the same effect from the bash
command prompt, you have to use "bind 'set output-meta on'" instead.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/