*BSD News Article 55654


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!pki-nbg.philips.de!pki-nbg.philips.de!ln_smr
From: Stephen Riehm <ln_smr@pki-nbg.philips.de>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: vi and chars > 0x7f ?
Date: 22 Nov 95 10:54:57 GMT
Organization: Philips KOmmunikations Industrie AG
Lines: 22
Message-ID: <ln_smr.817037697@pki-nbg.philips.de>
References: <48qg6i$cr8@murmel.camelot.de>
Reply-To: ln_smr@pki-nbg.philips.de
NNTP-Posting-Host: hln14.pki-nbg.philips.de
Disclaimer: I work for them, but I say what -I- think!

thomas@murmel.camelot.de (Thomas Gerner) writes:

>I use NetBSD on a Atari Falcon with a german keyboard. If I want to use
>special german characters at vi, I get only the hexcode, not the char.
>The terminal is able to show this chars, e.g. 'cat file' with a file
>containing this chars prints them correct.

>How can I tell vi to print the char and not the hexcode? I found nothing
>in the manual of vi.

Check the environment variable:

	LC_CTYPE = american.iso88591 (or german.iso88591)

Also, I've also got problems with NetBSD (on an Amiga) with 8bit
characters, because when I use vi, the stty settings get changed some
how, and I am left in 7 bit mode. (I'm not sure if this is a bug in
vim, or something else, I haven't been able to track it down properly
yet.) If anyone else has had this problem I would love to hear how it
can be solved, as I also want to use 8 bit characters!

Steve