changeset 99648:f052a7555985

(Passwords): New node.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 17 Nov 2008 01:24:48 +0000
parents 2369baba8160
children 2311ba8b63ee
files doc/emacs/mini.texi
diffstat 1 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/mini.texi	Mon Nov 17 01:23:16 2008 +0000
+++ b/doc/emacs/mini.texi	Mon Nov 17 01:24:48 2008 +0000
@@ -46,6 +46,7 @@
 * Completion::		  An abbreviation facility for minibuffer input.
 * Minibuffer History::    Reusing recent minibuffer arguments.
 * Repetition::		  Re-executing commands that used the minibuffer.
+* Passwords::             Entering passwords in the echo area.
 @end menu
 
 @node Minibuffer File
@@ -589,6 +590,35 @@
 can re-execute a command by calling @code{eval} with the
 @code{command-history} element.
 
+@node Passwords
+@section Entering passwords
+
+Sometimes, you may need to enter a password into Emacs.  For instance,
+when you tell Emacs to visit a file on another machine via a network
+protocol such as FTP, you often need to supply a password to gain
+access to the machine (@pxref{Remote Files}).
+
+  Entering a password is, in a basic sense, similar to using a
+minibuffer.  Emacs displays a prompt in the echo area (such as
+@samp{Password: }); after you type the required password, press
+@key{RET} to submit it.  To prevent others from seeing your password,
+every character you type is displayed as a dot (@samp{.}) instead of
+its usual form.
+
+  Most of the features and commands associated with the minibuffer can
+@emph{not} be used when entering a password.  There is no history or
+completion, and you cannot change windows or perform any other action
+with Emacs until you have submitted the password.
+
+  While you are typing the password, you may press @key{DEL} to delete
+backwards, removing the last character entered.  @key{C-u} deletes
+everything you have typed so far.  @kbd{C-g} quits the password prompt
+(@pxref{Quitting}).  @kbd{C-y} inserts the current kill into the
+password (@pxref{Killing}).  You may type either @key{RET} or
+@key{ESC} to submit the password.  Any other self-inserting character
+key inserts the associated character into the password, and all other
+input is ignored.
+
 @ignore
    arch-tag: ba913cfd-b70e-400f-b663-22b2c309227f
 @end ignore