bug in psql-ref
bug in psql-ref
От:
Andreas Seltenreich <andreas+pg@gate450.dyndns.org>
Дата:
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
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 @@
%]. Multiple pairs of these may occur within
the prompt. For example,
-testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '
+testdb=> \set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%]%# '
results in a boldfaced (1;) yellow-on-black
(33;40) prompt on VT100-compatible, color-capable
Re: bug in psql-ref
От:
Bruce Momjian <bruce@momjian.us>
Дата:
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 bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +