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 :-(
Am 28.06.2006 um 16:03 schrieb Frank Bitterlich:
Hi,
I have an app that burns CDs by running the Mac OS X "drutil" tool
via a shell object. But as soon as drutil tries to display its
progress (in the Terminal, this is done by a kind of text "progress
bar" made with asterisk characters), the shell object returns only
garbage characters. The same call to drutil does not show this
problem when entered maanually into Terminal.
I guess that drutil tries to switch the terminal into some kind of
special mode to display its progress. Any way I can "translate"
this output so that it becomes readable again? I dont think that
these are the old "ANSI sequences", because AFAIK that would mean
that at least a part of the text should be readable. In my shell
output, _all_ characters are garbage (ie. non-ASCII).
Any tips?
Thanks,
Frank+++
--
Günter Schmidt GmbH
Frank Bitterlich eMail: [EMAIL PROTECTED]
Ben-Gurion-Ring 21 WWW: http://www.gsco.de/
D-60437 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
_______________________________________________
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>
_______________________________________________
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>