Re: New vi/vim/gvim in testing requires intervention

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At least here, vi can open non-ASCII files, but as I said previously,
it won't show the lines with non-ASCII characters. The worst thing is
if you try to save this file, vi will save it only up to the first
line with a non-ASCII character:

$ cat test.txt
This line is fine
mas essa não (but this one isn't)
neither is this one.

Then open it with vi and try to save it.

$ cat test.txt
This line is fine

and that's all.

Vi does crash, but only when I type a non-ASCII character.

On Wed, May 6, 2009 at 4:15 PM, Aaron Griffin <aaronmgriffin@xxxxxxxxx> wrote:
> 2009/5/6 Frédéric Perrin <frederic.perrin@xxxxxxxx>:
>> I have a system whose users' real names can't be written in ASCII, and
>> this being the 21st century, not the 70's, I have the real name (with
>> accents) in the GECOS field in /etc/passwd. Not being a vi{,m} user, I
>> just have whatever the default package for vi is installed.
>
> $ grep http /etc/passwd | cut -d: -f5
>
> $ usermod -c éøß http
> $ grep http /etc/passwd | cut -d: -f5
> éøß
>
> Editing the passwd file by hand seems a little odd to me.
>
> Still, if vi crashes when opening a non ASCII file, that's another story
>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux