[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#324921: marked as done (apt-get: should limit itself to 79 columns by default)

Your message dated Thu, 20 Oct 2005 02:47:08 -0700
with message-id <E1ESX0u-00033P-00@spohr.debian.org>
and subject line Bug#324921: fixed in apt 0.6.42
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 24 Aug 2005 20:50:02 +0000
>From samuel.thibault@ens-lyon.org Wed Aug 24 13:50:02 2005
Return-path: <samuel.thibault@ens-lyon.org>
Received: from mailfe15.tele2.fr (swip.net) [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E82CA-0001zq-00; Wed, 24 Aug 2005 13:50:02 -0700
X-T2-Posting-ID: dCnToGxhL58ot4EWY8b+QGwMembwLoz1X2yB7MdtIiA=
Received: from [] (HELO bouh.famille.thibault.fr)
  by mailfe15.swip.net (CommuniGate Pro SMTP 4.3.4)
  with ESMTPS id 11409065; Wed, 24 Aug 2005 22:49:29 +0200
Received: from samy by bouh.famille.thibault.fr with local (Exim 4.52)
	id 1E82BZ-00044f-VI; Wed, 24 Aug 2005 22:49:26 +0200
Date: Wed, 24 Aug 2005 22:49:24 +0200
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Bcc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: apt-get: should limit itself to 79 columns by default
Message-ID: <20050824204924.GA14667@bouh.ens-lyon.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.16
User-Agent: Mutt/1.5.9i-nntp
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: apt-get
Version: apt
Severity: minor
Tags: patch


Some terminals can't print 80 characters on a single line without
opening a new line (those with the "sam" terminfo capability rather than
"am"). So by default, apt-get should only use 79 characters, leaving
the 80th for the cursor and hence avoiding spurious newlines. (See the
SigWinch() handler, which already subtracts 1 to the value obtained via
ioctl()). (Yes, the ioctl may _always_ fail on some terminals, so the
default value _is_ important).

--- cmdline/apt-get.cc.orig	2005-08-24 22:19:53.000000000 +0200
+++ cmdline/apt-get.cc	2005-08-24 22:20:19.000000000 +0200
@@ -66,7 +66,7 @@
 ostream c1out(0);
 ostream c2out(0);
 ofstream devnull("/dev/null");
-unsigned int ScreenWidth = 80;
+unsigned int ScreenWidth = 80 - 1; /* - 1 for the cursor */
 // class CacheFile - Cover class for some dependency cache functions	/*{{{*/
 // ---------------------------------------------------------------------

Samuel Thibault

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Received: (at 324921-close) by bugs.debian.org; 20 Oct 2005 09:54:26 +0000
>From katie@spohr.debian.org Thu Oct 20 02:54:26 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ESX0u-00033P-00; Thu, 20 Oct 2005 02:47:08 -0700
From: Michael Vogt <mvo@debian.org>
To: 324921-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#324921: fixed in apt 0.6.42
Message-Id: <E1ESX0u-00033P-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Thu, 20 Oct 2005 02:47:08 -0700
Delivered-To: 324921-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: apt
Source-Version: 0.6.42

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

  to pool/main/a/apt/apt-doc_0.6.42_all.deb
  to pool/main/a/apt/apt-utils_0.6.42_i386.deb
  to pool/main/a/apt/apt_0.6.42.dsc
  to pool/main/a/apt/apt_0.6.42.tar.gz
  to pool/main/a/apt/apt_0.6.42_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.6.42_i386.deb
  to pool/main/a/apt/libapt-pkg-doc_0.6.42_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 324921@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 19 Oct 2005 22:02:09 +0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.6.42
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 44135 152129 250583 316638 324921 325686 327456 333299 334539 334656 334671 334714
 apt (0.6.42) unstable; urgency=low
   * apt-pkg/cdrom.cc:
     - unmount the cdrom when apt failed to locate any package files
   * allow cdrom failures and fallback to other sources in that case
     (closes: #44135)
   * better error text when dpkg-source fails
   * Merge bubulle@debian.org--2005/apt--main--0 up to patch-115:
     - patch-99: Added Galician translation
     - patch-100: Completed Danish translation (Closes: #325686)
     - patch-104: French translation completed
     - patch-109: Italian translation completed
     - patch-112: Swedish translation update
     - patch-115: Basque translation completed (Closes: #333299)
   * applied french man-page update (thanks to Philippe Batailler)
     (closes: #316638, #327456)
   * fix leak in the mmap code, thanks to Daniel Burrows for the
     patch (closes: #250583)
   * support for apt-get [build-dep|source] -t (closes: #152129)
   * added "APT::Authentication::TrustCDROM" option to make the life
     for the installer people easier (closes: #334656)
   * fix crash in apt-ftparchive (thanks to Bastian Blank for the patch)
     (closes: #334671)
   * apt-pkg/contrib/md5.cc:
     - fix a alignment problem on sparc64 that gives random bus errors
       (thanks to Fabbione for providing a test-case)
   * init the default ScreenWidth to 79 columns by default
     (Closes: #324921)
   * cmdline/apt-cdrom.cc:
     - fix some missing gettext() calls (closes: #334539)
   * doc/apt-cache.8.xml: fix typo (closes: #334714)
 ab162ba5029eec59384011ad4ebc9dfc 785 admin important apt_0.6.42.dsc
 b953f0b5267290469c1dcce08fd8b5b2 1446364 admin important apt_0.6.42.tar.gz
 571916aaf47bed1d4ff4528401a29deb 85242 doc optional apt-doc_0.6.42_all.deb
 3ee1e1d5de4fa1a511eeb1b662e0c46c 108542 doc optional libapt-pkg-doc_0.6.42_all.deb
 05b26b7a9085a283e83aaf91e3ebef6b 1209020 admin important apt_0.6.42_i386.deb
 a646363a3c93417cc4f4805804ef7d63 78694 libdevel optional libapt-pkg-dev_0.6.42_i386.deb
 32c07da71aedf61ae561244345f32a2e 200246 admin important apt-utils_0.6.42_i386.deb

Version: GnuPG v1.4.2 (GNU/Linux)


Reply to: