From owner-freebsd-questions@FreeBSD.ORG Wed May 14 23:51:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0CC11065670 for ; Wed, 14 May 2008 23:51:35 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 9C9E78FC19 for ; Wed, 14 May 2008 23:51:35 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1JwQks-0004x8-JK for freebsd-questions@freebsd.org; Thu, 15 May 2008 00:51:30 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m4ENpTmY009068 for ; Thu, 15 May 2008 00:51:30 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id AFE1BFCA4AF; Thu, 15 May 2008 00:51:24 +0100 (BST) Date: Thu, 15 May 2008 00:51:24 +0100 From: Frank Shute To: FreeBSD Questions Message-ID: <20080514235124.GA37470@melon.esperance-linux.co.uk> Mail-Followup-To: FreeBSD Questions References: <20080514042537.GA91250@demeter.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080514042537.GA91250@demeter.hydra> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Thu, 15 May 2008 00:51:30 +0100 (BST) Subject: Re: interrobang and other fun characters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 23:51:36 -0000 On Tue, May 13, 2008 at 10:25:37PM -0600, Chad Perrin wrote: > > I'm looking for an easier way to insert interrobangs and other non-ASCII > characters (em-dashes, et cetera) into text on my FreeBSD laptop than by > way of copy/paste. Any recommendations? A hunt-and-select clicky GUI > probably wouldn't be any better than just copy/paste, but something like > holding down Alt while typing 8253 might be an improvement. > You can get multibyte characters in vim, if $TERM is something sensible like xterm and you use a font with the characters in it. See: :help dig in vim. E.g: ^k DG -> ° (degree) ^k Cu -> € (euro) (in: iso8859-15) ^k Co -> © (company) ^k o: -> ö (o umlaut) You can also call them by number but I find the 2 characters easier to remember. Use xfd(1) and xlsfonts(1) to see which fonts have which characters. I always use an iso8859-15 font because it's got the Euro. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html