[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird emacs shell behavior
From: |
Emilio Lopes |
Subject: |
Re: weird emacs shell behavior |
Date: |
Fri, 17 Aug 2007 20:38:43 +0200 |
User-agent: |
Emacs Gnus |
Joel J Adamson writes:
> What's the difference between shell-mode and a terminal emulator?
`shell-mode' is a mode for running a command interpreter (in most
cases a shell) in an Emacs buffer. All Emacs commands are available
and work as expected: pressing "C-p" will move the cursor to the
previous line, "C-w" will kill the region etc.
In the terminal emulator you can run *any* terminal program, be it a
shell, a mailer or even VI (forgive the heresy!). How the keybindings
behave is dictated by the program running in the terminal.
If you want to run a terminal program like "trn", "less" or "lynx" you
have no option but `ansi-term'. For running a command interpreter
`shell-mode' offers you the best of both worlds: you can run your shell
*and* have all Emacs text manipulation facilities at your disposal.
Note that in shell-mode the command line editing provided by the your
shell (e.g. "readline") is not available; "shell-mode" provides it's
own command line editing facilities.
--
EmÃlio C. Lopes
Munich, Germany
- weird emacs shell behavior, phundamental unaudio, 2007/08/17
- Re: weird emacs shell behavior, Joel J. Adamson, 2007/08/17
- Re: weird emacs shell behavior, Tassilo Horn, 2007/08/17
- Re: weird emacs shell behavior, Peter Dyballa, 2007/08/17
- Message not available
- Re: weird emacs shell behavior, Tassilo Horn, 2007/08/18
- Re: weird emacs shell behavior, Peter Dyballa, 2007/08/18
- Message not available
- Re: weird emacs shell behavior, Tassilo Horn, 2007/08/18