Package: joe
Version: 3.5-1.1
Severity: normal

When scrolling a text one line at a time, joe pads some lines with trailing
spaces to the length of the lines replaced during scrolling. These extra
spaces are visible to the X text selection.

The problem does not seem to appear in nvi, so I guess it is specific to
joe.


Steps to reproduce:

In an X terminal (gnome-terminal), open the attached file with joe:

$ joe +107 q-iyj

Move the cursor up enough times to scroll the text exactly one line. Select
the text with a mouse. Paste it somewhere we can see the trailing spaces:

$ sed -e 's/$/$/'
[middle click]
Y muuf, veh yj hucydti cu ie  $
Ev jxqj ebt cqd Y kiut je adem$
Mxeiu beea mqi cybt, mxeiu ifuusx mqi ibem$
Mxeiu xqyh mqi mxyjuh jxqd jxu idem$
Mxeiu vqsu mqi luho byau q shem   $
Myjx uoui, byau sydtuhi, qbb qwbem$
Mxe iuucut tyijhqsjut myjx xyi meu$
Mxe hesaut xyi reto je qdt vhe $
Qdt ckjjuhut ckcrbydwbo qdt bem   $
Qi yv xyi cekjx muhu vkbb ev tekwx$
Mxe idehjut byau q rkvvqbe  $
Jxqj ikccuh uludydw bedw qwe$
Q-iyjjydw ed q wqju$
^D
$


Expected behaviour:

No extra spaces should appear in the selection.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.23
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages joe depends on:
ii  libc6                     2.7-5          GNU C Library: Shared libraries
ii  libncurses5               5.6+20071124-1 Shared libraries for terminal hand

joe recommends no packages.

-- no debconf information

Attachment: q-iyj
Description: Binary data

Reply via email to