delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/21/20:27:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 21 Jan 2005 17:25:43 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Andrew Markebo <andrew DOT markebo AT comhem DOT se>
cc: zsh-users AT sunsite DOT dk, cygwin AT cygwin DOT com
Subject: Re: Sharing zsh history in cygwin.
In-Reply-To: <m3fz0wgvbn.fsf@flognat.dyndns.org>
Message-ID: <Pine.LNX.4.58.0501211709000.16726@ming.fruitbat.org>
References: <m3fz0wgvbn DOT fsf AT flognat DOT dyndns DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes

On Thu, 20 Jan 2005, Andrew Markebo wrote:

> Anyone managed to share command line history between running zsh's in
> latest cygwin's?

Works for me on Cygwin and Linux (Slackware).

> In old times I have done it, unfortunetaly bad tracking when I lost
> it. (Cywgin & zsh 4.2) (think it works with Linux-compiled zsh,
> doublechecking)
>
> Mainly my sharing is decided by:
> # History
> ###################################
> # IncAppendHistory for sharing between shells.. NOW..
> setopt HISTIGNOREDUPS HISTIGNORESPACE EXTENDED_HISTORY
> setopt INC_APPEND_HISTORY SHARE_HISTORY
> HISTSIZE=300
> SAVEHIST=300
> HISTFILE=~/.history
>
> The last line, HISTFILE, freezes the cygwin-distributed zsh
> (4.2.0) just after reading the config-files. Removing just that line
> creates a bunch of .history-XXX files.

Hm... I get only a single ~/.history file.

> On cygwin I configured (by setting "named FIFOs to work" to false) and
> compiled zsh 4.2.3, but it doesn't seem to share the history.

4.2.3s' configure is broken (on Cygwin) right now, so unless you know
what you're doing, I'd wait on it.

> Anyone who have been messing with the history as I do?

This works for me without any problems, using 4.2.0 in Cygwin.  I've
opened three shells and can see/use the commands entered from any of the
three shells by any of the three shells.  I suspect it's something
environmental.  More detail about your system is in order.  The output
from 'cygcheck -s' might be enlightening.

BTW, I just pushed 4.2.1-1 out.  You can give it a try, but I kinda doubt
that'll solve your problems.  On the other hand, it does have the new
/etc/zprofile in it.

BTW, it appears cygwin-announce isn't working...at least I haven't seen
any "[ANNOUNCE]" notices lately.

I'll be pushing out 4.2.3 once I get patches for configure worked out.
Still, I think your problem is something else.  Please submit 'cygcheck -s'
output.

>        /Andy

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019