all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: tom@logand.com
Cc: 66128@debbugs.gnu.org
Subject: bug#66128: 28.2; visible-bell breaks setterm --inversescreen on
Date: Thu, 21 Sep 2023 08:00:19 +0300	[thread overview]
Message-ID: <83sf789l3w.fsf@gnu.org> (raw)
In-Reply-To: <87zg1gk3eu.fsf@neko.mail-host-address-is-not-set> (tom@logand.com)

> From: tom@logand.com
> Date: Wed, 20 Sep 2023 22:14:49 +0200
> 
> 
> 
> in black linux console:
> 
>    $ setterm --inversescreen on
> 
> after that, in white linux console:
> 
>    $ emacs -Q --eval '(setq visible-bell t)'
> 
> all looks fine, emacs background is white
> now press page-up key to trigger visual bell
> and suddenly emacs background is black
> visual bell should preserve terminal colors

Emacs just sends to the terminal the sequence defined by the "vb"
termcap capability.  Is that not correct when the screen colors are
inverted?  Is this perhaps the problem of the terminal?

Btw, we always use the termcap's "vb", even when terminfo is
available; should we use the terminfo's "flash" instead?





  reply	other threads:[~2023-09-21  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 20:14 bug#66128: 28.2; visible-bell breaks setterm --inversescreen on tom
2023-09-21  5:00 ` Eli Zaretskii [this message]
2023-09-22 20:18   ` Tomas Hlavaty
2023-09-23  5:38     ` Eli Zaretskii
2023-09-25  0:07       ` Thomas Dickey
2023-09-25  5:03         ` Eli Zaretskii
2023-09-25  8:07           ` Thomas Dickey
2023-09-25  8:50             ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sf789l3w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66128@debbugs.gnu.org \
    --cc=tom@logand.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.