comparison man/entering.texi @ 29107:203ba1f77b7b

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Tue, 23 May 2000 11:12:04 +0000
parents ac7e9e5e2ccb
children 84cb4bee4df1
comparison
equal deleted inserted replaced
29106:a0dc7fa92f5d 29107:203ba1f77b7b
4 @node Entering Emacs, Exiting, Text Characters, Top 4 @node Entering Emacs, Exiting, Text Characters, Top
5 @chapter Entering and Exiting Emacs 5 @chapter Entering and Exiting Emacs
6 @cindex entering Emacs 6 @cindex entering Emacs
7 @cindex starting Emacs 7 @cindex starting Emacs
8 8
9 The usual way to invoke Emacs is with the shell command @samp{emacs}. 9 The usual way to invoke Emacs is with the shell command @command{emacs}.
10 Emacs clears the screen and then displays an initial help message and 10 Emacs clears the screen and then displays an initial help message and
11 copyright notice. Some operating systems discard all type-ahead when 11 copyright notice. Some operating systems discard all type-ahead when
12 Emacs starts up; they give Emacs no way to prevent this. Therefore, it 12 Emacs starts up; they give Emacs no way to prevent this. Therefore, it
13 is advisable to wait until Emacs clears the screen before typing your 13 is advisable to wait until Emacs clears the screen before typing your
14 first editing command. 14 first editing command.
15 15
16 If you run Emacs from a shell window under the X Window System, run it 16 If you run Emacs from a shell window under the X Window System, run it
17 in the background with @samp{emacs&}. This way, Emacs does not tie up 17 in the background with @command{emacs&}. This way, Emacs does not tie up
18 the shell window, so you can use that to run other shell commands while 18 the shell window, so you can use that to run other shell commands while
19 Emacs operates its own X windows. You can begin typing Emacs commands 19 Emacs operates its own X windows. You can begin typing Emacs commands
20 as soon as you direct your keyboard input to the Emacs frame. 20 as soon as you direct your keyboard input to the Emacs frame.
21 21
22 @vindex initial-major-mode 22 @vindex initial-major-mode
84 84
85 @kindex C-z 85 @kindex C-z
86 @findex suspend-emacs 86 @findex suspend-emacs
87 To suspend Emacs, type @kbd{C-z} (@code{suspend-emacs}). This takes 87 To suspend Emacs, type @kbd{C-z} (@code{suspend-emacs}). This takes
88 you back to the shell from which you invoked Emacs. You can resume 88 you back to the shell from which you invoked Emacs. You can resume
89 Emacs with the shell command @samp{%emacs} in most common shells. 89 Emacs with the shell command @command{%emacs} in most common shells.
90 90
91 On systems that do not support suspending programs, @kbd{C-z} starts 91 On systems that do not support suspending programs, @kbd{C-z} starts
92 an inferior shell that communicates directly with the terminal. 92 an inferior shell that communicates directly with the terminal.
93 Emacs waits until you exit the subshell. (The way to do that is 93 Emacs waits until you exit the subshell. (The way to do that is
94 probably with @kbd{C-d} or @samp{exit}, but it depends on which shell 94 probably with @kbd{C-d} or @command{exit}, but it depends on which shell
95 you use.) The only way on these systems to get back to the shell from 95 you use.) The only way on these systems to get back to the shell from
96 which Emacs was run (to log out, for example) is to kill Emacs. 96 which Emacs was run (to log out, for example) is to kill Emacs.
97 97
98 Suspending also fails if you run Emacs under a shell that doesn't 98 Suspending also fails if you run Emacs under a shell that doesn't
99 support suspending programs, even if the system itself does support it. 99 support suspending programs, even if the system itself does support it.