home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
may94
/
util
/
edit
/
jade.lha
/
Jade
/
doc
/
jade.info-1
(
.txt
)
< prev
next >
Wrap
GNU Info File
|
1994-04-20
|
51KB
|
1,054 lines
This is Info file jade.info, produced by Makeinfo-1.55 from the input
file jade.texi.
This is Edition 1, last updated 19 April 1994, of `The Jade Manual',
for Jade, Version 3.0.
Jade is a text editor for Unix (with X11) and the Amiga.
Copyright 1993, 1994 John Harper.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Permission is granted to copy and distribute modified versions of
this manual under the conditions for verbatim copying, provided that
the entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
This is so that jade doesn't try to eval the example use.
::jade-code::
::end::
File: jade.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir)
Jade is a highly flexible text editor for the Unix (with X11) and
Amiga operating systems.
This is Edition 1 of its documentation, last updated 19 April 1994
for Jade version 3.0.
* Menu:
* Copying:: Distribution conditions
* Introduction:: Brief introduction to Jade
* Systems Supported:: The Operating Systems Jade supports
* Editor Concepts:: Some key ideas you should understand
* Key Definitions:: How keys are described in this manual
* Starting Jade:: How to start the editor
* Using Jade:: Instructions for using the editor
* Programming Jade:: How to extend Jade -- its Lisp system
* Reporting Bugs:: How to contact me
* Function Index:: Menu of all documented functions
* Variable Index:: All variables which have been mentioned
* Key Index:: Menu of all key bindings
* Concept Index:: Main index, references to all sections
File: jade.info, Node: Copying, Next: Introduction, Prev: Top, Up: Top
Copying
*******
Jade is distributed under the terms of the GNU General Public
License, this basically means that you can give it to anyone for any
price as long as full source code is included. For the actual legalese
see the file `COPYING' in the distribution. I reserve the right to use
a different license in future releases.
The only parts of Jade which are not my own work are the regexp
code, this is by Henry Spencer (though I have made some small
modifications) and is distributed under his conditions, and the ARexx
interface in the Amiga version which is based on `MinRexx' by Radical
Eye Software.
Be aware that there is absolutely NO WARRANTY for this program, you
use it at your own risk. Obviously I hope there are no bugs, but I make
no promises reguarding the reliability of this software.
File: jade.info, Node: Introduction, Next: Systems Supported, Prev: Copying, Up: Top
Introduction
************
Jade is a text editor primarily designed for programmers. It is
easily customised through a Lisp-style extension language and can be
tailored to the user's own requirements.
Jade is designed to run under a graphical windowing system, systems
currently supported are the Commodore Amiga and the X Window System
version 11 (but only under Unix).
It is the successor to the editor `Jed 2.10' which I released for the
Amiga in early 1993. I have decided to rename it now that I have made a
Unix version since there is already an editor called `Jed' available
(there is no connection between the two, I haven't even looked at the
other one). "Jade" is an anagram of "A Jed", if you want an acronym you
could use "Just Another Damn Editor", if you can think of anything
better please tell me.
Jade is compatible with GNU Emacs in terms of keystrokes and command
names to a certain extent but it is not intended as a simple copy of
Emacs (indeed, when I started this I had never actually used Emacs!). I
have tried to take my favourite aspects of all the editors I have used
as well as adding features that I have not found elsewhere.
Consequently, it is very much the editor that *I* want -- you may not
find it so appealing.
The feature that the most people will dislike is that it doesn't
support "proper" tabs. By this I mean that it expands all tabs to a
sequence of spaces when loading a file, they are not converted back to
tabs until the file is saved back to disk (though this is optional).
File: jade.info, Node: Systems Supported, Next: Editor Concepts, Prev: Introduction, Up: Top
Requirements
************
Jade will only run on certain operating systems, this chapter
details just what it needs as well as some notes relevant to each
system.
* Menu:
* Amiga Jade::
* Unix and X11 Jade ::
File: jade.info, Node: Amiga Jade, Next: Unix and X11 Jade, Up: Systems Supported
Amiga Jade
==========
The only real requirement for Jade running on an Amiga is that it
must run an operating system revision of at least V37 (thats V2.04) and
have about 300K free memory available.
It also needs more stack than the average Amiga application. For
normal use 20K should be okay. If you want to use the Lisp compiler 50K
would be a better bet.
It assumes that its directory is pointed to by the `JADE:'
assignment. This means that the main Lisp files are stored in
`JADE:lisp/' and the file of doc-strings is `JADE:DOC-strings'.
File: jade.info, Node: Unix and X11 Jade, Prev: Amiga Jade, Up: Systems Supported
Unix and X11 Jade
=================
Jade will only run on version 11 of X, it has absolutely no support
for character terminals or different windowing systems. As long as it
compiles it should work on your system.
One problem you might find is that the BackSpace and Delete keys
don't work properly. As far as I have been able to find out, most X
terminals map both the BackSpace (normally at the top-right of the
alpha-keyboard) and the Delete (normally somewhere above the cursor
keys) keys to the `Delete' keysym. Obviously, since I want these keys
to have different effects (1) this is no good. What I decided to do
about this was two things,
1. Use `xmodmap' to map the Delete key to the `BackSpace' keysym.
This may sound backwards but most programs seem to use the
`Delete' keysym as what I call `BackSpace' so mapping as I
described doesn't break this.
To do this, I have the following in my `.Xmodmap' file
keycode 107 = BackSpace
Note that the `107' is the Delete key's keycode on *my* keyboard,
your keyboard may, and probably will, be different.
2. In the function which binds descriptions of keystrokes to Lisp
forms, swap the meanings of the `BackSpace' and `Delete' keysyms.
This means that everything works okay! You can bind to Delete key
and it will work properly.
---------- Footnotes ----------
(1) BackSpace should rub out the key before the cursor and Delete
should delete the character under the cursor
File: jade.info, Node: Editor Concepts, Next: Key Definitions, Prev: Systems Supported, Up: Top
Editor Concepts
***************
Before I describe the editor in detail there are several concepts
which you should be familiar with. Some will be explained in more
detail later.
"buffer"
Buffers are used by the editor to store the text that you are
editing. Broadly speaking, each buffer holds the contents of one
text-file loaded into the editor (it is not necessary for each
buffer to be associated with a file, some buffers exist for other
purposes for example the `*jade*' buffer is used to interact with
the Lisp system.
"current buffer"
The buffer being edited in the current window (see below), most
editor commands work on this buffer unless told otherwise.
"window"
Corresponds to a window in the window-system. Each window can
display one buffer at a single time (although a buffer may be
displayed in more than one window at once).
"current window"
Jade always keeps track of which one of its windows is active. It
is called the current window. Whenever you type a key or press a
mouse button in one of Jade's windows, that window automatically
becomes the current window. Amongst other things, all messages
from the editor are displayed in the status line of the current
window.
"cursor"
The cursor marks your current position in the current buffe