Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Cosmetic console bug while installing packages

    2.1 Snapshot Feedback and Problems - RETIRED
    2
    3
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bkraptor
      last edited by

      I am running this freshly-installed build on an Atom D2500:
      2.1-BETA0 (amd64)
      built on Sat Aug 25 13:20:22 EDT 2012
      FreeBSD 8.3-RELEASE-p4

      After restoring a backup of the config file and subsequent reboot, during package installation, I got the following display error in the console.

      Notice the broken display of percentages and other messages on the bottom lines. This happened for all packages that were installed.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        This happened when some tidy-ups were done to minimise the percentage progress output that would scroll across the console. Now it is putting a "\r" before the percentage is reported, thus going to the start of the line and scribbling over the first few chars of text.
        I submitted a pull request to fix this up by being a bit smarter, leaving the percentage at the end of the line and using backspaces to rub out the old value before printing the next one.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          This made it into the build:
          2.1-BETA0 (i386)
          built on Sun Aug 26 20:04:49 EDT 2012

          I just updated my test system and got output on the console like:

          Beginning package installation for blinkled . 100%
          Installing blinkled and its dependencies. 100% 100% 100%
          
          

          Note that the repeated 100% are because multiple files are downloaded. The details of every file name are not output to the console, so you see muliple sets of progress %age, one after the other.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.