Simone Tellini <tellini@areabusiness.it> writes:
> I've got a problem with psql on my home box: it doesn't recognize the
> arrow keys nor the backspace and probably other keys as well.
Install libreadline (headers too; you will need the devel RPM),
reconfigure, rebuild psql.
regards, tom lane