From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "jhc0033@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: HOME and END keys insert ~ Date: Fri, 25 Apr 2008 07:13:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <97c56126-a9a6-4f06-a353-24b5b8888991@b9g2000prh.googlegroups.com> References: <31750b15-bcfa-4d3d-b39b-5bfde4c04eb1@1g2000prg.googlegroups.com> <5944d77a-abae-42f6-8098-347d67aa8181@v26g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209153308 4514 80.91.229.12 (25 Apr 2008 19:55:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Apr 2008 19:55:08 +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 Apr 25 21:55:43 2008 connect(): Connection refused 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 1JpU1G-0002hA-IN for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Apr 2008 21:55:42 +0200 Original-Received: from localhost ([127.0.0.1]:38831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpU0a-0002er-Jn for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Apr 2008 15:55:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b9g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 71.154.214.15 Original-X-Trace: posting.google.com 1209132802 26904 127.0.0.1 (25 Apr 2008 14:13:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 25 Apr 2008 14:13:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b9g2000prh.googlegroups.com; posting-host=71.154.214.15; posting-account=ZDEUcwoAAAAfEl68GET6fODebgE-CIe2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:158168 X-Mailman-Approved-At: Fri, 25 Apr 2008 15:54:10 -0400 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:53547 Archived-At: On Apr 25, 1:02 am, Eli Zaretskii wrote: > > From: "jhc0...@gmail.com" > > Date: Thu, 24 Apr 2008 21:24:08 -0700 (PDT) > > > BTW, I thought I'd debug the problem and did > > > M-x describe-key > > > and Emacs just inserted "~" in the buffer that was open. > > Try "C-h l" (that's the letter ell, not the digit one), or "F1 l", and > you will see what keystrokes Emacs received from the OS. > > Btw, is this in a windowed session or in a text terminal/xterm? If > the latter, perhaps your termcap/terminfo and/or $TERM are not set up > correctly: Emacs relies on them to interpret special keys like HOME > and END. Without doing anything myself, my TERM was set to xterm and COLORTERM to rxvt-xpm Exporting both variables as rxvt-cygwin-native cured many of my problems with emacs, although I wonder if this belongs in .bashrc.