• Johan Claesson's avatar
    Fix term.el handling of ^Z-sequences spanning chunks · d88cdad2
    Johan Claesson authored
    Bash will after each command send ?\032 and the current directory "/tmp"
    to inform term.el.  Bash output is buffered in 4096 bytes chunks.  If a
    command outputs roughly 4096 bytes then the end of the first chunk will
    be "/tm" (Bug#13350).
    
    * lisp/term.el (term-emulate-terminal): Change the regexp to find the
    end of the ?\032 sequence to use \n instead of $, the latter can match
    end of string as well.
    
    Copyright-paperwork-exempt: yes
    d88cdad2
term.el 173 KB