[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GUI emacs:term.el] Possible regression causes word wrapping to brea

From: Nicholas Ochiel
Subject: Re: [GUI emacs:term.el] Possible regression causes word wrapping to break term display in zsh
Date: Sun, 27 Nov 2016 09:41:08 +0300

>On 26 Nov 2016 15:53, "Eli Zaretskii" <address@hidden> wrote:
> > From: Nicholas Ochiel <address@hidden>
> > Date: Sat, 26 Nov 2016 13:29:48 +0300
> > Cc: Dan Nicolaescu <address@hidden>, address@hidden
> >

> I hope you are aware of the significant difference between any
> terminal emulator and an Emacs terminal emulator.  Where the former
> can rely on the terminal device driver to perform certain commands
> sent by the shell, Emacs must reproduce all of those features in Lisp
> code, and convert each command to the equivalent Emacs commands to
> move the cursor, insert or delete text, change color of the text, etc.

I'm aware of the difference though I admit that I'm not yet intimate with the specifics of the different implementations.

> Thanks.  I think the reason is that term.el's ANSI sequence handler is
> simply unprepared to deal with the complex commands this plug-in
> causes zsh to send.  As result, term.el becomes confused when text
> deletion and reinsertion happen at the end of the screen line.
> Patches to term.el to support that are welcome.

I'll look into what the shell is doing in this case and how term.el is handling it. I'll update this thread with any progress.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]