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

Bug#56429: marked as done (apt: Shouldn't use vt100 terminal escapes if terminal doesn't support them)



Your message dated Thu, 10 Feb 2000 19:11:26 -0700 (MST)
with message-id <Pine.LNX.3.96.1000210190919.18414I-100000@wakko.deltatee.com>
and subject line APT Terminal Escapes
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Jan 2000 23:38:10 +0000
Received: (qmail 16328 invoked from network); 27 Jan 2000 23:38:09 -0000
Received: from tomts2.bellnexxia.net (HELO tomts2-srv.bellnexxia.net) (209.226.175.140)
  by master.debian.org with SMTP; 27 Jan 2000 23:38:09 -0000
Received: from HSE-Montreal-ppp33976.qc.sympatico.ca ([216.209.199.204])
          by tomts2-srv.bellnexxia.net
          (InterMail vM.4.01.02.07 201-229-116-107) with ESMTP
          id <20000127233737.TGZT26813.tomts2-srv.bellnexxia.net@HSE-Montreal-ppp33976.qc.sympatico.ca>
          for <submit@bugs.debian.org>; Thu, 27 Jan 2000 18:37:37 -0500
Received: from stark by HSE-Montreal-ppp33976.qc.sympatico.ca with local (Exim 3.03 #1 (Debian))
	id 12DyTg-0007dB-00; Thu, 27 Jan 2000 18:37:28 -0500
From: Gregory Stark <stark@stark.yi.org>
Subject: apt: Shouldn't use vt100 terminal escapes if terminal doesn't support them
To: submit@bugs.debian.org
X-Mailer: bug 3.2.4
Message-Id: <E12DyTg-0007dB-00@HSE-Montreal-ppp33976.qc.sympatico.ca>
Date: Thu, 27 Jan 2000 18:37:28 -0500

Package: apt
Version: 0.3.14
Severity: normal

apt happily prints out those progress reports even if the terminal
doesn't support carriage return:

bash-2.03# apt-get update
Get:1 http://http.us.debian.org unstable/main Packages [847kB]
0% [1 unstable/main 0/847kB 0%] [Connecting to ftp.jimpick.com] [Connecting to w4% [1 unstable/main 35249/847kB 4%] [Connecting to ftp.jimpick.com] [Connecting                                                                                 Get:2 http://debian.midco.net unstable/main Sources [338kB]
5% [1 unstable/main 62439/847kB 7%] [Connecting to ftp.jimpick.com] [Connecting 9% [1 unstable/main 105099/847kB 12%] [Connecting to ftp.jimpick.com] [Waiting f                                                                                Get:3 http://www.debian.org unstable/main Packages [20.2kB]
12% [1 unstable/main 134991/847kB 15%] [Connecting to ftp.jimpick.com] [3 unstab16% [1 unstable/main 169197/847kB 19%] [Connecting to ftp.jimpick.com] [3 unstab20% [1 unstable/main 199089/847kB 23%] [Connecting to ftp.jimpick.com] [3 unstab25% [1 unstable/main 226411/847kB 26%] [Connecting to ftp.jimpick.com] [3 unstab28% [1 unstable/main 247675/847kB 29%] [Connecting to ftp.jimpick.com] [Connecti29% [3 unstable/main gzip 0] [1 unstable/main 249113/847kB 29%] [Connecting to f29% [1 unstable/main 249113/847kB 29%] [Connecting to ftp.jimpick.com] [Connecti33% [1 unstable/main 270377/847kB 31%] [Connecting to ftp.jimpick.com] [Connecti37% [1 unstable/main 301707/847kB 35%] [Connecting to ftp.jimpick.com] [Waiting                                                                                 Ign http://www.debian.org unstable/main Release
41% [1 unstable/main 320401/847kB 37%] [Connecting to ftp.jimpick.com (204.209.245% [1 unstable/main 345979/847kB 40%] [Connecting to ftp.jimpick.com (204.209.249% [1 unstable/main 364367/847kB 43%] [Logging in] [Waiting for file] [2 unstab53% [1 unstable/main 391689/847kB 46%] [Logging in] [Waiting for file] [2 unstab                                                                                Get:4 http://ford.on.openprojects.net glx-slink/ Packages [20B]
54% [1 unstable/main 397135/847kB 46%] [Logging in] [Waiting for file] [2 unstab54% [4 glx-slink/ gzip 0] [1 unstable/main 397135/847kB 46%] [Logging in] [Waiti54% [1 unstable/main 398573/847kB 47%] [Logging in] [Waiting for file] [2 unstab59% [1 unstable/main 423019/847kB 49%] [Logging in] [Connecting to ford.on.openp63% [1 unstable/main 448597/847kB 52%] [Logging in] [Waiting for file] [2 unstab                                                                                Ign http://ford.on.openprojects.net glx-slink/ Release
66% [1 unstable/main 458357/847kB 54%] [Logging in] [2 unstable/main 320406/338k                                                                                Ign http://debian.midco.net unstable/main Release
70% [1 unstable/main 489993/847kB 57%] [Logging in] [Connecting to debian.midco.70% [2 unstable/main gzip 0] [1 unstable/main 489993/847kB 57%] [Logging in] [Co71% [1 unstable/main 508381/847kB 60%] [Logging in] [Connecting to debian.midco.                                                                                Get:5 http://debian.midco.net unstable/contrib Sources [13.6kB]
75% [1 unstable/main 556661/847kB 65%] [Logging in] [5 unstable/contrib 214/13.678% [1 unstable/main 588528/847kB 69%] [Logging in] [Connecting to debian.midco.78% [5 unstable/contrib gzip 0] [1 unstable/main 588528/847kB 69%] [Logging in] 79% [1 unstable/main 590867/847kB 69%] [Logging in] [Connecting to debian.midco.                                                                                83% [1 unstable/main 640891/847kB 75%] [Logging in] [Waiting for file]                                                                      Ign http://debian.midco.net unstable/contrib Release
                                                                      85% [1 unstable/main 665031/847kB 78%] [Logging in]                  92.3kB/s 1s                                                                                89% [1 unstable/main 715055/847kB 84%] [Logging in] [Waiting for file]                                                                      Get:6 http://debian.midco.net unstable/non-free Sources [31.3kB]
                                                                      88% [1 unstable/main 734650/847kB 86%] [Logging in] [6 unstable/non-free 215/31.92% [1 unstable/main 779153/847kB 92%] [Logging in] [6 unstable/non-free 6937/3196% [1 unstable/main 823119/847kB 97%] [Logging in] [6 unstable/non-free 14281/399% [Connecting to http.us.debian.org (141.213.4.21)] [Logging in] [6 unstable/n99% [1 unstable/main gzip 0] [Connecting to http.us.debian.org (141.213.4.21)] [99% [1 unstable/main gzip 458752] [Connecting to http.us.debian.org (141.213.4.2                                                                                Ign http://debian.midco.net unstable/non-free Release
99% [1 unstable/main gzip 2654208] [Waiting for file] [Logging in]    101kB/s 0s                                                                                Get:7 http://http.us.debian.org unstable/main Release [82B]
                                                                                99% [1 unstable/main gzip 2686976] [7 unstable/main 0/82B 0%] [Logging in]                                                                          99% [1 unstable/main gzip 2686976] [Waiting for file] [Logging in]    101kB/s 0s                                                                                Get:8 http://http.us.debian.org unstable/contrib Packages [34.4kB]
97% [1 unstable/main gzip 2916352] [8 unstable/contrib 195/34.4kB 0%] [Logging i97% [8 unstable/contrib 5479/34.4kB 15%] [Logging in]                 101kB/s 0s97% [6 unstable/non-free gzip 0] [8 unstable/contrib 5479/34.4kB 15%] [Logging i97% [8 unstable/contrib 6917/34.4kB 20%] [Logging in]                 101kB/s 0s99% [Connecting to http.us.debian.org (141.213.4.21)] [Query]         101kB/s 0s99% [8 unstable/contrib gzip 0] [Connecting to http.us.debian.org (141.213.4.21)99% [Connecting to http.us.debian.org (141.213.4.21)] [Query]         101kB/s 0s                                                                                Get:9 ftp://ftp.jimpick.com unstable/non-US/main Packages [15.6kB]
98% [Waiting for file] [9 unstable/non-US/main 0/15.6kB 0%]           101kB/s 0s                                                                                Get:10 http://http.us.debian.org unstable/contrib Release [85B]
98% [Waiting for file] [9 unstable/non-US/main 0/15.6kB 0%]           101kB/s 0s                                                                                Get:11 http://http.us.debian.org unstable/non-free Packages [77.6kB]
                                                                                93% [11 unstable/non-free 194/77.6kB 0%] [9 unstable/non-US/main 0/15.6kB 0%]                                                                             96% [11 unstable/non-free 38126/77.6kB 49%] [9 unstable/non-US/main 2876/15.6kB 99% [9 unstable/non-US/main 8628/15.6kB 55%]                          101kB/s 0s99% [11 unstable/non-free gzip 0] [Connecting to http.us.debian.org (141.213.4.299% [Connecting to http.us.debian.org (141.213.4.21)] [9 unstable/non-US/main 1299% [Waiting for file]                                                101kB/s 0s99% [9 unstable/non-US/main gzip 0] [Waiting for file] [Query]        101kB/s 0s99% [Waiting for file] [Query]                                        101kB/s 0s                                                                                Get:12 http://http.us.debian.org unstable/non-free Release [86B]
99% [Query]                                                           101kB/s 0s                                                                                Get:13 ftp://ftp.jimpick.com unstable/non-US/main Release [89B]
99% [13 unstable/non-US/main 0/89B 0%]                                101kB/s 0s99% [13 unstable/non-US/main 0/89B 0%]                                101kB/s 0s99% [Working]                                                         101kB/s 0s                                                                                Hit ftp://ftp.jimpick.com unstable/non-US/contrib Packages
99% [Working]                                                         101kB/s 0s                                                                                Get:14 ftp://ftp.jimpick.com unstable/non-US/contrib Release [92B]
99% [14 unstable/non-US/contrib 0/92B 0%]                             101kB/s 0s99% [14 unstable/non-US/contrib 0/92B 0%]                             101kB/s 0s99% [Working]                                                         101kB/s 0s                                                                                Get:15 ftp://ftp.jimpick.com unstable/non-US/non-free Packages [6019B]
99% [15 unstable/non-US/non-free 0/6019B 0%]                         27.6kB/s 0s99% [15 unstable/non-US/non-free 0/6019B 0%]                         27.6kB/s 0s99% [15 unstable/non-US/non-free 6019/6019B 100%]                    27.6kB/s 0s99% [Working]                                                        27.6kB/s 0s99% [15 unstable/non-US/non-free gzip 0] [Query]                     27.6kB/s 0s99% [Query]                                                          27.6kB/s 0s                                                                                Get:16 ftp://ftp.jimpick.com unstable/non-US/non-free Release [93B]
99% [16 unstable/non-US/non-free 0/93B 0%]                           27.6kB/s 0s99% [16 unstable/non-US/non-free 0/93B 0%]                           27.6kB/s 0s99% [Working]                                                        27.6kB/s 0s99% [Query]                                                          27.6kB/s 0s                                                                                Get:17 ftp://ftp.jimpick.com unstable/non-US/main Sources [5409B]
99% [17 unstable/non-US/main 0/5409B 0%]                             27.6kB/s 0s99% [17 unstable/non-US/main 0/5409B 0%]                             27.6kB/s 0s99% [17 unstable/non-US/main 5409/5409B 100%]                        27.6kB/s 0s99% [Working]                                                        27.6kB/s 0s99% [17 unstable/non-US/main gzip 0] [Query]                         27.6kB/s 0s99% [Query]                                                          27.6kB/s 0s                                                                                Get:18 ftp://ftp.jimpick.com unstable/non-US/main Release [91B]
99% [18 unstable/non-US/main 0/91B 0%]                               27.6kB/s 0s99% [18 unstable/non-US/main 0/91B 0%]                               27.6kB/s 0s99% [Working]                                                        27.6kB/s 0s99% [Query]                                                           1907B/s 0s                                                                                Get:19 ftp://ftp.jimpick.com unstable/non-US/contrib Sources [20B]
99% [19 unstable/non-US/contrib 0/20B 0%]                             1907B/s 0s99% [19 unstable/non-US/contrib 0/20B 0%]                             1907B/s 0s99% [Working]                                                         1907B/s 0s99% [19 unstable/non-US/contrib gzip 0] [Query]                       1907B/s 0s99% [Query]                                                           1907B/s 0s                                                                                Get:20 ftp://ftp.jimpick.com unstable/non-US/contrib Release [94B]
99% [20 unstable/non-US/contrib 0/94B 0%]                             1907B/s 0s99% [20 unstable/non-US/contrib 0/94B 0%]                             1907B/s 0s99% [Working]                                                         1907B/s 0s                                                                                Get:21 ftp://ftp.jimpick.com unstable/non-US/non-free Sources [1865B]
99% [21 unstable/non-US/non-free 0/1865B 0%]                          1907B/s 0s99% [21 unstable/non-US/non-free 0/1865B 0%]                          1907B/s 0s99% [21 unstable/non-US/non-free 0/1865B 0%]                          1907B/s 0s99% [Working]                                                         1907B/s 0s99% [21 unstable/non-US/non-free gzip 0] [Query]                      1907B/s 0s99% [Query]                                                           1907B/s 0s                                                                                Get:22 ftp://ftp.jimpick.com unstable/non-US/non-free Release [95B]
99% [22 unstable/non-US/non-free 0/95B 0%]                            1907B/s 0s99% [22 unstable/non-US/non-free 0/95B 0%]                            1907B/s 0s100% [Working]                                                        1907B/s 0s                                                                                Fetched 1391kB in 29s (46.9kB/s)
Reading Package Lists... 0%Reading Package Lists... 0%Reading Package Lists... 1%Reading Package Lists... 50%Reading Package Lists... 50%Reading Package Lists... 52%Reading Package Lists... 52%Reading Package Lists... 57%Reading Package Lists... 57%Reading Package Lists... 58%Reading Package Lists... 58%Reading Package Lists... 58%Reading Package Lists... 58%Reading Package Lists... 58%Reading Package Lists... 58%Reading Package Lists... 60%Reading Package Lists... 60%Reading Package Lists... 60%Reading Package Lists... 60%Reading Package Lists... 64%Reading Package Lists... Done
Building Dependency Tree... 0%Building Dependency Tree... 0%Building Dependency Tree... 50%Building Dependency Tree... 50%Building Dependency Tree... 57%Building Dependency Tree... Done

Looks pretty bad really. 


-- System Information
Debian Release: potato
Kernel Version: Linux HSE-Montreal-ppp33976.qc.sympatico.ca 2.2.12 #1 Sun Oct 24 01:05:46 EDT 1999 i686 unknown

Versions of the packages apt depends on:
hi  libc6           2.1.2-5        GNU C Library: Shared libraries and timezone
hi  libstdc++2.10   2.95.2-0pre2   The GNU stdc++ library
---------------------------------------
Received: (at 56429-done) by bugs.debian.org; 11 Feb 2000 02:10:43 +0000
Received: (qmail 7032 invoked from network); 11 Feb 2000 02:10:43 -0000
Received: from wakko.powersurfr.com (HELO wakko.deltatee.com) (mail@24.108.53.97)
  by master.debian.org with SMTP; 11 Feb 2000 02:10:43 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12J5YM-00054m-00 (Debian); Thu, 10 Feb 2000 19:11:26 -0700
Date: Thu, 10 Feb 2000 19:11:26 -0700 (MST)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: 56429-done@bugs.debian.org
Subject: APT Terminal Escapes
Message-ID: <Pine.LNX.3.96.1000210190919.18414I-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Unless you have a way to use a ioctl to determine the terminal
capabilities, I don't think this can be seriously considered a bug. \n and
\r have nice well defined meanings on unix systems. In your case you
should use -q to tell apt to not show this kind of information, any maybe
look in to a better terminal :>

Jason


Reply to: