From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "alexei28" Newsgroups: gmane.emacs.bugs Subject: bug#32883: 26.1; Emacs not response in shell mode Date: Sun, 30 Sep 2018 18:14:35 +0300 Message-ID: <000401d458d0$4cb8d350$e62a79f0$@gmail.com> References: <003401d45891$d60e7180$822b5480$@gmail.com> <834le75ov7.fsf@gnu.org> <005001d458a1$bc23d1b0$346b7510$@gmail.com> <831s9b5ivr.fsf@gnu.org> <000701d458b3$406fdc50$c14f94f0$@gmail.com> <83wor342br.fsf@gnu.org> <000e01d458b7$488a0010$d99e0030$@gmail.com> <83tvm7406s.fsf@gnu.org> <001601d458bd$718ac4d0$54a04e70$@gmail.com> <83r2hb3y8i.fsf@gnu.org> <001701d458c3$5113b4e0$f33b1ea0$@gmail.com> <83pnwv3xhw.fsf@gnu.org> <001801d458c6$7eb5ce80$7c216b80$@gmail.com> <83o9cf3w55.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538320392 28377 195.159.176.226 (30 Sep 2018 15:13:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Sep 2018 15:13:12 +0000 (UTC) Cc: 32883@debbugs.gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 30 17:13:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6dP9-0007Gm-RF for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 17:13:08 +0200 Original-Received: from localhost ([::1]:55802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6dRD-0007HX-EK for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Sep 2018 11:15:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6dR3-0007GZ-Nl for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 11:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6dR0-0002PK-Jq for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 11:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6dR0-0002PE-FM for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g6dR0-0005KJ-AD for bug-gnu-emacs@gnu.org; Sun, 30 Sep 2018 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "alexei28" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Sep 2018 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32883-submit@debbugs.gnu.org id=B32883.153832048520431 (code B ref 32883); Sun, 30 Sep 2018 15:15:02 +0000 Original-Received: (at 32883) by debbugs.gnu.org; 30 Sep 2018 15:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:60112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6dQj-0005JT-1S for submit@debbugs.gnu.org; Sun, 30 Sep 2018 11:14:45 -0400 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:34430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6dQh-0005JF-8E for 32883@debbugs.gnu.org; Sun, 30 Sep 2018 11:14:43 -0400 Original-Received: by mail-wm1-f48.google.com with SMTP id z25-v6so1280838wmf.1 for <32883@debbugs.gnu.org>; Sun, 30 Sep 2018 08:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=AZ3bc6uzmHnbukxc0T/6Q1qf4/mKbQ5OUnOMatkPyso=; b=uBskxJIu46SdhucThcxufHH32tQ33EcBjzHEImNKGsCL1sRHP0haWZrtEqI05k5XNl Sk8BVoDma02ianbrE8rQ1SWgfDfJmhtwGfTKlBdpeimmbOVf4ZC/VWexoCTtqjarhRik dz2nlbbNLXs/MFZ/g8r9M0XdAH7x8p5s6ZJZ8DmMNTwJlZj7N/StZvcR744QZs/yBntv Kvm4r2k7wqcPCQ0KCLnENFRzqgPgwN9hpONz3UrXSoV96JphVljrq2oLjECGo9VpE72s nfbEX0jIMc6l9xsD0OiALW5ZOUvLz7svhb882IOzKzSmB14PYxS6bKZ7xClqMlGndeNb i27g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=AZ3bc6uzmHnbukxc0T/6Q1qf4/mKbQ5OUnOMatkPyso=; b=QvloL7sUTiby0mWd0Rd0kNjiVnaQLReFOoJnC9INGGWlcobu+zMD6hyJ7rmLISsHwq SdlT42CMYHOFk2s553ySuO5wakNs1bp/hmvhmzcWPKuzVPYHRriHt8kX9zsGUlNnRsi1 pVqwJ3l/n5K7t88N7kM4N8S0o8uRd+arf5sVTxqzLOYbHb2G2WdOzgxa7+WMv/n45aos QUBvqyAq4HGjGac14GWyL4UldsJdZBq1QAi0Ep2p1wlCYAikw3jhZN2JU0I2mOFxyqy3 p/T1qdv6eN+dh3w+y55eaX5/EFVA66fHn0MoXyqpVkgBwGhSLo0vOXJxwsePN5L2dgsP PRCg== X-Gm-Message-State: ABuFfojo9IJn5FDP2Axu2b226yAG8xZ2kPLf+S3tPhMJHoydM8KIsRG/ Ka/EtwldM7bJToAsJ50Hp8TePh7g X-Google-Smtp-Source: ACcGV63LOfvey1ZWOIWxSpXXToExRbacV9X3vR6c58ZjNA9nLskcnMxloFBOap/WTeiTDE4VF8p6aA== X-Received: by 2002:a1c:2283:: with SMTP id i125-v6mr6702401wmi.28.1538320477047; Sun, 30 Sep 2018 08:14:37 -0700 (PDT) Original-Received: from Zhelev ([188.138.204.216]) by smtp.gmail.com with ESMTPSA id s1-v6sm970717wrw.35.2018.09.30.08.14.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 08:14:36 -0700 (PDT) In-Reply-To: <83o9cf3w55.fsf@gnu.org> X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQCnNM52IB6ywk+TYaua2AIVh/NnEAJigEFqAooQYn4CBLphcAJ0MGbUAJnyZH0CW+yRHAJOUFn7Ai22uBYCN86H5QK0GVSOATolpW0B3NcPcQGgeYQJpo9dJ/A= Content-Language: en-us X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150820 Archived-At: -----Original Message----- From: Eli Zaretskii =20 Sent: Sunday, September 30, 2018 17:20 To: alexei28 Cc: 32883@debbugs.gnu.org Subject: Re: bug#32883: 26.1; Emacs not response in shell mode > From: "alexei28" > Cc: <32883@debbugs.gnu.org> > Date: Sun, 30 Sep 2018 17:04:24 +0300 >=20 > 1. M-x shell > 2. Start some application that generate text about 1 minute to=20 > standard output. > 3. =E1t the fifth second press arrow up and move cursor to the center = of=20 > the screen (the text continues generated) 4. And now press Enter. It's = > important to press Enter when text is continue to generate in shell=20 > mode. > 5. And Emacs will "freeze". Not response any more. > Only "C-g" can help or not to unlock this. > I always kill Emacs process from Task Manager In my case, a single C-g stops waiting, and the application generating = the output resumes running. Do you have a program named cat.exe somewhere? If you do, can you use = that program instead of adb logcat -vtime? You can invoke cat.exe like this: cat some-file I do the another test. 1. M-x shell 2. Open some text file (about 2 MB) by command "cat some_text.txt". In shell mode something like this: Microsoft Windows [Version 10.0.17134.285] (c) 2018 Microsoft Corporation. All rights reserved. d:\TEMP\temp>cat trace.log.2018-08-09 4. Start command 5. And while file is scrolling I press arrow up. As result cursor is on = the center of screen 6. Press Enter 7. And Emacs also "freeze". Not response. In this case Emacs is not = response only when file is opening (scrolling).=20 8. After "cat" finish the Emacs is success unlock. In this case (file = size =3D 2 MB) it's unlock after 30 seconds.=20 But suppose file has size 200 MB. It's then unlock after one hour? It's not good. I used the output from logcat you sent instead of "some-file". I cannot cause Emacs to lock up this way. I can always interrupt the waiting = with a single C-g. In any case, when you press Enter, you actually send to the shell the = line that is at the cursor, so maybe you send something that runs some other command in your case, I don't know. Why do you need to type Enter as long as the command didn't finish = producing its output? It's happens by accident.=20