Issue 115 in xmonad: sjanssenPP unlike defaultPP gives parsing error in xmobar if titlebar contains "{" and "}" char

Issue 115: sjanssenPP unlike defaultPP gives parsing error in xmobar if titlebar contains "{" and "}" char http://code.google.com/p/xmonad/issues/detail?id=115 New issue report by iddo333: What steps will reproduce the problem? 1. echo -ne "\033]0;{mytitle}\007" && cat 2. or just: echo -ne "\033]0;mytitle}\007" && cat What is the expected output? What do you see instead? Should be {mytitle}, but there's a parsing error message instead. What version of the product are you using? On what operating system? xmonad 0.5 on ubuntu 7.10 note: defaultPP also messes up the placement of the "}" char, but at least all the other chars are ok and there's no parsing error. Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Hy, thats a simple error: the { and } are used in xmobar to align text left and right. I dont know I xmobar supports escaping these chars, if yes, then the DynamicLog should replace every { and } with a \{ and \}. If xmobar doesnt support escaping of { or } we should delete them in DynamicLog as a workaround until xmobar supports escaping. Greetings -- Dominik Bruhn mailto: dominik@dbruhn.de

On Mon, Dec 31, 2007 at 05:22:25PM +0100, Dominik Bruhn wrote:
Hy, thats a simple error: the { and } are used in xmobar to align text left and right. I dont know I xmobar supports escaping these chars, if yes, then the DynamicLog should replace every { and } with a \{ and \}. If xmobar doesnt support escaping of { or } we should delete them in DynamicLog as a workaround until xmobar supports escaping.
actually xmobar lets you change the characters that are used as separators. it would be better to add comments directly on the bug tracker, so there's only one place to look when you are dealing with an issue. thanks. cheers, andrea
participants (3)
-
Andrea Rossato
-
codesite-noreply@google.com
-
Dominik Bruhn