Bug#444453: E: Unimplemented function with large strings

2009-12-15 Thread Colin Watson
On Fri, Sep 28, 2007 at 06:05:03PM +0200, Martin Michlmayr wrote:
 Package: cdebconf
 Version: 0.123
 
 When I use debconf-set to set a really long string, I get the message
 E: Unimplemented function.  Apparently the string has to be longer
 than ~1024 bytes and contain newlines:

Fixing this will involve:

  1) teaching cdebconf to handle the escape capability, as implemented
  in debconf;

  2) teaching debconf-set to use it.

As it stands, shoving data that contains newlines through debconf-set
breaks the debconf protocol, since the data after the newline is
interpreted as a new command.

-- 
Colin Watson   [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#444453: E: Unimplemented function with large strings

2007-09-28 Thread Martin Michlmayr
Package: cdebconf
Version: 0.123

When I use debconf-set to set a really long string, I get the message
E: Unimplemented function.  Apparently the string has to be longer
than ~1024 bytes and contain newlines:

/var/lib/cdebconf # ./t
E: Unimplemented function
E: Unimplemented function


Test program:

#!/bin/sh

X=test

T=$X

for i in 0 1 2 3 4 5 6 8 9 ; do
for j in 0 1 4 5 6 7 8 9 ; do
for k in 0 1 2  ; do
X=$X$T
done
done
done
#echo $X
#echo $X | wc
debconf-set time/zone $X

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]