From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 11:00:02 2003 Return-Path: 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 E815516A4CE for ; Wed, 26 Nov 2003 11:00:02 -0800 (PST) Received: from smtp105.mail.sc5.yahoo.com (smtp105.mail.sc5.yahoo.com [66.163.169.225]) by mx1.FreeBSD.org (Postfix) with SMTP id B5FA043FAF for ; Wed, 26 Nov 2003 11:00:01 -0800 (PST) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.95.213.196?) (khairil?yusof@219.95.213.196 with plain) by smtp-v1.mail.vip.sc5.yahoo.com with SMTP; 26 Nov 2003 19:00:01 -0000 From: Khairil Yusof To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-vMPUGHJpEGOAbeTdBbc2" Message-Id: <1069873194.1038.36.camel@wolverine.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 27 Nov 2003 02:59:56 +0800 Subject: vim keyboard mapping problems (ssh) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 19:00:03 -0000 --=-vMPUGHJpEGOAbeTdBbc2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I couldn't figure why I'm having this problem. If anybody knows why my keyboard mappings are off, I'd really appreciate it. On my main machine, everything works just fine (tab, cursor keys, home, end) in both insert/command mode. I've recently built a simple FreeBSD 5.1 web server. The problem I have is that vim built on this machine seems to get different keyboard mappings from somewhere. Env: ssh from gnome-terminal, TERM=3Dxterm Symptoms: bash: everything works just fine (home,end,cursor keys,tab) nvi : everything works just fine (home,end,cursor keys,tab) vim (command mode): home,end,cursor keys work, but tab doesn't work for commands. tab key displays ^I instead. vim (insert mode): up cursor =3D A + enter left cursor =3D D + enter right cursor =3D C + enter down cursor =3D B + enter home =3D H end =3D F Additional note: If I ssh back to my main machine from this server, the vim on my machine doesn't not have the same behaviour. I'm stuck, any help/explanation would be much appreciated. -- FreeBSD 5.2-BETA i386=20 2:23am up 4:04, 1 user, load averages: 1.02, 0.57, 0.46 --=-vMPUGHJpEGOAbeTdBbc2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/xPgqDAqnLW/+/X8RAqprAKCfamNUyGOKPYbnXKEkGJ8TtAAeUACdEe7J 3O4UIFBa5+jUcGAAE33+V+4= =L0Js -----END PGP SIGNATURE----- --=-vMPUGHJpEGOAbeTdBbc2--