Thread: TAB doesn't work in psql

TAB doesn't work in psql

From
Bruce Momjian
Date:
I can't tab anymore in psql:
test=> CREATE TABLE friends (test->     Display all 161 possibilities? (y or n)

What is this.  Looks like readline is assuming my tab means 'tab
completion'.  I don't have a problem with tab completion, but I like to
use tab when typing queries to indent my SQL.

When did this happen?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: [HACKERS] TAB doesn't work in psql

From
Peter Eisentraut
Date:
On Thu, 14 Oct 1999, Bruce Momjian wrote:

> I can't tab anymore in psql:
> 
>     test=> CREATE TABLE friends (
>     test->     
>     Display all 161 possibilities? (y or n)
> 
> What is this.  Looks like readline is assuming my tab means 'tab
> completion'.  I don't have a problem with tab completion, but I like to
> use tab when typing queries to indent my SQL.
> 
> When did this happen?

Last time you messed with your .inputrc maybe??? I have always known it
this way. I have made M-Tab to be insert-tab, it's not configured this way
by default.


-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



Re: [HACKERS] TAB doesn't work in psql

From
Bruce Momjian
Date:
> On Thu, 14 Oct 1999, Bruce Momjian wrote:
> 
> > I can't tab anymore in psql:
> > 
> >     test=> CREATE TABLE friends (
> >     test->     
> >     Display all 161 possibilities? (y or n)
> > 
> > What is this.  Looks like readline is assuming my tab means 'tab
> > completion'.  I don't have a problem with tab completion, but I like to
> > use tab when typing queries to indent my SQL.
> > 
> > When did this happen?
> 
> Last time you messed with your .inputrc maybe??? I have always known it
> this way. I have made M-Tab to be insert-tab, it's not configured this way
> by default.

Oh.  Got it.  I have modified my .inputrc.  I guess I just thought it
used to work.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026