delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/17/12:52:47

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: Fri, 17 Dec 2004 12:52:37 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Lino Miguel Martins Tinoco <lino-m-tinoco AT telecom DOT pt>
cc: cygwin AT cygwin DOT com
Subject: RE: Non-US keyboard (PT) bash problem
In-Reply-To: <9D3B864C501E024B86A5ABF53972A66A0C0007@COMTVLEX02.ptcom.corppt.com>
Message-ID: <Pine.GSO.4.61.0412171247450.2298@slinky.cs.nyu.edu>
References: <9D3B864C501E024B86A5ABF53972A66A0C0007 AT COMTVLEX02 DOT ptcom DOT corppt DOT com>
MIME-Version: 1.0

---559023410-1141662977-1103305957=:2298
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8BIT

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 AT pc701523 ~/My Documents# cd Programa\347\343o/ XPTP165 AT 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 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

---559023410-1141662977-1103305957=:2298
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-1141662977-1103305957=:2298--

- Raw text -


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