Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Ubuntu 13.10 server installed in VirtualBox on a Windows host. When I connect to it via SSH (tried Putty, Cygwin's OpenSSH and OS X terminal from a different machine) Emacs appears to be having screen (re)drawing issues. Here's my test scenario:

  1. emacs ~/.bashrc
  2. C-s HIST (incremental search for "HIST")
  3. keep hitting C-s (aka jump to the next search result)

After repeating no. 3 a few times, I end up with this:

image

The problem doesn't occur when using VirtualBox console. 12.04 works fine as well. Tried the emacs23-nox package, the latest emacs from ppa:cassou/emacs, emacs -q (skip start-up files), running it in a "screen" session, changing LC_ALL to C - all to no avail.

Any ideas what might be causing the issue?

share|improve this question
    
Try setting the TERM=xterm environment variable before starting emacs (export TERM=xterm or TERM=xterm emacs) or look in your Putty settings for the terminal type. –  Lekensteyn Feb 9 at 14:30
    
I'm afraid neither xterm nor xterm-256color help. –  heypiotr Feb 9 at 16:11
add comment

1 Answer 1

Huh, strange story. Changing the number of CPUs in VirtualBox from 2 to 1 fixed the problem.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.