From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 21:44:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4540D16A415 for ; Mon, 11 Dec 2006 21:44:05 +0000 (UTC) (envelope-from nagylzs@freemail.hu) Received: from smtp.enternet.hu (smtp.enternet.hu [62.112.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03B643DD0 for ; Mon, 11 Dec 2006 21:12:44 +0000 (GMT) (envelope-from nagylzs@freemail.hu) Received: from [80.99.172.190] (helo=[172.16.0.43]) by smtp.enternet.hu with esmtpa (Exim 4) id 1GtsTJ-000ONV-AA; Mon, 11 Dec 2006 22:14:01 +0100 Message-ID: <457DCA1A.3090808@freemail.hu> Date: Mon, 11 Dec 2006 22:14:02 +0100 From: =?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Steve Franks , freebsd-questions@freebsd.org References: <539c60b90612111158g607f800dh862fd4d27ea5ac28@mail.gmail.com> In-Reply-To: <539c60b90612111158g607f800dh862fd4d27ea5ac28@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: easy question 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: Mon, 11 Dec 2006 21:44:05 -0000 Steve Franks wrote: > I hope. Looks like xorg remaps the arrow keys for it's own uses - how > do I > get command history in an xterm instead of ctrl-key like gibberish. I'd > like to edit, like you do in a vtty with the up-arrow, not just > !!. > I'm sure the answer exists, I just can't format a seach to find it on my > own...;) Frank, what kind of keyboard are you using? The xorg server does not remap the arrow keys by default. However, if you have misconfigured your keyboard, then you might not use your arrow keys. Try to look at the documentation of xmodmap(1). If you are not sure how to change this in xorg.conf, you can first try to download an xmodmap file for your keyboard layout, and execute this command: xmodmap Then you can try to use your arrow keys. Another problem might be that you are using the wrong TERM environment variable inside your xterm. Well, this is very unlikely. You can also try this: setenv TERM xterm-color # c shell set TERM=xterm-color # bash shell export TERM I hope this will help. Best, Laszlo