From: Thierry Volpiatto <tvolpiatt@neuf.fr>
To: help-gnu-emacs@gnu.org
Subject: comint-password-prompt-regexp
Date: Mon, 12 Nov 2007 19:38:01 +0100 [thread overview]
Message-ID: <87k5onz4vq.fsf@thievol.homelinux.org> (raw)
Hi, my prompt for my password for su in the shell of emacs is:
Mot de passe_:
with this password prompt, my password is not hidden, the only way i
found is starting emacs with LC_ALL=C
So i think the solution is to set the variable comint-password-prompt-regexp
but i don't know how to write Mot de passe_: in the regexp
It's original value is:
"\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|Kerberos \\|CVS \\|UNIX \\| SMB \\|LDAP \\|\\[sudo] \\|^\\)[Pp]assword\\( (again)\\)?\\|pass phrase\\|\\(Enter \\|Repeat \\|Bad \\)?[Pp]assphrase\\)\\(?:, try again\\)?\\(?: for [^:]+\\)?:\\s *\\'"
Some body know how to insert Mot de passe_: into this regexp ?
Thank you.
--
A + Thierry
pubkey: http://pgp.mit.edu/
reply other threads:[~2007-11-12 18:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87k5onz4vq.fsf@thievol.homelinux.org \
--to=tvolpiatt@neuf.fr \
--cc=help-gnu-emacs@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.
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).