Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11718

command history is acting weird

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.6-CR1
    • fuse-7.5-ER1
    • Karaf
    • None
    • % %
    • Hide
      • echo "karaf.shell.history.maxSize=20" >> etc/system.properties
      • bin/fuse
      • a = 0; while { %((a+=1) <= 20) } { echo "c_$a" }
        * a = 0; while { %((a+=1) <= 20) }

        { echo $a }
      • a = 0; while { %((a+=1) <= 20) }

        { echo "b_$a" }
      • history
      Show
      echo "karaf.shell.history.maxSize=20" >> etc/system.properties bin/fuse a = 0; while { %((a+=1) <= 20) } { echo "c_$a" } * a = 0; while { %((a+=1) <= 20) } { echo $a } a = 0; while { %((a+=1) <= 20) } { echo "b_$a" } history

    Description

      history should print out history of commands that were used in Karaf. There are currently 2 problems. First one is that it does not print out as much commands as specified in etc/system.properties (karaf.shell.history.maxSize property), second it that the output is overall weird. Commands are shuffled, in case of many commands (50 or more) the first ones are outputted first (only few of them), then the new ones (also few of them).

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            vhais Vratislav Hais (Inactive)
            Vratislav Hais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: