?
Current Path : /usr/share/emacs/24.3/lisp/eshell/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/eshell/esh-proc.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:55 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/eshell/esh-proc.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\304\314\315\316\317\320\310\303& \210\312\321\322\323\317\324\310\303&\210\312\325\326\327\317\324\310\303&\210\312\330\331\332\317\333\310\303&\210\312\334\331\335\317\333\310\303&\210\312\336\337\340\317\341\310\303&\210\312\342\304\343\317\320\310\303&\210\312\344\304\345\315\316\317\320\310\303& \207" [provide esh-proc custom-declare-group eshell-proc nil "When Eshell invokes external commands, it always does so\nasynchronously, so that Emacs isn't tied up waiting for the process to\nfinish." :tag "Process management" :group eshell custom-declare-variable eshell-proc-load-hook "A hook that gets run when `eshell-proc' is loaded." :version "24.1" :type hook eshell-process-wait-seconds 0 "The number of seconds to delay waiting for a synchronous process." integer eshell-process-wait-milliseconds 50 "The number of milliseconds to delay waiting for a synchronous process." eshell-done-messages-in-minibuffer t "If non-nil, subjob \"Done\" messages will display in minibuffer." boolean eshell-delete-exited-processes "If nil, process entries will stick around until `jobs' is run.\nThis variable sets the buffer-local value of `delete-exited-processes'\nin Eshell buffers.\n\nThis variable causes Eshell to mimic the behavior of bash when set to\nnil. It allows the user to view the exit status of a completed subjob\n(process) at their leisure, because the process entry remains in\nmemory until the user examines it using \\[list-processes].\n\nOtherwise, if `eshell-done-messages-in-minibuffer' is nil, and this\nvariable is set to t, the only indication the user will have that a\nsubjob is done is that it will no longer appear in the\n\\[list-processes\\] display.\n\nNote that Eshell will have to be restarted for a change in this\nvariable's value to take effect." eshell-reset-signals "^\\(interrupt\\|killed\\|quit\\|stopped\\)" "If a termination signal matches this regexp, the terminal will be reset." regexp eshell-exec-hook "Called each time a process is exec'd by `eshell-gather-process-output'.\nIt is passed one argument, which is the process that was just started.\nIt is useful for things that must be done each time a process is\nexecuted in a eshell mode buffer (e.g., `process-kill-without-query').\nIn contrast, `eshell-mode-hook' is only executed once when the buffer\nis created." eshell-kill-hook "Called when a process run by `eshell-gather-process-output' has ended.\nIt is passed two arguments: the process that was just ended, and the\ntermination status (as a string). Note that the first argument may be\nnil, in which case the user attempted to send a signal, but there was\nno relevant process. This can be used for displaying help\ninformation, for example."] 10) (defvar eshell-current-subjob-p nil) #@47 A list of the current status of subprocesses. (defvar eshell-process-list nil (#$ . 3384)) #@136 Function run when killing a process. Runs `eshell-reset-after-proc' and `eshell-kill-hook', passing arguments PROC and STATUS to both. (defalias 'eshell-kill-process-function #[(proc status) "\303>\204 \303 \n\"\210\304\300 \n#\207" [eshell-kill-hook proc status eshell-reset-after-proc run-hook-with-args] 4 (#$ . 3482)]) #@39 Initialize the process handling code. (defalias 'eshell-proc-initialize #[nil "\301\302!\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\207" [eshell-command-map make-local-variable eshell-process-list define-key [(meta 105)] eshell-insert-process [(control 99)] eshell-interrupt-process [(control 107)] eshell-kill-process [(control 100)] eshell-send-eof-to-process [(control 115)] list-processes [(control 92)] eshell-quit-process] 4 (#$ . 3813)]) #@145 Reset the command input location after a process terminates. The signals which will cause this to happen are matched by `eshell-reset-signals'. (defalias 'eshell-reset-after-proc #[(proc status) ";\205A \306 \"\205A \307db\210\310 \310 \310 ` \310 \212b\210n\2063 \311\312\307\"))\210\n?\205@ \313\314!\210db)\207" [status eshell-reset-signals no-hooks eshell-last-input-start eshell-last-input-end eshell-last-output-start string-match nil point-marker "\n" eshell-output-filter run-hooks eshell-post-command-hook eshell-last-output-block-begin eshell-last-output-end string] 3 (#$ . 4330)]) #@45 Wait until PROC has successfully completed. (defalias 'eshell-wait-for-process #[(&rest procs) "\2055 @\211\305\306!\205 \306 !)\203, \n\236\203, \307 \203$ \310 \210\311\f\"\210\202 )A\211\204 \312\207" [procs proc eshell-process-list eshell-process-wait-seconds eshell-process-wait-milliseconds fboundp processp input-pending-p discard-input sit-for nil] 4 (#$ . 4944)]) (defalias 'eshell/wait 'eshell-wait-for-process) #@35 List processes, if there are any. (defalias 'eshell/jobs #[(&rest args) "\300\301!\205 \301 \205 \302 \207" [fboundp process-list list-processes] 2 (#$ . 5383)]) #@43 Kill processes, buffers, symbol or files. (defalias 'eshell/kill #[(&rest args) "\306\211\2034 \n@\307\310!\205 \310!)\204&