From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: Re: arrow keys in the console Date: 18 May 2007 12:16:59 GMT Organization: Sedgeboy Inc. Message-ID: References: <87646qoaow.fsf@thalassa.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179491520 15670 80.91.229.12 (18 May 2007 12:32:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 May 2007 12:32:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 18 14:31:59 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hp1cl-0007sy-As for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 14:31:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hp1kx-0004gz-Rs for geh-help-gnu-emacs@m.gmane.org; Fri, 18 May 2007 08:40:27 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!news.aliant.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 32 Original-X-Complaints-To: abuse@aliant.net Original-Xref: shelby.stanford.edu gnu.emacs.help:148544 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44136 Archived-At: On 2007-05-18, Pascal Bourguignon wrote: > > You can fix it by setting the right value for the TERM environment variable. > > What terminal emulator or what kind of console do you use? > > For example, I use xterm, so I write: > TERM=xterm ; export TERM > in my ~/.bashrc file. > I'm just experimenting with the console in linux, i.e., starting up emacs without starting X. echo $TERM now shows: linux. How do I find out what it should be? For some reason the problem seems to have fixed itself in xterm when running X. I've been mucking around in my .Xresources trying to fix the xterm fonts, but I'm not sure what the change was that solved the problem. It stil exists in the non-X console. > > Otherwise, you can rebind the commands dynamically: > M-x global-set-key RET RET previous-line RET > M-x global-set-key RET RET next-line RET > M-x global-set-key RET RET forward-char RET > M-x global-set-key RET RET backward-char RET > etc... I'll try that if I can't figure out the underlying problem, thanks. Tyler