all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: process-attributes-ps-args / process-attributes-ps-format for Darwin
Date: Tue, 12 Apr 2022 09:46:32 +0200	[thread overview]
Message-ID: <87wnfu217r.fsf@gmx.de> (raw)
In-Reply-To: <m25ynfrv2f.fsf@fastmail.fm> (Filipp Gunbin's message of "Tue, 12 Apr 2022 03:42:32 +0300")

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> Hello Michael,

Hi Filipp,

> Here's the patch for Darwin.

Thanks for this, I've applied it in your name.

> Also I've added a piece of code to automatically set profile for local
> sudo case, so the users on macOS don't see the empty list in Proced by
> default.

Yep. I've adapted it a little bit; there's no need to discriminate for
"sudo" profile and "root" user. The ps command shall behave similar for
everybody on a macOS machine.

> Strangely, ps on macOS doesn't have keyword to output group name, so
> I've omitted it.

Some attributes are also missing for other systems. I believe, the most
important attributes we need are `pid', `comm', and `state'.

> Thanks,
> Filipp

Best regards, Michael.



  reply	other threads:[~2022-04-12  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  0:42 process-attributes-ps-args / process-attributes-ps-format for Darwin Filipp Gunbin
2022-04-12  7:46 ` Michael Albinus [this message]
2022-04-12 16:41   ` Filipp Gunbin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnfu217r.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.