Friday, October 10, 2014

2013 (19) October (1) August (1) June (3) May (4) April (6) March (1) Emacs in sectio


When working f 16 hibah with an ordinary text editor often have to resort to the terminal to perform any operations on files and directories, run a program or compile written by himself source. Emacsowcy have the comfort that the right tools are already built into their favorite program. Plain shell command f 16 hibah line can be opened in a new window function Mx shell - on Unix systems is started the user shell in Windows NT and derivatives - cmd.exe Extravagance? Not necessarily. This coating is a full emacs buffer, it can even easily search, copy, display in the next, and so on. First of all, you do not need to leave the editor or suspend it while performing some other commands: shell, that is, everyone sees Shell Windows NT is not - to put it mildly - the most convenient to use (as in systems such as Solaris and similar ), but from what they are capable of Lisp programmers: with version 21 Editor comes Eshell, most comfortable with coatings that only you could come up with (well, bash along with the completion may be competition from poverty); accurate documentation can be found here: http://www.gnu.org/software/emacs/manual/html_mono/eshell.html. This approach has the same advantages, even unifying shell under all possible systems (drops exploring other functions) The most interesting thing worth noting covering some commands / programs its interactive features. For example, a call to grep running in the eshella results in the opening of the window of the search result (and this is how: colorful messages, links to individual lines in the file and the like): When you click on the name of the file will be opened, and it immediately at the specified line Running Programs If there is no need to open the shell specifically to run a program, you can use the Mx shell-command (by default, assigned to the combination of M!, Emacs executes the specified program and captures its output, placing them in the buffer * Shell Command Output * Transmission of the situations where the program needs some input data, collected from the standard input, you can help yourself function Mx shell-command-on-region (by default assigned to the combination of M |) - data are taken from the current region. Emulator Midnight terminal commander in one of the emacs buffers f 16 hibah - impossible? Yet. feature Mx term starts in the new buffer full-fledged terminal emulator. You will run into even all programs that use ncurses, although f 16 hibah such functionality seems to be debatable. Configuration Groups term shell and contain plenty of options for configuring both the command line and terminal emulator. It should read the exact description and the relevant chapters in the manual.
2013 (19) October (1) August (1) June (3) May (4) April (6) March (1) Emacs in sections (8): Start something? January (3) 2012 (8) December (1) November (3) October (4)


No comments:

Post a Comment