Karaf
  1. Karaf
  2. KARAF-967

Character left in input buffer after using log:tail

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.2.4
    • Fix Version/s: None
    • Component/s: karaf-shell
    • Labels:
      None
    • Environment:

      Mac OS X
      Windows 7

      Description

      I often use log:tail to follow the logs. After I'm done I type Ctrl+C. The problem with this is that there seems to be an invisible character (possible Ctrl+C) left in the input buffer. If I type a command directly after using log:tail, I get a CommandNotFoundException.

      The simple work around is to press backspace each time after using log:tail, but this is simple to forget.

        Activity

        Hide
        Heath Kesler added a comment -

        I was not able to recreate in 2.2.8 or 3.0. I was able to use log:tail and Ctrl+C out and immediately run list without issue. I tried this multiple times, can you verify or update this if you are still having the issue?

        Show
        Heath Kesler added a comment - I was not able to recreate in 2.2.8 or 3.0. I was able to use log:tail and Ctrl+C out and immediately run list without issue. I tried this multiple times, can you verify or update this if you are still having the issue?
        Hide
        Jonas Bengtsson added a comment -

        I have now tried log:tail with 2.2.8 and 3.0-SNAPSHOT, and it works as it should with both! I have also tried with all versions between 2.2.4 and 2.2.8, and the fix seems to have been introduced in 2.2.6.

        Show
        Jonas Bengtsson added a comment - I have now tried log:tail with 2.2.8 and 3.0-SNAPSHOT, and it works as it should with both! I have also tried with all versions between 2.2.4 and 2.2.8, and the fix seems to have been introduced in 2.2.6.
        Hide
        Jamie goodyear added a comment -

        Given the above I'd like to move to mark this issue as resolved (could not be reproduced) given it no longer occurs.

        Show
        Jamie goodyear added a comment - Given the above I'd like to move to mark this issue as resolved (could not be reproduced) given it no longer occurs.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jonas Bengtsson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development