~jr/ubuntu/oneiric/apt/bzr-get-rename

« back to all changes in this revision

Viewing changes to cmdline/acqprogress.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- mode: cpp; mode: fold -*-
2
2
// Description                                                          /*{{{*/
3
 
// $Id: acqprogress.cc,v 1.22 2001/05/27 04:46:43 jgg Exp $
 
3
// $Id: acqprogress.cc,v 1.24 2003/04/27 01:56:48 doogie Exp $
4
4
/* ######################################################################
5
5
 
6
6
   Acquire Progress - Command line progress meter 
152
152
   
153
153
   enum {Long = 0,Medium,Short} Mode = Long;
154
154
   
155
 
   char Buffer[1024];
 
155
   char Buffer[sizeof(BlankLine)];
156
156
   char *End = Buffer + sizeof(Buffer);
157
157
   char *S = Buffer;
158
158
   if (ScreenWidth >= sizeof(Buffer))
268
268
{
269
269
   if (Quiet <= 0)
270
270
      cout << '\r' << BlankLine << '\r';
271
 
   ioprintf(cout,_("Media Change: Please insert the disc labeled '%s' in "
272
 
                   "the drive '%s' and press enter\n"),
 
271
   ioprintf(cout,_("Media change: please insert the disc labeled\n"
 
272
                   " '%s'\n"
 
273
                   "in the drive '%s' and press enter\n"),
273
274
            Media.c_str(),Drive.c_str());
274
275
 
275
276
   char C = 0;