<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-2533] Add a clear function to the shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-2533</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It would be nice to be able to type the following in the shell:&lt;/p&gt;

&lt;p&gt;clear&lt;/p&gt;

&lt;p&gt;(and have it clear the content on the screen)&lt;/p&gt;</description>
                <environment></environment>
        <key id="14668">SERVER-2533</key>
            <summary>Add a clear function to the shell</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="matt.dannenberg">Matt Dannenberg</assignee>
                                    <reporter username="rn@deftlabs.com">Ryan Nitz</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Feb 2011 16:56:23 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:57 +0000</updated>
                            <resolved>Wed, 29 Jun 2011 17:29:15 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Shell</component>
                                        <votes>2</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="67740" author="rgnitz" created="Sat, 19 Nov 2011 18:56:15 +0000"  >&lt;p&gt;Everyone please vote for this issue (upper right corner of the page).&lt;/p&gt;</comment>
                            <comment id="67737" author="benburton" created="Sat, 19 Nov 2011 17:56:28 +0000"  >&lt;p&gt;MongoDB 1.8.2 with OS X 10.6.8 here... CTRL+L only gives me a newline &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="39762" author="mattd@10gen.com" created="Wed, 29 Jun 2011 17:29:15 +0000"  >&lt;p&gt;Ctrl+L works since we switched to linenoise from readline (tested in ubuntu 10.04, windows xp, and os x)&lt;/p&gt;</comment>
                            <comment id="33070" author="rgnitz" created="Tue, 17 May 2011 14:32:11 +0000"  >&lt;p&gt;I&apos;ve been able to recreate CTRL-l not working.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;After more investigation, this appears to not be a feature in the Mongo shell as much as a feature terminal programs on OS X.&lt;/p&gt;

&lt;p&gt;+1 for a clear function/command in the shell &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="32031" author="juandg" created="Wed, 11 May 2011 02:14:42 +0000"  >&lt;p&gt;It doesn&apos;t work for me either, I get the same behavior, Ctrl + L creates a a new line.&lt;/p&gt;

&lt;p&gt;I&apos;m on OS X 10.6 and MongoDB 1.8.0. This is the system info printed when Mongo starts:&lt;/p&gt;

&lt;p&gt;Tue May 10 21:05:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=231 port=27017 dbpath=/data/db/ 64-bit &lt;br/&gt;
Tue May 10 21:05:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v1.8.0, pdfile version 4.5&lt;br/&gt;
Tue May 10 21:05:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 9c28b1d608df0ed6ebe791f63682370082da41c0&lt;br/&gt;
Tue May 10 21:05:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; 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&lt;/p&gt;</comment>
                            <comment id="31988" author="sbhanot" created="Tue, 10 May 2011 22:27:04 +0000"  >&lt;p&gt;1.6.5 and OS X is what I have.&lt;/p&gt;

</comment>
                            <comment id="31972" author="rgnitz" created="Tue, 10 May 2011 20:47:54 +0000"  >&lt;p&gt;I confirmed it runs on OS X in the 1.6.5 shell. &lt;/p&gt;

&lt;p&gt;If you&apos;re on another platform, check and see if you have terminal or OS overrides.&lt;/p&gt;</comment>
                            <comment id="31966" author="sbhanot" created="Tue, 10 May 2011 20:29:05 +0000"  >&lt;p&gt;1.6.5&lt;/p&gt;

</comment>
                            <comment id="31950" author="rgnitz" created="Tue, 10 May 2011 19:17:44 +0000"  >&lt;p&gt;It clears the entire screen. What version/platform are you running?&lt;/p&gt;</comment>
                            <comment id="31948" author="sbhanot" created="Tue, 10 May 2011 19:12:02 +0000"  >&lt;p&gt;Ctrl + L is only going to the next line. Am I missing something?&lt;/p&gt;

</comment>
                            <comment id="31863" author="rgnitz" created="Tue, 10 May 2011 13:32:51 +0000"  >&lt;p&gt;Yes... that works great, but is a little difficult to discover.&lt;/p&gt;</comment>
                            <comment id="31852" author="dwight_10gen" created="Tue, 10 May 2011 12:02:46 +0000"  >&lt;p&gt;Ctrl-L works i believe (good from the console not so helpful from a script)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 May 2011 12:02:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 13 weeks, 4 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 13 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benburton</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>juandg</customfieldvalue>
            <customfieldvalue>matt.dannenberg</customfieldvalue>
            <customfieldvalue>rn@deftlabs.com</customfieldvalue>
            <customfieldvalue>sbhanot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp6fb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrid93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20799</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hskl33:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>