Mercurial > emacs
comparison lisp/shell.el @ 10377:2123413a483e
Doc fixes (simon's email address and shell-mode)
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Tue, 10 Jan 1995 12:08:21 +0000 |
parents | e7b821dcdbc9 |
children | 7716de3fb4b6 |
comparison
equal
deleted
inserted
replaced
10376:b1c4515958b6 | 10377:2123413a483e |
---|---|
1 ;;; shell.el --- specialized comint.el for running the shell. | 1 ;;; shell.el --- specialized comint.el for running the shell. |
2 | 2 |
3 ;; Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Olin Shivers <shivers@cs.cmu.edu> | 5 ;; Author: Olin Shivers <shivers@cs.cmu.edu> |
6 ;; Maintainer: Simon Marshall <s.marshall@dcs.hull.ac.uk> | 6 ;; Maintainer: Simon Marshall <simon@gnu.ai.mit.edu> |
7 ;; Keywords: processes | 7 ;; Keywords: processes |
8 | 8 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
10 | 10 |
11 ;; GNU Emacs is free software; you can redistribute it and/or modify | 11 ;; GNU Emacs is free software; you can redistribute it and/or modify |
25 ;;; Commentary: | 25 ;;; Commentary: |
26 | 26 |
27 ;;; Please send me bug reports, bug fixes, and extensions, so that I can | 27 ;;; Please send me bug reports, bug fixes, and extensions, so that I can |
28 ;;; merge them into the master source. | 28 ;;; merge them into the master source. |
29 ;;; - Olin Shivers (shivers@cs.cmu.edu) | 29 ;;; - Olin Shivers (shivers@cs.cmu.edu) |
30 ;;; - Simon Marshall (s.marshall@dcs.hull.ac.uk) | 30 ;;; - Simon Marshall (simon@gnu.ai.mit.edu) |
31 | 31 |
32 ;;; This file defines a a shell-in-a-buffer package (shell mode) built | 32 ;;; This file defines a a shell-in-a-buffer package (shell mode) built |
33 ;;; on top of comint mode. This is actually cmushell with things | 33 ;;; on top of comint mode. This is actually cmushell with things |
34 ;;; renamed to replace its counterpart in Emacs 18. cmushell is more | 34 ;;; renamed to replace its counterpart in Emacs 18. cmushell is more |
35 ;;; featureful, robust, and uniform than the Emacs 18 version. | 35 ;;; featureful, robust, and uniform than the Emacs 18 version. |
255 "Major mode for interacting with an inferior shell. | 255 "Major mode for interacting with an inferior shell. |
256 Return after the end of the process' output sends the text from the | 256 Return after the end of the process' output sends the text from the |
257 end of process to the end of the current line. | 257 end of process to the end of the current line. |
258 Return before end of process output copies the current line (except | 258 Return before end of process output copies the current line (except |
259 for the prompt) to the end of the buffer and sends it. | 259 for the prompt) to the end of the buffer and sends it. |
260 M-x send-invisible reads a line of text without echoing it, and sends it to | 260 \\[send-invisible] reads a line of text without echoing it, and sends it to |
261 the shell. This is useful for entering passwords. Or, add the function | 261 the shell. This is useful for entering passwords. Or, add the function |
262 `comint-watch-for-password-prompt' to `comint-output-filter-functions'. | 262 `comint-watch-for-password-prompt' to `comint-output-filter-functions'. |
263 | 263 |
264 If you want to make multiple shell buffers, rename the `*shell*' buffer | |
265 using \\[rename-buffer] or \\[rename-uniquely] and start a new shell. | |
266 | |
264 If you accidentally suspend your process, use \\[comint-continue-subjob] | 267 If you accidentally suspend your process, use \\[comint-continue-subjob] |
265 to continue it. | 268 to continue it. |
266 | 269 |
267 cd, pushd and popd commands given to the shell are watched by Emacs to keep | 270 `cd', `pushd' and `popd' commands given to the shell are watched by Emacs to |
268 this buffer's default directory the same as the shell's working directory. | 271 keep this buffer's default directory the same as the shell's working directory. |
269 M-x dirs queries the shell and resyncs Emacs' idea of what the current | 272 \\[dirs] queries the shell and resyncs Emacs' idea of what the current |
270 directory stack is. | 273 directory stack is. |
271 M-x dirtrack-toggle turns directory tracking on and off. | 274 \\[dirtrack-toggle] turns directory tracking on and off. |
272 | 275 |
273 \\{shell-mode-map} | 276 \\{shell-mode-map} |
274 Customization: Entry to this mode runs the hooks on `comint-mode-hook' and | 277 Customization: Entry to this mode runs the hooks on `comint-mode-hook' and |
275 `shell-mode-hook' (in that order). Before each input, the hooks on | 278 `shell-mode-hook' (in that order). Before each input, the hooks on |
276 `comint-input-filter-functions' are run. After each shell output, the hooks | 279 `comint-input-filter-functions' are run. After each shell output, the hooks |