;ELC ;;; compiled by jimb@geech.gnu.ai.mit.edu on Tue Jul 6 00:22:40 1993 ;;; from file /gd/gnu/emacs/19.0/lisp/vmsproc.el ;;; emacs version 19.15.16. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "This file was compiled for Emacs 19")) (defvar display-subprocess-window nil "\ If non-nil, the suprocess window is displayed whenever input is received.") (defvar command-prefix-string "$ " "\ String to insert to distinguish commands entered by user.") (byte-code "ÀÁ!„ÂÀÃ!„ „#Ä Å ÆÇ#ˆÅ ÈÉ#ˆÂ‡" [boundp subprocess-running nil command-mode-map make-sparse-keymap define-key " " command-send-input "" command-kill-line] 4) (defalias 'subprocess-input #[(name str) "ƒÁ\n!ˆp\nqˆdbˆ cˆÅcˆ q)‡" [display-subprocess-window display-buffer subprocess-buf old-buffer str 10] 2 "\ Handles input from a subprocess. Called by Emacs."]) (defalias 'subprocess-exit #[(name) "À‰‡" [nil subprocess-running] 2 "\ Called by Emacs upon subprocess exit."]) (defalias 'start-subprocess #[nil "ƒÁÂ!ˆÃÄ!Š qˆÆ!ˆ)ÈÉÊË#‰…$ÌÉÍ\"‡" [subprocess-running return t get-buffer-create "*COMMAND*" subprocess-buf use-local-map command-mode-map spawn-subprocess 1 subprocess-input subprocess-exit send-command-to-subprocess "ON SEVERE_ERROR THEN CONTINUE"] 5 "\ Spawns an asynchronous subprocess with output redirected to the buffer *COMMAND*. Within this buffer, use C-m to send the last line to the subprocess or to bring another line to the end."]) (defalias 'subprocess-command-to-buffer #[(command buffer) "À‰ ÄÅÆ \"O ÅÆ \"ÀOÇ\nÀÀÉ &*‡" [nil args cmd command 0 string-match " " call-process buffer "*dcl*"] 7 "\ Execute COMMAND and redirect output into BUFFER."]) (defalias 'subprocess-command #[nil "„Á ˆ… !ˆdb‡" [subprocess-running start-subprocess pop-to-buffer subprocess-buf] 2 "\ Starts asynchronous subprocess if not running and switches to its window." nil]) (defalias 'command-send-input #[nil "Àyˆ`Áˆ`{mƒ3 „Ä ˆ …UÀyˆÅÆ\n\"ˆƒ-ÀyˆcˆÈÆ!‚UÉ ˆÊ ˆÈÆ!ˆ\nÀGO˜ƒS\nGÁOc‚U\nc)‡" [0 nil current-line subprocess-running start-subprocess send-command-to-subprocess 1 command-prefix-string next-line end-of-buffer backward-char] 4 "\ If at last line of buffer, sends the current line to the spawned subprocess. Otherwise brings back current line to the last line for resubmission." nil]) (defalias 'command-kill-line #[nil "ÀyˆÁ ‡" [0 kill-line] 1 "\ Kills the current line. Used in command mode." nil]) (define-key esc-map "$" (quote subprocess-command))