Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor - P4 Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: Shell
    • Labels:
      None
    • Backport:
      No
    • # Replies:
      12
    • Last comment by Customer:
      true

      Description

      It would be nice to be able to type the following in the shell:

      clear

      (and have it clear the content on the screen)

        Activity

        Hide
        Juan Gomez
        added a comment -

        It doesn't work for me either, I get the same behavior, Ctrl + L creates a a new line.

        I'm on OS X 10.6 and MongoDB 1.8.0. This is the system info printed when Mongo starts:

        Tue May 10 21:05:24 [initandlisten] MongoDB starting : pid=231 port=27017 dbpath=/data/db/ 64-bit
        Tue May 10 21:05:24 [initandlisten] db version v1.8.0, pdfile version 4.5
        Tue May 10 21:05:24 [initandlisten] git version: 9c28b1d608df0ed6ebe791f63682370082da41c0
        Tue May 10 21:05:24 [initandlisten] build sys info: Darwin erh2.10gen.cc 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_40

        Show
        Juan Gomez
        added a comment - It doesn't work for me either, I get the same behavior, Ctrl + L creates a a new line. I'm on OS X 10.6 and MongoDB 1.8.0. This is the system info printed when Mongo starts: Tue May 10 21:05:24 [initandlisten] MongoDB starting : pid=231 port=27017 dbpath=/data/db/ 64-bit Tue May 10 21:05:24 [initandlisten] db version v1.8.0, pdfile version 4.5 Tue May 10 21:05:24 [initandlisten] git version: 9c28b1d608df0ed6ebe791f63682370082da41c0 Tue May 10 21:05:24 [initandlisten] build sys info: Darwin erh2.10gen.cc 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_40
        Hide
        Ryan Nitz (Inactive)
        added a comment -

        I've been able to recreate CTRL-l not working.

        When I ssh to another machine and open a shell on that machine, I see the behavior described above. On Ubuntu, it goes to the next line and on the AWS linux AMI, it does nothing.

        After more investigation, this appears to not be a feature in the Mongo shell as much as a feature terminal programs on OS X.

        +1 for a clear function/command in the shell

        Show
        Ryan Nitz (Inactive)
        added a comment - I've been able to recreate CTRL-l not working. When I ssh to another machine and open a shell on that machine, I see the behavior described above. On Ubuntu, it goes to the next line and on the AWS linux AMI, it does nothing. After more investigation, this appears to not be a feature in the Mongo shell as much as a feature terminal programs on OS X. +1 for a clear function/command in the shell
        Hide
        Matt Dannenberg
        added a comment -

        Ctrl+L works since we switched to linenoise from readline (tested in ubuntu 10.04, windows xp, and os x)

        Show
        Matt Dannenberg
        added a comment - Ctrl+L works since we switched to linenoise from readline (tested in ubuntu 10.04, windows xp, and os x)
        Hide
        Ben Burton
        added a comment -

        MongoDB 1.8.2 with OS X 10.6.8 here... CTRL+L only gives me a newline

        Show
        Ben Burton
        added a comment - MongoDB 1.8.2 with OS X 10.6.8 here... CTRL+L only gives me a newline
        Hide
        Ryan Nitz (Inactive)
        added a comment -

        Everyone please vote for this issue (upper right corner of the page).

        Show
        Ryan Nitz (Inactive)
        added a comment - Everyone please vote for this issue (upper right corner of the page).

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              2 years, 21 weeks, 4 days ago
              Date of 1st Reply: