[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TERM and shell mode
From: |
Samuel Wales |
Subject: |
Re: TERM and shell mode |
Date: |
Wed, 8 Mar 2023 17:53:21 -0700 |
that var does not exist in my emacs version, so i did not set it. i
guess i should let sleeping dogs lie until new versions.
i want shell mode's features, not a terminal. shell mode works with
ansi colors. i find emacs term to be buggy.
yes, i should try vterm at some point. and coterm.
i have no settings of xterm in shell or elisp.
On 3/3/23, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Samuel Wales <samologist@gmail.com>
>> Date: Thu, 2 Mar 2023 17:18:29 -0700
>>
>> emacs -Q says dumb for TERM for shell mode. one issue with this i
>> have a note saying is that colored output can silently corrupt cmd |
>> grep if TERM=dumb. or similr. idr the details. but i recall the
>> problem and debugged it to the TERM variable.
>>
>> termprarily setting term to xterm fixed that problem but i have no
>> idea where it is being set permanntly.
>
> Did you try to change the value of comint-terminfo-terminal?
>
> Also, if you want to run programs that need colors or other features
> of a terminal emulator, I think you should use "M-x ansi-term" instead
> of "M-x shell", or at least try that to see if it solves your
> problems.
>
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com