Server IP : 111.118.215.189 / Your IP : 52.14.236.216 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/eshell/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:53 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/eshell/em-unix.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\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\210\314\315\306\316\317\320\321\322\312\305& \210\314\323\306\324\321\325\312\305&\210\314\326\327\330\321\325\312\305&\210\314\331\306\332\321\325\312\305&\210\314\333\334\335\321\325\312\305&\210\314\336\306\337\321\325\312\305&\210\314\340\341\342\321\325\312\305&\210\314\343\344\345\321\325\312\305&\210\314\346\347\350\321\325\312\305&\210\314\351\352\353\321\325\312\305&\210\314\354\347\355\321\325\312\305&\210\314\356\357\360\321\325\312\305&\210\314\361\306\362\321\325\312\305&\210\314\363\306\364\321\325\312\305&\210\314\365\306\366\321\325\312\305&\207" [require eshell esh-opt pcomplete custom-declare-group eshell-unix nil "This module defines many of the more common UNIX utilities as\naliases implemented in Lisp. These include mv, ln, cp, rm, etc. If\nthe user passes arguments which are too complex, or are unrecognized\nby the Lisp variant, the external version will be called (if\navailable). The only reason not to use them would be because they are\nusually much slower. But in several cases their tight integration\nwith Eshell makes them more versatile than their traditional cousins\n(such as being able to use `kill' to kill Eshell background processes\nby name)." :tag "UNIX commands in Lisp" :group eshell-module custom-declare-variable eshell-unix-load-hook "A list of functions to run when `eshell-unix' is loaded." :version "24.1" :type hook eshell-plain-grep-behavior "If non-nil, standalone \"grep\" commands will behave normally.\nStandalone in this context means not redirected, and not on the\nreceiving side of a command pipeline." boolean eshell-no-grep-available (not (eshell-search-path "grep")) "If non-nil, no grep is available on the current machine." eshell-plain-diff-behavior "If non-nil, standalone \"diff\" commands will behave normally.\nStandalone in this context means not redirected, and not on the\nreceiving side of a command pipeline." eshell-plain-locate-behavior (featurep 'xemacs) "If non-nil, standalone \"locate\" commands will behave normally.\nStandalone in this context means not redirected, and not on the\nreceiving side of a command pipeline." eshell-rm-removes-directories "If non-nil, `rm' will remove directory entries.\nOtherwise, `rmdir' is required." eshell-rm-interactive-query (= (user-uid) 0) "If non-nil, `rm' will query before removing anything." eshell-mv-interactive-query (= (user-uid) 0) "If non-nil, `mv' will query before overwriting anything." eshell-mv-overwrite-files t "If non-nil, `mv' will overwrite files without warning." eshell-cp-interactive-query (= (user-uid) 0) "If non-nil, `cp' will query before overwriting anything." eshell-cp-overwrite-files "If non-nil, `cp' will overwrite files without warning." eshell-ln-interactive-query (= (user-uid) 0) "If non-nil, `ln' will query before overwriting anything." eshell-ln-overwrite-files "If non-nil, `ln' will overwrite files without warning." eshell-default-target-is-dot "If non-nil, the default destination for cp, mv or ln is `.'." eshell-du-prefer-over-ange "Use Eshell's du in ange-ftp remote directories.\nOtherwise, Emacs will attempt to use rsh to invoke du on the remote machine."] 10) #@45 Initialize the UNIX support/emulation code. (defalias 'eshell-unix-initialize #[nil "\303\211 >)\203 \304\305\306\307\310$\210\311\302!\210\312\313\n\"\211\207" [module eshell-modules-list eshell-complex-commands eshell-cmpl add-hook pcomplete-try-first-hook eshell-complete-host-reference nil t make-local-variable append ("grep" "egrep" "fgrep" "agrep" "glimpse" "locate" "cat" "time" "cp" "mv" "make" "du" "diff" "su" "sudo")] 6 (#$ . 3803)]) (byte-code "\300\301\302\"\210\300\303\304\"\210\300\305\306\"\207" [defalias eshell/date current-time-string eshell/basename file-name-nondirectory eshell/dirname file-name-directory] 3) #@53 Invoke man, flattening the arguments appropriately. (defalias 'eshell/man #[(&rest args) "\301\302\303\"!\207" [args man apply eshell-flatten-and-stringify] 4 (#$ . 4446)]) (put 'eshell/man 'eshell-no-numeric-conversions t) #@373 Run the info command in-frame with the same behavior as command-line `info', ie: 'info' => goes to top info window 'info arg1' => IF arg1 is a file, then visits arg1 'info arg1' => OTHERWISE goes to top info window and then menu item arg1 'info arg1 arg2' => does action for arg1 (either visit-file or menu-item) and then menu item arg2 etc. (defalias 'eshell/info #[(&rest args) "\302\303!\210@;\204 \304\202/ \305\306@!!\203 \306@!\202/ \305\306@!\307P!\205/ \306@!\307P\211\203? A\310 \311\"\210\202B \312 \210\205S \313@!\210A\211\204F \304)\207" [args file require info nil file-exists-p expand-file-name ".info" Info-find-node "Top" Info-directory Info-menu] 4 (#$ . 4678)]) #@66 From PATH, remove all of the given FILES, perhaps interactively. (defalias 'eshell-remove-entries #[(path files &optional top-level) "\205\353 \306\307\310@!\"\203 \203\343 \311\312\n\"\210)\202\343 \313@!\203\211 \314@!\204\211 \f\203E \315\316@\"\211\312\n \"\210)\317\312\n \"\210*\204\343 \203Y \320\315\321@\"!\203\343 \322@\323\211E\211\324\325 \326 \327%\210.\202\343 \f\203\243 \315\330@\"\211\312\n \"\210)\317\312\n \"\210*\204\343 \203\267 \320\315\331@\"!\203\343 \332@\323D\211\324\325 \326 \327%\210.A\211\204 \327\207" [files top-level object eshell-error-handle em-verbose eshell-output-handle string-match "\\`\\.\\.?\\'" file-name-nondirectory "rm: cannot remove `.' or `..'\n" eshell-output-object file-directory-p file-symlink-p format "rm: removing directory `%s'" "\n" y-or-n-p "rm: remove directory `%s'? " delete-directory t eshell-printn eshell-errorn eshell-exec-lisp nil "rm: removing file `%s'" "rm: remove `%s'? " delete-file em-preview em-interactive args func errprint printer] 7 (#$ . 5409)]) #@168 Implementation of rm in Lisp. This is implemented to call either `delete-file', `kill-buffer', `kill-process', or `unintern', depending on the nature of the argument. (defalias 'eshell/rm #[(&rest args) "\306!\211\307\211\211\211\211\211\211\211\211\211\f\f \310\311\312\313#.\207" [args temp-args ext-command last-value usage-msg em-verbose eshell-flatten-list nil eshell-do-opt "rm" ((104 "help" nil nil "show this usage screen") (102 "force" nil force-removal "force removal") (105 "interactive" nil em-interactive "prompt before any removal") (110 "preview" nil em-preview "don't change anything on disk") (114 "recursive" nil em-recursive "remove the contents of directories recursively") (82 nil nil em-recursive "(same)") (118 "verbose" nil em-verbose "explain what is being done") :preserve-args :external "rm" :show-usage :usage "[OPTION]... FILE...\nRemove (unlink) the FILE(s).") #[nil "\204 \n\203 \203 \306\203\257@;\203! \307@!\2020 @\247\203. \310@!\2020 @\311\f!\203\220 \203W \312\313\f\"\211\"\"\314\"#\"\210)\315\"\314\"#\"\210*$\204\247\203i \316\312\317\f\"!\203\247\320\fC\211%%\321\322%%&'\323'&%\306%\210.\202\247\f(\324\325!\205\235 \325(!)\203\372 \203\301 \312\326\f\"\211\"\"\314\"#\"\210)\315\"\314\"#\"\210*$\204\247\203\323 \316\312\327\f\"!\203\247\330\fC\211%%\321\322%%&'\323'&%\306%\210.\202\247\f9\203X \203\312\331\f\"\211\"\"\314\"#\"\210)\315\"\314\"#\"\210*$\204\247\2031\316\312\332\f\"!\203\247\333\fC\211%%\321\322%%&'\323'&%\306%\210.\202\247\f;\203\247\334\f!\203\240\335\f!\204\240)\204s*\203\217$\204\205\203\205\316\312\336\f\"!\203\247\337\306\fC\340#\210\202\247\312\341\f\"\"\314\"+\"\210)\202\247\337\306\fC\340#\210)A\211\204 \306\207" [em-interactive eshell-rm-interactive-query force-removal args entry em-verbose nil directory-file-name number-to-string bufferp format "rm: removing buffer `%s'" eshell-output-object "\n" y-or-n-p "rm: delete buffer `%s'? " kill-buffer eshell-printn eshell-errorn eshell-exec-lisp fboundp processp "rm: killing process `%s'" "rm: kill process `%s'? " kill-process "rm: uninterning symbol `%s'" "rm: unintern symbol `%s'? " unintern file-directory-p file-symlink-p "rm: descend into directory `%s'? " eshell-remove-entries t "rm: %s: is a directory\n" object eshell-output-handle em-preview func errprint printer proc em-recursive eshell-rm-removes-directories eshell-error-handle] 7] em-recursive em-preview em-interactive force-removal] 11 (#$ . 6530)]) (put 'eshell/rm 'eshell-no-numeric-conversions t) #@34 Implementation of mkdir in Lisp. (defalias 'eshell/mkdir #[(&rest args) "\305!\306\307\")\310\211\211\211\311\312\313\314#-\207" [args temp-args ext-command last-value usage-msg eshell-flatten-list mapcar eshell-stringify nil eshell-do-opt "mkdir" ((104 "help" nil nil "show this usage screen") :external "mkdir" :show-usage :usage "[OPTION] DIRECTORY...\nCreate the DIRECTORY(ies), if they do not already exist.") #[nil "\203'