One Response to “What Happened to My Terminal??”
-
Recent Posts
- Rails Error: Using Devise, I was getting “Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true”
- Multibyte php substring without the mbstring extension
- Starcraft 2 Videos
- Django on Dreamhost: Virtual Python Install
- A Search For A Putty Alternative – Putty Tray and Putty Connection Manager
Categories
Other Sites
Older Posts
-
May 30th, 2009 at
.pyc files are indeed compiled byte code rather than the .py source file(I believe, me and python had a fight many years ago and haven’t spoken in a while). What actually causes the corrupt display is the fact that the character sequence representing ^n was sent to the display, putting your terminal into a mode that uses the 8 bit IBM PC Exctended Character Set rather than what it was set to previously (whether UTF-8 style or 7 bit ASCII). The side effect of this is that the incorrect characters are displayed. This can typically be fixed by typing:
reset
Or by using ^o.