bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] docs of history_get()


From: Chet Ramey
Subject: Re: [Bug-readline] docs of history_get()
Date: Sun, 8 Oct 2017 11:47:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 10/8/17 1:54 AM, Kevin Ryde wrote:
> In the readline 7.0 info docs, I found the description of history_get()
> a little unclear.  It read to me at first like the OFFSET parameter was
> an offset relative to history_base, so 0 up to history length or
> something.  If I'm not mistaken that's so of where_history(), set_pos()
> etc, but history_get() is a full event number.  Maybe something like,
> assuming its correct :),

Thanks. I'll add something like this clarifying the valid range for
the value of the offset.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]