Function: eshell-read-process-name
eshell-read-process-name is a byte-compiled function defined in
esh-proc.el.gz.
Signature
(eshell-read-process-name PROMPT)
Documentation
Read the name of a process from the minibuffer, using completion.
The prompt will be set to PROMPT.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-proc.el.gz
;(defun eshell-stop-process ()
; "Send STOP signal to process."
; (interactive)
; (unless (eshell-process-interact 'stop-process)
; (eshell--reset-after-signal "stopped\n")))
;(defun eshell-continue-process ()
; "Send CONTINUE signal to process."
; (interactive)
; (unless (eshell-process-interact 'continue-process)
; ;; jww (1999-09-17): this signal is not dealt with yet. For
; ;; example, `eshell-reset' will be called, and so will
; ;; `eshell-resume-eval'.
; (eshell--reset-after-signal "continue\n")))
;;; Special references
(defun eshell-read-process-name (prompt)
"Read the name of a process from the minibuffer, using completion.
The prompt will be set to PROMPT."
(completing-read prompt
(mapcar
(lambda (proc)
(cons (process-name proc) t))
(process-list))
nil t))