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. Advertising

  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. Advertising

  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. Advertising

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. phickman

    Clearing Console Window

    phickman, Jun 5, 2004, in forum: C Programming
    Replies:
    5
    Views:
    5,525
    Viktor Lofgren
    Jun 7, 2004
  2. Ben Finney
    Replies:
    2
    Views:
    979
    Egor Bolonev
    Jun 30, 2003
  3. Egor Bolonev
    Replies:
    0
    Views:
    470
    Egor Bolonev
    Jun 30, 2003
  4. Serge Terekhoff
    Replies:
    0
    Views:
    634
    Serge Terekhoff
    Jun 30, 2003
  5. Miktor
    Replies:
    7
    Views:
    12,005
    Joe Bacigalupa
    Aug 9, 2005
Loading...

Share This Page