Terminal control/Dimensions: Difference between revisions

m
Fixed a copy and paste problem
(Initial content)
m (Fixed a copy and paste problem)
Line 15:
 
===[[regina]]===
 
=={{header|UNIX Shell}}==
{{works with|Bourne Shell}}
 
<lang bash>
{{draft task}}
Clear the terminal window
 
=={{header|AWK}}==
 
<lang awk>system("clear")</lang>
 
=={{header|BASIC}}==
 
{{works with|QBasic}}
{{works with|Locomotive Basic}}
{{works with|ZX Spectrum Basic}}
<lang qbasic>CLS</lang>
 
=={{header|Batch File}}==
 
CLS
 
=={{header|PureBasic}}==
Clears the whole console content using the current background color.
<lang PureBasic>ClearConsole()</lang>
 
==[[REXX]]==
 
The Rexx programming language does not include a facility to clear the screen. However, it might be possible to output ANSI control sequences, and there are various workarounds which are platform specific:
 
===[[regina]]===
 
The [[regina]] interpreter supports the [[rexxcurses]] plugin, which provides the facility to clear the screen:
 
=={{header|UNIX Shell}}==