*BSD News Article 55663


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!news1.best.com!sdd.hp.com!swrinde!newsfeed.internetmci.com!EU.net!Norway.EU.net!telepost.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!due.unit.no!usenet
From: jarle@idt.unit.no (Jarle F. Greipsland)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: vi and chars > 0x7f ?
Date: 22 Nov 1995 14:20:50 +0100
Organization: Norwegian Institute of Technology
Lines: 24
Sender: jarle@honey.idt.unit.no
Message-ID: <vx4tvwss3w.fsf@honey.idt.unit.no>
References: <48qg6i$cr8@murmel.camelot.de>
NNTP-Posting-Host: honey.idt.unit.no
In-reply-to: thomas@murmel.camelot.de's message of 20 Nov 1995 19:08:18 +0100
X-Newsreader: Gnus v5.0.4

In article <48qg6i$cr8@murmel.camelot.de>, thomas@murmel.camelot.de (Thomas Gerner) writes:
> 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.
I don't think the incarnation of vi distributed with NetBSD-1.[01] will
support characters > 7f.  (The version coming with NetBSD is nvi-1.34, I
think.  As far as I know, this is also the latest official release of nvi.)

I had the same problem, albeit with Norwegian characters instead of German,
and solved it by installing nvi-1.49-ALPHA.  1.49-ALPHA supports `print'
options, so that "set print=<strange characters here>" will declare the
specified characters outside the standard ASCII range as printable.  I
haven't had any problems with 1.49-ALPHA, but beware, the ALPHA postfix is
probably there for a reason....

					-jarle
-- 
'Real programmers don't want "what you see is what you get", they want
 "you asked for it, you got it".  They want editors that are terse,
 powerful, cryptic, and unforgiving.  In a word, Teco.'
					-- unknown