Non-US keyboard (PT) bash problem

Igor Pechtchanski pechtcha@cs.nyu.edu
Fri Dec 17 17:52:00 GMT 2004


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
-------------- next part --------------
--
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/


More information about the Cygwin mailing list