Re: [NOVICE] psql readline Tab insert tab

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Hans Ginzel *EXTERN*'" <hans(at)matfyz(dot)cz>
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [NOVICE] psql readline Tab insert tab
Date: 2015-06-01 11:00:09
Message-ID: A737B7A37273E048B164557ADEF4A58B36618E12@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

Hans Ginzel wrote:
>>> how to make psql (readline) to insert tab when Tab is pressed? E.g. for
>>> pasting. I know, there is -n option. But then the history is not
>>> accessible.

>> It could be done by adding the following lines to your ~/.inputrc file:
>>
>> $if Psql
>> TAB: tab-insert
>> $endif

> Great! Thank you very much. Could this be added as note to the -n option
> of the page http://www.postgresql.org/docs/current/static/app-psql.html,
> please?

Would that be worth an addition to the documentation?

Yours,
Laurenz Albe

Attachment Content-Type Size
0001-Document-how-to-disable-tab-completion-with-readline.patch application/octet-stream 983 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2015-06-01 11:40:20 checkpointer continuous flushing
Previous Message Jeevan Chalke 2015-06-01 10:08:55 Re: psql :: support for \ev viewname and \sv viewname

Browse pgsql-novice by date

  From Date Subject
Next Message Peter Eisentraut 2015-06-01 17:41:02 Re: [NOVICE] psql readline Tab insert tab
Previous Message Payal Singh 2015-05-29 15:01:12 Re: Selective Replication help