[Bug 197362] psql prompt broken broken after update

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 6 10:44:26 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197362

            Bug ID: 197362
           Summary: psql prompt broken broken after update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: gibheer+freebsd at zero-knowledge.org

Hi,

After the upgrade to postgresql client 9.4.1, the revision 378500 also replaced
readline with libedit. Now the color codes stopped working for me.

My prompt now looks like:
[1;33m11:41:22 [1;33m[1;34mgibheer[1;30m-[1;34m[local][1;30m/[1;34m~[1;33m=[0m

To reproduce the problem, use the following command

  \set PROMPT1
'%[%033[1;33m%]%x%[%033[1;34m%]%n%[%033[1;30m%]-%[%033[1;34m%]%M%[%033[1;30m%]/%[%033[1;34m%]%~%[%033[1;33m%]%R%[%033[0m%]
'

Maybe it is possible to add an option, wether to use libedit or libreadline?

Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list