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 [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline