unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Mike Kupfer <mkupfer@alum.berkeley.edu>
To: Nicholas Papadonis <nick.papadonis.ml@gmail.com>
Cc: "Bruno Félix Rezende Ribeiro" <oitofelix@gnu.org>,
	"Korn Shell" <korn-shell@googlegroups.com>,
	40589@debbugs.gnu.org
Subject: bug#40589: ^L printed when resizing Emacs split window using ksh93
Date: Sun, 12 Apr 2020 21:06:20 -0700	[thread overview]
Message-ID: <17989.1586750780@alto> (raw)
In-Reply-To: Your message of "Sun, 12 Apr 2020 23:23:05 -0400." <421A39CF-3345-4951-B406-830F4D4F132E@gmail.com>

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





  reply	other threads:[~2020-04-13  4:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13  3:23 bug#40589: ^L printed when resizing Emacs split window using ksh93 Nicholas Papadonis
2020-04-13  4:06 ` Mike Kupfer [this message]
2021-06-14 14:08   ` Lars Ingebrigtsen
2021-06-14 14:40     ` Mike Kupfer
2021-06-14 14:46       ` Lars Ingebrigtsen
2021-06-14 14:46         ` Lars Ingebrigtsen
2021-06-14 15:47         ` Mike Kupfer
2021-06-15 13:39           ` Lars Ingebrigtsen
2021-06-15 14:56             ` Mike Kupfer
2021-06-15 15:35               ` Andreas Schwab
2021-06-16  2:54                 ` Mike Kupfer
2021-06-16  7:05                   ` Andreas Schwab
2021-06-18  2:53                     ` Mike Kupfer
2021-06-19 12:13                       ` Lars Ingebrigtsen
2021-06-19 14:39                         ` Mike Kupfer
2021-06-19 14:57                           ` Lars Ingebrigtsen
2021-06-19 15:50                             ` Mike Kupfer
2021-06-19 16:19                             ` Andreas Schwab
2021-06-21 12:11                               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17989.1586750780@alto \
    --to=mkupfer@alum.berkeley.edu \
    --cc=40589@debbugs.gnu.org \
    --cc=korn-shell@googlegroups.com \
    --cc=nick.papadonis.ml@gmail.com \
    --cc=oitofelix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).