From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 12:55:29 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0771116A41F for ; Thu, 8 Dec 2005 12:55:29 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 879DF43D7D for ; Thu, 8 Dec 2005 12:55:28 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so598668nzo for ; Thu, 08 Dec 2005 04:55:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ojZEEkiIBrHUPTeL6S3yjjPPeHq6lS9OsIqcOz5m+iXPqU2JR4dzArxj/HEzrndZxQGAuT72EpqsfhDLUnL2aNOBbtvSKPXOp53GcHymRiUTKmFu48aHhwuX6iULf/plW/3YCJjSbdl5gWCsCeTsOLmbjmWmWmnU9DJ6s9Zftn4= Received: by 10.36.43.16 with SMTP id q16mr2487315nzq; Thu, 08 Dec 2005 04:55:27 -0800 (PST) Received: by 10.36.132.16 with HTTP; Thu, 8 Dec 2005 04:55:27 -0800 (PST) Message-ID: <45d750d20512080455m4e805f34qc65194e3629f16e1@mail.gmail.com> Date: Thu, 8 Dec 2005 07:55:27 -0500 From: Aaron Peterson To: FreeBSD Questions In-Reply-To: <6.2.3.4.2.20051207213951.07f54150@cobalt.antimatter.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <45d750d20512071917k76ac173ci286eb2e1f5bb0c49@mail.gmail.com> <6.2.3.4.2.20051207213951.07f54150@cobalt.antimatter.net> Subject: Re: console characters/keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 12:55:29 -0000 On 12/8/05, Glenn Dawson wrote: > At 07:17 PM 12/7/2005, Aaron Peterson wrote: > >I have been working with a database recently that contained values > >with special characters. A lower case "n" with a tilde over it for > >instance. Anyway, during the conversion of the database from mysql to > >sqlite these special characters got corrupted. I ended up fixing them > >by hand since there weren't many, but during the process I realized > >these things: > > > >1) My console does not print these characters, but empty box > >characters instead > > > >2) I have no good way of entering these characters (that I know of) > >with my standard keyboard layout and language settings. > > > >So the obvious questions follow: > > > >1) Can I somehow alter my console or add fonts so these characters are > >displayed properly > > > >2) I ended up writing a perl program and giving it html entities to > >decode back to the special character and insert into the database, but > >this is very roundabout. How can I set my FreeBSD box up to be able > >to enter such characters manually? > > You can produce whatever character you like by using the alt key and > the number pad. > > Hold down alt and type the ascii value (in base 10) on the number > pad. When you release the alt key, the character will be sent as if > it had been typed. Note that this only works with the number pad. I suppose keeping Xorg from intercepting these key combinations and doing nothing with them is more complicated... (I just get beeps, no characters) Any clues on that? Aaron