aptitude does not draw box borders consistently

Bug #550858 reported by Mark Ferguson on 2010-03-29
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
aptitude
Fix Released
Unknown
aptitude (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

Using putty (0.60) to connect to ubuntu 10.4 beta server.
run aptitude

The border boxes and menu boxes are drawn inconsistently.
If putty is set to UTF-8 the menu boxes (hit f10 for menus) are drawn correctly but the other boxes (eg l for limit, quit are you sure) are drawn wrong.
if putty is set to ISO-8859-15 or ISO-8859-1 then the menu boxes are wrong but the other boxes are drawn correctly.

#257511 is related but dismissed already

Before you blame it on putty again, on my debian system (today's stable version) aptitude 0.4.11.11 with same putty,
aptitude draws all the boxes correctly when putty is set to ISO-8859-15 and all the boxes wrong when putty is set to UTF-8.

So the lack of consistency is an ubuntu feature.

package details added by ubuntu-bug

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: aptitude 0.4.11.11-1ubuntu9
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-17-generic x86_64
Architecture: amd64
Date: Mon Mar 29 13:10:23 2010
ExecutablePath: /usr/bin/aptitude
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
SourcePackage: aptitude

Mark Ferguson (mark-ferguson) wrote :
Mark Ferguson (mark-ferguson) wrote :

OK, on my debian system the environment variable LANG is set to 'en_GB'.
On my ubuntu system the environment variable LANG is set to 'en_GB.UTF-8'.
setting the LANG environment variable consistently gives consistent behaviour between ubuntu and debian.

Is there something wrong with the UTF8 local?

I've had this same (or very similar) problem for a long time, and apparently others have too.

Apparently, the problems I've been having have been "fixed" in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=307583

However, the fix is documented as a change somewhere between 0.4.0-1 to 0.4.4-1. If the version numbering matches my thinking, then Ubuntu is not using the most current version (my Ubuntu 10.04 install gives version 0.4.11.11).

So I've tried building a newer version of aptitude, and it seems nearly impossible. There are silly build errors all over the place (things like not including stdio.h but calling printf? what's up with that??). So if someone else knows how to verify that newer versions of aptitude have this fixed then please help.

Changed in aptitude (Ubuntu):
status: New → Confirmed
Changed in aptitude:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.