home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Editor / DVD!FX17.LHA / FrexxEd / docs / FrexxEd.FAQ < prev    next >
Encoding:
Text File  |  1995-03-24  |  11.3 KB  |  289 lines

  1. Latest update: 950214
  2. ~~~~~~~~~~~~~~~~~~~~~
  3.         Frequently Asked Questions about FrexxEd
  4.         ========================================
  5.  
  6.   During the time we have developed FrexxEd, we have received similar
  7.   questions several times. Here the most frequently asked questions and
  8.   the answers to them:
  9.  
  10. 1. How to open a file from the prompt into an already running FrexxEd?
  11.  
  12. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  13.  
  14. 3. I want FrexxEd to XXXX when I press XXXX!
  15.  
  16. 4. Why isn't there any redo?
  17.  
  18. 5. Why use FPL when there is ARexx?
  19.  
  20. 6. How can I get FrexxEd to detach from the shell?
  21.  
  22. 7. I change some settings and save them, but they have no effect!
  23.    (i.e screen mode, fonts, screen/window sizes etc)
  24.  
  25. 8. Why does not return/enter in the search/replace requester jump to the next
  26.    string gadget instead of unactivate the current?
  27.  
  28. 9. How do I remove that annoying 'End Of File' string?
  29.  
  30. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  31.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  32.  
  33. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  34.  
  35. 12. On which system configurations have you tested FrexxEd?
  36.  
  37. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  38.     always resizes back a few pixels!!?
  39.  
  40. 14. I've found some non-localized strings in FrexxEd!
  41.  
  42. 15. Is it possible to get two views of the same file?
  43.  
  44. -------------------------------------------------------------------------------
  45.  
  46. 1. How to open a file from the prompt into an already running FrexxEd?
  47.   (like the CED "ed <filename>")
  48.  
  49.   Use the 'Freds' script!
  50.  
  51.   USAGE:
  52.  
  53.     Freds [FILENAME] [STICKY]
  54.  
  55.     Where:
  56.  
  57.     FILENAME -    Full path of file name to edit
  58.  
  59.     STICKY -    If the parameter STICKY is entered, the script will
  60.             wait until the loaded file is killed before exiting
  61.             to shell again.
  62.  
  63. ------------------------------------------------------------------------------
  64.  
  65. 2. Can't you add the function XXXXXX which is found in the editor XXXXXX?
  66.  
  67.     Before starting to ask questions like this, I urge you to read the
  68.   documentation regarding FPL and the Functions.guide manual, since FPL is a
  69.   very powerful controlling language of FrexxEd. Missing functions can very
  70.   often be programmed/configurated using FPL.
  71.  
  72.   If you have read those parts and still can't figure out a way to code it
  73.   in FPL, _then_ you should ask us that question!
  74.  
  75. ------------------------------------------------------------------------------
  76.  
  77. 3. I want FrexxEd to XXXX when I press XXXX!
  78.  
  79.     FrexxEd features the ability of assigning functions to keys. Therefore do
  80.   not ask questions regarding the postitioning of functions to certain key-
  81.   sequences since you can modify them all to suit your own taste.
  82.  
  83. ------------------------------------------------------------------------------
  84.  
  85. 4. Why isn't there any redo?
  86.  
  87.     The "redo" function that exist in CygnusEd (and other editors?) is not
  88.   included in FrexxEd since we think it's the wrong way of looking at the
  89.   undo concept.
  90.  
  91.     FrexxEd allows all changes made in the text of a buffer to be undone,
  92.   up to a certain amount of change. Each buffer records changes individually,
  93.   and the undo command always applies to the current buffer. Usually each
  94.   editing command makes a separate entry in the undo records, but some
  95.   commands such as `Replace()' make many entries, and very simple commands
  96.   such as self-inserting characters are often grouped to make undoing less
  97.   tedious.
  98.  
  99.     The command `amiga u' is how you undo. The first time you
  100.   give this command, it undoes the last change. Point moves to the
  101.   text affected by the undo, so you can see what was undone.
  102.  
  103.     Consecutive repetitions of the `amiga u' commands undo earlier
  104.   and earlier changes, back to the limit of what has been recorded. If
  105.   all recorded changes have already been undone, the undo command
  106.   prints an error message and does nothing.
  107.  
  108.     Any command that somehow changes the buffer breaks the sequence of
  109.   undo commands. Starting at this moment, the previous undo commands are
  110.   considered ordinary changes that can themselves be undone. Thus, you
  111.   can redo changes you have undone by typing `amiga shift u'
  112.   and then using more undo commands.
  113.  
  114.     If you notice that a buffer has been modified accidentally, the
  115.   easiest way to recover is to type `amiga u' repeatedly until the `C'
  116.   disappear from the front of the status line. At this time, all the
  117.   modifications you made have been cancelled. If you do not remember
  118.   whether you changed the buffer deliberately, type `amiga u' once, and
  119.   when you see the last change you made undone, you will remember why
  120.   you made it. If it was an accident, leave it undone. If it was
  121.   deliberate, redo the change as described in the preceding paragraph.
  122.  
  123.     Whenever an undo command makes the `C' disappear from the status
  124.   line, it means that the buffer contents are the same as they were
  125.   when the file was last read in or saved.
  126.  
  127. ------------------------------------------------------------------------------
  128.  
  129. 5. Why use FPL when there is ARexx?
  130.  
  131.   * ARexx provides an interprocess programming language interface.
  132.     FPL provides an internal interpreting language.
  133.  
  134.   * When using FPL, we don't have to interpret anything by ourselves, FPL
  135.     does it for us. ARexx is a language that requires a lot of extra
  136.     language coding within the program that uses it.
  137.  
  138.   * FPL communicates with direct function calls instead of sending
  139.     messages to messageports which gives more internal flexibility with
  140.     less overhead.
  141.  
  142.   * FPL is a platform independent language. FrexxWare intends to
  143.     release software under different operating systems and we want
  144.     continuity in the programming language. We want the same FrexxEd
  145.     scripts to work on the Amiga version as on the future possible
  146.     OS/2 and UNIX versions! FPL is easily ported to all modern
  147.     operating systems.
  148.  
  149.   * FPL is, quite subjective, a more powerful and complete programming
  150.     language.
  151.  
  152.   * It's not "yet another script language". It's 99% C. If you're
  153.     familiar with C, you can code FPL. In fact, I think most programming
  154.     people learn to code FPL faster than they learn ARexx. C is a
  155.     universal language, Rexx is (mainly) Amiga and OS/2.
  156.  
  157.   * FPL isn't a substitute for ARexx. It's a different language and
  158.     works as a complement to ARexx inside FrexxEd. FPL will (probably) never
  159.     be able to perform the same tasks as ARexx and vice versa. That's not
  160.     the idea either...
  161.  
  162. ------------------------------------------------------------------------------
  163.  
  164. 6. How can I get FrexxEd to detach from the shell?
  165.  
  166.   By using the standard AmigaDOS way: "run <>NIL: FrexxEd"
  167.  
  168.   Which under V37/V38 causes enforcer hits, and instead should be
  169.   written like: "run >NIL: <NIL: FrexxEd"
  170.  
  171. ------------------------------------------------------------------------------
  172.  
  173. 7. I change some settings and save them, but they have no effect!
  174.  
  175.   In FrexxEd versions prior to 1.5:
  176.   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177.   You must be very observant *not* to use the 'copy_wb' flag if don't want
  178.   FrexxEd to copy as much as possible from your workbench environment on
  179.   every startup! 'copy_wb' works just as well on any public screen.
  180.  
  181.   When you want to change local settings, save them and have them take effekt
  182.   on each startup, make sure you alter them with the 'All locals' setting
  183.   window.
  184.  
  185.   Since 1.5:
  186.   ~~~~~~~~~~
  187.   To make FrexxEd look like the public screen, CloneWB() must be used!
  188.  
  189. ------------------------------------------------------------------------------
  190.  
  191. 8. Why does not return/enter in the search/replace requester jump to the next
  192.    field instead of unactivate the current?
  193.  
  194.   First, because of the simple reason that Amiga User Interface Style Guide
  195.   clearly states that tab is the key to use when moving through input fields.
  196.   "Let the user move trough fields with the Tab key." (p. 68) Second, the
  197.   return/enter key is such an obvious keychoice to use to deactivate a
  198.   text/string gadget and to equal with a press on the "OK" button.
  199.  
  200.   This question has been subject to many discussions between developers and
  201.   lots of beta-testers. We did finally all agree that this way probably is
  202.   the best way to go. Get used to it!
  203.  
  204. ------------------------------------------------------------------------------
  205.  
  206. 9. How do I remove that annoying 'End Of File' string?
  207.  
  208.   Run the following line as an FPL program:
  209.  
  210.     FACT(-1, 'S', "New string");
  211.  
  212. ------------------------------------------------------------------------------
  213.  
  214. 10. How do I make FrexxEd read the file into a new buffer instead of inserting
  215.     when I drop an icon on the FrexEd AppIcon/AppWindow?
  216.  
  217.   Put the following little program in a file and execute it:
  218.  
  219.         /* start of file */
  220.         export int Dropped(string file)
  221.         {
  222.           int id=New();
  223.           if(0>Load(file))
  224.             Kill(id);           /* failed loading */
  225.           else {
  226.             Activate(id);       /* popup a view */
  227.             CurrentBuffer(id);  /* make it the current */
  228.           }
  229.           return 1; /* stop the insert operation! */
  230.         }
  231.         Hook("IconDrop", "Dropped");
  232.         /* end of file */
  233.  
  234. ------------------------------------------------------------------------------
  235.  
  236. 11. Why isn't there any Amiga-symbol in the menu shortcuts?
  237.  
  238.   Because of the simple reason that the short cuts aren't put there the regular
  239.   menu-shortcut way, and therefor we can't access that symbol.
  240.   The shortcuts are visualized using our own custom routine for more control.
  241.   We want to be able to add unlimited shortcut strings to the menus with any
  242.   qualifiers.
  243.  
  244. ------------------------------------------------------------------------------
  245.  
  246. 12. On which system configurations have you tested FrexxEd?
  247.  
  248.   Machines:
  249.     A500(+), A1200, A2000, A3000, A4000
  250.   AmigaDOS versions:
  251.     AmigaDOS V37-V40
  252.   Graphic modes/hardwares:
  253.     Retina, Spectrum, Piccolo, Picasso II, A2024, AGA, ECS, OCS
  254.   Processors:
  255.     MC68000-MC68040 (native and with different accellerators)
  256.   Memory amounts:
  257.     1MB-20MB RAM (chip/16bit/32bit)
  258.   Systems:
  259.     It has been used as window and screen in every thinkable screen mode, as
  260.     backdrop on public screens, as mail editor in Spot and likewise
  261.     applications.
  262.  
  263. ------------------------------------------------------------------------------
  264.  
  265. 13. I try to resize the FrexxEd window to cover the entire screen, but it
  266.     always resizes back a few pixels!!?
  267.  
  268.   The info variable "auto_resize" will, if enabled, force FrexxEd to use the
  269.   minimum size that fits the same number of lines and columns that is set by
  270.   the user. Disable "auto_resize" to stop all such attempts.
  271.  
  272. ------------------------------------------------------------------------------
  273.  
  274. 14. I've found some non-localized strings in FrexxEd!
  275.  
  276.   FrexxEd is a very modular system. "All" built-in strings in FrexxEd does
  277.   appear in the localized language. The drawback is that FrexxEd is very often
  278.   extended with FPL programs that supplies strings in only one language, and
  279.   sometimes there are messages from FPL appearing and those are in straight
  280.   english always (this is subject to change in a future FPL version).
  281.  
  282. ------------------------------------------------------------------------------
  283.  
  284. 15. Is it possible to get two views of the same file?
  285.  
  286.   Indeed! The menu brought to FrexxEd by Menu.FPL sets the key sequence
  287.   "Amiga d" to do the job. FrexxEd supports any number of views on the same
  288.   file. Read more details under View Concepts in FrexxEd.guide.
  289.