Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4 . Using the Emacs editor, create a new file, called sonnet, that contains the first four lines of Shakespeare s 8 0 th Sonnet:
Using the Emacs editor, create a new file, called sonnet, that contains the first four
lines of Shakespeare
s
th Sonnet:
O
how I faint when I of you do write,
Knowing a better spirit doth use your name,
And in the praise thereof spends all his might,
To make me tongue
tied, speaking of your fame!
Move the cursor to any letter in the word
better
except
b
on the second line.
Use the command that causes the current word to be transposed with the one that
follows it
After executing the command, the line should read:
Knowing a spirit better doth use your name,
Move the cursor to the word
doth
on the same line.
Use the command to delete the current word.
Move the cursor to the first character of the word
spirit
on the same line.
Use the command that capitalizes the letters of the word.
Move the cursor under the letter
y
in the word
your
on the same line.
Use the command that deletes the character above the cursor. The line should now read:
Knowing a SPIRIT better use our name,
Move the cursor to the word
spends
on the third line.
Use the command that deletes text to the end of the line. The line should now read:
And in the praise thereof
Move the cursor to the beginning of the first line.
Use the command that puts a mark at the cursor location.
Move the cursor to the end of the first line. Use the command that marks that particular cursor location.
Move the cursor to the first character of the first line.
Use the command that deletes marked text; that is
deletes the first line.
Chapter
Mastering Editors
Move the cursor to the end of the file. Use the command that restores deleted text.
The text that was the first line of the file is now at the end of the file. Save your
work and then close the Emacs editor.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started