home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d180 / jed.lha / Jed / Jed.Dox < prev    next >
Text File  |  1989-02-25  |  62KB  |  1,667 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                        JED
  8.  
  9.                                  The Jam Editor
  10.                                    Version 1.0
  11.  
  12.                                     (C) 1989
  13.                                        by
  14.                                 Daniel R. Burris
  15.                               ALL RIGHTS RESERVED.
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                                      PREFACE
  28.  
  29.  
  30.     IN THE COURSE OF COMPUTER EVENTS, if a user encounters the need to create
  31.     a batch file, or a startup file, or if a  programmer encounters  the need
  32.     to  create  program  source  code,  said  user  or  programmer  will also
  33.     encounter the need for a *TOOL* to input that text or program source code
  34.     with.
  35.  
  36.     In short,  people with computers need text editors.  And text editors can
  37.     have very large lists  of commands.   You  must always  muddle though the
  38.     documentation looking  for a  command that does  what you need, or (ugh!)
  39.     MEMORIZE the commands your regularly use.
  40.  
  41.     Other text editors have very easy to remember (read very *SHORT*) command
  42.     lists, but are too limited in scope for anything but small files.
  43.  
  44.     Yet another  class of editor is becoming available on the Amiga, the user
  45.     configurable version.  These offer the very best  of both  worlds, giving
  46.     you just  the commands  that you  ask for in your personal version of the
  47.     Editor.  But these tend to be too hard to set up and usually  take up way
  48.     too much memory.
  49.  
  50.     From  the  above  opinions  (which  are  entirely  my  own), I set out to
  51.     recreate an editor for the average  user to  use on  their Amiga.   I say
  52.     "recreate" because  I started with the source code from two Public Domain
  53.     sources, Memacs  on Fred  Fish Disk  #22, and  Pemacs on  Amicus Disk #9.
  54.     These   two editors,  gave me  the source code to start on an editor that
  55.     had the most commonly used and  needed  commands,  (plus  some  very nice
  56.     extras!).   I then  added and  removed pieces  of code  and debugged, and
  57.     fixed, fixed up, then refined again,  until  the  whole  editor  had been
  58.     recreated as "JED".
  59.  
  60.     I have  tried to  make the  user interface  to this editor as painless as
  61.     possible.    My  goal   was  to   make  it   immediately  usable  without
  62.     documentation.   The addition  of an  "onboard" text help file (press the
  63.     help key), did a  lot toward  making this  possible.   I also  put what I
  64.     thought to  be the most useful commands on the pulldown menus, and on the
  65.     Function keys (the "F" Keys).  There is even a  keyboard overlay   at the
  66.     end of  the Help  file that  can be marked as a block of text and printed
  67.     out.  Instructions on how to  do this  are in  the help  file also.   For
  68.     later use,  you can  modify this  file to  suit your personal help needs,
  69.     displaying only the commands that you have trouble  remembering.   Or you
  70.     can  put  some  other  instructions  there for whatever you are using the
  71.     editor for.
  72.  
  73.  
  74.  
  75.  
  76.  
  77.                                           1
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.                                     Features
  94.  
  95.      Here are just a few of the features that the Jam Editor is capable of:
  96.  
  97.                               (Horn Blowing Time!)
  98.  
  99.  
  100.      User selectable auto-indentation.  Choose whether or not the cursor 
  101.      should stop at column 1 (on a return), or line up with the last line.
  102.  
  103.      User selectable backup file creation. Keep (or not) the old  copy of the
  104.      file that you are editing.
  105.  
  106.      Print an entire file, or just a block of text.
  107.  
  108.      Help at the touch of a help key, or pulldown menu.
  109.  
  110.      You may a "daughter" CLI from the editor, or run just on CLI Command. 
  111.  
  112.      You can enter the Jam Editor from CLI or Workbench.  Both can be given a
  113.      filename to edit upon entry.
  114.  
  115.      Has a small macro capability, to ease those repetitive typing tasks.
  116.  
  117.      Has very simple cut and paste, just click on the start of the block  to 
  118.      be cut  with the right "menubutton", then click on the end of the block 
  119.      with the left "select button".  Then select Cut then Paste from  the Cut
  120.      and Paste Pulldown menu.
  121.  
  122.      Can use multiple text buffers, even from within a split screen.
  123.  
  124.      Highlighted  status  bar,  holding  information  on the current file and
  125.      buffer names, and whether the current file has been altered or not.
  126.  
  127.      User message passing is below the Status bar,  in the  tradition of most
  128.      Emacs Editors (In fact, many of the commands are Emacs compatible).
  129.  
  130.      Paging Down can be done by clicking on the word FILE: in the
  131.      Status bar.  Or anywhere below and right of it.
  132.  
  133.      Paging Up can be don by clicking the word BUFFER: in the Status bar.  Or
  134.      anywhere below and left of it.
  135.  
  136.      The Screen can be pulled down to see previous compiler errors on 
  137.      the CLI Screen.
  138.  
  139.  
  140.  
  141.  
  142.  
  143.                                           2
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.     There are too many more goodies to list  here, so  I will  close with the
  156.     size of JED, the Jam Editor: 54160 bytes, Help File and all!  That's less
  157.     than MicroEmacs alone!
  158.  
  159.     In Prospective you can  replace  Ed  and  Edit  in  you  WorkBench disk/C
  160.     directory and  only gain  a total  of 15,972 bytes of usage. Can you find
  161.     15K of unused baggage in your C: or Devs/Printers: directories?
  162.  
  163.                                  In Appreciation
  164.  
  165.     A Special thanks to my Wife, for being patient while I hacked away at the
  166.     code to the Jam Editor.
  167.  
  168.     And thank  you to  my children, for doing without their daddy long enough
  169.     to do this.
  170.  
  171.     And thanks to  Ed  Trumble,  for  his  unique  usage  of  the  slang term
  172.     "Jammin'!" - which inspired the naming of this editor.
  173.  
  174.     Also thanks  to Andy Poggio and Rich Werth for their version of Memacs on
  175.     Fred Fish Disk #22, and Andy Poggio for  his version  of Emacs  on Amicus
  176.     Disk #9.
  177.  
  178.     And of  course to  Fred Fish,  for all the great source code on his disks
  179.     that I was able to draw upon.
  180.  
  181.  
  182.                                    DISCLAIMER
  183.     There is no implied warranty or responsibility on the author's  part, for
  184.     any use, misuse, abuse, or lack of use of JED The Jam Editor.  You use at
  185.     solely at your own risk.   Every effort  has been  made by  the author to
  186.     make this  software as  stable as possible, but responsibility will still
  187.     lie with the user for any trouble encountered with it's use.
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.                                           3
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.                                 TABLE OF CONTENTS
  222.  
  223.     Preface.................................................................1
  224.     Features................................................................2
  225.     In Appreciation.........................................................3
  226.     Disclaimer..............................................................3
  227.  
  228.     CHAPTER 1 - Preliminaries...............................................6
  229.       JED Mouse Usage.......................................................6
  230.       Mouse Cut and Paste...................................................7
  231.       Looking Behind the JED Screen.........................................7
  232.       Loading JED from the CLI..............................................8
  233.       Loading JED from Workbench............................................8
  234.       Changed File Notification.............................................8
  235.  
  236.     Chapter 2 - The Project Menu............................................9
  237.       Going to Other Buffers................................................9
  238.       Kill a Buffer........................................................10
  239.       Rename a Buffer......................................................10
  240.       Saving a File........................................................10
  241.       Loading a File.......................................................10
  242.       Save File As.........................................................11
  243.       Making a Hard Copy of a File.........................................11
  244.       Printing a Block of Text.............................................11
  245.       Quit & Save..........................................................11
  246.       Quit.................................................................12
  247.       Whodunit?............................................................12
  248.  
  249.     Chapter 3 - The Cut & Paste Menu.......................................13
  250.       Cutting Text.........................................................13
  251.       Pasteing Text........................................................13
  252.       Copying Text to the KillBuffer.......................................13
  253.       Saving the KillBuffer................................................13
  254.  
  255.     Chapter 4 - The Command Menu...........................................14
  256.       Searching Forward....................................................14
  257.       Search and Replace - with Query......................................14
  258.       Starting a Macro Definition..........................................15
  259.       Ending a Macro Definition............................................15
  260.       Using a Macro........................................................15
  261.       Entering a New CLI in JED............................................15
  262.       Running One CLI command in JED.......................................15
  263.       
  264.     Chapter 5 - The Options Menu...........................................17
  265.       Getting Help in JED..................................................17
  266.       Splitting the Window into Two Windows................................17
  267.       Going back to One Window.............................................18
  268.       Turning Auto-Indent On and Off.......................................18
  269.       Turning Word Wrap On and Off.........................................18
  270.       Setting the Left Margin..............................................19
  271.       Setting the Right Margin.............................................19
  272.       Turning the Backup Option On and Off.................................19
  273.  
  274.                                           4
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.                           TABLE OF CONTENTS (CONTINUED)
  290.  
  291.     Chapter 6 - The Get Around Menu.......................................20
  292.       Going to the Beginning of Your File.................................20
  293.       Going to the End of the File........................................20
  294.       Going to a Specific Line............................................20
  295.       Going Down One Page.................................................20
  296.       Going Up One Page...................................................20
  297.      
  298.       Menu Conclusion.....................................................21
  299.      
  300.     Chapter 7 - The Function Keys.........................................22
  301.     Chapter 8 - The Keyboard Commands.....................................23
  302.     Appendix A - Registering Your Copy of JED.............................25
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.                                           5
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.                                    CHAPTER ONE
  354.  
  355.                                   -Preliminaries-
  356.  
  357.     First I should cover some things about the use of the mouse,  then I will
  358.     go on  to the Pull down menus, in order, then the Function keys, then the
  359.     keyboard activated commands.
  360.  
  361.                                  -JED Mouse Usage-
  362.  
  363.     The mouse can make the usage of The Jam Editor much faster and simpler to
  364.     use than  just keyboard commands.  But it has it's drawbacks, and it will
  365.     be up to you to decide how often to remove  your hands  from the keyboard
  366.     to access the mouse's power.
  367.  
  368.     First of  all, and probably most important, is the use of the Right Mouse
  369.     with pulldown menus. The Right Mouse button can be used to pull  down and
  370.     select a  menu item  as usually  done with  any Amiga program.  But since
  371.     that same button can be clicked once to "Set the Mark", or,  tell The Jam
  372.     Editor (hereafter  called JED)  where a block of text begins, you can run
  373.     into problems. 
  374.  
  375.     For instance, let's suppose you wish to use  an item  on a  pulldown menu
  376.     and then  change your  mind.   You might pull the mouse pointer down into
  377.     the text below the  last item  on the  menu, and  then release  the mouse
  378.     button. Since  the Amiga  didn't see a menu selection, JED will take over
  379.     and "Set the Mark" wherever you had the mouse pointer in the  text.  This
  380.     will only  effect you  if you immediately begin a cut and paste somewhere
  381.     else in the text.
  382.  
  383.     If this happens, and you find that you have cut out a  different block of
  384.     text than  you wanted,  immediately select  Paste, and  your text will be
  385.     returned. 
  386.  
  387.     But the very best way to avoid this  completely, is  to return  the mouse
  388.     pointer to  the Title  Bar (the  top line,  where it says "The Jam Editor
  389.     V1.0"), before backing out  of a  menu selection  and releasing  the Menu
  390.     Button (You can't mark a block of text beginning in the title bar, and no
  391.     menu choices begin there either). 
  392.  
  393.     This little inconvenience is well worth it when you begin to do  a lot of
  394.     cuts and pastes.
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                                           6
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.                                -MOUSE CUT AND PASTE-
  421.  
  422.      To cut and paste with the mouse here do the following:
  423.  
  424.      1. Find the beginning of the text to be cut.  Remember that clicking the
  425.         Left Mouse on the word "FILE:" in the Status Bar will page  down thru
  426.         the text, and clicking on "BUFFER:" will page up.
  427.        
  428.      2. Click the RIGHT Mouse button at the beginning of the block of text to
  429.         be cut.  This will move the cursor to the  point where  the mouse    
  430.         pointer is and Mark a new start of Block.
  431.  
  432.      3. Click  the LEFT Mouse button  at the end of the block of text to be  
  433.         cut.  This will move the cursor to that point.
  434.  
  435.      4. Then select "Cut" from the "Cut and Paste" menu.  The block of  text 
  436.         that you had selected has been cut out of your text and placed in the
  437.         killbuffer.
  438.  
  439.      5. You may now paste it any place that you like.  By a click of the Left
  440.         Mouse, place  the cursor where you would like to put the block of    
  441.         text, and select "Paste" from the "Cut and Paste" menu.  Your text is
  442.         back in  the new location.  You could have easily changed to another 
  443.         file in another buffer, and pasted it there, or printed it to the    
  444.         printer, or  saved it as a file.  These options will be explained    
  445.         further during the Pull Down Menu descriptions and various places.
  446.  
  447.  
  448.                             Looking Behind the Screen
  449.  
  450.     You can look "behind" JED, by simply pressing and holding the Left Select
  451.     Button in the Title Bar, then dragging the whole Screen downward with the
  452.     mouse.  You can of course drag it back up  again!   This is  a very handy
  453.     feature if  you want to see what line compiler errors were reported on in
  454.     the CLI window, or if you want to access WorkBench.
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.                                           7
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.                               Loading JED from CLI
  486.  
  487.     You  may  enter  JED  from  the  Command  Line  Interface  (CLI)  in  the
  488.     traditional Emacs format:
  489.  
  490.      1> JED [Filename] [Return]
  491.  
  492.      or
  493.  
  494.      1> JED [Return]
  495.  
  496.     The first  example will  bring up  JED and  the help  file, with the File
  497.     specified in [Filename] in the current buffer.  If the path/filename that
  498.     you requested could be found, the buffer will be empty, and will show the
  499.     Filename that you requested.  But if you type in  some text  and Save the
  500.     File, (the  F1 -  Function Key, or from the Project Menu or [Control+X] +
  501.     [Control+S]) it will be saved to the path/filename  you requested.   This
  502.     is a very good way to create new text files.
  503.  
  504.     The second example will also load JED and the help file, but will present
  505.     you with an empty buffer named "Nameless.Jedfile".   You may  then load a
  506.     file (F2  or from  the Project  Menu, or  [Control + X] + [Control + V]),
  507.     which will prompt you (below the  Status Bar  again -  called the message
  508.     area) for  a filename,  load it  in, and rename the buffer.  It will then
  509.     remember where to save it.  * Note * - If at any time,  JED forgets where
  510.     to save  your file,  Select "Save  as" from the Project Menu, and enter a
  511.     path/filename in the message area.
  512.  
  513.                            Loading JED from WorkBench
  514.  
  515.     When Loading JED from  Workbench, you  can just  double click  on the JED
  516.     Icon.   This will  be the  same as the second example in Loading JED from
  517.     CLI above.  You can Also load JED  from Workbench  with a  filename!  The
  518.     file must  have a  project Icon  by same name as the text file, (IE. Word
  519.     Perfect files, or Fred Fish Disk "doc" files-that look like  books).  You
  520.     can then  click once  on the Project Icon for the text file to edit, hold
  521.     down the shift key, and then double click on the JED Icon.   JED  and the
  522.     help file  will then  be loaded,  and the  file you selected with Project
  523.     Icon will come up as the current Buffer!
  524.  
  525.                             Changed File Notification
  526.  
  527.     When you  first load  a file  into JED,  the Status  Bar will  show it as
  528.     original.   If you  type one  character, the  screen will  flash, and the
  529.     screen will be redrawn.  Don't be alarmed!  You didn't do anything wrong!
  530.     Just look  down at  the Status  Bar, and  you will  see that the file has
  531.     changed from [ORG] TO [CHG].  This is  just to  remind you  that you that
  532.     the file  has been  altered, and you will probably want to save it before
  533.     quiting JED. (JED would prompt you  about trying  to quit  without saving
  534.     your changes anyway). More on this in the Chapter 2 - The Project Menu.
  535.  
  536.  
  537.                                           8
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.                                    CHAPTER TWO
  551.  
  552.                                 The Project Menu
  553.  
  554.     The  Project  Menu  is  a  standard  Amiga  Pulldown  menu (with the only
  555.     exceptions being noted in "JED Mouse  Usage" in  Chapter 1).   It  is The
  556.     Leftmost Menu  on the  screen, and  has the  most important functions for
  557.     file and "Buffer"  handling (A buffer is a window in JED  that contains a
  558.     File to  be edited,  or the Help File). The Title of each section will be
  559.     exactly as it appears in the Project Menu.  What  follows is  a breakdown
  560.     of each of the Project Menu commands, and some uses and tricks with each.
  561.  
  562.                              "Other Buffer  SFT/F7"
  563.  
  564.     Above is what you will find if you use the right menubutton and go to the
  565.     rightmost menu in JED.  It will be the top item that you can select. 
  566.  
  567.     I have  found that switching buffers (going back and forth between files)
  568.     is quite a regular occurance when  cutting and  pasting source  code from
  569.     one file  to another.   So  I have  decided to put it first on this menu.
  570.     Strictly for quick access.
  571.  
  572.     In case you are wondering, the SFT/F7 in the selection  name is  just the
  573.     key equivalent  to using  the menu.   They  are included  in all the menu
  574.     choices in JED.   You could  also use  the standard  Emacs command, Cx/b.
  575.     This means  to hold down the key marked CTRL on the keyboard, then strike
  576.     the x character, then lift off of keys  and  hit  the  b  key.    More on
  577.     keyboard commands in Chapter 8.
  578.  
  579.     When you  select "Other buffers", you will be asked for a new buffer name
  580.     in the message area.  The buffer name  in between  the []  symbols is the
  581.     previous buffer  that JED was in.  If you have just loaded your file, and
  582.     ask for Other Buffer, this should be Jed.Help - the help file. The reason
  583.     for this  is that JED loaded it first, then switched to a new buffer, and
  584.     then loaded your file.  If you just hit return, you will be face  to face
  585.     with the  Help file (The same as if you hit the HELP key).  If you select
  586.     Other Buffer at this point, you will be  prompted again,  only the buffer
  587.     name in  between the  []'s will be your file name. You see, JED remembers
  588.     what the last buffer you were in was.   If  you hit  return, you  will be
  589.     back  in  your  file,  in  the  same  place  you left it. This "last file
  590.     remembrance" is very nice when switching between two  files a  lot.  Just
  591.     select  Other  Buffer,  hit  return,  and  you have switched to the other
  592.     buffer in the same point you were last in it.
  593.  
  594.     What if I don't want to go to the last buffer that  JED was  in, you ask?
  595.     Just type in buffer name that you want at the prompt in the message area.
  596.     Caution:  The buffer names are case sensitive.  If you type a buffer name
  597.     of "code.c",  when you  really wanted  "Code.c", you will create a buffer
  598.     named "code.c", and switch  to it.   If  this happens,  just select Other
  599.     Buffer again,  and type  the correct  Buffer name.  As you can see, it is
  600.     easy to create a new buffer with Other Buffers, to load a  new file into.
  601.     But what  about the  unwanted Buffer named "code.c" that we just created?
  602.  
  603.                                           9
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.     This brings us to the second item on the Project Menu...
  617.  
  618.                               "Kill Buffer  SFT/F8"
  619.  
  620.     If you select this menu Item,  you  will  be  prompted  with  "Kill Which
  621.     Buffer: " in the message area.  You simply type the name of the buffer to
  622.     kill and hit return.  The file will then be emptied out, and deleted from
  623.     the list  of buffers that JED is using. Even the Memory that was given to
  624.     this buffer is freed  up.  Gone.  Bit  the  Bullet.  To  the  Bit Bucket.
  625.     Obviously,  this  command  should  be  used  with care.  If you call this
  626.     command by accident, just click the  left  select  button  in  the window
  627.     above the  status line,  and the  screen will  flash (meaning you gave an
  628.     invalid command), and return you safely to editing the buffer you are in.
  629.     * Note - It is a good habit to get into, when deleting buffers,  to first
  630.     hit the  Shift/F6 key,  to examine  the active buffers that JED currently
  631.     has, then select Kill Buffer, type in the buffer name  exactly as listed,
  632.     and hit return.  You will get a status back from JED telling you that the
  633.     unwanted buffer has been deleted.  Then just hit Shift/F4 and you will be
  634.     back to  one window, with your current file ready for more editing.  More
  635.     on these Function keys and their usage in Chapter 7.
  636.  
  637.                              "Rename Buffer  Cx/Cf"
  638.  
  639.     This command (3rd in the Project Menu), will  just prompt  you for  a new
  640.     buffer name  (for the  current buffer).   You  just type  one in, and hit
  641.     return. By the way, you are allowed to  backspace if  you make  a typo in
  642.     the message  area.  This command is here mainly to change the buffer name
  643.     to the same name as the file that it now contains, or to a shorter buffer
  644.     name.   For instance, if you use other buffer to go to a brand new buffer
  645.     named "b", and then load your file named "Code.c", you may want to rename
  646.     you the  buffer "b" to "Code.c" to match your filename.  Or if you have a
  647.     buffer (for whatever strange  reason) named  "adsflkajdfpoewtrpoas",  you
  648.     may want to rename it to something shorter and easier to remember.
  649.  
  650.                                   "Save    F1"
  651.  
  652.     This 4th  command in the Project Menu, is just what it implies.  It saves
  653.     the file in the current buffer,  to the current  buffer's filename.   All
  654.     pathname information should, under normal circumstances be automatic.  If
  655.     you get a message back stating  that JED  couldn't remember  where to put
  656.     the file,  use "Save  File As   Cx/Cw" (explained later in this chapter),
  657.     and type in the correct path/filename to save  it to.  But this shouldn't
  658.     usually happen.   Since  this menu choice is also tied to the F1 key, you
  659.     can update your file on disk regularly by simply hitting  F1, and waiting
  660.     for your disk to quit "gronking".
  661.  
  662.                                   "Load    F2"
  663.  
  664.     This (still  on the  Project Menu)  is simply for loading a file into the
  665.     current buffer, but there a few things to be aware  of.   If your current
  666.     buffer has your only copy of your Pulitzer Prize winning novel in it, you
  667.     might want to save it first, or use  "Other Buffer"  first, and  create a
  668.  
  669.                                          10
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.     new buffer  to load the new file into.  If you do try to load a different
  683.     file into a buffer that has been changed (from the original on disk), JED
  684.     will ask you if that is what you really want to do, and wait for a Y or N
  685.     for a yes or no.
  686.  
  687.                               "Save File As  Cx/Cw"
  688.  
  689.  
  690.     When this item is selected from  the Project  Menu, you  will be prompted
  691.     for a  "Path/Filename:" in  the message  area.   You should be careful to
  692.     type the full path to the place that you actually want to put the file in
  693.     current  buffer.  JED  is  just  a  slave.  He will follow your "Save As"
  694.     command to the letter...
  695.  
  696.     The "Cx/Cw" part of the Menu Item name  stands for  the keyboard sequence
  697.     of:    Hold  down the  CTRL key,  then hit the x key, lift off both keys,
  698.     then hold down the CTRL key again, and hit the w key.  This isn't  as bad
  699.     as it sounds, and to all you Emacs junkies out there, it is compatible.
  700.  
  701.                         "File Hard Copy [RIGHT AMIGA] H"
  702.  
  703.     This seventh  Project Menu  choice will print the file in current buffer.
  704.     It doesn't have any Emacs compatible key commands, as I added it.  If you
  705.     start to  print a file that you didn't want to, you can just shut off the
  706.     printer (primitive I know..) and wait for a  "Printer trouble" requester,
  707.     then select Cancel.  At least you can get out of it!
  708.  
  709.                          "Print Block  [RIGHT AMIGA] P"
  710.  
  711.     Command Number  8 on  the Project Menu can be used to print the currently
  712.     marked block in current buffer.   If you  use the  "Mouse Cut  and Paste"
  713.     instructions on  page 6,  and when  you get  to step number 4, instead of
  714.     selecting "Cut" from the "Cut and Paste" menu,  you select  this command,
  715.     the block  that you  have selected will be printed to your printer.  This
  716.     can be very handy for  closely  scrutinizing  a  buggy  function  in your
  717.     source code, without the loss of time and paper it takes to print a whole
  718.     file.
  719.  
  720.                                "Quit & Save  F10"
  721.  
  722.     This command will automatically save your text to  the file  that it came
  723.     from, or  if you  loaded a non-existent file with a correct path/filename
  724.     (IE: JED df0:c/test), it  will save  the newly  created file  to it's new
  725.     path/filename.  Then the JED will self exit.  This is the recommended way
  726.     to exit.  If the file in the current buffer  is current  on the  disk, as
  727.     after a save command and no changes (the Status Bar shows [ORG]) JED will
  728.     just self exit.    This  saves  time  and  chances  of  disk  errors from
  729.     redundant saves.   If  you prefer  to save and exit manually to have more
  730.     control (not really any safer), use the save  command above  and the next
  731.     command.   This command  can also be invoked with the CTRL key plus the z
  732.     key.
  733.  
  734.  
  735.                                          11
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.                                 "Quit    SHT/F10"
  749.  
  750.     This Project menu item just exits the program.   If  any buffer  you have
  751.     active in  JED has [CHG] in the Status Bar, and you select Quit, you will
  752.     be prompted with "Modified buffers exist exit Y/N?".   At  this point you
  753.     can select  N and  go through and save all changed files, and quit again.
  754.     You can find out  about which  buffers are  changed with  Shift/F6.  This
  755.     command will  display JED's  active buffer  list, or the buffers that you
  756.     have asked JED to make if you will.  It will also  contain information as
  757.     to which  buffers are  changed. Then hit Shift/f4 and you will be back to
  758.     one window.  Use "Other Buffer" to go to the  changed buffers,  then do a
  759.     Save (F1)  as described  above, and then exit.  Now you will find, if you
  760.     have saved everything, and all buffers are current, JED will exit without
  761.     a complaint.
  762.  
  763.                           "WhoDunit?  [RIGHT AMIGA] W"
  764.  
  765.     This the last item (and least used) of the Project Menu is a plug for the
  766.     Jam Editor, and a few bucks for my efforts.  If you feel guilty enough to
  767.     send something,  but don't  feel it  is worth  all of seven dollars, send
  768.     what you think it is worth.  I probably will  still register  you anyway,
  769.     if your offer is within reason.  Thanks for your support.
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.                                          12
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.                                   CHAPTER THREE
  815.  
  816.                               The Cut & Paste Menu
  817.  
  818.     This pulldown  menu, which  is just  to the right of the Project menu, is
  819.     strictly for use with Blocks of text.
  820.  
  821.                                    "Cut    F8"
  822.  
  823.     The first choice on the Cut  & Paste  menu is  Cut.   I put  it first for
  824.     quickest access  in using only the mouse to cut a block of text (See step
  825.      #4 of "MOUSE CUT AND PASTE" on page 6).  It simply cuts a  block of text
  826.     (that  you  have  marked)  out  of  the current buffer and puts it in the
  827.     "Killbuffer".  The Killbuffer is a non-visible buffer that saves any text
  828.     that you remove until you restore it or cut out more text. If you cut out
  829.     more text, the last text that you had in the Killbuffer will be lost.
  830.  
  831.     Generally, you will want to use the mouse for this function.   But if you
  832.     don't like to lift your hands off the keyboard, you can use the F8 key as
  833.     shown in the name of the Menu  Item.    Or  you  can  use  the  old Emacs
  834.     standby, the CTRL key, + the W key. 
  835.  
  836.                                  "Paste  F9/F9"
  837.  
  838.     This second  choice the  Cut & Paste menu is for restoring the killbuffer
  839.     to your text at the place  where  the  cursor  is.    This  can  be  in a
  840.     different place  in the  file, several  places in the file (you can paste
  841.     the same text as many times as you like), or a different file completely.
  842.     The Keyboard way of invoking Paste is F9 + F9, or the Emacs equivilent of
  843.     CTRL + Y (for Yank).
  844.  
  845.                       "Copy to KillBuffer  [RIGHT AMIGA] C"
  846.  
  847.     This command is the same as a Cut operation (above), except that  it does
  848.     not remove  the chosen  Block from you text.  It just makes a copy of the
  849.     Block in the killbuffer.  This is the  one that  I use  when copying text
  850.     from one  file to  another.   I use it because my original, debugged file
  851.     remains unchanged when moving a *copy* of the  text to  the new  file.  I
  852.     only use Cut for rearranging text in a file.  You can access this command
  853.     from the keyboard by holding down the Right Amiga key,  and then pressing
  854.     the c key.
  855.  
  856.                        "Save KillBuffer  [RIGHT AMIGA] S"
  857.  
  858.     This command will save the killbuffer to a file.  JED will prompt you for
  859.     a Path/Filename  to save  the Killbuffer  to, then  save it  there.  This
  860.     command is  handy for  cutting out  things ahead of time, and saving them
  861.     until your friend gets back with the disk you are working on.   Note: You
  862.     should use  the Project  Menu's Print  Block function  to print blocks of
  863.     text, but if you find you already have  something in  the Killbuffer (say
  864.     from a  Cut command)  and want  to print it, you can "Save KillBuffer" to
  865.     PRT: if you like, and it should work just fine.A
  866.                                                    
  867.                                          13
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.                                   CHAPTER FOUR
  881.  
  882.                                 The Command Menu
  883.  
  884.                              "Search Forw.  SFT/F1"
  885.  
  886.     The first item on  the Command  Pulldown Menu  is for  searching forward.
  887.     The search begins at the cursor, and searches toward the end of the text,
  888.     for a text string that you give to JED in the message passing area.   You
  889.     select this  item from  the Pulldown menu, or holding down the Shift Key,
  890.     then pressing the F1  function key,  or using  the Emacs  command CTRL S.
  891.     This is  done by  pressing down  the CTRL  key, then  pressing the s key.
  892.     Whichever of the 3  ways that  you call  up Search  Forward, you  will be
  893.     prompted in the message passing area with "Search for What String? ".
  894.     You then  type in the wanted string, or enough of that string to help JED
  895.     find it for you.  If JED finds your string, the search  is stopped.   The
  896.     cursor will be at the end of asked for string.  The string that you asked
  897.     for will be remembered, so if you really  wanted the  second occurance of
  898.     the string (from where you started your search), you can just call Search
  899.     Foward again.  The message  area  will  again  display  "Search  for What
  900.     String?", but  with the  string that  you typed in the last time that you
  901.     used Search Forward in the prompt in the () characters.   If  this is the
  902.     string that you want, just press return, and JED will search again toward
  903.     the end of the  text for  that string  from the  cursor.   This string is
  904.     remembered even  if you  load a new file, and forever until you type in a
  905.     new search string, or quit JED.  This is handy if you have to search over
  906.     several text files for a particular piece of source code, or paragraph of
  907.     text that must be changed.
  908.  
  909.                               "Query/Repl.  SFT/F3"
  910.  
  911.     This 2nd command of the  Command  menu  is  very  simular  to  the Search
  912.     command above  it.   It starts at the cursor, and looks toward the end of
  913.     the text, for an occurance of  your string.   And  it also  remembers the
  914.     last string  searched for  (in fact  it remembers it in the same place as
  915.     the Search command above so you can switch commands with the typed string
  916.     intact).  But that is where the simularity ends.  When you call Query and
  917.     Replace from the Command menu, or  by  holding  down  the  Shift  key and
  918.     hitting F3,  or by hitting the Alt key, then holding down shift key, then
  919.     hitting the shifted 5 key (This is called ALT + %), you  will be prompted
  920.     for  an  "Unwanted  String",  and  then  a string to replace the unwanted
  921.     string with ("New String").  JED will then search from the cursor  to the
  922.     end of  the text for an occurance of your requested string.  If JED finds
  923.     an occurance, you will be given the options to:
  924.  
  925.          1. Replace this newly found string with your 2nd given string.
  926.          2. Replace all strings matching with your 2nd given string.
  927.          3. Skip this occurance of the searched for string.
  928.          4. Hit CTRL + G and escape the Query/Replace mode and go back to    
  929.             editing.
  930.  
  931.  
  932.  
  933.                                          14
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.                                "Start Macro  Cx/("
  947.  
  948.     The 3  commands on  the Command  Pulldown menu  go together.  The let you
  949.     create simple macros, and execute them.  This first one,  Start Macro, of
  950.     course  lets  you  start  the  macro.    It  is invoked from the Pulldown
  951.     easiest, but can also be invoked  by holding  down the  CTRL key, hitting
  952.     the x  key, releasing  both keys,  then holding  down the  SHIFT key, and
  953.     hitting the ( key (the shifted 9 key).  You  then type  your simple macro
  954.     (try to avoid RETURNS and CURSOR DOWNS), and Then select the next option,
  955.     which is "End Macro Cx/)".  This will complete the  macro definition. You
  956.     can  then  invoke  the  newly  defined macro by invoking the next command
  957.     after the "End Macro Cx/)", which is Use  "Macro ALT/E".   The  key exact
  958.     sequence that you typed in between Start macro and End Macro will then be
  959.     inserted into the text at the  cursor.   Beware!   This command  does not
  960.     always preform  as expected when you use RETURN keys and Cursor Down keys
  961.     in the Macro.   You will  have to  experiment to  find which combinations
  962.     work.
  963.  
  964.                                 "End Macro  Cx/)"
  965.  
  966.     See Start  Macro for  usage of this Command menu item.  It is called from
  967.     the menu easiest, or you can Hold down the CTRL Key, then hit the  x key,
  968.     release, then hold down the SHIFT key, and hit the ) (the SHIFTed 0 key).
  969.     I personally feel the the pulldown is easier.
  970.  
  971.                                "Use Macro  ALT/E"
  972.  
  973.     See Start Macro for usage of this Command menu item.   It  is called from
  974.     the Pulldown, of course, or, you can hold down the ALT key, and press the
  975.     e key.  I usually only use macros when I  have many  identical changes to
  976.     make to several lines.  I don't use them often, so I use the pulldown the
  977.     first time (to  see  the  key  sequence),  and  then  use  ALT/E  for all
  978.     subsequent times.
  979.  
  980.                                   "New CLI  Cc"
  981.  
  982.     This  Command  Menu  choice  will  open up a large Command Line Interface
  983.     (CLI) from within JED.  You  can  then  proceed  to  compile  files, copy
  984.     files, read text files, and run most programs.  I have actually forgotten
  985.     that I was in JED from time to time!  The instructions for exiting JEDCLI
  986.     can be  found at  all times  in the  JEDCLI window  Title Bar. (This also
  987.     reminds some of us that they started this CLI from  the Editor...).   You
  988.     can enter  a New  CLI from  the Pulldown, or By holding down the CTRL key
  989.     and tapping the c key until the window appears. Generally,though,   I use
  990.     the CLI command option described below.
  991.  
  992.                                "CLI Command ALT/Q"
  993.  
  994.     This is  simular to  the "New  CLI Cc"  command above, but can be used to
  995.     quickly run one command (or program, or batch file) from and have the CLI
  996.     window automatically  exit about 1 second after the command is done. This
  997.     is very handy for compiling a  program from  a batch  file containing the
  998.  
  999.                                          15
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.     compiling and linking instructions (immediately after a Save - F1, of the
  1013.     current source code in that you just fixed in JED).  Or  for displaying a
  1014.     directory.   Or my  favorite, running one of the many Directory Utilities
  1015.     found on the fish disks.  If you list a directory this way, You  may want
  1016.     to quickly get to the mouse, and hold down the RIGHT menu button, to stop
  1017.     the action, as after about one second, the window will close back  up and
  1018.     you will be back in the editor as if you never left it (you didn't as you
  1019.     can see around the edges of the CLI  window!)   You can  use this command
  1020.     from the pulldown as always or by holding the ALT Key, and pressing the q
  1021.     key.
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.                                          16
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.                                   CHAPTER FIVE
  1079.  
  1080.                                 THE Options Menu
  1081.  
  1082.                                "Help On/Off  HELP"
  1083.  
  1084.     This first item on the Options menu (1st for ease  of access),  is to get
  1085.     the Help  menu displayed.   You  can more  easily display  it, as the key
  1086.     sequence given in the menu shows, by hitting the HELP  key.   You will be
  1087.     face to  face with  the first  page of  the Help file - Jed.Help.  If you
  1088.     select this menu option again (or hit the HELP key), you will  be back in
  1089.     the file  that you just left, in exactly where you were before you called
  1090.     help (this has been standard in buffer switching in JED, so you don't get
  1091.     lost in  a file  that you  were previously  in).   If you recall the Help
  1092.     file, you will be  back at  the beginning  of JED  again, where  the most
  1093.     commonly need  help can  be found.   You can move around in the Help file
  1094.     the same as any other text file.  You can edit it to suit  your own needs
  1095.     (although  you  should  save  a  copy  of it to another disk before doing
  1096.     this).  If you want to arrive in the HELP file in a different  place than
  1097.     the  start  of  the  file,  you  can always enter and exit it with "Other
  1098.     Buffer" from the Project menu,  and  your  place  will  be  remembered as
  1099.     always.
  1100.  
  1101.     While you  are still  new to  JED and it's commands, you should enter the
  1102.     Help file, page down (by using the F6 key) until  "Page #7"  is displayed
  1103.     in the  top right  of the  text area.  There you will see instructions on
  1104.     printing out a simple keyboard overlay.  You  can then  paste it together
  1105.     and place  it over the "F" keys on your keyboard.  It stays there fine on
  1106.     my old (but trusty!) Amiga 1000.   This  should be  a great  help to good
  1107.     typists,  that  don't  wnat  to  use  the  mouse  all the time to see the
  1108.     keyboard equivilents on the Pulldown menus.
  1109.  
  1110.     Another feature of the HELP File, is that all of  the Emacs  Key Commands
  1111.     that JED  has are  listed there.   Some  of these are not on the Pulldown
  1112.     menus, or on the Functions keys.  I have tried  to keep  the Pulldowns as
  1113.     uncluttered  as  possible,  while  still  retaining the most necessary of
  1114.     editing commands.  In other words, I have configured JED as I  would have
  1115.     configured a  user configurable  editor for  my own use.  It's all there,
  1116.     but in a much smaller package.
  1117.  
  1118.                                "Split Window Cx/2"
  1119.  
  1120.     This 2nd command of the Options menu will  give you  two editing windows,
  1121.     with two  status bars.   It  is possible to load two different files into
  1122.     the two windows, and cut and paste between  them, compare  them visually.
  1123.     But  you  must  be  very  careful  as  to  which  window the cursor is in
  1124.     (determines which window is active), as the cursor will switch  from time
  1125.     to time  on pageing  up and down operations, on End of file, top of file,
  1126.     or other logical (to  the program)  operations. you  can change  which is
  1127.     active by  the standard  Amiga concept of clicking on the window that you
  1128.     want active.  I generally don't use this option often, but when  I do, it
  1129.     can save  the day.   I generally use the "Other Buffer" option and switch
  1130.  
  1131.                                          17
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.     between full screen buffers instead.  But I ocasionally use it to compare
  1145.     2 pieces  of "C" Code with unusually strange syntax, to see what {, :, or
  1146.     * that I left out.   Visual comparisons  sometimes can  be the  only way.
  1147.     You can  also get  to this  option with  holding down  the CTRL key, then
  1148.     hitting the x key, releasing both keys, then  hitting the  2 key,  as the
  1149.     command suggests.  On the pulldowns, all "C"'s mean the CTRL Key, and all
  1150.     ALT mean the Alt command.  All F's  mean a  function key,  and are always
  1151.     followed by  a number  of 1  thru 10.  All SFT's stand for SHIFT, and all
  1152.     square boxes with the letter A in them (in inverse video) stand for RIGHT
  1153.     AMIGA.   This will  be come  obvious in  time, and  some EMACS users will
  1154.     recoginize it immediately.
  1155.  
  1156.                                "One Window SFT/F4"
  1157.  
  1158.     This 3rd command on the Options  Menu is  to restore  the display  to the
  1159.     currently active  window only.   It  is used  generally after the command
  1160.     above it, "Split window Cx/2".  Or it is also used to restore the display
  1161.     to one window after displaying the List of Buffers active in JED (See the
  1162.     Function key Chapter -  SHIFT/F6).   You can  also select  this option by
  1163.     holding down  the SHIFT  key and hitting the F4 key as shown in the menu.
  1164.     Also, you may use the Emacs version, CTRL key, plus  the x  key, release,
  1165.     then the 1 key.
  1166.  
  1167.                                "Auto Indent Cx/i"
  1168.  
  1169.     This command  is one that I find particularly useful, and is a Default in
  1170.     JED.  You can tell if it is active by  checking the  menu itself,  as you
  1171.     will see  a Checkmark  by it  if it is active, and a blank space if it is
  1172.     not.  If it is active, upon the  user typing  a RETURN,  or if  word wrap
  1173.     takes  place  (see  the  next  Options  menu  option),  the  cursor, will
  1174.     automatically advance to the column of the first  character of  the above
  1175.     line with  text on  it.   This is  extremely useful  when you indent your
  1176.     source (for readibility) as your nesting gets "deeper". or if  you want a
  1177.     paragraph in  a letter  to be indented by a few spaces, just turn on Auto
  1178.     Indent, and  Word Wrap,  and space  the first  line of  the paragraph the
  1179.     required amount, and type away worry free (well, almost, no spell checker
  1180.     is included).  You can also  access this  by holding  down the  CTRL key,
  1181.     then hitting  the x  key, and then releasing both keys, and hitting the i
  1182.     key.
  1183.  
  1184.                                 "Word Wrap  Cx/t"
  1185.  
  1186.     This is word wrap in the traditional sense, but with one difference.   If
  1187.     you append  text on a line and it goes beyond the current setting of your
  1188.     right margin (explained later in this chapter),it will run to  the end of
  1189.     the text  area and  display an  "$" at  the edge  of the screen.  You can
  1190.     correct this if you want to by putting the cursor on place  that you want
  1191.     to  break  the  text,  and  hitting  a  return.  You will sometimes get a
  1192.     stationary character in the first column  of the  next line,  and you can
  1193.     get rid of it typing CTRL and l.  This will redisplay the screen, and the
  1194.     unwanted stationary key will disappear. You can turn this menu  option on
  1195.     and off  (this also has a check mark to let you know if it is on or off),
  1196.  
  1197.                                          18
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.     by the main menu, or holding down the  CTRL Key,  hitting the  x key, and
  1211.     releasing both, and hitting the "t" key.  The JED default for this option
  1212.     is On. I like to keep my text on screen in front of me!
  1213.  
  1214.                           "Left Margin  RIGHT AMIGA/L"
  1215.  
  1216.     This sets the margin of blank space on the left side of your screen, that
  1217.     is skipped when the text wraps around while typing.  When it is selected,
  1218.     you will be prompted with Left Margin: 4 .  If you  just hit  return, you
  1219.     will get  the default.   Or  you can  type in your own preference, and it
  1220.     will be changed on the next word wrap.  You can also set this  by holding
  1221.     down the Right Amiga key, and pressing the "l" key.
  1222.  
  1223.                           "Right Margin RIGHT AMIGA/R"
  1224.  
  1225.     This sets  the margin  of blank  space on  the right side of your screen,
  1226.     that is skipped when word wrap takes place at the  end of  a screen line.
  1227.     You can  select it  by the  menu of  course, or by holding down the Right
  1228.     Amiga key and pressing the "r" key.
  1229.  
  1230.                            "Make Backups RIGHT AMIGA B"
  1231.  
  1232.     This last option on the Option Menu  is  for  setting  whether  or  not a
  1233.     backup file  is created  or not.  There is a checkmark to tell you if the
  1234.     backup option is on, and none if it is off.  The JED default is OFF.   If
  1235.     you turn  it on,  you will be told that a backup file will be made in the
  1236.     message area, and a checkmark will appear in the menu to the  left of the
  1237.     menu name.  When this option is on is, the original file, upon saving the
  1238.     new file, will  be  renamed  to  your  filename,  plus  the  extention of
  1239.     ".backup".   Then your  new copy of the file will be saved.  This way, if
  1240.     you want to try some new large change to some  text file,  and don't know
  1241.     if the  changes will  work (as  in the  case of source code), you set the
  1242.     Backup Option to on, and make  your changes  and save  as usual.   If the
  1243.     change didn't work, you can delete your new file, and rename the one with
  1244.     the ".backup" extention to the same name - without the ".backup", and you
  1245.     will be  back to  where you  started.   This is a nice feature if you are
  1246.     unsure of your changes, but can be a bother at  times.   What I  ended up
  1247.     with were  a lot of files with .backup on them every I changed my startup
  1248.     sequence!  This is the reason  that  this  option  is  set  to  off  as a
  1249.     Default.   You can  access the  toggling of  this command  by holding the
  1250.     right Amiga key down, and hitting the b key.  I usually  use the  Menu to
  1251.     benefit from the status of the checkmark.
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.                                          19
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.                                     CHAPTER 6
  1277.  
  1278.                                The Get Around Menu
  1279.      
  1280.     This menu is strictly for getting around in your text files.
  1281.  
  1282.                                 "Top of File  F3"
  1283.  
  1284.     This  first  item  on  the  Get  Around  menu  will  take you to the very
  1285.     beginning of the text file, and place your cursor on the first character.
  1286.     It can be also invoked with the F3 key, which is much  easier, especially
  1287.     if you  use the keyboard overlay.  This is handy if you want to check for
  1288.     include files, variable declarations, and the like.  For non-programmers,
  1289.     you can  check the  name of person to whom you are writing the letter to,
  1290.     so as to spell it correctly.
  1291.  
  1292.                                 "End of File  F4"
  1293.  
  1294.     This is the logical 2nd  choice after using the Top of file above.   This
  1295.     will take  you to the end of the text file, or probably where you were at
  1296.     when you decided to check the top of the file.   It  can be  invoked from
  1297.     the menu, or from the F4 function key.
  1298.  
  1299.                                  "Goto Line  F5"
  1300.  
  1301.     This 3rd choice on the Get Around Menu is for going to a specific line in
  1302.     the text (or source code).  This is especially useful for programmers, as
  1303.     it corrects  for the Manx and Lattice Compiler's, and the Metacomco Macro
  1304.     Assembler's error reporting.  All three seem to  catch errors  1 line too
  1305.     late and  therefore report  the wrong line by 1 line (IE - Line 98 really
  1306.     has an error in coding on line 97).  I just subtracted one from  the line
  1307.     routine. If you use the Compiler's or Assembler's error complaint number,
  1308.     you will end up on the correct line.   You  can access  this command from
  1309.     the menu, of by the F5 function key.
  1310.  
  1311.                                  "Page Down  F6"
  1312.  
  1313.     This will  move the  cursor down   by  22 lines of text, or just a little
  1314.     less than one screen full of text.  This is much easier than cursoring up
  1315.     22 times  but is  not a  true full  66 line page of text.  You can access
  1316.     Page down by 4 ways!  First from  the menu,  2nd, from  the F6  key, 3rd,
  1317.     from the  Emacs standard  of holding  the CTRL key down and then pressing
  1318.     the v key, or 4th, by clicking the  Left Select  mousebutton on  or below
  1319.     and to the right of the word FILE: in the Status Bar.
  1320.  
  1321.                                    "Page Up  F7"
  1322.  
  1323.     This Last  command on  the Get  Around menu  (and also  the last on JED's
  1324.     menus), will move the cursor up by 22  lines of  text.   Again, as above,
  1325.     this is  not a  full printed  page of text, but a screen page.  It can be
  1326.     accessed  by the menu, or by the F7 function key, or by the  Emacs way of
  1327.     holding down the ALT key, and pressing the v key, or by clicking the Left
  1328.  
  1329.                                          20
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.     Select button on or below and left of  the word  "BUFFER:" in  the Status
  1343.     Bar.
  1344.  
  1345.                                  MENU CONCLUSION
  1346.  
  1347.     This concludes  the menus  currently available  on The Jam Editor.  There
  1348.     are several  tricks  and  shortcuts,  that  have  been  left  out  of the
  1349.     discriptions, all  for the  sake of  brevity. And  there are many options
  1350.     that have been left off the PullDown Menus, also for the sake of brevity,
  1351.     and  in  the  case  of  pulldowns,  for  the  sake of clarity and an easy
  1352.     learning curve.  Please experiment with the editor on a  copy of  text at
  1353.     first, or  with the  Backup Option  on (from the Options menu).  You will
  1354.     find as time goes on that JED, dispite it's quirks, is very simple to use
  1355.     and quite effective.  At least that was my goal.  I am always open to new
  1356.     suggestions, and ideas that  you  might  have  for  The  Jam  Editor, and
  1357.     appreciate your comments.
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.                                          21
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.                                     CHAPTER 7
  1409.  
  1410.                                 The Function Keys
  1411.  
  1412.     Most   of the Function keys listed below can be found in various sections
  1413.     of the  PullDown menu  descriptions.   Those that  can are  listed with a
  1414.     reference page  number to  where a description of their use can be found.
  1415.     Those that can't will have a page number  listed.   This is   where thier
  1416.     brief Emacs  Command key  description can  be found.   These commands are
  1417.     generally self explanatory when you  use  them.    The  exception  is the
  1418.     Repeat command,  (Shift/F9).   It asks  for a repeat amount, then repeats
  1419.     the next character typed that many times.  All of  the function  keys are
  1420.     the first  thing shown when you enter the Help file in JED (with the HELP
  1421.     key), so you will rarely have use for this section.
  1422.  
  1423.     F1      = Save on Page 10          Shift/F1  = Search Forw. on Page 15
  1424.     F2      = Load on Page 10          Shift/F2  = CTRL + R on Page 24
  1425.     F3      = Top of file on Page 21   Shift/F3  = Query/Repl. on Page 15
  1426.     F4      = End of file on Page 21   Shift/F4  = One Window on Page 19
  1427.     F5      = Goto Line on Page 21     Shift/F5  = CTRL + X + = on Page 24
  1428.     F6      = Page Down on Page 21     Shift/F6  = CTRL/X + CTRL/B - Page 25
  1429.     F7      = Page Up on Page 21       Shift/F7  = Other Buffer on Page 9
  1430.     F8      = Cut Block on Page 13     Shift/F8  = Kill Buffer on Page 10
  1431.     F9 + F9 = Paste Block on Page 13   Shift/F9  = CTRL + U on Page 23
  1432.     F10     = Quit & Save on Page 11   Shift/F10 = Quit on Page 12
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.                                          22
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.                                     CHAPTER 8
  1475.  
  1476.                               The KeyBoard Commands
  1477.  
  1478.     The following commands  are  generally  Emacs  compatible,  and  some are
  1479.     duplicate commands  for those  of you  that are  used to  using Emacs, or
  1480.     MicroEmacs.  They are divided into sections by keys needed  to cause them
  1481.     to be invoked.
  1482.       
  1483.                         THE CTRL KEY + OTHER KEY COMMANDS
  1484.                         ---------------------------------
  1485.  
  1486.        COMMAND     = DESCRIPTION
  1487.        -------       -----------
  1488.       
  1489.       <CTRL + @>   = Set Mark at current position.
  1490.       <CTRL + A>   = Move cursor to beginning of line.
  1491.       <CTRL + B>   = Move cursor BACK one character.
  1492.       <CTRL + C>   = Enter a new CLI window (in JED).
  1493.       <CTRL + D>   = DELETE current character.
  1494.       <CTRL + E>   = Move cursor to END of line.
  1495.       <CTRL + F>   = Move cursor FORWARD one character.
  1496.       <CTRL + G>   = Abort any command.
  1497.       <CTRL + H>   = (Backspace) delete previous character.
  1498.       <CTRL + I>   = Insert a TAB char or TAB number of spaces
  1499.       <CTRL + K>   = KILL (delete) to end of line.
  1500.       <CTRL + L>   = Redisplay screen.(CLEAN UP if garbage)
  1501.       <CTRL + M>   = End current line and start a new one.
  1502.       <CTRL + N>   = Move cursor to NEXT line.
  1503.       <CTRL + O>   = OPEN a new line.
  1504.       <CTRL + P>   = Move to PREVIOUS line.
  1505.       <CTRL + Q>   = QUOTE (insert the next character typed).
  1506.       <CTRL + R>   = REVERSE Search.
  1507.       <CTRL + S>   = Forward SEARCH.
  1508.       <CTRL + T>   = TRANSPOSE character under cursor and Previous character.
  1509.       <CTRL + U>   = Enter repeat count for next command.
  1510.       <CTRL + V>   = VIEW the next screen (scroll up one screen).
  1511.       <CTRL + W>   = Kill region (all text between cursor and last mark set).
  1512.       <CTRL + Y>   = YANK (undelete) last text killed (deleted).
  1513.       <CTRL + Z>   = Save file in current buffer and exit.
  1514.  
  1515.  
  1516.                     THE CTRL KEY + X KEY + OTHER KEY COMMANDS
  1517.                     -----------------------------------------
  1518.  
  1519.       <CTRL + X> + !   = Deleted due to Guru problems - was Paragraph fill.
  1520.       <CTRL + X> + =   = Show the cursor position on the current screen.
  1521.       <CTRL + X> + (   = Begin keyboard Macro.
  1522.       <CTRL + X> + )   = End keyboard Macro.
  1523.       <CTRL + X> + 1   = Display only current window.
  1524.       <CTRL + X> + 2   = Split the current window.
  1525.       <CTRL + X> + B   = Prompt for new BUFFER.
  1526.  
  1527.                                          23
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.       <CTRL + X> + E   = EXECUTE keyboard Macro.
  1541.       <CTRL + X> + I   = Toggle the Auto Indentation Mode.
  1542.       <CTRL + X> + K   = KILL a Buffer.
  1543.       <CTRL + X> + N   = Move to NEXT Onscreen window.
  1544.       <CTRL + X> + P   = Move to PREVIOUS Onscreen window.
  1545.       <CTRL + X> + T   = Toggle word wrap.
  1546.       <CTRL + X> + Z   = Enlarge current window by repete count lines.
  1547.  
  1548.  
  1549.               THE CTRL KEY + X KEY + CTRL KEY + OTHER KEY COMMANDS
  1550.               ----------------------------------------------------
  1551.  
  1552.       <CTRL+X> + <CTRL+B>  = Show active BUFFERS.
  1553.       <CTRL+X> + <CTRL+C>  = EXIT without saving buffers.
  1554.       <CTRL+X> + <CTRL+F>  = FIX a new BUFFER NAME.
  1555.       <CTRL+X> + <CTRL+L>  = Change a region to LOWER case.
  1556.       <CTRL+X> + <CTRL+O>  = Take OUT blank lines.
  1557.       <CTRL+X> + <CTRL+N>  = Scroll current window up by repete count lines.
  1558.       <CTRL+X> +  <CTRL+P>  = Scroll Window Up (Repete Count) Lines.         
  1559.       <CTRL+X> + <CTRL+R>  = READ File into Current Buffer.
  1560.       <CTRL+X> + <CTRL+S>  = SAVE (write) Current Buffer into it's file.
  1561.       <CTRL+X> + <CTRL+U>  = Change a region to UPPER case.
  1562.       <CTRL+X> + <CTRL+V>  = VISIT a file and Display in Current Window.
  1563.       <CTRL+X> + <CTRL+W>  = WRITE buffer to file.
  1564.       <CTRL+X> + <CTRL+X>  = Swap  [Block Mark]  &  [Cursor Position].
  1565.       <CTRL+X> + <CTRL+Z>  = Reduce current window by (Repete  Count) lines. 
  1566.  
  1567.                         THE ALT KEY + OTHER KEY COMMANDS
  1568.                         --------------------------------
  1569.  
  1570.       <ALT> + !        = Move Current Line (Repeat Count) Lines from Top.
  1571.       <ALT> + %        = Query Replace.
  1572.       <ALT> + .        = Set mark at cursor position
  1573.       <ALT> + >        = Move cursor to end of buffer.
  1574.       <ALT> + <        = Move cursor to beginning of buffer.
  1575.       <ALT> + B        = Move cursor BACK one word.
  1576.       <ALT> + C        = CAPITALIZE word.
  1577.       <ALT> + D        = DELETE next word.
  1578.       <ALT> + E        = EXECUTE a Keyboard Macro
  1579.       <ALT> + <DEL>    = DELETE previous word.
  1580.       <ALT> + F        = Move cursor FORWARD one word.
  1581.       <ALT> + L        = LOWERCASE (lowercase) next word.
  1582.       (ALT> + M        = MOVE to a specified Line Number Page #6
  1583.       <ALT> +  Q        = QUEUE up a one CLI Command and return to JED.      
  1584.       <ALT> + U        = Change next word to UPPERCASE.
  1585.       <ALT> + V        = VIEW the previous screen (scroll down one screen).
  1586.       <ALT> + W        = WACK a block out of the file to the KillBuffer.
  1587.       <ALT> + Y        = YANK a Block from KillBuffer to the Current file.
  1588.  
  1589.      <ALT> + <CTRL+H> = Delete backward word.
  1590.  
  1591.  
  1592.  
  1593.                                          24
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.                      REGISTERING YOUR COPY OF THE JAM EDITOR
  1607.                      ---------------------------------------
  1608.  
  1609.     If you feel JED is useful, and continue to use it after whatever you feel
  1610.     is a  REASONABLE tryout  period, PLEASE register it using the form below.
  1611.     I will then keep you informed as to updates (if  you prefer  - see choice
  1612.     on form), which will be major updates only, as such will cost $5.00.
  1613.  
  1614.     Also  feel  free  to  fill  in  the  sections  on  "Comments", "Suggested
  1615.     Additions", and most importantly, "Bugs"!!  I used JED to develop itself,
  1616.     and found  that my productivity went up as I progressed.  Also the number
  1617.     of 'Little red windows at the top of my screen', or 'dancing  with Mr. G,
  1618.     or properly, Guru Meditation incidents went down to (so far) NIL:  .  But
  1619.     this does not mean that I  am by  any means  without my  own mistakes, so
  1620.     Point 'em  out!   I will  do my  best to remove them as fast as time will
  1621.     allow.  This is my first shareware attempt.  If you like  my efforts, and
  1622.     the Jam  Editor, Please  register for  $7.00, (so  that I can continue to
  1623.     convince my Wife that this has all been worth it!) to :
  1624.  
  1625.           Dan Burris
  1626.           P.O. Box 290041
  1627.           Hartland, Michigan
  1628.           48029-0041
  1629.  
  1630.       So here's the Form:
  1631.     ------------------------------------------------------------------------
  1632.                         Another Jam Editor Registration!
  1633.  
  1634.       First Name:___________________  Last Name:___________________  M.I.___
  1635.  
  1636.       City:______________________  State:_______________ Zip Code__________
  1637.  
  1638.       Do you wish to be notified of Updates to JED?       YES___   NO___
  1639.  
  1640.     Comments:_______________________________________________________________
  1641.     ________________________________________________________________________
  1642.     ________________________________________________________________________
  1643.     ________________________________________________________________________
  1644.     ________________________________________________________________________
  1645.  
  1646.     Suggested Additions:____________________________________________________
  1647.     ________________________________________________________________________
  1648.     ________________________________________________________________________
  1649.     ________________________________________________________________________
  1650.     ________________________________________________________________________
  1651.  
  1652.     Suspected Bugs:_________________________________________________________
  1653.     ________________________________________________________________________
  1654.     ________________________________________________________________________
  1655.     ________________________________________________________________________
  1656.     ________________________________________________________________________
  1657.     ________________________________________________________________________
  1658.  
  1659.                                          25
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.