[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243373: non-breaking spaces



On Mon, Apr 19, 2004 at 01:34:20PM -0400, Joey Hess wrote:
> This is related to bug #189026 on debconf. The problem is that leading
> spaces are eaten both in Default: lines in the templates file, and in
> the SET command in the debconf protocol. We really need a solution that
> deals with all of these, and right now using escaped characters (\t, \n,
> \s or '\ ') strikes me as slightly better than quoted strings as it is
> easier to deal with, generalises to any problem character and supports
> newlines, and less likely to break existing stuff.
> 
> But it's a big change, and a change likely to break stuff (anything with
> a literal "\n" in a question value for example), and one that we don't
> want to get wrong if we make the change because fixing it later would be
> very painful. Since it involves the debconf spec, it will need to go
> through the policy modification process anyway, which will be slow.

This has now been done in debconf using 'CAPB escape'. We just need to
implement it in cdebconf too and then partman can use it (as well as
fixing some of its multi-line SUBST hackery) ...

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: