tsuu32 / emacs-w32con-vt

Emacs with 256/true color support in Windows Console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emacs with 256/true color support in Windows Console

News

  • 2020/09/26: Update the patch for Emacs 27.1

Background

Build

Note: This is experimental. Current implementation is based on Emacs 27.1.

Prerequisites:

Steps:

  1. Clone this repo and ./autogen.sh to generate configure script in MSYS2 bash:
git clone https://github.com/tsuu32/emacs-w32con-vt.git
cd emacs-w32con-vt
./autogen.sh
  1. Run configure with --with-w32-vt-color=NUMBER option:
./configure --without-dbus --with-w32-vt-color=24bit

You can set 16 or 256, 24bit for NUMBER.

  1. Run Make:
make

Usage

Run Emacs in cmd.exe or powershell.exe:

rem for cmd.exe
set PATH=C:\msys64\mingw64\bin;%PATH%
path\to\emacs-w32con-vt\src\emacs.exe -nw

You can also run via Windows Terminal.

Screenshot

With zenburn theme.

Bug

  • Starting emacs with no theme cause buggy at 24bit color.

Future work

  • Autoconf support.
  • Use escape sequences more (not only color).

About

Emacs with 256/true color support in Windows Console

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 57.8%Language:Roff 18.2%Language:C 15.6%Language:Lex 4.4%Language:M4 0.6%Language:Objective-C 0.6%Language:TeX 0.6%Language:Makefile 0.4%Language:C++ 0.2%Language:PostScript 0.2%Language:Shell 0.2%Language:Mathematica 0.1%Language:Perl 0.1%Language:HTML 0.1%Language:Ruby 0.1%Language:Pascal 0.1%Language:Prolog 0.1%Language:MATLAB 0.1%Language:JavaScript 0.1%Language:NewLisp 0.1%Language:SystemVerilog 0.1%Language:Slash 0.0%Language:SRecode Template 0.0%Language:Smalltalk 0.0%Language:GDB 0.0%Language:Python 0.0%Language:Yacc 0.0%Language:Ada 0.0%Language:PHP 0.0%Language:Awk 0.0%Language:Batchfile 0.0%Language:Fortran 0.0%Language:Erlang 0.0%Language:SmPL 0.0%Language:Lua 0.0%Language:Java 0.0%Language:NSIS 0.0%Language:SCSS 0.0%Language:CSS 0.0%Language:Forth 0.0%Language:Modula-2 0.0%Language:Scheme 0.0%Language:Go 0.0%Language:Less 0.0%