From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=D0=9D=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F=D1=8F_?= =?UTF-8?Q?=D0=81=D0=BB=D0=BA=D0=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#63189: 28.2; Shell commands doesn't get executed after command that use stdin. Date: Sun, 30 Apr 2023 13:10:52 +0300 Message-ID: <58C73FE0-0566-4D07-B018-8F075DF56282@getmailspring.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="644e3eac_66f8bfd3_1b46" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18084"; mail-complaints-to="usenet@ciao.gmane.io" To: 63189@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 16:57:38 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pt8Ub-0004YI-PN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 16:57:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt8UH-0001vL-JR; Sun, 30 Apr 2023 10:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt8U3-0001pR-KS for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:57:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt8U2-0005dV-Se for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt8U2-0004G0-9X for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=9D=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE=D0=B4=D0=BD=D1=8F=D1=8F_?= =?UTF-8?Q?=D0=81=D0=BB=D0=BA=D0=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63189 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.168286660916340 (code B ref -1); Sun, 30 Apr 2023 14:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Apr 2023 14:56:49 +0000 Original-Received: from localhost ([127.0.0.1]:38218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Tn-0004FQ-F2 for submit@debbugs.gnu.org; Sun, 30 Apr 2023 10:56:49 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt41E-0007P8-Rx for submit@debbugs.gnu.org; Sun, 30 Apr 2023 06:11:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt41E-0005w1-9u for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 06:11:00 -0400 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt41B-00036L-Sa for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 06:11:00 -0400 Original-Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-94f1d0d2e03so243805366b.0 for ; Sun, 30 Apr 2023 03:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682849455; x=1685441455; h=mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=TxX0Aq7mD/3Mp3NZguSsVfo11A7rifwAL86uCApiEQU=; b=Qs3Xttdz3rGDG/ZKr25Ee61PGZcDv5RL4yfZC/I1DPoRiyMGF1UPKCJe2/xZS0AvSc x+QtwGZOLfoWPznllDdRMiYUSuBga8TSqkbK8dN4pr4S2/ZUbo8bF5JVOS5AnSTsar7d sDN+yRKSzj5zwkko0zP9U5YVB9ztiEsCDWenaSUwA+yDE7/Rp5AqtwTVXPQqxuBsUmyl 2J8ouVttle7UDX8A6+uRPYL/Yr460zj+o2q/Yb5LOqK0ubuJGnJQ/Mc+5K/HpW+291KU E1J1FlNebTDI1D7DxMiY0VFnd1Ztlncdwl5n8K0kok1sr6Kvyo73v3zgaBqAmmJiYPSo I1Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682849455; x=1685441455; h=mime-version:subject:message-id:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TxX0Aq7mD/3Mp3NZguSsVfo11A7rifwAL86uCApiEQU=; b=V2UBwhIgDEcjii9QrxqWtBxDI49Oj/uHiWaulELLw7sLT5iSCJpoETTSDamsgR9Zd9 nqBJSaEE9FyUaUASL3MW7JkRv4SsSgywBtJ9PnrG4N04j5cbHz/8sGH0wJXpVsG557hw nrRPkA1VD3gcHrZCWq9wJQwyejw/8p/u3UBtytj4gtDJmGZtEFWzw+9qDtwSl6NQOYqN 60grTosCjS8qQntF8/UZEfwzMjj3nXVT75aStTprwxWjrrks7rcZIlo9jns4M29tFDXx ZfNEysB9MNvBwEK8pQY/PxvvNNEjM7rynhh0blGS2MmqV01qjYps5UFNhIabuC/1KmyR Dg4w== X-Gm-Message-State: AC+VfDzAxm3RURDq5TeXRuQtLgqXhIE7AhAbld3c57hwF+Rg6YPkmOsK aa987wK8Rc/se6UuNatAOgmSuO0WvWU= X-Google-Smtp-Source: ACHHUZ5VmOjYFTgHtB953a+AtB05Ra2UsbXhQgzI4fZf+yYSlsV9o6ilQmw0+QD8hxsiE6ma++/e/w== X-Received: by 2002:a17:907:3686:b0:94f:3cf5:6d7f with SMTP id bi6-20020a170907368600b0094f3cf56d7fmr12120104ejc.46.1682849454590; Sun, 30 Apr 2023 03:10:54 -0700 (PDT) Original-Received: from kurisu ([77.222.156.149]) by smtp.gmail.com with ESMTPSA id a13-20020a1709066d4d00b0094a9b9c4979sm13356472ejt.88.2023.04.30.03.10.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Apr 2023 03:10:54 -0700 (PDT) X-Mailer: Mailspring Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=gamemode1.459@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 30 Apr 2023 10:56:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260839 Archived-At: --644e3eac_66f8bfd3_1b46 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Steps to reproduce: 1. emacs -q 2. M-x shell 3. echo start sudo pacman -S nyancat echo end 4. See, that "end" doesn't get printed. ~ > echo start sudo pacman -S nyancat echo end echo start start ~ > sudo pacman -S nyancat warning: nyancat-1.5.2-2 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change community/nyancat 1.5.2-2 1.5.2-2 0.00 MiB Total Installed Size: 0.06 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] y y (1/1) checking keys in keyring [####################################################################] 100% (1/1) checking package integrity [####################################################################] 100% (1/1) loading package files [####################################################################] 100% (1/1) checking for file conflicts [####################################################################] 100% (1/1) checking available disk space [####################################################################] 100% :: Processing package changes... (1/1) reinstalling nyancat [####################################################################] 100% :: Running post-transaction hooks... (1/2) Reloading system manager configuration... (2/2) Arming ConditionNeedsUpdate... ~ > In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-01-03 built on 2 Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint ansi-color ring time-date subr-x cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 64126 11476) (symbols 48 7189 1) (strings 32 20848 1844) (string-bytes 1 694151) (vectors 16 14694) (vector-slots 8 196111 12327) (floats 8 24 36) (intervals 56 801 1) (buffers 992 12)) --644e3eac_66f8bfd3_1b46 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Steps to reproduce:
1. emacs -q
2. M-x shell
3. echo start
sudo pacman -S nyancat
echo end<= /div>
4. See, that =22end=22 doesn't get printed.

=7E &= gt; echo start
sudo pacman -S nyancat
echo end
<= div>echo start
start
=7E > sudo pacman -S nyancat<= /div>
warning: nyancat-1.5.2-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...=

Package (1)        Old = Version  New Version  Net Change

community/nyanca= t  1.5.2-2      1.5.2-2   &n= bsp;    0.00 MiB

Total Installed Size: = 0.06 MiB
Net Upgrade Size:      0.00 = MiB

:: Proceed with installation=3F =5BY/n=5D y
y=
(1/1) checking keys in keyring     &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;    =5B=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=5D 100%
(1/1) checking package integrity  &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;     =5B=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=5D 100%
(1/1) loading package files   =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =           =5B=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=5D 100%
(1/1) checking = for file conflicts         &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =           =5B=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=5D 100%
(1/1) checking = available disk space         = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;        =5B=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=5D 100%
:: Processing package chang= es...
(1/1) reinstalling nyancat     &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;        =5B=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23=23= =23=23=23=23=23=23=23=23=23=23=5D 100%
:: Running post-transact= ion hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
=7E >

In GNU Emacs 28.2 (build 1, x86=5F64-pc-linux-gnu, GTK+ Version= 3.24.36, cairo version 1.17.6)
 of 2023-01-03 built on 2<= /div>
Windowing system distributor 'The X.Org =46oundation', version = 11.0.12101008
System Description: Arch Linux

Conf= igured using:
 'configure --sysconfdir=3D/etc --prefix=3D/= usr --libexecdir=3D/usr/lib
 --localstatedir=3D/var --with= -cairo --with-harfbuzz --with-libsystemd
 --with-modules -= -with-x-toolkit=3Dgtk3 'C=46LAGS=3D-march=3Dx86-64
 -mtune= =3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D=5F=46ORTI=46Y=5FSOURCE=3D= 2
 -Wformat -Werror=3Dformat-security -fstack-clash-protec= tion
 -fcf-protection -g
 -ffile-prefix-map= =3D/build/emacs/src=3D/usr/src/debug/emacs -flto=3Dauto'
 = 'LD=46LAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dau= to''

Configured features:
ACL CAIRO DBUS =46REETY= PE GI=46 GLIB GMP GNUTLS GPM GSETTINGS HAR=46BUZZ JPEG
JSON LCM= S2 LIBOT=46 LIBSYSTEMD LIBXML2 M17N=5F=46LT MODULES NOTI=46Y INOTI=46Y
PDUMPER PNG RSVG SECCOMP SOUND THREADS TI=46=46 TOOLKIT=5FSCROLL=5F= BARS X11 XDBE
XIM XPM GTK3 ZLIB

Important setting= s:
  value of =24LANG: en=5FUS.UT=46-8
  lo= cale-coding-system: utf-8-unix

Major mode: Shell

<= div>Minor modes in effect:
  shell-dirtrack-mode: t
<= div>  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
<= div>  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t=
  blink-cursor-mode: t
  auto-composition-= mode: t
  auto-encryption-mode: t
  auto-co= mpression-mode: t
  line-number-mode: t
  i= ndent-tabs-mode: t
  transient-mark-mode: t

= Load-path shadows:
None found.

=46eatures:
<= div>(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs=
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-uti= l rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-m= acs
eieio-loaddefs password-cache json map text-property-search= seq byte-opt
gv bytecomp byte-compile cconv mm-decode mm-bodie= s mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader = sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-uti= ls shell pcomplete comint
ansi-color ring time-date subr-x cl-l= oaddefs cl-lib iso-transl tooltip
eldoc paren electric uniquify= ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-w= in x-win term/common-win x-dnd tool-bar dnd
fontset image regex= p-opt fringe tabulated-list replace newcomment
text-mode lisp-m= ode prog-mode register page tab-bar menu-bar rfn-eshadow
isearc= h easymenu timer select scroll-bar mouse jit-lock font-lock syntax
<= div>font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean=
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech e= uropean
ethiopic indian cyrillic chinese composite emoji-zwj ch= arscript charprop
case-table epa-hook jka-cmpr-hook help simple= abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-= face macroexp files
window text-properties overlay sha1 md5 bas= e64 format env code-pages
mule custom widget hashtable-print-re= adable backquote threads dbusbind
inotify lcms2 dynamic-setting= system-font-setting font-render-setting
cairo move-toolbar gtk= x-toolkit x multi-tty make-network-process emacs)

Memory i= nformation:
((conses 16 64126 11476)
 (symbols 4= 8 7189 1)
 (strings 32 20848 1844)
 (string= -bytes 1 694151)
 (vectors 16 14694)
 (vect= or-slots 8 196111 12327)
 (floats 8 24 36)
 = ;(intervals 56 801 1)
 (buffers 992 12))

--644e3eac_66f8bfd3_1b46--