From owner-freebsd-questions Sun Oct 14 13: 1:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from iguana.internexo.co.cr (iguana.internexo.co.cr [196.40.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 6FC8D37B401 for ; Sun, 14 Oct 2001 13:01:42 -0700 (PDT) Received: (from freebsd@localhost) by iguana.internexo.co.cr (8.9.3/8.9.3) id NAA11373 for freebsd-questions@FreeBSD.ORG; Sun, 14 Oct 2001 13:55:23 -0600 (CST) From: Theodore Hope Message-Id: <200110141955.NAA11373@iguana.internexo.co.cr> Subject: how to get "vi" to echo accented vowels, etc. To: freebsd-questions@FreeBSD.ORG Date: Sun, 14 Oct 2001 13:55:23 -0600 (CST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to figure out how to enter accented vowels and other non-ASCII-7 characters in "vi". In an xterm, I can run "cat" (read/write stdin/stdout) and then type ALT-i to get the 'e' with an acute accent, ALT-a to get the 'a' with an acute accent, etc. However, if I try to do that in "vi" each character is echoed in hex, such as "\xe9" for ALT-i, "\xe1" for ALT-a, etc. The characters _are_ input correctly, it's just that "vi" doesn't echo them as single chars on the screen :-( In BSDI, this works (in "vi") if I have the "LC_CTYPE" environment variable set to "ISO8859-1", but setting this in FreeBSD doesn't change anything. Any tips appreciated, thanks! -T.H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message