From owner-freebsd-questions Sun Apr 28 12: 8: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from c003.snv.cp.net (h016.c003.snv.cp.net [209.228.32.230]) by hub.freebsd.org (Postfix) with SMTP id 3486C37B417 for ; Sun, 28 Apr 2002 12:07:56 -0700 (PDT) Received: (cpmta 13598 invoked from network); 28 Apr 2002 12:07:55 -0700 Received: from 24.164.45.143 (HELO there) by smtp.telocity.com (209.228.32.230) with SMTP; 28 Apr 2002 12:07:55 -0700 X-Sent: 28 Apr 2002 19:07:55 GMT Content-Type: text/plain; charset="iso-8859-15" From: Chris Faulhaber To: freebsd-questions@freebsd.org Subject: Terminal problems with konsole and vim. Date: Sun, 28 Apr 2002 15:07:56 -0400 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020428190756.3486C37B417@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm having a strange terminal problem with a FreeBSD server of mine. I am connecting to the machine through SSH with a KDE konsole, and my terminal type is set to xterm-color. First of all, under vim, my home and end keys do not work properly. Vim likely interprets them as if I'd hit escape, because vim will exit insert mode when either of those keys are pressed. Second, and more importantly, the arrow keys do not function correctly when in insert mode. Up, down, right, and left place the letters A, B, C, and D, respectively, and a new line. My vim version is 6.0. I've tried back to version 4.0 and the most recent 6.1, but all exhibit this behaviour. The arrow-key problem appears to be a vim-only problem, as using them under insert mode in vi results in no problems (although the home and end keys still don't work). All of my non-FreeBSD servers do not have this problem. I've tried setting my term environment variable to xterm, xterm-color, xterm-xfree86, xterm-r6, vt100, vt220, ansi, and cons25. None fix the problem. I've also tried replacing my termcap with a termcap from one of my (non-FreeBSD) servers that do work. But after rebuilding the database, the problems still exist. Any help would most certainly be appreciated, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message