⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.mac

📁 早期freebsd实现
💻 MAC
📖 第 1 页 / 共 2 页
字号:
/*************************************************************************** * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE * * is provided to you without charge, and with no warranty.  You may give  * * away copies of JOVE, including sources, provided that this notice is    * * included in all the files.                                              * ***************************************************************************/Changes between 4.9 and 4.10:  New features:    1) Reshapeable windows with zoom boxes.    2) Filename/directory name completion with macify OFF.    3) Double click mouse to set the mark.    4) Control-space and control-@ correctly send NUL on MacII/SE.    5) Control-` fixed to send backquote char.    6) Display update code fixed.      Sources:    1) Compiles under LSC 3.0. (Probably under 2.13 as well, but       not tested with that version).    2) Include files redone, with fewer total lines of code.    3) No need to modify include files, unless NBUF changed.    4) "keymaps.txt" is now "keys.txt".      Planned:    1) Recover command as separate application.    2) Support for MPW compiler vers 2.02.       IntroductionThis file contains a brief description of MacJove, along withinformation necessary to make MacJove from the source files.It is assumed that the reader is familiar with Jove from othersystems, and is somewhat familiar with the Macintosh as well. Inthe future there may be a separate user's manual for MacJove: for the time being, the reader should refer to the Jove manualfor Unix users.DescriptionMacJove is a direct port of Jove to the Macintosh, with theoverall structure, commands and key bindings left intact. Inaddition, elements of the Macintosh user interface - menus,window controls, and the mouse, have been integrated in a mannerconsistent with the overall functioning of Jove.While the integration of these tools into the Jove environmentis consistent and, to most users, familiar, Jove departs inseveral places from "Macintosh User Interface Guidelines". Mostnotably, the mouse is used to position the point only, not todrag or select text, and the Jove buffer structure is notintegrated with the clipboard. Also, key bindings conform toJove/Emacs tradition, and not to Macintosh guidelines: i.e.control (command)-N is next-line, not "NewFile". The reason forthese departures is that the majority of MacJove users are likelyto be those already familiar with Jove or other Emacs editorson other systems, and for these users, consistency between machinesand operating systems is more important than fully exploitingthe features of a single system. There are numerous other texteditors which fully follow the Macintosh User Interface Guidelines.MacJove retains most features of other Joves, but certain commandscannot be implemented because of the Macintosh operating system.Thus, there is no way to run a sub-process or a shell in a window,because there are no shells to run on the Macintosh, and a program(currently) can only transfer control to another program, not runa child process. For similar reasons, commands dealing with mail,with running make, and checking errors, are omitted.                      Running MacJoveSystem RequirementsMacJove should run without difficulty on any Macintosh Plus, SE, orMacintosh II, providing that the hierarchical file system (HFS) is used, andassuming a reasonably current system file is used. An upgraded 512K Mac(with 128K rom) should also work if there is enough memory.  MacJove wasdeveloped on a Macintosh Plus and Macintosh II running system 4.2 and Finder6.0., and has not been fully tested on earlier systems - however, it islikely that it will run on system 3.2 and later versions. MacJove has beenused to a limited extent with Switcher and under Multifinder. In both cases,it is important to reserve enough memory for MacJove, as discussed below.MacJove, as compiled from the sources, uses memory as follows:   Program Code     approx 116K   Static Data      approx  20K   Tempfile Cache           64K (heap)                           ____                           200K total before stack/heap considerationsTo this must be added stack and heap space. A bare minimum for this isprobably 100K or so, but the usage will vary as buffers are created.  WithJove, the file itself takes up space only in the tempfile and its cache, butthe buffer structure requires 3 pointers (12 bytes) for each line in thefile. For a reasonable editing session with files totalling, say 10000 to20000 lines, this additional space can add up. For this reason, it isunrealistic to expect to run Jove on a 512K system, unless a very smallsystem file is used, few, small files are edited each session, and thetempfile cache is reduced (see cache size under Making Jove). You canexperiment with various memory allocations under Switcher and Multifinder tosee what works with your editing habits (backup your files first!), but arealistic minimum is 400K - 500K and more is great.When first using MacJove, and if memory space is questionable, SAVE YOURFILES FREQUENTLY. If it is necessary to edit many files, it is often betterto exit MacJove and restart once in a while, especially if there is aquestion of limited memory.OperationRunning MacJove is similar to other Macintosh applications, and should beintuitive. You start up MacJove by either opening, or double-clicking,the MacJove icon. If you have previously saved files created with MacJove,double-clicking on them will also start up the program, and the files willbe put into buffers. Several files can be selected simultaneously by thismethod. There is no current way to select command-line options withMacJove, but this may change in the future.The .joverc file, if used, must be present in the same directory as MacJove,the "home" directory. The help file, "cmds.doc", must also be in thisdirectory. The tempfile, ".joveXXX", will be placed in whatever directory iscurrent when the tempfile is first opened - this may or may not be the homedirectory, and may change in the future. The recover file, ".jrecXXX" isplaced in the home directory. While this file is created and updated as onUnix versions of Jove, there is currently no "recover" program for MacJove.Hopefully, this will be available soon.MacJove can edit any text file on the Macintosh, whether created withMacJove or another editor. It cannot be used to edit graphics material, andgraphics material cannot be inserted during operation of MacJove. Filescreated with MacJove are of type 'TEXT' and of signature 'JV01'. Thissignature is being registered with Apple, and may change if necessary. Notethat once MacJove files have been re-edited with another editor, they likelywill have new signatures, and double-clicking on them will start the othereditor, not MacJove.The standard Macintosh keyboard is inadequate for MacJove (and most anythingelse), so that it is necessary to change a couple of keys. The "`" keybecomes the ESCAPE key, since it is in the right place for one: to send areal "'", hold the command key down while typing it. The command key is usedfor a control key - unfortunately, the location of it is horrible for such apurpose. On Macintosh SE and Macintosh II models, a real escape key exists,and also a real control key. Note, however, that because of a small bug inthe keyboard encoding in MacJove, you cannot directly send a NUL (control-@)with the control key. Typing command-@ or command-2 will still do this,however.During operation, you can use the keyboard as you would when running Jove onany other system. However, many commands also have menu equivalents:  aslong as MacJove is waiting for a command, you can use either the keyboard orthe menus. Once you begin selecting a command with either the menus or thekeyboard, the other is locked out: thus, once you type control-X, MacJoveexpects more characters, and will not let you choose menu items.  Also, ifyou are prompted for input on the command line, the menus are locked out.Regardless of how a command is begun, however, only the prompt line (messageline) is used for input: MacJove does not use dialog boxes, except under the"About Jove" menu selection.Commands listed in the menus are given exactly as their string name inthe command list, for example "write-file". In addition, variables arelisted under the "Set" menu. Variables are grouped by type. Non-booleanvariables are changed on the message line after being selected. Booleanvariables are marked with a check mark if on, and selecting them togglesthe value of the variable.The "Buffer" menu is a special menu, whose action is different than theothers. The first entries on this menu are the major and minor modes ofoperation, with those of the current buffer marked with check marks.Clicking on a major mode will change the major mode of the current buffer tothat mode, while clicking on a minor mode will toggle that mode's status(on/off) for the current buffer. Beneath this is a list of buffers, one foreach menu item, with the current buffer marked. Clicking on a buffer selectsthat as the current buffer, and the active window will change accordingly.Window controls (scroll bars) work as expected, and are simply bound tothe appropriate MacJove command. Occassionally the position of thescroll bar may appear inaccurate, particularly with a small buffer.Files and directories may be selected in two ways. The default methodis to use the message line to input filenames, and to change directoriesusing "cd". If the variable "macify" is set, however, filenames anddirectories can also be set using the standard file dialogs familiar tomost Mac users. Filename paths are normally given via Unix conventions,and not Macintosh conventions: i.e. directories are separated with "/"and not ":". On the Buffer menu, however, filenames are listed with ":"as the separation character, since "/" cannot be displayed in menu items.It is not possible to back up directories beyond the volume level, sothere is not true "root". To change volumes (disks), macify must be on,and the "Drive" selection used."Macify" only works for those commands which REQUIRE a file operation, suchas "visit-file", "insert-file", "write-file".  Operations which first lookin buffers for files, such as "window-find" and "find-file" never use thestandard file dialogs.For a list of all commands and bindings, click on "About Jove" in theApple menu. In the future this may also support the help file.                      Making MacJoveSystem Requirements

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -