Benno Schulenberg <[EMAIL PROTECTED]> wrote: > Jim Meyering wrote: >> Benno Schulenberg <[EMAIL PROTECTED]> wrote: >> > # dd if=/dev/zero of=FILE bs=1M count=1 2>/dev/null >> > # parted -s FILE mklabel msdos >out 2>&1 >> > # xxd out >> > 0000000: 1b5b 3f31 3033 3468 .[?1034h >> >> That's probably coming from one of your startup dot files > > I don't think so: > > # bash -c "true" | od -xa > 0000000 > > # bash -c "parted /dev/hda quit" | od -xa > 0000000 5b1b 313f 3330 6834 > esc [ ? 1 0 3 4 h > 0000010 > > It seems to be coming from parted. > > # type -a parted > parted is /usr/sbin/parted > > # file $(type -p parted) > /usr/sbin/parted: ELF 32-bit LSB executable, Intel 80386, version 1 > (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), > stripped > > # ldd $(type -p parted) > linux-gate.so.1 => (0xb7fba000) > libparted-1.8.so.7 => /usr/lib/libparted-1.8.so.7 (0xb7f45000) > libuuid.so.1 => /lib/libuuid.so.1 (0xb7f3f000) > libreadline.so.5 => /lib/libreadline.so.5 (0xb7f04000)
Then perhaps it's readline? Do you still get it if you invoke parted like this? # env TERM=dumb parted /dev/hda quit | od -a or this: # env -u TERM parted /dev/hda quit | od -a _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted