[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the dumb Emacs terminal
From: |
John Mastro |
Subject: |
Re: the dumb Emacs terminal |
Date: |
Sat, 9 Jul 2016 17:01:38 -0700 |
Emanuel Berg <embe8573@student.uu.se> wrote:
>> M-x shell isn't really a terminal (emulator)
>> at all, which is also why you can't run e.g.
>> htop there.
>
> Right, you can't use even more basic stuff like
> 'clear'. Is it just able to output new lines,
> not change the state of what has already
> been outputted?
Yes, pretty much - it just sends a line of input and then prints the
output.
>> I nonetheless prefer M-x shell over Emacs's
>> terminal emulators.
>
> Why go into the small workshop, when there is
> a big?
I like the simplicity and that I can work in/with the *shell* buffer
just like any "normal" buffer. I do, of course, sometimes use programs
that don't work there, but it's rare enough that I don't mind switching
to a separate terminal emulator on those occasions.
Many of the things I previously would have done in a terminal emulator
that wouldn't have worked well in M-x shell I now do in various Emacs
modes anyway. (Mail, some version control tasks, reading man pages,
etc.)
> Only a lot of shortcuts including M-x seem to
> be shadowed by the shell, that must be dealt
> with as I seldom or never use them with the
> shell but with Emacs I do it all the time
> obviously. So it should be mergable that way,
> God willing.
Both term and ansi-term make a distinction between "line mode" and "char
mode", which send input to the shell a line at a time or a character at
a time respectively. They start out in char mode by default; you can
switch to line mode with C-c C-j and back to char mode with C-c C-k.
Line mode is more similar to M-x shell and using it, when possible,
helps close some of the distance.
John
- Re: Suggested font lock preferences for GNU Emacs, (continued)
- Message not available
- rotating the palette (was: Re: Suggested font lock preferences for GNU Emacs), Emanuel Berg, 2016/07/08
- Re: rotating the palette (was: Re: Suggested font lock preferences for GNU Emacs), Emanuel Berg, 2016/07/08
- Re: rotating the palette (was: Re: Suggested font lock preferences for GNU Emacs), Emanuel Berg, 2016/07/08
- the dumb Emacs terminal (was: Re: rotating the palette), Emanuel Berg, 2016/07/09
- Re: the dumb Emacs terminal (was: Re: rotating the palette), John Mastro, 2016/07/09
- Re: the dumb Emacs terminal, Dmitry Alexandrov, 2016/07/11
- Message not available
- Re: the dumb Emacs terminal, Emanuel Berg, 2016/07/09
- Re: the dumb Emacs terminal,
John Mastro <=
- Message not available
- Re: the dumb Emacs terminal, Emanuel Berg, 2016/07/10
- Message not available
- Re: the dumb Emacs terminal, Emanuel Berg, 2016/07/10