[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the dumb Emacs terminal
From: |
Dmitry Alexandrov |
Subject: |
Re: the dumb Emacs terminal |
Date: |
Mon, 11 Jul 2016 15:05:20 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
John Mastro <john.b.mastro@gmail.com> writes:
> Emanuel Berg <embe8573@student.uu.se> wrote:
>> And does the Emacs terminal have to be dumb?
>
> M-x shell isn't really a terminal (emulator) at all, which is also why
> you can't run e.g. htop there.
Which does not mean that it does not support basic coloring though. It
does, but hides that fact from any program.
--8<---------------cut here---------------start------------->8---
$ for i in {1..8} {30..37}; do
printf '\e[%dmA\e[0m ' $i
done
echo
--8<---------------cut here---------------end--------------->8---
‘--color=always’ with GNU (Core|Find|...)utils and other utilities that
support it should also work.
Thus providing its own termcap file for comint-mode (and eshell-mode
also) instead of using ‘dumb’ indeed would be reasonable.
> If you try "tput setaf 2 && echo green" in either M-x term or M-x
> ansi-term, you'll see that it does work there.
>
> I nonetheless prefer M-x shell over Emacs's terminal emulators.
- Re: Suggested font lock preferences for GNU Emacs, (continued)
- Re: Suggested font lock preferences for GNU Emacs, Emanuel Berg, 2016/07/08
- Re: Suggested font lock preferences for GNU Emacs, Yuri Khan, 2016/07/08
- Message not available
- 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 <=
- Message not available
- Re: the dumb Emacs terminal, Emanuel Berg, 2016/07/09
- Re: the dumb Emacs terminal, John Mastro, 2016/07/09
- 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