emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Emacs in fbterm.


From: Eli Zaretskii
Subject: Re: Using Emacs in fbterm.
Date: Tue, 30 Aug 2022 14:32:51 +0300

> Date: Mon, 29 Aug 2022 22:28:43 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: Andreas Schwab <schwab@linux-m68k.org>, Eli Zaretskii <eliz@gnu.org>, 
>     emacs-devel@gnu.org
> 
> And here is a minimal patch to enable 256 colors under fbterm:
> 
> diff --git a/lisp/term/fbterm.el b/lisp/term/fbterm.el
> new file mode 100644
> index 0000000000..bf12b5ed97
> --- /dev/null
> +++ b/lisp/term/fbterm.el
> @@ -0,0 +1,9 @@
> +;;; fbterm.el  -*- lexical-binding:t -*-
> +
> +(require 'term/xterm)
> +
> +(defun terminal-init-fbterm ()
> +  "Terminal initialization function for fbterm."
> +  (xterm-register-default-colors xterm-standard-colors))
> +
> +(provide 'term/fbterm)

But since fbterm doesn't always announce itself as such, but instead
calls itself "linux", this is not reliable enough, is it?

> Eli, what else would you recommend to add in that file?  I think 
> (tty-no-underline)?

If it doesn't support underline, yes.

> And how can I check whether compositions should be disabled, that
> is, if they confuse cursor movement?

There are some compositions in HELLO, and you can also try some long
Emoji sequences.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]