[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-readline] Bug in the readline documentation
From: |
Vesa-Matti J Kari |
Subject: |
[Bug-readline] Bug in the readline documentation |
Date: |
Sun, 4 Nov 2012 17:37:12 +0200 (EET) |
User-agent: |
Alpine 2.00 (LRH 1167 2008-08-23) |
Hello,
The background: I was searching for a way to completely disable the
command history in psql (PostgreSQL front-end).
The manual page for readline(3) says:
----------- sample begins -------------------------------
history-size (0)
Set the maximum number of history entries saved in the
history list. If set to zero, the number of entries in the
history list is not limited.
----------- sample ends ---------------------------------
The same information is in the other readline docs too.
However, that information seems to be wrong. In my
~/.inputrc I have the following:
----------- sample begins -------------------------------
$if psql
set disable-completion on
set history-size 0
$endif
----------- sample ends ---------------------------------
and the psql command history will remain empty (just like
I wanted it to be).
Regards,
vmk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-readline] Bug in the readline documentation,
Vesa-Matti J Kari <=