Today also Traveler was doing some stuff with readline.
He did a small patch to yarp write in order to have readline 
functionality, like history and similar, while typing commands in the 
"yarp write prompt".

I don't know if what has been done in this branch is the same (maybe 
better? :) or something different, but I thought it was useful to share it.

He placed his stuff here 
https://gitlab.icub.org/walkman-drc/yarp_write.git-traveler
The bad thing is that basically it creates a new executable called 
yarp_write (and on my laptop it doesn't work).

Today is the Readline day!!

Alberto

> I made a small, improved yarp write. Basically it gives you the up-arrow history and line editing features of GNU readline.The command is > 'yarp_write'https://gitlab.icub.org/walkman-drc/yarp_write.git-traveler


On 12/02/2014 21:32, Daniele E. Domenichelli wrote:
>
> In src/libYARP_OS/CMakeLists.txt:
>
> > @@ -347,6 +347,12 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
> >      target_link_libraries(YARP_OS LINK_PRIVATE pthread)
> >  endif()
> >
> > +if (YARP_USE_READLINE)
> > +	add_definitions( -DWITH_READLINE )
>
> use white spaces instead of tabs ;)
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/robotology/yarp/pull/124/files#r9684533>.
>