From: Oliver Laslett <oliver@cytora.com>
To: "Rami Ylimäki" <rami.ylimaki@vincit.fi>
Cc: 30917@debbugs.gnu.org
Subject: bug#30917: 26.0.91; True color emacs in termite
Date: Mon, 26 Mar 2018 11:12:45 +0100 [thread overview]
Message-ID: <CAPf1i=FYQuX5eY1XLoaza4c29AZ7P5GTPAw3YPQaZtu-ge5KqA@mail.gmail.com> (raw)
In-Reply-To: <CAHmfpf-eKFn=jarr-J1Hya1Vm+1+cwEX6CBX3qBS7j-t7UtKiA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]
Rami, using TERM=xterm-direct2 worked! I tried many other options without
success. Many thanks, it seems that I have true colours. The only
difference is that when I exit and return to the terminal, my prompt
appears at the bottom and emacs remains in the terminal buffer (i.e. i have
to call $ clear to clear the terminal buffer). I have tested and this is
also happens with any command (e.g. `less`) so I guess related to using
TERM=xterm-direct2 and not emacs related.
Many thanks
Oliver
On Sat, Mar 24, 2018 at 12:19 AM, Rami Ylimäki <rami.ylimaki@vincit.fi>
wrote:
> It seems that by default Termite sets TERM=xterm-termite, which doesn't
> support true color. However, since Termite uses libvte, it supports true
> color with semicolon separators, just like Gnome Terminal. If you have the
> latest Terminfo installed, you can launch Emacs with: TERM=xterm-direct2
> emacs -nw. At least that worked for me under Termite. If this doesn't work,
> there are more detailed instructions in Emacs FAQ node Common requests
> > Colors on a TTY.
>
> 2018-03-23 21:51 GMT+02:00 Oliver Laslett <oliver@cytora.com>:
>
>> Rami, Eli,
>>
>> I’ve realised that calling ‘sudo’ is just resulting in emacs with no
>> theme and colours are inherited from my terminal theme (.Xresources). But
>> the problem still remains that emacs is not detecting that termite is true
>> colour. I have checked that terminfo defines setfg and setbg.
>>
>> Thanks
>>
>>
>>
>> On 23 Mar 2018, at 19:04, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> >> From: Oliver Laslett <oliver@cytora.com>
>> >> Date: Fri, 23 Mar 2018 10:30:47 +0000
>> >>
>> >> I have some odd behviour in emacs 26.0.91 with my color theme.
>> >> I am using termite terminal emulator (with true color support) and
>> >> when running `emacs -nw` I get a broken theme using reduced color set.
>> >> However, if I run `sudo emacs -nw` my theme shows correctly.
>> >>
>> >> As I understand, emacs determines true color support using terminfo. Is
>> >> emacs calling a command that may require root user privileges? How
>> could
>> >> I debug this (apologies, long term emacs user, first bug report!)?
>> >
>> > Rami, could you please look into this?
>> >
>> > Thanks.
>>
>
>
[-- Attachment #2: Type: text/html, Size: 3142 bytes --]
next prev parent reply other threads:[~2018-03-26 10:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 10:30 bug#30917: 26.0.91; True color emacs in termite Oliver Laslett
2018-03-23 19:04 ` Eli Zaretskii
2018-03-23 19:51 ` Oliver Laslett
2018-03-24 0:19 ` Rami Ylimäki
2018-03-26 10:12 ` Oliver Laslett [this message]
2018-03-26 15:14 ` Eli Zaretskii
2018-03-27 22:21 ` Rami Ylimäki
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='CAPf1i=FYQuX5eY1XLoaza4c29AZ7P5GTPAw3YPQaZtu-ge5KqA@mail.gmail.com' \
--to=oliver@cytora.com \
--cc=30917@debbugs.gnu.org \
--cc=rami.ylimaki@vincit.fi \
/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.