The readline developer says that this feature is available in readline 6.x versions. What readline version lftp uses?
Regards.

-------- Mensaje original --------
Asunto: Re: [Bug-readline] Possibility of retrieve time/date of each command
Fecha: Wed, 16 Nov 2011 11:20:07 -0500
De: Chet Ramey <chet.ra...@case.edu>
Responder a: chet.ra...@case.edu
Para: Simón <si...@simonbcn.net>
CC: bug-readl...@gnu.org, Lista LFTp <lftp@uniyar.ac.ru>, chet.ra...@case.edu


On 11/16/11 7:55 AM, Simón wrote:
> Hi,
>     I use lftp 4.3.3 and it uses readline to save a log with the list of
> commands executed. I would like that this list saves too the date/time of
> that commands.
>     I report this to lftp developer and he says that I address this feature
> request to readline developers.
>     Is possible this feature?

This feature already exists in readline 6.x versions.  Timestamp
information is kept with each history entry (entry->timestamp, stored
as a string), and can be retrieved and displayed by an application.  If
an application sets the `history_write_timestamps' variable to a non-zero
value, timestamps get written to the history file.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to