[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Emacs in fbterm.
From: |
Gregory Heytings |
Subject: |
Re: Using Emacs in fbterm. |
Date: |
Mon, 29 Aug 2022 22:28:43 +0000 |
Why should Emacs need adapting? Surely these terminfo entries for
fbterm's private colours should suffice for ncurses to display them
correctly. Or am I missing something?
I meant that (IIUC) an additional file should be added in lisp/term/ for
fbterm, not that Emacs should itself send these escape sequences. See
the comment in lisp/term/tty-colors.el.
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)
Eli, what else would you recommend to add in that file? I think
(tty-no-underline)? And how can I check whether compositions should be
disabled, that is, if they confuse cursor movement?
- Re: Using Emacs in fbterm., (continued)
- Re: Using Emacs in fbterm., Andreas Schwab, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Andreas Schwab, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm., Alan Mackenzie, 2022/08/29
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/29
- Re: Using Emacs in fbterm.,
Gregory Heytings <=
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/30
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/30
- Re: Using Emacs in fbterm., Eli Zaretskii, 2022/08/30
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/30
- Re: Using Emacs in fbterm., Stefan Monnier, 2022/08/30
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/30
- Re: Using Emacs in fbterm., Stefan Monnier, 2022/08/30
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/30
- Re: Using Emacs in fbterm., Stefan Monnier, 2022/08/30
- Re: Using Emacs in fbterm., Gregory Heytings, 2022/08/30