Need to clear the terminal

Hey, me and my friend are writting a program which I will eventually put into a nice GUI but for the beginning develpmental stages I running it in command line. I am using BlueJ to program, I am not sure it matters, but the point I am getting to is, I have spend nearly a week pulling my hair our trying to something I thought would be as simple as some of the other languages. I just want to clear the screen of the terminal and I have searched the web near and far and tried everything i could find and I still came out with nothing. So if someone could tell me how to clear the screen and put the cursor back in the upper-left hand corner I would be incredible grateful.

I dunno that i neccesarially need to be able to do it because like DrClap said it is more important to make the GUI look nice but it was more of a this should be easy... why isn't and how can I do it. I appreciate the help though but I am using windows Xp so the I can't get the ASCI thing to work and the brute force thing puts the cursor in the bottom left hand corner instead of the top... Is there a command to make the cursor go back to the top?

Similar Messages

  • My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?

    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    If so, what do I need to d

    WOsloop_ORD wrote:
    I have a MacBook, do I need to clear the memory or defragment the disk like I need to do on my work pc with Windows?
    No you don't.
    Mac's auto-defragment by writing 2GB+ sized files and smaller to one space on the drive, so you really don't need to worry about it.
    If your going to parititon your drive or need a large space of free space, then Carbon Copy Cloning the entire OS x parittion to a external drive, option booting off of it and then erasing and reverse cloning is the approved  method of defragmenting and freeing up disk space, rahter than using defragmentaiton software that can cause issues and make the machine inoperatible.
    http://www.bombich.com/
    If you need steps to *cough* clean your Mac of caches and whatnot less your kid/wife/mother/girlfriend/boss, see's it then the steps are as follows.
    1: Clean/clear your browser caches first, delete your history etc. from within the program itself, delete any files on the machine by dragging to Trash and emtpy Trash (secure erase not needed if you follow the steps later)
    2: Download CCleaner for the Mac and run that
    3: Download OnyX for the Mac and run all the cleaning and maintainece, reboot at the end.
    4: For scrubbing hard drives of traces (deleted files), use Apple's Disk Utility > Erase Free Space option: Zero (or 7x if you need military/foresic level type deletion, but it takes overnight to complete)
    Make sure your browser plug-ins are current, Flash, Silverlight especially.
    https://www.mozilla.org/en-US/plugincheck/
    And your Mac needs more codecs, search for Perian, VLC and Flip4Mac, install those.

  • Do we necessarily need to clear the BW queues in preprocessing steps of SAP

    Hello Experts,
    A quick question.
    I am doing EHP upgrade on BW system
    Do we necessarily need to clear the BW queues in preprocessing steps of SAPehpi?
    OR the same can be done just before downtime?
    A fast response is much appreciated.
    Best Regards
    Sachin Bhatt

    Hello Markus,
    Thanks for the info.
    We finished EHP4 implementation successfully last saturday.
    However to my surprise didnt receive any message by EHPI to clear delta queues.
    We cleared it just before down time.
    Anyways thanks for the answer.
    We wil take a close look when implementing next time during the phase mentioned.
    Regards
    Sachin Bhatt

  • I would like to be able to start typing a URL directly (with no need to clear the field first) after opening a new tab with my homepage...

    I've just installed the newest desktop version of the Firefox browser because my Opera doesn't feel very well these days. I'm trying to become friends with Firefox, and that's why I've changed the new tab settings in order to have my offline homepage loaded every time I open a new tab. There is an inconvenience — when I press Ctrl+T, the cursor appears at the end of the URL. It means that when I start typing, the letters show in the address bar after the URL of my homepage, so what I need is to clear the field first.
    Is there a way to get rid of this? (If it helpes, I'm currently using Windows 7.)
    I would appreciate if I could just press Ctrl+T, type a URL, and press Enter when I want to go to a website different from my homepage. Thank you for your replies!

    Then you can use (Ctrl+L and) Ctrl+A to select all the text in the location bar or Shift+Home/End.

  • I just bought a new mac and need to clear the memory of my old one but i don't have a startup disk.  how do i do this?

    I just bought a new mac book pro and need to clear my old mac of it's contents to give it away---  I do not have my startup disk anymore.  How can i completely delete my old mac's memory?

    Erasing your drive:
    Dragging the files to the Trash removes the references to them from the Directory. As has always been the tradition, the data blocks that held the actual data are not over-written, they are merely added to the free list for later re-use. Their original contents are still present.
    Disk Utility "Erase" or "Partition" of a drive (which finishes in under a minute) also does not over-write the data blocks, but merely creates a new, empty directory.
    To clear the data that may still be present (admittedly in a disorganized mess of unlinked blocks) you need to overwrite the data. Use the erase tab, then choose "Security Erase" Options, and overwrite once with Zeroes. This process can take several hours as it is -- if you insist on multiple passes, it can take days to complete, with little additional protection. Multiple passes is unnecessary unless your drive held Military Secrets.
    When you have erased, be sure to install some version of Mac OS X -- a Mac with no obvious Operating software may be dead, and  is much more likely to quickly become landfill.

  • HT1430 i need to clear the registration on my i-pod touch

    I BOUGHT A I-POD TOUCH 5TH GEN. THAT WAS PREVIOUSLY REGISTERED. I WANT TO CLEAR IT SO I CAN REGISTER IT UNDER MY I.D. ON I-TUNES. HOW DO I CLEAR THE PREVIOUS REGISTRATION?

    The Apple Product Registration website is closed.
    If you’re trying to register an Apple product, chances are it’s already registered. Most Apple products can be registered when you turn them on for the first time and begin the setup process. Service and support for your Apple product are linked to its serial number, so it’s OK if you don’t register it. If you'd like to check the service and support coverage for your Apple mobile device or computer, click here.
    If the iPod is asking for the previous owner's Apple ID password that means that it may be a stolen or lost iPod.
    Your have to enter the password to setups/use the the iPod
    iCloud: Find My iPhone Activation Lock in iOS 7
    If you can't you have to return the iPod for refund

  • I need to clear the cache and the advanced button is missing!

    As above but I use PClinuxOS as my operating system/

    "Clear the Cache":
    *Edit > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    *https://support.mozilla.org/kb/remove-browsing-search-and-download-history
    If you do not see the Advanced tab in Preferences then check for issues caused by an extension.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • My email provider says I need to clear the cache - toolbar doesnt' display

    I don't know how to make the toolbar display so I can click on tools to go in and clear my cache or clear my cookies. Please help

    Firefox doesn't have a "compatibility view", Internet Explorer does.
    If your issue is with Firefox, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • My friend just gave met her iPhone 5 which has been unlocked nut need to clear the contents. If I clear it now will it do anything to her iPhone 6?

    MMy friend just gave me her iPhone 5 which has been unlocked but not cleared. If I clear it now will it do anything to her iPhone 6?

    Not so long as she has signed out of iCloud and removed the device from her iCloud account. At that point, restoring the device as new will not affect her phone in any way.

  • HT201270 My ipad is displaying the carrier settings update box but does not respond to either the "update now" button or the "not now" button and has totally frozen. The ipad cannot switch off as I need to clear this box before I can "slide to shut down".

    Can anyone help me with carrier settings??? My ipad is displaying the carrier settings update box but will not respond when I press "update" or "not now". I have tried to switch the ipad off, but cannot "slide to shut down" as I need to clear the carrier settings box first!! HELP PLEASE!!!!

    Have you tried a reboot? Hold down the power and home buttons simultaneously. Ignore the Slide to Power Off prompt if it pops up. The display should go dark, and the Apple logo should appear as it begins a reboot. This is a soft reboot - it does not erase data.

  • Document is getting posted but unalble to clear the open items

    hi gurus,
    i m using the inbound idoc ACC_DOCUMENT03 to post the receipt against invoice. uptill now i can post the receipt but it shows the items are still in the open items. i need to clear the open items for the invoice. how to solve it .

    Hi,
    In the Company code global parameters(OBY6),select the check box "NO FOREX RATE DIFF.WHEN CLEARING IN LC"
    and try clearing again.(You can have a F1 help on the check box to see what exactly it is).
    Hope this will resolve
    Assign points if useful
    Thanks
    Aravind
    Edited by: Aravind Aitipamula on May 22, 2008 1:36 AM

  • How to clear the open items and parked items for customer

    Hi Experts,
    I need to clear the open items and parked items for customer.
    So any one could let me know the transaction code and procedure for clearing the items for customer.
    Best regards,
    Kesava balaji.

    Hello,
    Parked items will have NO RELEVANCE, unless you post it.
    You CANNOT clear parked items.
    You can clear the posted items using F.13 or F-32
    Regards,
    Ravi

  • How to clear the cookie in midlet before quite the midlet?anyone?pls

    i am fresh in J2ME . Can anyone teach me on how to clear the cookie in midlet before i quit from it?
    I designed an application that require login and use session(cookie) management, i need to clear the cookie before or during i quit the midlet, so that the user will need to login again after quit from midlet. Can anyone pls assist me? i need it urgently!

    I designed an application that require login and use session(cookie) management,How did you implement the cookies. This isn't a built-in part of J2ME. You have to implement it yourself (saving the cookie and resending it in future requests), so only you can know how to delete it.
    shmoove

  • CUBE IS NOT CLEARING THE DATA ON CONDITIONAL SCRIPT(ISSUE WITH NULLIFICATIO

    Hi,
    I am using AWM 10.2.0.2.0A and database is 10g Release 2 to build a cube.
    Before the monthly incremental load I need to clear the old data.
    For clearing(Nullifying) the cube I am using the new "Clear" command.
    The Clear command has two options.
    A) clear all the data without using any limits and
    B) clear the current status. The option A is working perfectly fine. The issue
    is when we need to clear only two months of data from the cube and I am using
    Clear STATUS (option B )option.
    After the execution data is not cleared (cube
    is still showing the old data)
    Please find below the program...............
    (The cube is compressed and partitioned by year)
    shw tod
    aw attach olap_cview rw
    limit ORA_PAX_AGT_PRT_MEASDIM to all
    limit ORIGIN to all
    limit DESTINATION to all
    limit FAREBASIS to all
    limit POS to all
    limit DIS_NON to all
    limit int_onl to all
    limit airline to all
    "lmt time to v_time
    lmt time to '01/01/2005'
    rpr time
    "clear all from ORA_PAX_AGT_PRT_TOPVAR *** all data is deleted inspite of the
    above limit
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    upd
    cmm
    dfn junk vrb integer
    junk=1
    upd
    cmm
    junk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    Any one can help me what I have to do to clear the cube.....................

    Hi Thanks for the input,
    I have question.
    I saw your program and my program whatever I submit in the discussion earlier.
    I also using JUNK=1 keyword in my program . The only difference in your program and my program is
    I am declare and assign JUNK=1 after the upd and commit ,In your program its immediately you are decalring and assing JUNK=1 after the clear status and two times JUNK=1 is assigned.
    Please clarify me is this will make any difference to giving the JUNK=1 immediately after clear status and after clear status,up,command....??
    In your program
    ================
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    dfn junk vrb integer *** need these lines (only second one if junk exists)
    junk = 1 *** to work around clear/update bug.
    upd
    cmm
    junk=1
    upd
    cmmjunk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    In My program
    ================
    clear status from ORA_PAX_AGT_PRT_TOPVAR *** Nothing deletes
    upd
    cmm
    dfn junk vrb integer
    junk=1
    upd
    cmmjunk=2
    upd
    cmm
    dlt junk
    upd
    cmm
    shw tod
    This is my query...This update will helpfull for me to before proceeding my test...
    Thanks ,
    Nat

Maybe you are looking for

  • Confirmation Control Work Flow  in Purchase Order

    Hi Gurus,    Can anyone explain me about the Confirmation Control Tab Work Flow in Purchase Order.    If i select the Conf. Control in Purchase Order, next what process has to follow?    Thanks in Advance Regards, Prabhakaran M

  • Is it possible to embed a flash movie with out a height setting

    Hi All, I am trying to embed a movie in a HTML page. The movie reads in some XML and then outputs it in a list, the list is usually between 100px and 400 px high. I need the movie to strech on the HTML page to whichever height it needs once load. Is

  • Chooses 3G rather than wifi

    At home, where I have a very strong WiFi signal, my iPad often can't connect to the Internet until I turn off my weak AT&T cellular connection in "Settings."  Shouldn't the iPad always choose a good WiFi connection over a weak cellular connection, as

  • ITunes library is larger then my 60 MB iPod

    Is there a way, whereby iTunes can automatically "re-cycle" the songs on my iPod so that eventually I can here them all on my iPod? What heppens right now is that iTunes automatically creates a playlist based on, what it calls, "our prefernces" (whic

  • ORA-27086: unable to lock file - already in use

    Hi All, Can any one having Idea about this Error while Upgrading from 9.2.0.4.0 to 10.2.0.2.0 on AIX 5.2 after software Installation before patch set apply when i try to start the Database im Getting this Error Below SQL> startup mount ORACLE instanc