in reply to Re: ascii problem
in thread ascii problem

That only works if he really has two characters for backspace - "^" and "H". More likely he's got real backspaces, aka \x08 in Perl (among many ways to write that, of which ^H is not one).

-sam

Replies are listed 'Best First'.
Re^3: ascii problem
by bart (Canon) on Jun 01, 2006 at 20:22 UTC
    among many ways to write that, of which ^H is not one

    But "\cH" is.

Re^3: ascii problem
by Tobin Cataldo (Monk) on Jun 01, 2006 at 20:16 UTC
    If it is in a string then it isn't a backspace character. It is the characters '^' and 'H'.
      I don't know what makes you so sure. His post is ambiguous, but I take it as significant that he claims to be working on a keylogger's output. That would almost certainly have real backspaces not "^" and "H". Of course it's impossible to be sure - he could have a screen-cap of a keylogger...

      -sam

      Certainly the Unix utility script records the backspace as the single character with decimal value 8, this is what I would expect from any "keylogger" as that is the "value" of the key that was pressed.

      /J\