34Chapter2 • Working With Editors
2.3.2Using Jed
Jed is called from the command line with an argument telling it which file you would like
to edit. If Jed is called without an argument, it will prompt you for the name of the file before
you may do any editing. This behavior may be changed by modifying the
Startup_With_File
variable in .jedrc to have a value of 0.
Jed may be called with one or more command line arguments. A –
n
argument forces Jed
to ignore the users’ local
.jedrc
file as well as the
jedrc
file. There is also an X version of Jed
that allows you to use the mouse to select text and options from the menu. To start Jed, simply
type:
$ jed
or
$ xjed
Figure 2-8 shows the initial text-based Jed display when no command-line argument is
given. The menu across the top is accessed by pressing the F-10 key. This scratch buffer will dis-
appear when you begin to type and if a filename is given on the command line you will be taken
immediately to that buffer to begin editing.
The basic editing features of Jed will be dependent upon the emulation mode that is
selected. In this section, it is assumed that you will be using the Emacs emulation mode.
Figure2-8 The Jed text interface.