Re: get rid of psql welcome message - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: get rid of psql welcome message
Date
Msg-id 200804191815.m3JIF0d26350@momjian.us
Whole thread Raw
In response to Re: get rid of psql welcome message  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: get rid of psql welcome message  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: get rid of psql welcome message  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Joshua D. Drake wrote:
> Actually in thinking about this more... I almost thing the default 
> prompt should be:
> 
> -
> psql version 8.2.7, server version 8.3.1 (some features may not work)
> SSL: On {cert info}
> Type help to get help (tab complete enabled)
> -
> 
> So on the prompt they can do:
> 
> help <Tab> <tab> and it would give back:
> 
> help [sql | psql] (or something like that)
> 
> Then if they type:
> 
> help psql, they get back the current \?
> 
> If they type help sql they get back the current \h
> 
> If they don't know what they need, help is the shortest path to find 
> out. If they do know what they need, then we don't need everything else.

Does Win32 have tab completion?  I am wondering if we should lose the
tab and just print:
help [sql | psql]

in the header, again assuming we want to actually have 'help' so
something.  I am afraid the phrase "tab completion" is too complex for
the type of people who need help.  :-)

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: get rid of psql welcome message
Next
From: Alvaro Herrera
Date:
Subject: Re: TODO, FAQs to Wiki?