Emacs and Perl
Although there are many editors out on the market. Sometimes the old standards still have a lot to offer. Will talked about Emacs, one of the old guard of editors from the Unix world.
He talked a bit about Emacs modes which allow customizing some
of the behavior of the editor for a particular task. In particular, he
cperl-mode, which is the new and improved mode
for writing Perl code.
Some of the keystrokes he introduced include:
C-xis a command
C-x 3splits the window vertically
C-x 2splits the window horizontally
C-x fopens the prompt for loading a file
C-x ogo to the other buffer
C-x ballows you to select a buffer
C-x C-bgives a buffer list
C-x kkills a buffer
C-x 0kills the frame
perl-tidy-mode automatically runs
Perl::Tidy when a buffer is saved. There's also an
org-mode that provides an organizer, calendar, list
management, folding support, etc.
~/.emacs file is read at startup and can be used to
configure the program when it begins. One use for this file is to add
a local directory when modes can be loaded from.
Will explained that
Esc is the Meta key. Some
other important keystrokes are:
M-x shellbrings up a shell
C-gclears out mini-buffer below
M-<move to top of file
M->move to bottom of file
Screen is a window manager that multiplexes multiple processes into one physical terminal. It is often used to work with multiple shell instances in one terminal. It's sort of like using the multi-tab mode of modern terminal programs. Particularly useful when operating on a remote machine.
Some useful Screen commands include:
C-a -Switch to different window or blank window
C-a cmake a new screen
C-a Arename a screen
C-a 2move to the second screen
C-a C-abounce back and forth between twwo screens
--can split screens
screen -R -d -attaches to whatever's out there
Mmonitor the screen to tell you if something has happened or has stopped.