On Jun 28, 2006, at 12:50 PM, Stefan P. wrote:
Save all characters to a text file and open it using a hex/text
editor.
I suppose, your data - the asterisks - is inside but you won't see
it on
screen, since the control chars do 'fun stuff'.
A shell process might switch to terminal mode, if it identifies the
caller
of an app as an interactive shell process connected to a capable
terminal.
In your case, the process should NOT switch to terminal mode.
Don't know, are actually generated, but I'd google for VT-52 or
something like that.
Here is what shows up, when I do an erase of an empty DVD-RW -
output of
drutil redirected to file and opened using vi:
>>>
RW Eraser
Preparing... done.^H ^H^H ^H^H ^H^H ^H^H ^H
[**********************************************************] 100%
^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H ^H^H
^Hdone.^M ^MErase completed.
<<<
Thus, drutil is oddly written :-(
That's a common trick in older console apps to display a progress bar
of sorts
^H is the backspace character
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>