public inbox for [email protected]  
help / color / mirror / Atom feed
bug in psql-ref
2+ messages / 2 participants
[nested] [flat]

* bug in psql-ref
@ 2006-09-29 04:49 Andreas Seltenreich <[email protected]>
  2006-10-03 21:14 ` Re: bug in psql-ref Bruce Momjian <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Andreas Seltenreich @ 2006-09-29 04:49 UTC (permalink / raw)
  To: pgsql-docs

While testing the texinfo target, I noticed the following bug in the
psql reference.  Declaring a printed character as part of the control
sequence is likely to confuse readline about what is on the screen,
causing unreliable line editing.

Patch attached.

regards,
andreas



Attachments:

  [text/x-patch] psql-ref.diff (814B, 2-psql-ref.diff)
  download | inline diff:
Index: doc/src/sgml/ref/psql-ref.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v
retrieving revision 1.169
diff -u -r1.169 psql-ref.sgml
--- doc/src/sgml/ref/psql-ref.sgml	16 Sep 2006 00:30:19 -0000	1.169
+++ doc/src/sgml/ref/psql-ref.sgml	29 Sep 2006 04:27:42 -0000
@@ -2491,7 +2491,7 @@
          <literal>%]</literal>. Multiple pairs of these may occur within
          the prompt.  For example,
 <programlisting>
-testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '
+testdb=&gt; \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
 </programlisting>
          results in a boldfaced (<literal>1;</literal>) yellow-on-black
          (<literal>33;40</literal>) prompt on VT100-compatible, color-capable


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: bug in psql-ref
  2006-09-29 04:49 bug in psql-ref Andreas Seltenreich <[email protected]>
@ 2006-10-03 21:14 ` Bruce Momjian <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2006-10-03 21:14 UTC (permalink / raw)
  To: Andreas Seltenreich <[email protected]>; +Cc: pgsql-docs


Patch applied.  Thanks.

---------------------------------------------------------------------------


Andreas Seltenreich wrote:
> While testing the texinfo target, I noticed the following bug in the
> psql reference.  Declaring a printed character as part of the control
> sequence is likely to confuse readline about what is on the screen,
> causing unreliable line editing.
> 
> Patch attached.
> 
> regards,
> andreas
> 


> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

-- 
  Bruce Momjian   [email protected]
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-10-03 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-29 04:49 bug in psql-ref Andreas Seltenreich <[email protected]>
2006-10-03 21:14 ` Bruce Momjian <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox