403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.217.46
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/eshell/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/eshell/eshell.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312\313\314\315\316\317&	\207" [require esh-util esh-module esh-proc esh-io esh-cmd custom-declare-group eshell nil "Command shell implemented entirely in Emacs Lisp.\nIt invokes no external processes beyond those requested by the\nuser, and is intended to be a functional replacement for command\nshells such as bash, zsh, rc, 4dos." :link (info-link "(eshell)Top") :version "21.1" :group applications] 10)
#@57 Add `eshell-buffer-name' to `same-window-buffer-names'.
(defalias 'eshell-add-to-window-buffer-names #[0 "\301\302\"\207" [eshell-buffer-name add-to-list same-window-buffer-names] 3 (#$ . 586)])
(make-obsolete 'eshell-add-to-window-buffer-names nil "24.3")
#@62 Remove `eshell-buffer-name' from `same-window-buffer-names'.
(defalias 'eshell-remove-from-window-buffer-names #[0 "\302	\"\211\207" [eshell-buffer-name same-window-buffer-names delete] 3 (#$ . 850)])
(byte-code "\300\301\302\303#\210\304\305\306\307\310DD\311\312\313\314\315&\210\304\316\306\307\317DD\320\312\313\314\315&\210\304\321\306\307\322DD\323\312\324\314\315&\207" [make-obsolete eshell-remove-from-window-buffer-names nil "24.3" custom-declare-variable eshell-load-hook funcall function #[0 "\300\207" [nil] 1 #1=""] "A hook run once Eshell has been loaded." :type hook :group eshell eshell-unload-hook #[0 "\300\207" [(eshell-unload-all-modules)] 1 #1#] "A hook run when Eshell is unloaded from memory." eshell-buffer-name #[0 "\300\207" ["*eshell*"] 1 #1#] "The basename used for Eshell buffers.\nThis is the default name used when running `eshell'.\n\nWith a numeric prefix argument to `eshell', the buffer name will\nbe the value of this variable followed by the number.  For\nexample, with the numeric prefix argument 2, the buffer would be\nnamed \"*eshell*<2>\"." string] 8)
#@588 Create an interactive Eshell buffer.
Start a new Eshell session, or switch to an already active
session.  Return the buffer selected (or created).

With a nonnumeric prefix arg, create a new session.

With a numeric prefix arg (as in `\[universal-argument] 42 \[eshell]'), switch
to the session with that number, or create it if it doesn't
already exist.

The buffer name used for Eshell sessions is determined by the
value of `eshell-buffer-name', which see.

Eshell is a shell-like command interpreter.  For more
information on Eshell, see Info node `(eshell)Top'.

(fn &optional ARG)
(defalias 'eshell #[256 "\204\301\300!\210\211\247\203\302\303\304#!\202$\211\203!\305!\202$\302!\211\203.\306!\2042\301\307!\210\310!\210\311\312!\204?\312 \210\207" [eshell-buffer-name cl--assertion-failed get-buffer-create format "%s<%d>" generate-new-buffer buffer-live-p (and buf (buffer-live-p buf)) pop-to-buffer-same-window derived-mode-p eshell-mode] 6 (#$ . 1957) "P"])
#@107 Non-nil if Eshell-Command mode is enabled.
Use the command `eshell-command-mode' to change this variable.
(defvar eshell-command-mode nil (#$ . 2948))
(make-variable-buffer-local 'eshell-command-mode)
#@630 Minor mode for `eshell-command' input.
\{eshell-command-mode-map}

This is a minor mode.  If called interactively, toggle the
`Eshell-Command mode' mode.  If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is `toggle'.  Enable the
mode if ARG is nil, omitted, or is a positive number.  Disable the
mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer,
evaluate `eshell-command-mode'.

The mode's hook is called both when the mode is enabled and when it is
disabled.

(fn &optional ARG)
(defalias 'eshell-command-mode #[256 "\302 \303=\203
?\202\247\203\304W\203\305\202\306\307\301!\2031\310\300	\"\2031\300	B\311\312\203;\313\202<\314\"\210\315\316!\203^\302 \203P\211\302 \232\203^\317\320\203Z\321\202[\322\323#\210\210\324 \210\207" [eshell-command-mode local-minor-modes current-message toggle 1 nil t boundp delq run-hooks eshell-command-mode-hook eshell-command-mode-on-hook eshell-command-mode-off-hook called-interactively-p any message "Eshell-Command mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update] 6 (#$ . 3156) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar eshell-command-mode-hook nil)
(byte-code "\300\301N\204\f\302\300\301\303#\210\302\300\304\305#\210\302\300\306\307C#\207" [eshell-command-mode-hook variable-documentation put "Hook run after entering or leaving `eshell-command-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" custom-type hook standard-value nil] 4)
#@35 Keymap for `eshell-command-mode'.
(defvar eshell-command-mode-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\305#\210\301\307\305#\210\211\262\310!\203$\207\211<\203-\311!\207\312\313\"\207" [make-sparse-keymap define-key [(control 103)] abort-recursive-edit [(control 109)] exit-minibuffer [(control 106)] [(meta control 109)] keymapp easy-mmode-define-keymap error "Invalid keymap %S"] 5) (#$ . 4891))
(byte-code "\301\302\303\303\211%\210\304\305\302\303#\210\306\305\302\307#\207" [eshell-command-mode-map add-minor-mode eshell-command-mode nil defalias eshell-return-exits-minibuffer make-obsolete "28.1"] 6)
#@194 A variable which is non-nil when Eshell is not running interactively.
Modules should use this variable so that they don't clutter
non-interactive sessions, such as when using `eshell-command'.
(defvar eshell-non-interactive-p nil (#$ . 5540))
#@137 Execute the Eshell command string COMMAND.
With prefix ARG, insert output into the current buffer at point.

(fn &optional COMMAND ARG)
(defalias 'eshell-command #[512 "\211\204\262\305\306\307\310!\211\311\312#M\210\311\313\"\216\314\315\"\210\2045\316\317!\262\320\211\n>\262\2035\321!\210)\266)\204A\322\323!\210\211\203O\324\325\326p!\"P\262\212\327\330!q\305\331 \210\332\333\334!D!\335\203n<\203n\336\202r\305\262\337\340\341!!\203~\342!\210\343!\210\203\250\203\216\344!\210\203\226\345\346!\210db\210n\203\250o\204\250\347\350!\210\202\231\203\262\340!\204\266\345\351!\210?\205\n\204\303\352\202\307\353ed\"\211\354U\203\327\355\356!\210\342!\202\211\357U\203\351\355\360\361 \"\210\342!\202\362 r\311\363\"\216\364\365!!\210eb\210\205\f\205\366 *\262\262\266\203)\262)\207" [current-prefix-arg eshell-non-interactive-p eshell-modules-list eshell-last-async-proc temp-buffer-resize-mode t #[0 "\300 \210\301\302!\207" [eshell-mode eshell-command-mode 1] 2] make-symbol "minibuffer-setup" make-closure #[0 "\302\303\301\"\210\300 \207" [V0 V1 remove-hook minibuffer-setup-hook] 3] #[0 "\301\302\300\"\207" [V0 remove-hook minibuffer-setup-hook] 3] add-hook minibuffer-setup-hook read-from-minibuffer "Emacs shell command: " eshell-hist eshell-add-input-to-history error "No command specified!" format " >>> #<buffer %s>" buffer-name generate-new-buffer " *eshell cmd*" eshell-mode eshell-eval-command eshell-commands eshell-parse-command nil "*Eshell Async Command Output*" "*Eshell Command Output*" buffer-live-p get-buffer kill-buffer rename-buffer eshell-wait-for-process cl--assertion-failed (not (eshell-interactive-process)) delete-char -1 (and buf (buffer-live-p buf)) 2 count-lines 0 message "(There was no command output)" 1 "%s" buffer-string internal--before-save-selected-window #[0 "\301\300!\207" [V0 internal--after-save-selected-window] 2] select-window display-buffer resize-temp-buffer-window] 11 (#$ . 5790) nil])
#@310 Execute the given Eshell COMMAND, and return the result.
The result might be any Lisp object.
If STATUS-VAR is a symbol, it will be set to the exit status of the
command.  This is the only way to determine whether the value returned
corresponding to a successful execution.

(fn COMMAND &optional STATUS-VAR)
(defalias 'eshell-command-result #[513 "\204\211\203\2119\203\211\302L\210\303\207\304\305\306\"r\211q\210\307\310\"\216\306\311 \210\312\313\314\315!DD\306\"\211@\316=\204;\317\320!\210\203H9\203H	L\210\211A@\262+\207" [eshell-non-interactive-p eshell-last-command-status 0 nil generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	\302\300!\207" [V0 buffer-name kill-buffer] 2] eshell-mode eshell-do-eval eshell-commands eshell-command-to-value eshell-parse-command quote cl--assertion-failed (eq (car result) 'quote)] 8 (#$ . 7809)])
#@267 Unload all modules that were loaded by Eshell, if possible.
If the user has require'd in any of the modules, or customized a
variable with a :require tag (such as `eshell-prefer-to-shell'), it
will be impossible to unload Eshell completely without restarting
Emacs.
(defalias 'eshell-unload-all-modules #[0 "\300\301!\205;\301\302!\211\2037\211@\303!\2030\3041/\305\306\307!\"\210\310!\210\305\311\307!\"0\210\2020\210A\266\202\202	\210\305\312!\207" [fboundp eshell-subgroups eshell featurep (error) message "Unloading %s..." symbol-name unload-feature "Unloading %s...done" "Unloading eshell...done"] 6 (#$ . 8691)])
(byte-code "\300\301!\210\302\303!\207" [run-hooks eshell-load-hook provide eshell] 2)

Youez - 2016 - github.com/yon3zu
LinuXploit