GNU bug report logs - #40589
^L printed when resizing Emacs split window using ksh93

Previous Next

Package: emacs;

Reported by: Nicholas Papadonis <nick.papadonis.ml <at> gmail.com>

Date: Mon, 13 Apr 2020 03:28:02 UTC

Severity: normal

Tags: moreinfo

Merged with 40732, 40735

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: Nicholas Papadonis <nick.papadonis.ml <at> gmail.com>
Cc: Bruno Félix Rezende Ribeiro <oitofelix <at> gnu.org>, Korn Shell <korn-shell <at> googlegroups.com>, 40589 <at> debbugs.gnu.org
Subject: bug#40589: ^L printed when resizing Emacs split window using ksh93 
Date: Sun, 12 Apr 2020 21:06:20 -0700
Nicholas Papadonis wrote:

> PS2 is printed multiple times during the resize.  When entered is
> pressed after the resize, multiple ^L s are displayed.  I set PS2=""
> and the brackets are omitted, however ^L still remain after pressing
> enter.
> 
> Is this a known issue?

Yes.  Here's the text from the Emacs PROBLEMS file:

  *** In Shell buffers using ksh, resizing a window inserts random characters.
  
  The characters come from the PS2 prompt, but they are not followed by
  a newline, which messes up the next command you type.  This strange
  effect is caused by Emacs 25 and later telling the shell that its
  screen size changed.
  
  To work around the problem, customize the option
  'window-adjust-process-window-size-function' to "Do not adjust process
  window sizes" (Lisp value 'ignore').
  
regards,
mike




This bug report was last modified 3 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.