Scrolling output with ccze











up vote
4
down vote

favorite
1












I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing



tail -f something.log | ccze


from an X terminal works, but I can't scroll back once the screen has been filled (shift+pgup doesn't do anything).



How can I get it to work as expected?










share|improve this question















migrated from serverfault.com Apr 21 '16 at 16:51


This question came from our site for system and network administrators.















  • as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
    – natxo asenjo
    Apr 21 '16 at 11:38










  • it makes me think then how people actually use this think.. or what for.. :(
    – Kristof Jozsa
    Apr 21 '16 at 12:00















up vote
4
down vote

favorite
1












I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing



tail -f something.log | ccze


from an X terminal works, but I can't scroll back once the screen has been filled (shift+pgup doesn't do anything).



How can I get it to work as expected?










share|improve this question















migrated from serverfault.com Apr 21 '16 at 16:51


This question came from our site for system and network administrators.















  • as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
    – natxo asenjo
    Apr 21 '16 at 11:38










  • it makes me think then how people actually use this think.. or what for.. :(
    – Kristof Jozsa
    Apr 21 '16 at 12:00













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing



tail -f something.log | ccze


from an X terminal works, but I can't scroll back once the screen has been filled (shift+pgup doesn't do anything).



How can I get it to work as expected?










share|improve this question















I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing



tail -f something.log | ccze


from an X terminal works, but I can't scroll back once the screen has been filled (shift+pgup doesn't do anything).



How can I get it to work as expected?







terminal colors






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Stephen Kitt

157k23343418




157k23343418










asked Apr 21 '16 at 9:57









Kristof Jozsa

1234




1234




migrated from serverfault.com Apr 21 '16 at 16:51


This question came from our site for system and network administrators.






migrated from serverfault.com Apr 21 '16 at 16:51


This question came from our site for system and network administrators.














  • as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
    – natxo asenjo
    Apr 21 '16 at 11:38










  • it makes me think then how people actually use this think.. or what for.. :(
    – Kristof Jozsa
    Apr 21 '16 at 12:00


















  • as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
    – natxo asenjo
    Apr 21 '16 at 11:38










  • it makes me think then how people actually use this think.. or what for.. :(
    – Kristof Jozsa
    Apr 21 '16 at 12:00
















as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
– natxo asenjo
Apr 21 '16 at 11:38




as far as I can see, that is not possible with ccze. With multitail it is, although its colouring capabilities are not comparable to ccze/colorize.
– natxo asenjo
Apr 21 '16 at 11:38












it makes me think then how people actually use this think.. or what for.. :(
– Kristof Jozsa
Apr 21 '16 at 12:00




it makes me think then how people actually use this think.. or what for.. :(
– Kristof Jozsa
Apr 21 '16 at 12:00










2 Answers
2






active

oldest

votes

















up vote
4
down vote



accepted










ccze uses the curses output mode by default. (n)curses is a screen drawing library typically used by fullscreen applications. It switches to the terminal emulator's so-called "alternate screen" which does not have a scrollbar buffer, and the contents of the other, "normal screen" is restored upon exit.



Instead of this, you should use its ansi output format which is enabled by any of the -A, --raw-ansi, -m ansi or --mode=ansi command line options.






share|improve this answer




























    up vote
    0
    down vote













    I use ccze with less to scroll into logs:



    ccze -A /var/log/logstash/logstash-plain.log | less -R





    share|improve this answer








    New contributor




    Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.


















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














       

      draft saved


      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f278161%2fscrolling-output-with-ccze%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      4
      down vote



      accepted










      ccze uses the curses output mode by default. (n)curses is a screen drawing library typically used by fullscreen applications. It switches to the terminal emulator's so-called "alternate screen" which does not have a scrollbar buffer, and the contents of the other, "normal screen" is restored upon exit.



      Instead of this, you should use its ansi output format which is enabled by any of the -A, --raw-ansi, -m ansi or --mode=ansi command line options.






      share|improve this answer

























        up vote
        4
        down vote



        accepted










        ccze uses the curses output mode by default. (n)curses is a screen drawing library typically used by fullscreen applications. It switches to the terminal emulator's so-called "alternate screen" which does not have a scrollbar buffer, and the contents of the other, "normal screen" is restored upon exit.



        Instead of this, you should use its ansi output format which is enabled by any of the -A, --raw-ansi, -m ansi or --mode=ansi command line options.






        share|improve this answer























          up vote
          4
          down vote



          accepted







          up vote
          4
          down vote



          accepted






          ccze uses the curses output mode by default. (n)curses is a screen drawing library typically used by fullscreen applications. It switches to the terminal emulator's so-called "alternate screen" which does not have a scrollbar buffer, and the contents of the other, "normal screen" is restored upon exit.



          Instead of this, you should use its ansi output format which is enabled by any of the -A, --raw-ansi, -m ansi or --mode=ansi command line options.






          share|improve this answer












          ccze uses the curses output mode by default. (n)curses is a screen drawing library typically used by fullscreen applications. It switches to the terminal emulator's so-called "alternate screen" which does not have a scrollbar buffer, and the contents of the other, "normal screen" is restored upon exit.



          Instead of this, you should use its ansi output format which is enabled by any of the -A, --raw-ansi, -m ansi or --mode=ansi command line options.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 22 '16 at 7:08









          egmont

          2,4691812




          2,4691812
























              up vote
              0
              down vote













              I use ccze with less to scroll into logs:



              ccze -A /var/log/logstash/logstash-plain.log | less -R





              share|improve this answer








              New contributor




              Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                up vote
                0
                down vote













                I use ccze with less to scroll into logs:



                ccze -A /var/log/logstash/logstash-plain.log | less -R





                share|improve this answer








                New contributor




                Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I use ccze with less to scroll into logs:



                  ccze -A /var/log/logstash/logstash-plain.log | less -R





                  share|improve this answer








                  New contributor




                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  I use ccze with less to scroll into logs:



                  ccze -A /var/log/logstash/logstash-plain.log | less -R






                  share|improve this answer








                  New contributor




                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 2 days ago









                  Genjo

                  55




                  55




                  New contributor




                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Genjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f278161%2fscrolling-output-with-ccze%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux