unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21498: ps -ef | grep "test" in eshell gives a beep
@ 2015-09-16 13:42 Sum Proxy
  2016-01-08  8:27 ` Marcin Borkowski
  0 siblings, 1 reply; 10+ messages in thread
From: Sum Proxy @ 2015-09-16 13:42 UTC (permalink / raw)
  To: 21498

It also hangs with some of the output.
Emacs version:
GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org
eshell version 2.4.2

Please let me know why this happens and how to fix it. 
Thanks.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: ps -ef | grep "test" in eshell gives a beep
  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>
  0 siblings, 1 reply; 10+ messages in thread
From: Marcin Borkowski @ 2016-01-08  8:27 UTC (permalink / raw)
  To: 21498; +Cc: Sum Proxy

Hello,

I would be thankful if you could check whether the problem persists in
latest Emacs.  If yes, please lay out the steps to reproduce your
problem.  I tried

  ps -ef | grep "test"

in Eshell and it seemed to work fine on the development version of
Emacs; it is possible that the problem disappeared and the bug can be
closed.

Best regards,
Marcin Borkowski

On 2015-09-16, at 17:42, Sum Proxy <sum.proxy@gmail.com> wrote:

> It also hangs with some of the output.
> Emacs version:
> GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org
> eshell version 2.4.2
>
> Please let me know why this happens and how to fix it. 
> Thanks.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: ps -ef | grep "test" in eshell gives a beep
       [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>
  0 siblings, 1 reply; 10+ messages in thread
From: Marcin Borkowski @ 2016-01-08  9:37 UTC (permalink / raw)
  To: Sum Proxy, 21498


On 2016-01-08, at 10:15, Sum Proxy <sum.proxy@gmail.com> wrote:

> I just downloaded and built the latest version from git://git.savannah.gnu.org/emacs.git which is
> GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.2.0, NS appkit-1404.34 Version 10.11.2 (Build 15C50))
>  of 2016-01-08
> And found that the behavior still persists. What kind of input (if any) do you need from me to keep working on it?

Thank you a lot for your prompt response!  Since I am on GNU/Linux, and
after your reply I am pretty confident that this is Mac OS-specific,
I will have to leave it to others for further investigation.  Also, you
might want to evaluate this form: (info "(emacs)Checklist") and make
sure to follow the instructions there (in particular, check whether the
problem appears with emacs -Q).

> Thanks

Thank you for cooperation, and I hope this issue will be resolved!

-- 
Marcin Borkowski               This email was proudly sent
http://mbork.pl                from my Emacs.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: Fwd: Re: bug#21498: ps -ef | grep "test" in eshell gives a beep
       [not found]         ` <72EA8F77-51D6-480D-ACD4-CF46542539A8@gmail.com>
@ 2016-01-11 17:41           ` Marcin Borkowski
  2019-11-06  1:25             ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Marcin Borkowski @ 2016-01-11 17:41 UTC (permalink / raw)
  To: 21498

Forwarding a message from the submitter, confirming that the bug still
occurs in latest Emacs release, without a config file.

On 2016-01-08, at 11:37, Sum Proxy <sum.proxy@gmail.com> wrote:

> I checked for the issue in the latest version with -Q and confirm that it’s there.
> Thanks
>
>> 8 янв. 2016 г., в 12:37, Marcin Borkowski <mbork@mbork.pl> написал(а):
>> 
>> 
>> On 2016-01-08, at 10:15, Sum Proxy <sum.proxy@gmail.com> wrote:
>> 
>>> I just downloaded and built the latest version from git://git.savannah.gnu.org/emacs.git which is
>>> GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.2.0, NS appkit-1404.34 Version 10.11.2 (Build 15C50))
>>> of 2016-01-08
>>> And found that the behavior still persists. What kind of input (if any) do you need from me to keep working on it?

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: Fwd: Re: bug#21498: ps -ef | grep "test" in eshell gives a beep
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Kangas @ 2019-11-06  1:25 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: 21498, Sum Proxy

found 21498 27.0.50
thanks

Marcin Borkowski <mbork@mbork.pl> writes:

> Forwarding a message from the submitter, confirming that the bug still
> occurs in latest Emacs release, without a config file.

I can't reproduce this on GNU/Linux, but I can reproduce it on macOS
using Emacs 27.

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.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
  2019-11-06  1:25             ` Stefan Kangas
@ 2021-12-02  9:28               ` Lars Ingebrigtsen
  2024-07-25 13:36                 ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-02  9:28 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 21498, Marcin Borkowski, Sum Proxy

Stefan Kangas <stefan@marxist.se> 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
  2021-12-02  9:28               ` bug#21498: macos: `ps -ef | grep "test"` in eshell beeps Lars Ingebrigtsen
@ 2024-07-25 13:36                 ` Stefan Kangas
  2024-07-25 15:53                   ` Jim Porter
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Kangas @ 2024-07-25 13:36 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Jim Porter, 21498, Marcin Borkowski, Sum Proxy

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.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
  2024-07-25 13:36                 ` Stefan Kangas
@ 2024-07-25 15:53                   ` Jim Porter
  2024-07-26 22:19                     ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Jim Porter @ 2024-07-25 15:53 UTC (permalink / raw)
  To: Stefan Kangas, Lars Ingebrigtsen; +Cc: 21498, Marcin Borkowski, Sum Proxy

On 7/25/2024 6:36 AM, Stefan Kangas wrote:
> 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.

Is this in Emacs 30? 'eshell-set-exit-info' doesn't exist anywhere in 
Emacs 30 (it's new in 31). Is there something amiss in your build?

If this is with Emacs 31, then I don't see how this error could be 
occurring either. 'eshell-set-exit-info' is just an ordinary function in 
another file, which is always 'require'd when Eshell starts. (If it 
really weren't defined properly, then I'd expect most of the Eshell test 
suite to fail - on all platforms - and it passes for me.)

If you resolve the 'eshell-set-exit-info' issue and the original bug is 
still there, could you try running the Eshell command "eshell-debug 
process" and then run the buggy Eshell command again? This should print 
a bunch of logs about process handling to the "*eshell last cmd*" 
buffer. If I can take a look at that output, I might see something of 
interest.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
  2024-07-25 15:53                   ` Jim Porter
@ 2024-07-26 22:19                     ` Stefan Kangas
  2024-07-26 22:28                       ` Jim Porter
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Kangas @ 2024-07-26 22:19 UTC (permalink / raw)
  To: Jim Porter, Lars Ingebrigtsen; +Cc: 21498, Marcin Borkowski, Sum Proxy

close 21498 30.1
thanks

Jim Porter <jporterbugs@gmail.com> writes:

> On 7/25/2024 6:36 AM, Stefan Kangas wrote:
>> 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.
>
> Is this in Emacs 30? 'eshell-set-exit-info' doesn't exist anywhere in
> Emacs 30 (it's new in 31). Is there something amiss in your build?

Hmm, it seems like there was indeed something amiss in my build.

I've retested the recipe on Emacs 30 and Emacs 31, and it works in both
versions.  So I believe this bug has been fixed, and I'm closing it now.

Thanks!





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21498: macos: `ps -ef | grep "test"` in eshell beeps
  2024-07-26 22:19                     ` Stefan Kangas
@ 2024-07-26 22:28                       ` Jim Porter
  0 siblings, 0 replies; 10+ messages in thread
From: Jim Porter @ 2024-07-26 22:28 UTC (permalink / raw)
  To: Stefan Kangas, Lars Ingebrigtsen; +Cc: 21498, Marcin Borkowski, Sum Proxy

On 7/26/2024 3:19 PM, Stefan Kangas wrote:
> Hmm, it seems like there was indeed something amiss in my build.
> 
> I've retested the recipe on Emacs 30 and Emacs 31, and it works in both
> versions.  So I believe this bug has been fixed, and I'm closing it now.

Including the beeping? If so, excellent!





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-26 22:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-07-25 15:53                   ` Jim Porter
2024-07-26 22:19                     ` Stefan Kangas
2024-07-26 22:28                       ` Jim Porter

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).