2 ms·
TERM is a rather blunt instrument which changes support for many features besides ANSI color. SSH sessions further complicate matters. TERM=dumb is useful for
by tadfisher 5y ago
TERM is a rather blunt instrument which changes support for many features besides ANSI color. SSH sessions further complicate matters.
TERM=dumb is useful for cases where you absolutely want serialized output, such as CI logging. Interactive cases require you to choose a value that both your terminal emulator and the software supports.
- ziml77 5y agoI didn't know about TERM=dumb at all until last weekend when I was messing with Haskell. Without it, the line editor in the REPL was broken when moving through the history (in both Terminal.app and iTerm2). I was surprised that it worked though since I expected that TERM=dumb would result in the REPL not being able to use any ANSI escape codes.