home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / doc / fpcprefs.txt < prev    next >
Text File  |  1990-07-13  |  10KB  |  402 lines

  1.  
  2. °Preferences         User Selectable Preferences in F-PC
  3.                      ───────────────────────────────────
  4.  
  5.   On this and the following screens, we will see many of the user selectable
  6. attributes of the F-PC system.
  7.  
  8.  
  9.  
  10.         ∙Auto-Edit      ∙Auto-Save      ∙Leave-Prompt   ∙Backup-Files
  11.  
  12.         ∙Colorizer      ∙Config-File    ∙Date-Format    ∙Debug-Decom
  13.  
  14.         ∙Display-Speed  ∙Forth-Path     ∙Number-BASE    ∙Print-Redirect
  15.  
  16.         ∙Re-Defining    ∙Reverse-Scrn   ∙Screen-Colors  ∙Status-Line
  17.  
  18.         ∙Voc-Stack      ∙CGA-Blanking
  19.  
  20.  
  21.  
  22.  
  23. °Auto-Edit              Automatically Edit on Error
  24.                         ───────────────────────────
  25.  
  26.  
  27.   As shipped F-PC will automatically enter the editor when an error is
  28. encountered while compiling source code from a file.  Words are available
  29. to both disable and enable this function as follows:
  30.  
  31.  
  32.                         ∙AutoEditOn     ∙AutoEditOff
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. °Auto-Save               Automatic Save of Changes
  45.                          ─────────────────────────
  46.  
  47.   As shipped F-PC will automatically save any changes you have made to a
  48. file you are editing if you stop touching the keyboard for 10 minutes.
  49.  
  50.  
  51.               ∙AutoSaveOn     ∙AutoSaveOff    ∙AutoSave-Minutes
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. °Leave-prompt              Prompt on edit exit
  66.                            ───────────────────
  67.  
  68.   As shipped, F-PC will ask you if you want to open another file, as you
  69. leave the editor with F10. If you want to always just exit the editor, and
  70. return to Forth, there is an option to select that default.
  71.  
  72.                      ∙LeavePromptOn   ∙LeavePromptOff
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86. °Backup-Files           Keep Backup Copies of Edits
  87.                         ───────────────────────────
  88.  
  89.   At installation time F-PC allows you to specify whether you want backup
  90. copies of you file edits kept. One of the following commands is normally
  91. included in the F-PC.CFG (configuration) file to select your preference.
  92.  
  93.  
  94.                         ∙BackUpOn       ∙BackUpOff
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. °CGA-Blanking           Display Blank on Write to CGA
  108.                         ─────────────────────────────
  109.  
  110.   At installation time F-PC allows you to specify whether you want text
  111. displayed on the screen to be done with direct screen writes. ( See also
  112. ∙Display-Speed ) If  ∙FAST display mode is selected on a computer using a
  113. CGA video board, an undesirable amount of screen "Sparkle" or "Snow" may
  114. occur when F-PC is typing text to the screen. If this is the case on your
  115. computer, you may use the word BLANKON to make F-PC blank the screen while
  116. it is writting text to the display.  This solution is only marginally
  117. better than not blanking the display, but it's better than nothing if you
  118. want fast text display performance.
  119.  
  120.  
  121.                         ∙BlankOn        ∙BlankOff
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. °Colorizer              Display Word Classes in Colors
  129.                         ──────────────────────────────
  130.  
  131. During installation F-PC allows you to specify whether you want different
  132. word classes in F-PC to be shown in different colors when using the WORDS
  133. and SEE tools. Here are the Forth commands to enable and disable this
  134. function:
  135.  
  136.  
  137.                         ∙ColorizeOn     ∙ColorizeOff
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. °Config-File            Preferences Auto Select File
  150.                         ────────────────────────────
  151.  
  152.   At installation time the INSTALL.EXE program allows you to specify certain
  153. preferences. These preferences are then written into a file called F-PC.CFG.
  154. This is a standard text file, and contains normal Forth commands which are
  155. executed at the time F-PC is beginning execution after you type F or F-PC at
  156. the DOS command line.  You can edit this file like any other source file,
  157. to add or delete commands. Any Forth operations you want to done when F-PC
  158. is first starting up can be placed in this file.
  159.  
  160.   F-PC will look through the compiled-in Forth Path at startup time to try
  161. to find the F-PC.CFG file. If F-PC was installed properly then F-PC will
  162. be able to find its configuration file regardless of where you are working
  163. on your harddisk drive.  You can even change the name of the F-PC
  164. configuration file to one of your own choosing. Simply place the new filename
  165. into the ∙HANDLE ∙CFGHNDL with the word ∙!HCB . When F-PC is later saved to
  166. disk as a new executable file with ∙FSAVE , the new filename will be opened
  167. and loaded.
  168.  
  169.  
  170. °Date-Format                Displayed Date Format
  171.                             ─────────────────────
  172.  
  173.   F-PC supports three display date formats. The default date format is M/D/Y.
  174. Others are available as shown:
  175.  
  176.  
  177.                 ∙D.M.Y          ∙Y-M-D          ∙M/D/Y
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191. °Debug-Decom          Display Decompile while Debugging
  192.                       ─────────────────────────────────
  193.  
  194.   When using the Debugger, F-PC will by default display a de-compiled view
  195. of the word being debugged on the upper several lines of the display.  This
  196. view can be turned on or off with the following words:
  197.  
  198.  
  199.                         ∙SRCON          ∙SRCOFF
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212. °Display-Speed        Use Direct Screen Writes or BIOS
  213.                       ────────────────────────────────
  214.  
  215.   During installation, you can tell F-PC whether you want it to use direct
  216. screen writing for text display.  This requires display memory to be located
  217. at either $B000 for Monocrome display cards, or $B800 for Color display
  218. cards.  Direct display memory writing is enabled and disabled with the
  219. following words:
  220.  
  221.  
  222.                         ∙FAST           ∙SLOW
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233. °Forth-Path           Where Should F-PC look for Files
  234.                       ────────────────────────────────
  235.  
  236.   During installation F-PC sets a Forth Path through which F-PC will search
  237. when a file is to be opened. Normally this path is acceptable for all uses.
  238. The exceptions are FLOOK and EDITALL, which require the path to be
  239. specified explicitly.  You can change the path with ∙FPATH , or add to the
  240. path with ∙ FPATH+ . The current Forth Path can be displayed with ∙.FPATH .
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254. °Number-BASE        Should F-PC restore the BASE on Error
  255.                     ─────────────────────────────────────
  256.  
  257.   The default base for F-PC is normally ∙DECIMAL . When an error occurs
  258. while working in F-PC, the ∙BASE will be changed to DECIMAL.  Words are
  259. provided to specify either HEX or DECIMAL as the default base, as well as
  260. telling F-PC not to assume a default base.
  261.  
  262.  
  263.         ∙DECIMALBASE    ∙HEXBASE        ∙NOBASE         ∙DEFBASE
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275. °Print-Redirect     Where Should F-PC Send Printed Output
  276.                     ─────────────────────────────────────
  277.  
  278.   F-PC normally sends text directed to a printer to the PRN device.  A
  279. HANDLE is used to specify the actual place to send printed text, and words
  280. are available to direct printing to a file if desired.
  281.  
  282.  
  283.         ∙PFILE          ∙$PFILE         ∙PCLOSE         ∙PRNHNDL
  284.  
  285.         ∙PEMIT          ∙(PRINT)
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296. °Re-Defining     Do I want to be warned about Re-Definitions?
  297.                  ────────────────────────────────────────────
  298.  
  299.   F-PC will normally warn you when you re-define a word, but this can be
  300. changed by modifying the variable ∙WARNING to a value of zero with WARNING
  301. ON or WARNING OFF.
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317. °Reverse-Scrn      Reverse Video is Available on Monocrome
  318.                    ───────────────────────────────────────
  319.  
  320.   When you are using a Monocrome or Liquid Crystal display, you can tell
  321. F-PC to invert the black and white sections of the screen.  This is
  322. sometimes useful on true BLACK and WHITE monitors. The words to change the
  323. display mode are:
  324.  
  325.  
  326.                      ∙BLACK-ON-WHITE  ∙WHITE-ON-BALCK
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. °Screen-Colors        What Screen Colors should I Use?
  339.                       ────────────────────────────────
  340.  
  341.   Normally F-PC displays white characters on a black background.  Color
  342. attributes are used to hilight special sections of text, but the normal
  343. text typed in by you appears as white on black. On color systems you may
  344. want to experiment with a different colors. The word ∙>NORM selects the
  345. character attributes of"normal" text. >NORM is a defered word that performs
  346. the word ∙>NONE . The word >NONE sets the attribute variable ∙ATTRIB to
  347. the value stored in the ∙VALUE ∙NORMVAL .  By changing NORMVAL, you can
  348. change the colors F-PC uses to display "normal" text.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359. °Status-Line        Should F-PC Display the Status Line?
  360.                     ────────────────────────────────────
  361.  
  362.   F-PC normally displays a status line at the top of the screen.  This line
  363. contains information about what file is open, how much memory is still
  364. available, the context and current vocabularies, the stack depth, and what
  365. the current time is.  This status display can interfere with certain
  366. types of operations, like interactive printing of Forth command lines as
  367. they are entered.  You can enable and disable the status display with the
  368. following words:
  369.  
  370.                         ∙STATON         ∙STATOFF
  371.  
  372.  
  373.   See also ∙Voc-Stack on the following screen.
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. °Voc-Stack               Vocabulary Stack Display
  381.                          ────────────────────────
  382.  
  383.   F-PC normally displays the current status of the vocabulary stack at
  384. the upper right of the display below the status line. You can choose to
  385. turn this display off or on with the following words.
  386.  
  387.  
  388.                         ∙VOCON          ∙VOCOFF
  389.  
  390.  
  391.   See also ∙Status-Line on the previous screen.
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.