From owner-freebsd-questions@FreeBSD.ORG Thu Jul 14 18:58:06 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 069EE16A41C for ; Thu, 14 Jul 2005 18:58:06 +0000 (GMT) (envelope-from ben@bjencks.net) Received: from bjencks.net (sub20-225.member.dsl-only.net [63.105.20.225]) by mx1.FreeBSD.org (Postfix) with SMTP id 65D2C43D45 for ; Thu, 14 Jul 2005 18:58:04 +0000 (GMT) (envelope-from ben@bjencks.net) Received: (qmail 77035 invoked from network); 14 Jul 2005 18:58:04 -0000 Received: from unknown (HELO wagner.bjencks.net) (10.11.55.30) by bjencks.net with SMTP; 14 Jul 2005 18:58:04 -0000 Received: (from brj@localhost) by wagner.bjencks.net (8.13.4/8.13.4/Submit) id j6EIvs77057508; Thu, 14 Jul 2005 11:57:54 -0700 (PDT) (envelope-from ben@bjencks.net) X-Authentication-Warning: wagner.bjencks.net: brj set sender to ben@bjencks.net using -f To: Doug Lee References: <20050714110919.GB77560@kirk.dlee.org> From: Ben Jencks Date: Thu, 14 Jul 2005 11:57:51 -0700 In-Reply-To: <20050714110919.GB77560@kirk.dlee.org> (Doug Lee's message of "Thu, 14 Jul 2005 07:09:19 -0400") Message-ID: <86oe95kyfk.fsf@wagner.bjencks.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 18:58:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Lee writes: > This one is making me feel dumb...I've been using FreeBSD for at least > six years but I can't seem to figure this out... > > I have two FreeBSD systems running 4.10/4.11 (these problems have > plagued me through several versions though). On one system, arrows > and backspace work as expected, but on the other, left/right arrows in > vi cause havock (extra characters and a switch from command to insert > mode), and backspace in Lynx, Mutt, etc., backs up but leaves > characters intact instead of clearing them. I have verified that the > following are identical on both systems: > > - termcap (/etc symlink and /usr/share/misc/termcap and termcap.db). > - ~/.exrc. > - stty settings at run time and as set in ~/.login (I use tcsh). > - .screenrc (I also use screen 4.00.02 on both systems). > - /usr/local/etc/screenrc > > I have also tried connecting to each system directly, via a serial > cable and via a Telnet client; and also connecting to each system > through an ssh session on the other one, inside a Screen session. > The results are always the same: On one system, keys work as > expected, but on the other, they always work in the same wrong way. Did you start the screen session from within the local/telnet/ssh/serial connection you're attempting to use it from? I've found that if you start a screen session with one keyboard/OS/keymap/method of connection, and attempt to use it from another, it screws up the "special" keys. - -- Ben -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC1rWypt3yYclAKVsRAoApAJwMQ25E500MVlHeisT54TGY2dMvFgCfZNYo WCJprkJoyagshZcaZxJTqIE= =kFKu -----END PGP SIGNATURE-----