Package: uudeview
Version: 0.5.20-3.2
Severity: normal

Hi,

I noticed inconsistent behaviour of uuenview -- sometime it works
and sometime it doesn't. I've hunted it down so that the error can
be reproduced with a simple command. 

First, here is it's normal behaviour:

  echo abc > abc

  $ echo short sentence | uuenview -b -a abc
  Mime-Version: 1.0
  Content-Type: multipart/mixed; boundary="==UUD_=_1282748652"

  --==UUD_=_1282748652
  Content-Type: text/plain
  Content-Transfer-Encoding: 8bit

  short sentence

  --==UUD_=_1282748652
  Content-Type: Application/Octet-Stream
  Content-Transfer-Encoding: Base64
  Content-Disposition: attachment; filename="abc"

  YWJjCg==

  --==UUD_=_1282748652--

I.e., plain text and attachment are in separate mine content types.
here is it's abnormal behaviour:

  $ echo '/dev/sda1: 1601M HPFS/NTFS' | uuenview -b -a abc
  /dev/sda1: 1601M HPFS/NTFS
  Mime-Version: 1.0
  Content-Type: multipart/mixed; boundary="==UUD_=_1282748672"

  --==UUD_=_1282748672
  Content-Type: Application/Octet-Stream
  Content-Transfer-Encoding: Base64
  Content-Disposition: attachment; filename="abc"

  YWJjCg==


  --==UUD_=_1282748672--

I.e., plain text does not have separate mine content type any more.
In fact, it is in the mail header now, which was the reason that I
can't see the plain text in my normal mail clients.

This might be a bug that should be fixed. Meanwhile, I've also found a
simple solution:

 $ echo -e '\n/dev/sda1: 1601M HPFS/NTFS' | uuenview -b -a abc
  Mime-Version: 1.0
  Content-Type: multipart/mixed; boundary="==UUD_=_1282748678"

  --==UUD_=_1282748678
  Content-Type: text/plain
  Content-Transfer-Encoding: 8bit


  /dev/sda1: 1601M HPFS/NTFS

  --==UUD_=_1282748678
  Content-Type: Application/Octet-Stream
  Content-Transfer-Encoding: Base64
  Content-Disposition: attachment; filename="abc"

  YWJjCg==


  --==UUD_=_1282748678--

Please investigate. 

Thanks

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (360, 'testing'), (300, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-grml64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages uudeview depends on:
ii  libc6                         2.10.2-9   Embedded GNU C Library: Shared lib
ii  libuu0                        0.5.20-3.2 Library for decoding/encoding seve

uudeview recommends no packages.

Versions of packages uudeview suggests:
pn  inews                         <none>     (no description available)
ii  sendmail-bin [mail-transport- 8.14.3-9.1 powerful, efficient, and scalable 
pn  xdeview                       <none>     (no description available)

-- no debconf information



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

Reply via email to