On Wed, Aug 01, 2007 at 03:13:17PM +0100, Rui Santos wrote:

> Sorry. It does work. I was issuing the command on bash, and not on cat.
> So it works :)

Okay, good to hear it, so we're not completely lost :) So it's simply an
application error, we need to fix bash.

To make things work in bash, you'll need some of these. I don't know which
ones are exactly needed, so the safest is to go for sure and do all of
these:

- A sufficiently recent readline and bash: at least 5.1/3.1, but rather
  5.2/3.2, plus preferably the patches from
  ftp://ftp.gnu.org/gnu/{readline,bash}

- A ~/.inputrc file or $INPUTRC pointing to a file that contains this:
set meta-flag On
set convert-meta Off
set input-meta On
set output-meta On
  IIRC bash 3.2 automatically chekcs /etc/inputrc too, but I'm not sure.

- Have at least one UTF-8 locale, e.g. en_US.UTF-8

- Have your LANG variable point to that UTF-8 locale, e.g. execute
  "export LANG=en_US.UTF-8" in your startup stript prior to starting the
  interactive bash in which you'll be editing command line with accents.



-- 
Egmont

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to