Function: eshell-send-eof-to-process

eshell-send-eof-to-process is an interactive and byte-compiled function defined in esh-proc.el.gz.

Signature

(eshell-send-eof-to-process)

Documentation

Send EOF to process.

Key Bindings

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-kill-process-function nil "stopped")))

;(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-kill-process-function nil "continue")))

(defun eshell-send-eof-to-process ()
  "Send EOF to process."
  (interactive)
  (require 'esh-mode)
  (declare-function eshell-send-input "esh-mode"
                    (&optional use-region queue-p no-newline))
  (eshell-send-input nil nil t)
  (eshell-process-interact 'process-send-eof))