From owner-freebsd-questions@FreeBSD.ORG Wed Nov 29 21:51:32 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9066616A4FC for ; Wed, 29 Nov 2006 21:51:32 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1405943D66 for ; Wed, 29 Nov 2006 21:51:06 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1750245uge for ; Wed, 29 Nov 2006 13:51:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FqT0dLzfRspUG/5gqohnSlHEKWrRqlqzvkjh+KWSE4pNOzhoJs8460EXJ6q1Q+1bG8XNF7JwuUBstHIxsIUR+wmaV5y0S5CDJt8+a7l382o5srRzltPSxyhT7DYpxPKRlgIaoJ7amEe1sJlwq6eMJBNpJO7c8xf7XeEw2ULywuM= Received: by 10.78.118.19 with SMTP id q19mr2722455huc.1164837069108; Wed, 29 Nov 2006 13:51:09 -0800 (PST) Received: by 10.78.167.16 with HTTP; Wed, 29 Nov 2006 13:51:09 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2006 00:51:09 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Jan Grant" In-Reply-To: <20061129213011.A32663@tribble.ilrt.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061129213011.A32663@tribble.ilrt.bris.ac.uk> X-Google-Sender-Auth: 96590330146c9f6d Cc: FreeBSD Questions Subject: Re: Real-time command history sharing between interactive shells X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 21:51:32 -0000 On 11/30/06, Jan Grant wrote: > On Wed, 29 Nov 2006, Andrew Pantyukhin wrote: > > > I want to be able to define groups of interactive > > shells (preferably even across different users) > > so they have one single shared command history. > > Any command executed in one of them should be > > available through all history mechanisms in the > > other ones. > > > > I imagine some ways to do it in tcsh. I'm sure > > many users would like this kind of functionality, > > maybe some of them have already implemented it? > > zsh is a pretty good interactive shell (it finally weaned me off tcsh), > as well as supporting a full range of redirection and control > constructs. You should look at that, in particular the > set -o sharehistory > option (which does half of what you're after). > > Combine this with a shared .history file and you should get the effect > you're after. I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh?