[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TERM and shell mode
From: |
Eli Zaretskii |
Subject: |
Re: TERM and shell mode |
Date: |
Fri, 03 Mar 2023 09:21:04 +0200 |
> 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.