Re: ratpoison-1.4.4 history

Grigorios Bouzakis <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <20090428195735.GA3305@dark>
On Tue, Apr 28, 2009 at 07:08:46PM +0200, Bernhard R. Link wrote:
> * Grigorios Bouzakis <[email protected]> [090428 17:30]:
> > Well, is that the way it's suposed to work?
> > The --disable-history option doesnt make sense if history is kept no
> > matter what.
> 
> Said shortly:
> 
> readline's libhistory is no longer needed to have a history, but for
> libhistory's events and designators.
> 
> Said not so shortly:
> 
> ratpoison now has a built-in basic history handling (mostly due to
> enable having different histories for different things[1]).
> 
> This new history handling supports almost everything the one did without
> libhistory, except history expansion.
> 
> With the old code, you could do:
> 
> C-t :echo hallo
> C-t :echo !!
> 
> and it was equivalent to entering
> 
> C-t :echo hallo
> C-t :echo echo hallo
> 
> you can also do more complex things like
> 
> C-t :echo bla
> C-t :^a^ub^
> 
> which is equivalent to
> 
> C-t :echo bla
> C-t :echo blub
> 
> and all the other things in (history.info.gz)History Interaction.
> 
> With the new history code, this is disable by default, but you can get
> it back with
> 
> C-t :set historyexpansion 1
> 
> which will reenable that feature when ratpoison was compiled with
> libhistory[2], and output an error if ratpoison was compiled without
> libhistory.
> 
> Hochachtungsvoll,
> 	Bernhard R. Link
> 
> [1] see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478977
> [2] as implementing all those things like "!fi:2" meaning
> "the second argument of the most recent command starting with the
> letters `fi'" is already implemented there and I doubt anyone actually
> uses it.
> 

So how do i get the pre 1.4.4 history behaviour back?
How do can i get ratpoison to not keep any history at all?
Setting historysize 0 doesnt work.

-- 
Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.