How do I get out of file comparison and back to the upgrade

5,238

You are viewing the output of diff old-conf-file new-conf-file | more.

Simply press Q to exit.

Share:
5,238

Related videos on Youtube

CᴴᵁᴮᴮʸNᴵᴺᴶᴬ
Author by

CᴴᵁᴮᴮʸNᴵᴺᴶᴬ

Developer from Essex. Developer and Owner of http://www.eshotdoctor.com/ GitHub: https://github.com/ChubbyNinja

Updated on September 18, 2022

Comments

  • CᴴᵁᴮᴮʸNᴵᴺᴶᴬ
    CᴴᵁᴮᴮʸNᴵᴺᴶᴬ almost 2 years

    I'm currently upgrading my system over SSH

    And it asked me to upgrade to a new version of ports.conf, I choose the option to compare the two differences..

    How do I get back out of this without cancelling the upgrade?

    • Jos
      Jos about 9 years
      You are probably viewing the output of diff file1 file2 | more. Press q to exit.
    • CᴴᵁᴮᴮʸNᴵᴺᴶᴬ
      CᴴᵁᴮᴮʸNᴵᴺᴶᴬ about 9 years
      Amazing - so simple. Thank you @Jos, if you want to add it as an answer i'll accept.
    • John Smith
      John Smith about 4 years
      Doesn't work. Tried Q, q, ctrl-Q, ctrl-q. It responds to the up and down arrows, and shows an <ok> as if it's a button, but nothing lets me exits that screen.
  • Yevgeniy Afanasyev
    Yevgeniy Afanasyev about 5 years
    Upper case is a solution.
  • John Smith
    John Smith about 4 years
    Not for me. Neither upper nor lower case Q do anything at all.
  • IndexOutOfBoundsException
    IndexOutOfBoundsException about 4 years
    @JohnSmith I had the same problem, that no key made me quit that comparison mode. I tried it multiple times, also with "Command" + "Shift" + "Q", but nothing happened. Finally, I tried simply a (lowercase) "q" again and it worked. I could not tell you more about it unfortunately but it seems that one can solve it just by trying the same combination multiple times (perhaps after having triggered something else unconsciously by so doing).