all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 44908@debbugs.gnu.org
Subject: bug#44908: emacs -nw: view-lossage polluted by termcap / terminfo jazz
Date: Sat, 28 Nov 2020 03:25:45 +0800	[thread overview]
Message-ID: <87mtz2d2km.5.fsf@jidanni.org> (raw)

$ emacs -Q -nw
abc123
C-h l

shows:

 ESC [ > ESC [ > 4 1 ; 3 6 2 ; 0 c ESC ] 1 1 ; r g b : 0 0 0 0 / 0 0 0 0 / 0 0 0 0 ESC \ a ;; self-insert-command
 b			;; self-insert-command
 c			;; self-insert-command
 1			;; self-insert-command
 2			;; self-insert-command
 3			;; self-insert-command
 C-h l			;; view-lossage

Notice the super-barfy first line?

The defendant swears he did not type that.

All he typed was the "a".

So please keep your termcap junk to yourself and don't pollute the C-h l
output.

> Well, we need to intiatialze the terminal. emacs -nw is for engineers
> who are used to bugs anyway.

Yeah, but as you see, you are "not in control of your bladder."

If you were, then the first line wouldn't shove the the innocent user's
"a ;; self-insert-command"
all the way to the right.

> Well it is just the first line of the evening. Surely they will type
> more before wanting to hit C-h l. That way they usually won't notice
> the bug. In fact if they type just a couple of lines of text then that
> jazz will be pushed so far up that, well, let's just say nobody will
> ever know.

emacs-version "27.1"





             reply	other threads:[~2020-11-27 19:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 19:25 積丹尼 Dan Jacobson [this message]
2020-11-29 10:23 ` bug#44908: emacs -nw: view-lossage polluted by termcap / terminfo jazz Lars Ingebrigtsen
2020-11-29 15:47   ` Eli Zaretskii
2020-11-29 16:21     ` Lars Ingebrigtsen
2020-11-29 16:36       ` Eli Zaretskii
2020-11-30 10:19         ` Lars Ingebrigtsen
2020-11-30 18:48           ` 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=87mtz2d2km.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=44908@debbugs.gnu.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 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.