unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's
@ 2024-11-30 16:19 Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-30 17:32 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-30 16:19 UTC (permalink / raw)
  To: 74626

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]


Hello,

When using ssh to connect to a machine, the password prompt is expected
to be identical in the shell buffer and mini buffer.

The mini buffer's prompt seems to make use of only the last character.

See

  http://sdf.org/~van.ly/img/emacs-30-0-91-password-prompt.webp

The shell buffer's password prompt shows

  van@192.168.1.144's password:

The mini buffer shows

  4's password:

Further attempts to backout using C-g and RET may show on the mini buffer

  44's password:

To demonstrate,

 0. start, emacs -Q
 1. use, M-x shell
 2. use, ssh to connect to machine (ssh is unconfigured)

 X. expect the mini buffer password prompt to be more meaningfully
    related to the actual prompt in the shell buffer


[-- Attachment #2: bug report diagnostics --]
[-- Type: application/octet-stream, Size: 2923 bytes --]

From: xxx <xxx@xxx.mail-host-address-is-not-set>
To: bug-gnu-emacs@gnu.org
Subject: 30.0.91; x
X-Debbugs-Cc: 
--text follows this line--




In GNU Emacs 30.0.91 (build 1, aarch64--linux-gnu) of 2024-10-21 built
 on xxx
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --without-all --without-x --without-ns
 --without-compress-install --without-toolkit-scroll-bars
 --srcdir=/u/24/src/emacs/30.0.91 --prefix=/usr/local
 --build=aarch64--linux-gnu --host=aarch64--linux-gnu CFLAGS=-O2'

Configured features:
GMP PDUMPER SECCOMP XIM

Important settings:
  value of $LANG: en_AU.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  comint-fontify-input-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dnd dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util text-property-search time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-extra help-mode
tool-bar auth-source cl-seq eieio eieio-core cl-macs icons
password-cache json map wombat-theme sh-script rx smie treesit
cl-loaddefs cl-lib executable files-x shell pcomplete comint subr-x
regexp-opt ansi-osc ansi-color ring term/xterm xterm byte-opt gv
bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote multi-tty
make-network-process emacs)

Memory information:
((conses 16 73358 10048) (symbols 48 8312 0) (strings 32 22778 1526)
 (string-bytes 1 563844) (vectors 16 12134)
 (vector-slots 8 115188 5661) (floats 8 34 12870)
 (intervals 56 273 20) (buffers 984 13))

[-- Attachment #3: Type: text/plain, Size: 9 bytes --]



-- 
vl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's
  2024-11-30 16:19 bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-30 17:32 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-11-30 19:29   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-30 17:32 UTC (permalink / raw)
  To: 74626; +Cc: van.ly

Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> Hello,
>
> When using ssh to connect to a machine, the password prompt is expected
> to be identical in the shell buffer and mini buffer.
>
> The mini buffer's prompt seems to make use of only the last character.
>
> See
>
>   http://sdf.org/~van.ly/img/emacs-30-0-91-password-prompt.webp
>
> The shell buffer's password prompt shows
>
>   van@192.168.1.144's password:
>
> The mini buffer shows
>
>   4's password:

I can confirm this bug.  I did not report it but I've seen this only
when the host is just an IP address.
-- 
Manuel Giraud





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's
  2024-11-30 17:32 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-11-30 19:29   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 3+ messages in thread
From: Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-11-30 19:29 UTC (permalink / raw)
  To: Manuel Giraud; +Cc: 74626


>>
>> The mini buffer shows
>>
>>   4's password:

Also, the color scheme for the theme `modus-vivendi-tinted' represents
that "4" with an unreadable foreground/background color combination to
my eyes anyway.  It looked gray on gray IIRC.

-- 
vl





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-30 19:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-30 16:19 bug#74626: 30.0.91; mini buffer password prompt mismatches shell buffer's Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-30 17:32 ` Manuel Giraud via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-30 19:29   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).