|
From: | Chet Ramey |
Subject: | Re: history-size reported as "0" even is value is "-1" |
Date: | Mon, 17 Jul 2023 16:31:17 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 7/16/23 7:28 AM, Sebastian Carlos wrote:
Hello, history-size is documented as follows:If set to a value less than zero, the number of history entries is notlimited. But after setting it to "-1", for example with this line in .inputrc:set history-size -1It is still reported as "0" in "bind -v":set history-size 0
Thanks for the report. The right thing happens either way, but readline should report the value as < 0 so the output of `bind -v' can be reused as input. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |