Non-US keyboard (PT) bash problem
Lino Miguel Martins Tinoco
lino-m-tinoco@telecom.pt
Fri Dec 17 14:16:00 GMT 2004
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.
Also tried to export this variables (have them on my ~/.profile):
LANG=pt_PT@euro
LC_ALL=pt_PT@euro
LANGUAGE=pt_PT@euro
LC_TYPE=pt_PT@euro
LC_CTYPE=pt_PT@euro
OUTPUT_CHARSET=pt_PT@euro
export LANG LC_ALL LANGUAGE LC_TYPE LC_CTYPE OUTPUT_CHARSET
pt_PT@euro is defined in /usr/share/locale/locale.alias as:
portuguese pt_PT.ISO-8859-1
pt_PT pt_PT.ISO-8859-1
pt_PT@euro pt_PT.ISO-8859-15
pt_PT@EURO pt_PT.ISO-8859-15
And in /usr/X11R6/lib/X11/locale/locale.alias I have:
pt pt_PT.ISO8859-1
pt_PT pt_PT.ISO8859-1
pt_PT.88591 pt_PT.ISO8859-1
pt_PT.88591.en pt_PT.ISO8859-1
pt_PT.iso88591 pt_PT.ISO8859-1
pt_PT.ISO-8859-1 pt_PT.ISO8859-1
pt_PT.ISO_8859-1 pt_PT.ISO8859-1
pt_PT.iso885915 pt_PT.ISO8859-15
pt_PT.iso-885915 pt_PT.ISO8859-15
pt_PT.ISO-8859-15 pt_PT.ISO8859-15
pt_PT.ISO8859-15 pt_PT.ISO8859-15
pt_PT@euro pt_PT.ISO8859-15
pt_PT@EURO pt_PT.ISO8859-15
pt_PT.utfO pt_PT.UTF-8
pt_PT.UTF-8@euro pt_PT.UTF-8
On /usr/X11R6/lib/X11/locale/locale.dir I also have these 2 lines:
iso8859-1/XLC_LOCALE: pt_PT.ISO8859-1
iso8859-15/XLC_LOCALE: pt_PT.ISO8859-15
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#
Thanks,
--Tinoco
--
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