From owner-freebsd-bugs@FreeBSD.ORG Wed May 7 21:29:23 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B655C37B401 for ; Wed, 7 May 2003 21:29:23 -0700 (PDT) Received: from hall.mail.mindspring.net (hall.mail.mindspring.net [207.69.200.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 138FE43FB1 for ; Wed, 7 May 2003 21:29:23 -0700 (PDT) (envelope-from bobf@mrp3.com) Received: from user-112v223.biz.mindspring.com ([66.47.136.67]) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 19Dd22-0005Eo-00 for freebsd-bugs@FreeBSD.org; Thu, 08 May 2003 00:29:22 -0400 Received: from bobxp ([192.168.0.16]) by user-112v223.biz.mindspring.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 7 May 2003 21:29:02 -0700 Message-ID: <02f401c3151a$5a4f1110$1000a8c0@SFT> From: "Bob Frazier" To: , Date: Wed, 7 May 2003 21:29:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-OriginalArrivalTime: 08 May 2003 04:29:02.0517 (UTC) FILETIME=[5A521E50:01C3151A] Subject: addition of 'vtnt' term type X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 04:29:24 -0000 I recommend adding the 'vtnt' term type to 'termcap'. I have noticed that 'vt200' performs almost exactly as desired, and the only difference might be to alter the performance of the 'delete' key so that it deletes the character under the cursor (and does not merely duplicate the backspace key). Using the 'set term=vt200' setting with FreeBSD 4.7-RELEASE I was able to get the arrow keys, page up, page down, end, and home to work as expected with 'ee'. I did not try them with 'vi', however. No other terminal setting that I tried worked as well. Unfortunately the behavior of the background color was not as good as it is for an ANSI terminal, but this may be unavoidable in order to get the cursor motion capabilites via 'pgup' 'pgdown' 'home' 'end' and arrow keys, and may actually be a compatibility problem wiht the Windows XP 'telnet' application. Windows XP 'telnet' has the capability of specifying itself as a 'vtnt' terminal type via the following: set term vtnt The default emulation appears to be 'ansi'. However, this doesn't work properly with applications like 'ee', which is why I wanted to find the best possible terminal setting. I was able to modify my own 'termcap' file by adding 'vtnt' along with 'vt200' in the same section. This setting may be adequate for MOST applications but I may be unaware of additional 'fixes' needed by 'vtnt' that 'vt200' either breaks or does not correctly implement, "delete character under cursor" being the most obvious capability that I would like to see working.