The command line listener does not have keybindings for history or
searching, you can get that two ways:

1) using ``rlwrap ./factor`` which has the effect of adding history and
emacs ctrl-a/k/d/n/p keybindings

2) using ``./factor -run=readline-listener`` which has a per-session
history, emacs keybindings, and adds tab completion similar to the UI
listener.

The UI listener implements history support in
``ui.tools.listener.history``, and it would probably be pretty easy to
implement saving and loading of history similar to how readline does it, if
anyone wants a project :-)




On Wed, Sep 3, 2014 at 10:42 AM, mr wzrd <wzr...@gmail.com> wrote:

>
> On 09/03/2014 11:39 AM, John Porubek wrote:
> > On Wed, Sep 3, 2014 at 4:20 AM, mr wzrd <wzr...@gmail.com> wrote:
> >> Speaking of which, does the listener support command history?
> > You can wrap the console version of the listener with "rlwrap" which
> > gives you persistent command history (very useful!). See
> > http://fun-factor.blogspot.com/2009/10/system-wide-factor.html for
> > more info. See
> http://dressguardmeister.blogspot.com/2007/01/blog-post.html
> > for screencasts that demo this concept.
> >
> > It would be great to have these features in the GUI listener.
>
> Are these features different than using Ctrl+N and Ctrl+P in the graphical
> listener?
>
> Is rlwrap necessary for the textual listener, because it lacks Ctrl+N and
> Ctrl+P?
>
>    - mrw
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to