This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
cmd:set [2012/09/02 15:18] mcb30 |
cmd:set [2012/09/02 15:18] mcb30 |
||
---|---|---|---|
Line 30: | Line 30: | ||
=== Clear the screen === | === Clear the screen === | ||
- | set esc:hex 1b # ANSI escape character - "^[" | + | set esc:hex 1b # ANSI escape character - "^[" |
set cls ${esc:string}[2J # ANSI clear screen sequence - "^[[2J" | set cls ${esc:string}[2J # ANSI clear screen sequence - "^[[2J" | ||
echo ${cls} | echo ${cls} |