Skip to content

Commit

Permalink
info in luit
Browse files Browse the repository at this point in the history
  • Loading branch information
Detlef Groth committed Sep 2, 2024
1 parent 95273e6 commit d80b583
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 43 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,4 @@ jobs:
uname -a
uname -n
uname -s
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: check chck the path
shell: cmd
run: |
echo %PATH%
- uses: egor-tensin/setup-cygwin@v4
- name: Set up Cygwin
with:
packages: cmake gcc-g++
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
run: |
ls -Al
pwd
# Cygwin executables are added to PATH, so you can call them directly:
# Alternatively, you can set Cygwin's bash as the shell to use:
#run: |
# # This is a real bash script!
# basic() {
# ls -Al
# pwd
# }
# basic
# shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'


python --version
32 changes: 17 additions & 15 deletions doc/me.smd
Original file line number Diff line number Diff line change
Expand Up @@ -8300,8 +8300,8 @@
[faq45](faq45(0f)) - What are the main new features of MicroEmacs 09 in 2024 ??
[faq46](faq46(0f)) - What is a bfs executuable?
[faq47](faq47(0f)) - How can I use True Type Fonts within MicroEmacs on a X11 system ??
[faq48](faq48(0f)) - How to work with the terminal version of MicroEmacs on
terminal with UTF-8 encoding?
[faq48](faq48(0f)) - How to deal with UTF-8 enabled terminals with console MicroEmacs ??

!! me-id: amicr041
! 0ffaq00
## QUESTION (00)
Expand Down Expand Up @@ -9892,16 +9892,17 @@
! 0ffaq48
## QUESTION (48)

How to work with the terminal version of MicroEmacs on terminal with UTF-8 encoding?
How to work with the terminal version of MicroEmacs on terminals with UTF-8
encoding?

If you run the terminal version of MicroEmacs the character encodngs are
defined by the terminal emulators. For some of them (like Mate or Gnome
If you run the terminal version of MicroEmacs the character encodings are
defined by the terminal emulator. For some of them (like Mate or Gnome
terminal) you can change the font encodings using a menu, others like
LX-terminal only have Unicode encodings. If you work with me on a terminal
with Unicode, non-ASCII characters might behave weird. There are two ways to
fix this issue:
LX-terminal or if you run a terminal multiplexer like tmux - only support
Unicode encodings. If you work with MicroEmacs on such a terminal, the display
of non-ASCII characters might behave weird. There are two ways to fix this issue:

- switch the current font encoding for your terminal if possibke, let's
- switch the current font encoding for your terminal if possible, let's
say to ISO-8859-1 or ISO-8859-15 or what ever you need ... or
- run a tool like `luit` - https://invisible-island.net/luit/luit-figures.html
as a wrapping application which sits between MicroEmacs and the terminal
Expand All @@ -9917,13 +9918,14 @@
in [faq14](faq14(0f)).


The `luit` application should be available by your package manager, so should
be installable as:
The `luit` application should be available by your package manager, so it
should be installable as:

sudo dnf install luit ## fedora
sudo apt install ??? ## debian/ubuntu
sudo pkg install ??? ## freebsd
sudo pacman -S
sudo dnf install luit ## fedora
sudo apt install x11-utils ## debian based
sudo pacman -S luit ## arch based
sudo pkg install luit ## freebsd
## windows-cygwin

You can as well create an alias for the luit-me command ensemble:

Expand Down

0 comments on commit d80b583

Please sign in to comment.