Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: console clearing?, scroll-stoping?
Pages: [1] Print
Author Topic: console clearing?, scroll-stoping?  (Read 271 times)
-X-
Guest


Email
console clearing?, scroll-stoping?
« on: February 13, 2006, 07:36:39 PM »

(when using the REBOL console)

- Is there a way to clear the text (ie: like how one could clear a MS-DOS command prompt via the command "cls")?

- Is there a way to stop the screen from automatically scrolling through its execution until the end?
Logged
CarlRead
Full Member
***
Offline Offline

Posts: 105


View Profile
console clearing?, scroll-stoping?
« Reply #1 on: February 13, 2006, 10:39:45 PM »

Esc should stop the scrolling, though it also stops the code being evaluated.

To clear the screen, try...

print "^(1B)[J"

or, to make it a function...

cls: does [print "^(1B)[J"]

See...

http://www.rebol.com/docs/core23/rebolcore-18.html

for more Console fun.
 
Logged

- Carl Read
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: console clearing?, scroll-stoping?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2008, 07:08:38 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2191 Posts in 572 Topics by 1684 Members
Latest Member: CinemeandaBek

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc