all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rrandresf@gmail.com
To: Juri Linkov <juri@linkov.net>
Cc: Trevor Spiteri <tspiteri@ieee.org>, emacs-devel@gnu.org
Subject: Re: Emacs shell: set TERM to ansi instead of dumb
Date: Wed, 04 Dec 2019 01:48:08 +0000	[thread overview]
Message-ID: <867e3c97zb.fsf@gmail.com> (raw)
In-Reply-To: <877e3fomux.fsf@mail.linkov.net>

Hi Juri.

Juri> Thanks for suggestion.  I tried to use "TERM=ansi" together with
Juri> customizing 'comint-terminfo-terminal' to "ansi", and it works
Juri> fine everywhere, except compilation mode.  In compilation
Juri> buffers it inserts unhandled escape sequences that break
Juri> fontification.  Had to disable ansi in compilation by
Juri> customizing 'compilation-environment' to '("TERM=dumb")'.

I am still seeing the "unhandled escape sequences" on "*compilation*"
buffer see:
--8<---------------cut here---------------start------------->8---
-*- mode: compilation; default-directory: "/ssh:aramirez@x220c:/home/aramirez/dev/wxwidgets/mamacha/src/tests/build/" -*-
Compilation started at Wed Dec  4 01:34:34

cd build && make -k -j4   && cd -
[35m[1mScanning dependencies of target invcross_tests[0m
make: Target 'default_target' not remade because of errors.
...
Compilation exited abnormally with code 2 at Wed Dec  4 01:34:36
--8<---------------cut here---------------end--------------->8---

BTW, above is compilation by tramp.

Those were my customizations:
--8<---------------cut here---------------start------------->8---
(progn (setq comint-terminfo-terminal "ansi") (add-to-list 'compilation-environment "TERM=dumb"))
--8<---------------cut here---------------end--------------->8---

Is there something else. I should customize?

BR
ps: probably the escape sequences are going to be replaced when sending
email. In that case https://termbin.com/41th



  reply	other threads:[~2019-12-04  1:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-23 12:37 Emacs shell: set TERM to ansi instead of dumb Trevor Spiteri
2019-11-23 15:42 ` Colin Baxter
2019-12-01 21:57 ` Juri Linkov
2019-12-04  1:48   ` rrandresf [this message]
2019-12-04 22:41     ` Juri Linkov
2019-12-05  0:11       ` tramp compilation buffer also affected (was: Emacs shell: set TERM to ansi instead of dumb) andrés ramírez
2019-12-08 21:33         ` tramp compilation buffer also affected Juri Linkov
2019-12-09  5:54           ` andrés ramírez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867e3c97zb.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=tspiteri@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.