Other commands are executed by typing C-x and then the command (for example, to quit the program you type C-x C-c). Slightly less common commands are assigned to Meta. The most commonly used commands involve the Control key. So to execute a command described as M-x, press Esc (and let go), then press x. Rather than holding down Esc, you press it once and then press the key you want. The alternative is to use Escape ( Esc), but in this case it works a bit differently. SecureCRT has an option to use Alt as the Meta key, but if you do so you can't use Alt to send commands to SecureCRT itself. On a PC, it depends on the terminal program you're using and how it is configured. Some keyboards have a Meta key, though none of SSCC's do. In addition, the documentation refers to the Meta key ( M- key). For example, C- key, means hold down CTRL and press key ( so C-x means Ctrl-x in the way you're probably used to these combinations being described). But the Emacs documentation has its own way of describing them. Emacs CommandsĪll Emacs commands involve key combinations. Using Linstat covers what you need to know to work this way. This is a very popular way to run programs like Stata or SAS on Linux without spending the time to learn Linux or Linux tools like Emacs. If you're more comfortable in a Windows environment, keep in mind you can use a Windows text editor, such as TextPad, and then save your files on the Linux file system where Linux programs can access them. However, it does not follow the conventions for Windows programs. In this article we'll use Emacs to refer to both Emacs and XEmacs, unless the difference is important.Įmacs is not hard to learn. The differences between the two are either cosmetic or subtle enough to be beyond the scope of this article. Both versions have the option to use a text-only mode, which is useful if you do not have the ability to display Xwindows graphics. Originally Emacs was text-only and XEmacs used Xwindows graphics. There are actually two versions of Emacs available, and each can run in two different modes. If you find you need to learn more, Emacs has a comprehensive online help facility where you can get more information. A GNU Emacs Reference Card is attached to the end of this article which lists many of the most frequently used Emacs commands along with a short description of what each command does. This article serves only as an introduction, helping you get started using Emacs. Emacs is installed on Winstat, Linstat, and the lab PCs in Social Science 32.Įmacs has too many specialized commands and features to cover completely here. Emacs is a very popular and extremely powerful text editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |