unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Jim Porter <jporterbugs@gmail.com>,
	21498@debbugs.gnu.org, Marcin Borkowski <mbork@mbork.pl>,
	Sum Proxy <sum.proxy@gmail.com>
Subject: bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
Date: Thu, 25 Jul 2024 13:36:47 +0000	[thread overview]
Message-ID: <CADwFkmm1Lq8Br7AeJLwpZ4rf-a4FaMNdDZAAkTkqq11uhvauSQ@mail.gmail.com> (raw)
In-Reply-To: <87czmf73uz.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Thu, 02 Dec 2021 10:28:20 +0100")

found 21498 30.0.60
found 21498 31.0.50
thanks

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> The recipe can in my case be simplified to:
>>
>> 0. emacs -Q
>> 1. M-x eshell
>> 2. echo foo | grep foo
>>
>> Results: I see the line "foo" printed, then it stalls until I kill it
>> with C-c.
>>
>> I never see the beep the OP talks about, but I see the same stalling
>> as above when I say 'ps -ef | grep "test"'.
>>
>> Perhaps this is caused by some difference between BSD grep and GNU
>> grep.
>
> I re-tested this in Emacs 29 with the current Macos, and the bug is
> still present there.

I've tested this on Emacs 30 on mac OS 14.5, and the bug is still
present.  I now get this backtrace, however:

Debugger entered--Lisp error: (void-function eshell-set-exit-info)
  eshell-set-exit-info(0 t)
  #f(compiled-function () #<bytecode 0x1cf599f366a88a85>)()
  eshell-sentinel(#<process grep> "finished\n")

Copying in Jim Porter, in case he has any ideas.





  reply	other threads:[~2024-07-25 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-16 13:42 bug#21498: ps -ef | grep "test" in eshell gives a beep Sum Proxy
2016-01-08  8:27 ` Marcin Borkowski
     [not found]   ` <228BD249-9B51-4CF5-BB6E-3274598B647C@gmail.com>
     [not found]     ` <8E672BF7-96D1-4ECE-A4E9-B1CC39E102AA@gmail.com>
2016-01-08  9:37       ` Marcin Borkowski
     [not found]         ` <72EA8F77-51D6-480D-ACD4-CF46542539A8@gmail.com>
2016-01-11 17:41           ` bug#21498: Fwd: " Marcin Borkowski
2019-11-06  1:25             ` Stefan Kangas
2021-12-02  9:28               ` bug#21498: macos: `ps -ef | grep "test"` in eshell beeps Lars Ingebrigtsen
2024-07-25 13:36                 ` Stefan Kangas [this message]
2024-07-25 15:53                   ` Jim Porter
2024-07-26 22:19                     ` Stefan Kangas
2024-07-26 22:28                       ` Jim Porter

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=CADwFkmm1Lq8Br7AeJLwpZ4rf-a4FaMNdDZAAkTkqq11uhvauSQ@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=21498@debbugs.gnu.org \
    --cc=jporterbugs@gmail.com \
    --cc=larsi@gnus.org \
    --cc=mbork@mbork.pl \
    --cc=sum.proxy@gmail.com \
    /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).