Hey,
No, I don't want to switch to vim at this time
The problem occurs when:
- font-lock-mode is enabled
- I scroll up/down in the file, e.g. a .c file.
- I use SecureCRT 5.0, 5.5, or 6.0 on Windows Vista.
I get garbled text like this, after scrolling down and back up:
Other details about when this does and does not occur:
- I've only ever noticed it in Emacs, but then, that's about all I run in the terminal.
- Using another terminal works fine, but this is definitely not my preferred solution (SecureCRT supports Kerberos authentication and this is required--PuTTY, for instance, does not).
- Pressing CTRL-L in Emacs to refresh the screen causes the corruption to go away. This is clearly a terminal issue of some kind. The garbage is not in the Emacs buffer.
- If I turn off font lock mode, the syntax highlighting goes away and so does the garbled text. I can scroll up/down and not have the problem.
- The problem occurs with two different versions of Emacs and both with and without a .emacs file.
I suspect this can be fixed with clever application of stty or something, but I don't know precisely what to use. The emacs documentation suggests looking at etc/TERMS (for me, in emacs/share/emacs/22.1/etc/TERMS) but I'm not quite sure how to proceed from this since I've never had to fiddle with such arcane settings before, and I don't really want to screw it up.
Any tips/suggestions? Any tutorials on how to modify these settings, if you think that's the right direction? Thanks in advance.
No, I don't want to switch to vim at this time
The problem occurs when:
- font-lock-mode is enabled
- I scroll up/down in the file, e.g. a .c file.
- I use SecureCRT 5.0, 5.5, or 6.0 on Windows Vista.
I get garbled text like this, after scrolling down and back up:
Other details about when this does and does not occur:
- I've only ever noticed it in Emacs, but then, that's about all I run in the terminal.
- Using another terminal works fine, but this is definitely not my preferred solution (SecureCRT supports Kerberos authentication and this is required--PuTTY, for instance, does not).
- Pressing CTRL-L in Emacs to refresh the screen causes the corruption to go away. This is clearly a terminal issue of some kind. The garbage is not in the Emacs buffer.
- If I turn off font lock mode, the syntax highlighting goes away and so does the garbled text. I can scroll up/down and not have the problem.
- The problem occurs with two different versions of Emacs and both with and without a .emacs file.
I suspect this can be fixed with clever application of stty or something, but I don't know precisely what to use. The emacs documentation suggests looking at etc/TERMS (for me, in emacs/share/emacs/22.1/etc/TERMS) but I'm not quite sure how to proceed from this since I've never had to fiddle with such arcane settings before, and I don't really want to screw it up.
Any tips/suggestions? Any tutorials on how to modify these settings, if you think that's the right direction? Thanks in advance.