]> git.eshelyaron.com Git - emacs.git/commitdiff
; Describe the problem with ksh when resizing shell window
authorEli Zaretskii <eliz@gnu.org>
Tue, 9 May 2017 16:34:39 +0000 (19:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 9 May 2017 16:34:39 +0000 (19:34 +0300)
* etc/PROBLEMS: Mention the problem with ksh when the shell window
is resized.  For details, see the discussion starting in
http://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00888.html.
Reported by Mike Kupfer <mkupfer@alum.berkeley.edu>.

etc/PROBLEMS

index 029f7560da02d75f90d8bfa447e4d2333f603dfb..62c5e9e1a802c7be4dc3e33ca13ded5f24676cc4 100644 (file)
@@ -464,6 +464,17 @@ problem by adding this to your .cshrc file:
         stty -icrnl -onlcr -echo susp ^Z
     endif
 
+*** 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').
+
 *** In Inferior Python mode, input is echoed and native completion doesn't work.
 <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753>