From owner-freebsd-questions Wed Jan 29 20: 3:16 2003 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 9CC4337B401 for ; Wed, 29 Jan 2003 20:03:15 -0800 (PST) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C7643E4A for ; Wed, 29 Jan 2003 20:03:14 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.6/8.12.6) with ESMTP id h0U4393k010970 for ; Wed, 29 Jan 2003 21:03:09 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.6/8.12.6/Submit) with ESMTP id h0U4382e010967 for ; Wed, 29 Jan 2003 21:03:09 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 29 Jan 2003 21:03:08 -0700 (MST) From: Warren Block To: questions@freebsd.org Subject: Consistent keys for console and PuTTY Message-ID: <20030129203953.J10935@wonkity.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Getting the Delete, Home, and End keys to work consistently both from the console and through PuTTY has been a problem for lots of people. Short form for csh: use bindkey to bind ANSI escape sequences so the keys work the same locally or remote: bindkey "^?" delete-char bindkey "\e[3~" delete-char bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line However, a quick search found this web page, which covers both bash and tcsh (which'll work for csh): http://www.ibb.net/~anne/keyboard/keyboard.html -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message