From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, schwab@linux-m68k.org, 44664@debbugs.gnu.org
Subject: bug#44664: 28.0.50; troubles with some chars in term
Date: Wed, 18 Nov 2020 23:06:30 +0300 [thread overview]
Message-ID: <X7V+xl3V+FG0zOEJ@protected.rcdrun.com> (raw)
In-Reply-To: <83d00apm6q.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3856 bytes --]
* Eli Zaretskii <eliz@gnu.org> [2020-11-18 21:14]:
> > Date: Wed, 18 Nov 2020 18:37:13 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: Lars Ingebrigtsen <larsi@gnus.org>, schwab@linux-m68k.org,
> > 44664@debbugs.gnu.org
> >
> > > So yes, in that original screenshot some characters are wider than 1
> > > column. But shouldn't the Lisp program which produces this display
> > > take the character widths into account?
> > >
> > > Failing that, I don't see how this could be fixed, because no single
> > > font could support too many scripts, and if the user reads email in
> > > many different languages, they will eventually bump into some script
> > > which needs a different font.
> >
> > I was thinking you would know how terminals are solving that problem
>
> I don't even know everything about Emacs solutions to various problems
> we have to solve, how do you expect me to know what terminal emulators
> do, when that's not the code I'm familiar with?
Sorry I meant several people, not only one, English has "you" both for
singular and plural.
> If someone wants to investigate how the terminal emulators solve this
> and describe that here, that would be welcome, and might give us some
> new ideas.
I have been searching to find references:
https://github.com/jquast/wcwidth
https://github.com/streamlink/streamlink/pull/2032
But I can also see many problems without any wide characters.
I am also observing various switches of fonts. I have tried setting
Terminus font and then I see that when I run mutt that the font
changes to something else. After $ reset, it seem to have half
Terminus and prompts to be DejaVu Sans, then after several killing of
terminal buffer and restarts it started appearing everything to be
using Terminus font.
Hide Term face: [sample]
State : SET for current session only.
Default face to use in Term mode.
[X] Font Family: Terminus
[X] Height: Value Menu Scale: 1.5
[X] Foreground: white smoke Choose (sample)
[X] Background: black Choose (sample)
Show All Attributes
Then I removed .bashrc and by using $ reset several times it seems to
help or to stabilize itself to use Terminus only.
> > My font in XTerm is same as in Emacs, DejaVu Sans Mono.
>
> That doesn't seem to be the case, since the character glyphs in Emacs
> and in xterm look different. But maybe I'm missing something.
It was generally same, maybe sometimes I have changed it.
I can see that changing font does influence stability of M-x term and
it does not make it same as external terminals. Just by feeling it
looks like it is not handling well those wide characters.
There are 2 screenshots attached:
1. One is Emacs M-x term there is line, above the line (53) and one
can see it being pulled to the left side
2. XTerm version shows it is displayed aligned to the column.
I have also observed that by removing PS1 and special control
sequences inside the M-x term works better. It works best when bash is
invoked with --norc and when I do $ reset few times, each time when I
see something changed.
I have:
alias ls='ls --color=auto'
and each time I invoke ls I can see that font also changed for the
rest of work. If I invoke $ reset and then /bin/ls then I remain in
the same font.
Fonts are changing to me as user uncontrollably. My .bashrc and
aliases and basically anything using those control sequences is
changing the font. In my opinion it is switching back to DejaVu Sans
Mono even though I set other font.
Those are various observations. It looks like control sequences are
not terminated correctly.
The third screenshot shows what is happening when using ls with
Terminus font as after 2001-10 which appears green the rest of fonts
appear bold.
If somebody has stable M-x term or ansi-term and uses some appropriate
font or has good settings, let me know.
[-- Attachment #2: Screenshot from 2020-11-18 22-53-01.png --]
[-- Type: image/png, Size: 58364 bytes --]
[-- Attachment #3: Screenshot from 2020-11-18 22-57-30.png --]
[-- Type: image/png, Size: 71384 bytes --]
[-- Attachment #4: Screenshot from 2020-11-18 23-03-58.png --]
[-- Type: image/png, Size: 78252 bytes --]
next prev parent reply other threads:[~2020-11-18 20:06 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-15 19:45 bug#44664: 28.0.50; troubles with some chars in term Jean Louis
2020-11-16 22:30 ` Lars Ingebrigtsen
2020-11-17 4:15 ` Jean Louis
2020-11-17 9:00 ` Andreas Schwab
2020-11-17 9:43 ` Jean Louis
2020-11-17 9:55 ` Andreas Schwab
2020-11-17 10:00 ` Jean Louis
2020-11-17 15:12 ` Eli Zaretskii
2020-11-17 17:15 ` Jean Louis
2020-11-17 21:05 ` Eli Zaretskii
2020-11-17 21:54 ` Jean Louis
2020-11-17 22:02 ` Andreas Schwab
2020-11-18 3:30 ` Eli Zaretskii
2020-11-18 6:05 ` Jean Louis
2020-11-18 8:25 ` Andreas Schwab
2020-11-18 8:39 ` Lars Ingebrigtsen
2020-11-18 8:45 ` Lars Ingebrigtsen
2020-11-18 15:11 ` Eli Zaretskii
[not found] ` <X7U/qT7sSLW4wcTg@protected.rcdrun.com>
2020-11-18 18:14 ` Eli Zaretskii
2020-11-18 20:06 ` Jean Louis [this message]
2020-11-19 14:26 ` Eli Zaretskii
[not found] ` <X7aLF3tMx3yfkb9k@protected.rcdrun.com>
2020-11-19 16:15 ` Eli Zaretskii
2020-11-19 16:38 ` Jean Louis
2020-11-19 17:27 ` Eli Zaretskii
2020-11-19 16:53 ` Jean Louis
2020-11-19 17:28 ` Eli Zaretskii
2020-11-19 17:41 ` Jean Louis
2020-11-19 17:56 ` Eli Zaretskii
2020-11-18 21:04 ` Lars Ingebrigtsen
2020-11-19 3:29 ` Eli Zaretskii
2020-11-19 21:07 ` Lars Ingebrigtsen
2020-11-20 7:39 ` Eli Zaretskii
2020-11-24 5:58 ` Lars Ingebrigtsen
2020-11-24 15:32 ` Eli Zaretskii
2020-11-25 6:55 ` Lars Ingebrigtsen
2020-11-25 8:30 ` Andreas Schwab
2020-11-25 9:08 ` Lars Ingebrigtsen
2020-11-25 9:23 ` Basil L. Contovounesios
2020-11-26 9:46 ` Lars Ingebrigtsen
2020-11-26 10:13 ` Andreas Schwab
2020-11-26 10:16 ` Lars Ingebrigtsen
2020-11-26 11:15 ` Robert Pluim
2020-11-26 11:21 ` Lars Ingebrigtsen
2020-11-26 21:14 ` Basil L. Contovounesios
2020-11-27 7:53 ` Lars Ingebrigtsen
2020-11-25 9:27 ` Andreas Schwab
2020-11-25 15:35 ` Eli Zaretskii
2020-11-26 9:50 ` Lars Ingebrigtsen
2020-11-26 14:17 ` Eli Zaretskii
2020-11-27 7:51 ` Lars Ingebrigtsen
2020-11-27 8:14 ` Eli Zaretskii
2020-11-29 9:58 ` Lars Ingebrigtsen
2020-11-29 15:46 ` Eli Zaretskii
2020-11-30 10:05 ` Lars Ingebrigtsen
2020-11-30 16:12 ` Eli Zaretskii
2020-12-02 9:39 ` Lars Ingebrigtsen
2020-12-02 15:02 ` Eli Zaretskii
2020-12-02 16:33 ` Jean Louis
2020-12-03 8:44 ` Lars Ingebrigtsen
2020-12-03 8:52 ` Jean Louis
2020-12-03 9:02 ` Lars Ingebrigtsen
2020-12-03 15:19 ` Eli Zaretskii
2020-12-03 15:14 ` Eli Zaretskii
2020-12-03 16:59 ` Lars Ingebrigtsen
2020-12-03 17:04 ` Eli Zaretskii
2020-11-19 8:20 ` Andreas Schwab
2020-11-19 21:06 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X7V+xl3V+FG0zOEJ@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=44664@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=larsi@gnus.org \
--cc=schwab@linux-m68k.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).