Clearing the console

Discussion in 'Java' started by Gordon Beaton, Nov 7, 2005.

  1. On 7 Nov 2005 01:22:11 -0800, aravindr_88 wrote:
    > I wanted to know is there exists any standard way to clear the
    > console programatically. Thanking in advance.


    "The" console is different on different platforms, and on some
    platforms there are more than one to choose from. Java doesn't provide
    any mechanisms to help with this.

    You seem to be posting from Linux, so you can most likely achieve what
    you want by printing xterm control sequences to System.out. Use Google
    to find the standard document.

    /gordon

    --
    [ do not email me copies of your followups ]
    g o r d o n + n e w s @ b a l d e r 1 3 . s e
     
    Gordon Beaton, Nov 7, 2005
    #1
    1. Advertisements

  2. Gordon Beaton

    aravindr_88 Guest

    I wanted to know is there exists any
    standard way to clear the console programatically. Thanking in advance.

    Bye
     
    aravindr_88, Nov 7, 2005
    #2
    1. Advertisements

  3. Gordon Beaton

    Roedy Green Guest

    On 7 Nov 2005 01:22:11 -0800, "aravindr_88" <>
    wrote, quoted or indirectly quoted someone who said :

    > I wanted to know is there exists any
    >standard way to clear the console programatically. Thanking in advance.


    see http://mindprod.com/jgloss/console.html
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Java custom programming, consulting and coaching.
     
    Roedy Green, Nov 7, 2005
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nerfherder

    Clearing radio_group

    Nerfherder, Dec 14, 2004, in forum: Perl
    Replies:
    1
    Views:
    684
    Alan J. Flavell
    Dec 15, 2004
  2. John Smith

    Clearing values in WebControls

    John Smith, Jun 28, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    564
    John Smith
    Jun 29, 2003
  3. itsme

    Clearing session object contents

    itsme, Oct 16, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,697
    Steve C. Orr [MVP, MCSD]
    Oct 16, 2003
  4. phickman

    Clearing Console Window

    phickman, Jun 5, 2004, in forum: C Programming
    Replies:
    5
    Views:
    5,848
    Viktor Lofgren
    Jun 7, 2004
  5. Ben Finney
    Replies:
    2
    Views:
    1,214
    Egor Bolonev
    Jun 30, 2003
  6. Miktor
    Replies:
    7
    Views:
    12,702
    Joe Bacigalupa
    Aug 9, 2005
  7. Replies:
    5
    Views:
    3,742
    James Kanze
    Mar 4, 2008
  8. Kris Rudin

    console app w/o seeing console?

    Kris Rudin, Nov 11, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    296
    Randy Charles Morin
    Nov 11, 2003
Loading...