Date: Thu, 14 Jul 2005 11:57:51 -0700 From: Ben Jencks <ben-freebsd-current@bjencks.net> To: Doug Lee <dgl@dlee.org> Cc: freebsd-questions@freebsd.org Subject: Re: Left/right arrow and backspace translation confusion Message-ID: <86oe95kyfk.fsf@wagner.bjencks.net> In-Reply-To: <20050714110919.GB77560@kirk.dlee.org> (Doug Lee's message of "Thu, 14 Jul 2005 07:09:19 -0400") References: <20050714110919.GB77560@kirk.dlee.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doug Lee <dgl@dlee.org> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86oe95kyfk.fsf>