diff options
| author | Chong Yidong | 2008-11-17 01:24:48 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-11-17 01:24:48 +0000 |
| commit | 2760fefb3baa65fc72ef0d3538b22333f17c432b (patch) | |
| tree | 36e1dfd46db20bb6f968e10a1f9414751c81c3d8 | |
| parent | 8d15c8dbf084908c825d63b439e0ad8f3499cdef (diff) | |
| download | emacs-2760fefb3baa65fc72ef0d3538b22333f17c432b.tar.gz emacs-2760fefb3baa65fc72ef0d3538b22333f17c432b.zip | |
(Passwords): New node.
| -rw-r--r-- | doc/emacs/mini.texi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index d8d18009ab5..58c6b82ec92 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -46,6 +46,7 @@ is in use, keystrokes do not echo. | |||
| 46 | * Completion:: An abbreviation facility for minibuffer input. | 46 | * Completion:: An abbreviation facility for minibuffer input. |
| 47 | * Minibuffer History:: Reusing recent minibuffer arguments. | 47 | * Minibuffer History:: Reusing recent minibuffer arguments. |
| 48 | * Repetition:: Re-executing commands that used the minibuffer. | 48 | * Repetition:: Re-executing commands that used the minibuffer. |
| 49 | * Passwords:: Entering passwords in the echo area. | ||
| 49 | @end menu | 50 | @end menu |
| 50 | 51 | ||
| 51 | @node Minibuffer File | 52 | @node Minibuffer File |
| @@ -589,6 +590,35 @@ expression which describes one command and its arguments. Lisp programs | |||
| 589 | can re-execute a command by calling @code{eval} with the | 590 | can re-execute a command by calling @code{eval} with the |
| 590 | @code{command-history} element. | 591 | @code{command-history} element. |
| 591 | 592 | ||
| 593 | @node Passwords | ||
| 594 | @section Entering passwords | ||
| 595 | |||
| 596 | Sometimes, you may need to enter a password into Emacs. For instance, | ||
| 597 | when you tell Emacs to visit a file on another machine via a network | ||
| 598 | protocol such as FTP, you often need to supply a password to gain | ||
| 599 | access to the machine (@pxref{Remote Files}). | ||
| 600 | |||
| 601 | Entering a password is, in a basic sense, similar to using a | ||
| 602 | minibuffer. Emacs displays a prompt in the echo area (such as | ||
| 603 | @samp{Password: }); after you type the required password, press | ||
| 604 | @key{RET} to submit it. To prevent others from seeing your password, | ||
| 605 | every character you type is displayed as a dot (@samp{.}) instead of | ||
| 606 | its usual form. | ||
| 607 | |||
| 608 | Most of the features and commands associated with the minibuffer can | ||
| 609 | @emph{not} be used when entering a password. There is no history or | ||
| 610 | completion, and you cannot change windows or perform any other action | ||
| 611 | with Emacs until you have submitted the password. | ||
| 612 | |||
| 613 | While you are typing the password, you may press @key{DEL} to delete | ||
| 614 | backwards, removing the last character entered. @key{C-u} deletes | ||
| 615 | everything you have typed so far. @kbd{C-g} quits the password prompt | ||
| 616 | (@pxref{Quitting}). @kbd{C-y} inserts the current kill into the | ||
| 617 | password (@pxref{Killing}). You may type either @key{RET} or | ||
| 618 | @key{ESC} to submit the password. Any other self-inserting character | ||
| 619 | key inserts the associated character into the password, and all other | ||
| 620 | input is ignored. | ||
| 621 | |||
| 592 | @ignore | 622 | @ignore |
| 593 | arch-tag: ba913cfd-b70e-400f-b663-22b2c309227f | 623 | arch-tag: ba913cfd-b70e-400f-b663-22b2c309227f |
| 594 | @end ignore | 624 | @end ignore |