|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Clear Screen
I need to know how to clear the termianl window screen from within MPLAB. ex. printf("blahblahblah\r\n") instead of \r\n i need something to clear the screen, if there is nothing like this please tell me a method of doing this.
|
|
#2
|
|||||
|
|||||
|
Re: Clear Screen
There is no direct command or special ASCII the IFI Terminal Window will recognize (or at least not the last time I tried the entire ASCII string set), but you can simply send a whole bunch of carriage returns, e.g.,
printf("/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r/r"); |
|
#3
|
||||
|
||||
|
Re: Clear Screen
You could write your own terminal or use another free one that does have a character that will clear the screen
|
|
#4
|
||||
|
||||
|
Re: Clear Screen
Quote:
-Kevin |
|
#5
|
||||
|
||||
|
Re: Clear Screen
system("cls");
or... system("clear"); |
|
#6
|
|||
|
|||
|
Re: Clear Screen
If you choose Adam 3A terminal emulation and then find a terminal program that supports it, you can have a complete way to control where text is put on the screen.
|
|
#7
|
|||
|
|||
|
Re: Clear Screen
I dont think these work on the RC, because these are actually external function calls to the windows terminal, but I may be wrong.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| clear printf box? | telefragger2000 | Programming | 6 | 05-02-2004 17:40 |
| Can someone clear up please? | archiver | 2000 | 1 | 23-06-2002 22:23 |
| ALL CLEAR | archiver | 2000 | 0 | 23-06-2002 22:19 |
| ALL CLEAR | archiver | 2000 | 0 | 23-06-2002 22:19 |