Dana Vrajitoru
C151 Multi-User Operating Systems

C151 Homework 4

Due date: Monday, February 22, 2021.

Ex. 1

Open an Emacs window from the terminal, as you did in the lab. It's preferable to work on a Linux computer or on a Mac. If your Emacs opens with two frames, get rid of one of them with Ctrl-x 1. Type Ctrl-h t (the Control held down only for h, not for t). This will open a built-in introductory Emacs tutorial. Complete the tutorial, then open a new file to edit called hw4.txt and add the answer to the following questions:

a.   What will   Alt-9 Ctrl-n   do in Emacs?

b.   Using the command apropos (see tutorial) for the word "spell", find out the command to check the style and spelling of all the comments in a buffer. How would you invoke this command?

c.   When using Ctrl-k more than once, will the kill ring contain only the last deleted line? If not then what does it contain?

d.   What does the Alt-k (or Meta-k) do?

e.   How do you find previously killed or copied text (not just the most recent kill ring/clipboard entry) without using the Edit menu - Paste from Kill Menu?

Canvas Upload

Upload to Canvas, Assignments, Homework 4, the file hw4.txt. Or you can type the answers directly as a comment to the submission.