I haven't got much experience using Solaris, SunOS, or AIX specifically,
but I would start by checking the value of the locales in use at the
different machines by running "locale" or "echo $LC_ALL". If they are
different, I would suggest changing the locale for the one that isn't
displaying properly.
Also, you might want to check to make sure that the version of vi is the
same on the machines. I wonder if the problem might be that "vi" is
actually a link to vim or another vi-like editor on the machines that
are displaying the diacritics, while original, classic vi is being run
on the ones that are displaying octals. I haven't used "classic vi" in a
long time, but I do recall that it has a more limited ability to display
certain characters. (Also, even if you are running vim, if vim doesn't
detect a .vimrc file at startup, it defaults to running in vi-compatible
mode, so another thing to check might be if you have a .vimrc file on
the system that displays the characters but lack one on the other.)
I don't know if this will solve the problem for you, but that's where I
would start looking.
Cheers.
William Wueppelmann
Canadiana.org
(formerly Canadian Institute for Historical Microreproductions)
http://www.canadiana.org
[EMAIL PROTECTED] wrote:
Can anyone help me on this one ?
On some of our Solaris & AIX servers I can edit accented characters
(Latin-1) in the vi editor without problems, on others the octal
encoding of
the accented characters is displayed instead (which is a pain when
you're
editing Aleph config files for a French interface).
In the latter case the accented character displays OK on the Unix
command
line.
I've checked various settings in the .profile files, but can't work out
what's making the difference.
Any tips would be much appreciated.
Ian H.
E.g. On one machine é entered => "\351" displayed
(OS=SunOS 5.8, .profile includes 'set -o v', TERM=xterm )
On another é entered => "é"
displayed
(OS=SunOS 5.8, idem above )
_____________________________________________
Ian Hamilton
Library Systems Administrator
European Commission - Directorate General for Education and Culture
EAC C4 - Central Library Unit
* +32-2-295.24.60 (direct phone)
* +32-2-299.91.89 (fax)
http://europa.eu.int/comm/dgs/education_culture/index_en.htm
<http://europa.eu.int/comm/dgs/education_culture/index_en.htm>
http://europa.eu.int/comm/libraries/index.htm
<http://europa.eu.int/comm/libraries/index.htm>
http://europa.eu.int/eclas/ <http://europa.eu.int/eclas/>