From owner-freebsd-questions@FreeBSD.ORG Tue May 27 07:11:27 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 86B7637B401 for ; Tue, 27 May 2003 07:11:27 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id C732D43F3F for ; Tue, 27 May 2003 07:11:26 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h4REB1Rn030550; Tue, 27 May 2003 09:11:01 -0500 (CDT) (envelope-from dan) Date: Tue, 27 May 2003 09:11:01 -0500 From: Dan Nelson To: Jerry McAllister Message-ID: <20030527141101.GD16884@dan.emsphone.com> References: <20030526065838.GC28797@gothmog.gr> <200305271352.h4RDq3f4025804@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305271352.h4RDq3f4025804@clunix.cl.msu.edu> X-OS: FreeBSD 5.1-BETA X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: Giorgos Keramidas cc: Stephan Weaver cc: questions@freebsd.org Subject: Re: Screen and VI 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: Tue, 27 May 2003 14:11:27 -0000 In the last episode (May 27), Jerry McAllister said: > > I usually fire up screen(1) in my console ttys or xterm windows, > > and then set TERM=vt220. This is monochrome, but all the arrow > > keys work fine. I even managed to make ALL the special keys like > > Insert, DEL, Home, End, PageDown and PageUp to work 'as expected' > > in Emacs with the following bindings in my .emacs file: When you're inside a screen session, don't mess with TERM at all. Screen presets TERM and TERMCAP to precisely what it supports and nothing more. -- Dan Nelson dnelson@allantgroup.com