help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird emacs shell behavior


From: Joel J. Adamson
Subject: Re: weird emacs shell behavior
Date: Fri, 17 Aug 2007 15:40:59 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Emilio Lopes <eclig@gmx.net> writes:

> Joel J Adamson writes:
>
>> What's the difference between shell-mode and a terminal emulator?
> 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.

Those are my two reasons for preferring ansi-term.  I sometimes run
lynx in ansi-term.  When i'm using a terminal, I make extensive use of
command-line editing, so I didnt' like having the Emacs inter-line
commands work in the buffer instead of on the command line (ironic
though that is).

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109


reply via email to

[Prev in Thread] Current Thread [Next in Thread]