From owner-freebsd-questions Mon Sep 18 13:22: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 701A737B423 for ; Mon, 18 Sep 2000 13:22:01 -0700 (PDT) Received: from parish ([62.253.86.122]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000918202157.UPHP13676.mta03-svc.ntlworld.com@parish>; Mon, 18 Sep 2000 21:21:57 +0100 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id e8IKLv303152; Mon, 18 Sep 2000 21:21:57 +0100 (BST) (envelope-from mark) Date: Mon, 18 Sep 2000 21:21:56 +0100 From: Mark Ovens To: Jim Freeze Cc: questions@freebsd.org Subject: Re: tcsh shell editing (bind?) Message-ID: <20000918212156.J567@parish> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from jim@freeze.org on Mon, Sep 18, 2000 at 03:15:51PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 18, 2000 at 03:15:51PM -0400, Jim Freeze wrote: > I use fbsd with bash at home and have set the shell editing option to vi > with > > set -o vi > > However, at work I am limited to tcsh. > The man pages way to use > > bind vi > It's ``bindkey'' not ``bind'': bindkey [-l|-d|-e|-v|-u] (+) bindkey [-a] [-b] [-k] [-r] [--] key (+) bindkey [-a] [-b] [-k] [-c|-s] [--] key command (+) Without options, the first form lists all bound keys and the editor command to which each is bound, the second form lists the editor command to which key is bound and the third form binds the editor command command to key. Options include: [snip] -v Binds all keys to the standard vi(1)-like bindings. > but bind is not supported. > > Does anyone know a quick answer to how get vi editing within tcsh? > > Thanks > > > =========================== > Jim Freeze > jim@freeze.org > =========================== > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message