[Top][All Lists]

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

Re: M-x term and fringe problem

From: Kim F. Storm
Subject: Re: M-x term and fringe problem
Date: 07 Apr 2004 02:07:30 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Miles Bader <address@hidden> writes:

> On Tue, Apr 06, 2004 at 02:00:55AM +0200, Kim F. Storm wrote:
> > Part of the fix is to turn off overflow-newline-into-fringe in the
> > term buffer, but I also had to fix the window width calculation.
> Perhaps I'm missing something, but isn't term _exactly_ the place you'd
> _want_ `overflow-newline-into-fringe' (allowing 80-column lines in an
> 80-column emacs window)?

I thought so too, but it works VERY badly in practice.

The problem is that a terminal has 80 columns -- there is no imaginary
81st column, so an application cannot be expected to behave sensibly
in that case...

Some terminals has the capability that it doesn't actually move the
cursor from the last column to the next line until the next character
is output, but that's an exception -- however, it M-x term was
modified to emulate such a terminal, placing the cursor in the fringe
would be a better interface in that case.  IIRC, there is a termcap
keyword for this behaviour...

In any case, my fix was to restore correct behaviour (actually broken
since 21.1), not to improve it.  Anyone who uses M-x term are free to
make that improvement.

Kim F. Storm  http://www.cua.dk

reply via email to

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