Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-22dnz Total loading time: 0 Render date: 2024-04-28T17:26:19.614Z Has data issue: false hasContentIssue false

Appendix A2 - NEURON's built-in editor

Published online by Cambridge University Press:  01 September 2010

Nicholas T. Carnevale
Affiliation:
Yale University, Connecticut
Michael L. Hines
Affiliation:
Yale University, Connecticut
Get access

Summary

Many people are already comfortable with their own text editor and will find it most convenient to load text files into hoc with the xopen () or load_file() command. However, NEURON has a built-in editor that is closely related, if not identical, to MicroEMACS (http://uemacs.tripod.com/), and which we will simply call “emacs.” In this era of richly menued, GUI-based editing software, NEURON's tiny emacs editor is definitely showing its age, and no one would ever confuse it with the much more powerful EMACS that has Lisp-like syntax (Cameron and Rosenblatt 1991). Nonetheless, it is quite capable and has the advantage of having the same “look and feel” on all platforms.

Like EMACS, emacs is a command-driven editor with modes and multiple buffers. What does this mean? Being “command-driven” means that there are no menus or buttons to click on with a mouse. Instead, special keystrokes, like the “keyboard shortcuts” in other editors, are used as commands to the editor. Having “modes” implies that some of these commands change how emacs responds to what you type, like the way many editors can be switched between “insert” and “replace” mode. The notion of “buffers” may seem strange, but if you have ever used any kind of editor or word processing software, then you have almost certainly worked with buffers even if you didn't realize it.

Type
Chapter
Information
The NEURON Book , pp. 406 - 411
Publisher: Cambridge University Press
Print publication year: 2006

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×