Hi Stefan,

thanks for the tip. Apparently it really uses Backspaces (0x08), but the characters between them are all non-ASCII. I tried diffferent encodings (UTF8, WinLatin1, MacRoman), none of them produced a meaningful output.

Here's a hex dump:

42 75 72 6E 69 6E 67 20 44 61 74 61 20 44 69 73  -  Burning Data Dis
63 3A 20 2F 55 73 65 72 73 2F 62 69 74 2F 44 65  -  c: /Users/bit/De
73 6B 74 6F 70 2F 43 44 2D 44 61 74 65 6E 20 32  -  sktop/CD-Daten 2
30 30 34 2D 31 32 2F 44 52 4B 49 4E 46 4F 30 32  -  004-12/DRKINFO02
30 31 2F 0D 0D 3F C7 0D 3D 80 08 20 08 08 20 08  -  01/¬¬?.¬=€. .. .
08 20 08 08 20 08 D7 0D 3D 80 08 20 08 08 20 08  -  . .. ..¬=€. .. .
08 20 08 08 20 08 E1 47 AE 20 08 20 08 08 20 08  -  . .. ..G. . .. .
08 20 08 08 20 08 E7 0D 3D 80 08 20 08 08 20 08  -  . .. ..¬=€. .. .
08 20 08 08 20 08 EC CC CC C0 08 20 08 08 20 08  -  . .. ...... .. .
08 20 08 08 20 08 ED DD DD E0 08 20 08 08 20 08  -  . .. ...... .. .
08 20 08 08 20 08 EE EE EF 08 20 08 08 20 08 08  -  . .. ..... .. ..
20 08 F0 08 20 08 08 20 08 BF FF F1 60 08 20 08  -   ... .. ....`. .
C0 22 22 44 6C 90 02 A3 7C 20 64 6F 6E 65 2E 08  -  .""Dl...| done..
20 08 08 20 08 08 20 08 08 20 08 08 20 08 08 20  -   .. .. .. .. ..
08 08 20 08 08 20 08 08 20 08 08 20 08 08 20 08  -  .. .. .. .. .. .
08 20 08 08 20 08 08 20 08 08 20 08 08 20 08 08  -  . .. .. .. .. ..
[...]

Any ideas what encoding this could be? What encoding is the data received by Shell.ReadAll() supoosed to be, anyway?

Cheers,
   Frank+++


Am 28.06.2006 um 20:50 schrieb Stefan P.:


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 :-(


--

Günter Schmidt & Co. oHG
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>

Reply via email to