Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cmd:set [2012/09/02 15:16]
mcb30
cmd:set [2012/09/02 15:18]
mcb30
Line 31: Line 31:
  
     set esc:hex 1b           # ANSI escape character - "​^["​     set esc:hex 1b           # ANSI escape character - "​^["​
-    set cls ${esc:​string}[ # ANSI clear screen sequence - "^[[J"+    set cls ${esc:​string}[2J  # ANSI clear screen sequence - "^[[2J"
     echo ${cls}     echo ${cls}
  
Line 80: Line 80:
 Older versions of iPXE allowed ANSI escape sequences to be defined using code such as: Older versions of iPXE allowed ANSI escape sequences to be defined using code such as:
  
-    set esc:hex 1b ; set cls ${esc}[; echo ${cls}+    set esc:hex 1b ; set cls ${esc}[2J ; echo ${cls}
  
 This should instead be This should instead be
  
-    set esc:hex 1b ; set cls ${esc:​string}[; echo ${cls}+    set esc:hex 1b ; set cls ${esc:​string}[2J ; echo ${cls}
  
cmd/set.txt ยท Last modified: 2013/08/01 14:19 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.