Find the answer to your Linux question:
Results 1 to 4 of 4
Hello all, We all had this problem once of twice. When you cat a Binary file sometimes the shell gets all scrambled and nothing can be read. And the new ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Scambled Shell


    Hello all,

    We all had this problem once of twice.
    When you cat a Binary file sometimes the shell gets all scrambled and nothing can be read.
    And the new input you write down gets messed up aswell. So the charset has changed.

    Well, I tryed to fix this with some Exports back to UTf-8 but it didnt same goes for restarting the shell or anything like that.

    Well, I always did reboot.. But now I cant..
    So, well is there a Way to FIX it instead of working around it?

    Thanks
    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    It's odd but if you hit CTRL+V then CTRL+O then Enter, it will go back to normal (at least, it does for me).

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Thanks that works XD
    Now, let's figure out why that fixes it.
    New Users, please read this..
    Google first, then ask..

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    CTRL+O switches to the standard character set. I'm not sure what CTRL+V does in this case.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •