Go to Post A pole is usually made of aluminum or steel pipe. You can get these wherever you get metal. :) As for polls, there's a check box in the "Additional Options" section of the New Thread page that you can click to create said poll. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2007, 18:28
cprogrammer's Avatar
cprogrammer cprogrammer is offline
Registered User
FRC #1595 (Gremlins)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Washington
Posts: 42
cprogrammer will become famous soon enoughcprogrammer will become famous soon enough
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   Spotlight this post!  
Unread 14-01-2007, 19:02
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,855
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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");
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 14-01-2007, 19:15
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
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   Spotlight this post!  
Unread 14-01-2007, 19:16
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Clear Screen

Quote:
Originally Posted by cprogrammer View Post
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.
Get a good terminal emulator, like TeraTerm, and then Google "terminal escape sequence" for the character strings that can be sent to the terminal emulator to create pretty cool user interfaces.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #5   Spotlight this post!  
Unread 27-01-2007, 19:36
brainonska's Avatar
brainonska brainonska is offline
Registered User
AKA: Magical Steve
FRC #1155 (Sciborgs)
Team Role: Programmer
 
Join Date: Apr 2006
Rookie Year: 2006
Location: New York City
Posts: 19
brainonska is an unknown quantity at this point
Send a message via AIM to brainonska
Re: Clear Screen

system("cls");
or...
system("clear");
__________________
Real programmers don't comment their code:
it was hard to write... it should be hard to understand
  #6   Spotlight this post!  
Unread 28-01-2007, 21:48
dwc309 dwc309 is offline
Registered User
FRC #1552
 
Join Date: Jan 2006
Location: Niwot High School
Posts: 16
dwc309 is an unknown quantity at this point
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   Spotlight this post!  
Unread 28-01-2007, 22:20
Jimmy Cao Jimmy Cao is offline
Registered User
AKA: Jimmy Cao
no team
 
Join Date: Sep 2006
Rookie Year: 2004
Location: San Francisco, CA
Posts: 295
Jimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant future
Re: Clear Screen

Quote:
Originally Posted by brainonska View Post
system("cls");
or...
system("clear");
I dont think these work on the RC, because these are actually external function calls to the windows terminal, but I may be wrong.
__________________
Jimmy Cao

Team 469 2006-2010 Student/Alumni
Team 830 2011-2012 Mentor
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 20:53.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi