From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 11:55:41 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 C81EC16A41C for ; Thu, 14 Jul 2005 11:55:41 +0000 (GMT) (envelope-from dgl@kirk.dlee.org) Received: from rwcrmhc12.comcast.net (rwcrmhc14.comcast.net [216.148.227.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 882D543D46 for ; Thu, 14 Jul 2005 11:55:41 +0000 (GMT) (envelope-from dgl@kirk.dlee.org) Received: from kirk.dlee.org ([69.143.16.144]) by comcast.net (rwcrmhc14) with ESMTP id <20050714115540014009nsm2e>; Thu, 14 Jul 2005 11:55:40 +0000 Received: from kirk.dlee.org (dgl@localhost.dlee.org [127.0.0.1]) by kirk.dlee.org (8.12.11/8.12.11) with ESMTP id j6EBtd3o012029; Thu, 14 Jul 2005 07:55:39 -0400 (EDT) (envelope-from dgl@kirk.dlee.org) Received: (from dgl@localhost) by kirk.dlee.org (8.12.11/8.12.11/Submit) id j6EBtdKd012028; Thu, 14 Jul 2005 07:55:39 -0400 (EDT) (envelope-from dgl) Date: Thu, 14 Jul 2005 07:55:39 -0400 From: Doug Lee To: Glenn Dawson Message-ID: <20050714115539.GE77560@kirk.dlee.org> Mail-Followup-To: Doug Lee , Glenn Dawson , freebsd-questions@freebsd.org References: <20050714110919.GB77560@kirk.dlee.org> <6.1.0.6.2.20050714043946.12570cc0@cobalt.antimatter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.1.0.6.2.20050714043946.12570cc0@cobalt.antimatter.net> Organization: BART Group User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Left/right arrow and backspace translation confusion 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, 14 Jul 2005 11:55:41 -0000 On Thu, Jul 14, 2005 at 04:43:32AM -0700, Glenn Dawson wrote: > Check TERM in the environment of a shell that's inside screen. It should > be 'screen'. If it's not, or there's no entry for screen in termcap you'll > have exactly the problem you are seeing. "screen" it is, and here's the /etc/termcap entry for it (though I'm sure this will be severely munged by including it as text here): SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :am:xn:ms:mi:G0:km:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\ :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\ :DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ :kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:@7=\E[4~:kP=\E[5~:\ :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\ :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00: -- Doug Lee dgl@dlee.org http://www.dlee.org BART Group doug@bartsite.com http://www.bartsite.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller