Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Тексты(все).docx
Скачиваний:
4
Добавлен:
01.07.2025
Размер:
1 Мб
Скачать
☆

N

Number 2

  1. Display editors

  2. E-editor

  3. Emacs-editor

umber 1

  1. General remarks on display Editors

  2. Particular editors

  1. E-editor

  2. EMACS-editor

  1. Conclusion

Упражнение 14. Просмотрите содержание (план) Текста урока и сам Текст и ответьте на вопросы:

Looking at the contents and the article answer the questions:

What questions of the article are described in details?

And what in short?

What particular editor is described in mqch more details?

Упражнение 15. Давайте поработаем с первой частью статьи (Текст урока — стр. 345-346).

Let’s work with the first part of the article (page 345-346).

Что она собой представляет? What is it?

Какие слова обычно используются, когда объясняются общие понятия?

What words are usually used when general notions (понятия) are explained?

Какие модальные глаголы? What modal verbs?

Какие маркеры? What markers?

Упражнение 16. Какова типичная структура научного текста?

What is the typical structure of a scientific text?

What information do we usually find in the first and the last paragraph, in the middle paragraphs?

What paragraph/paragraphs of this text contain the inroduction into the problem?

How many paragraphs develop (развивают) the problem in this text?

Where is the conclusion to the probem? Is it at the end of part one or at the end of the whole article?

Упражнение 17. Где мы находим основную идею любого параграфа? Просмотрите каждый параграф и отметьте его основную идею и текстовые маркеры.

Where can we find the main idea of a paragraph? Look through the paragraphs and mark the main idea of each and text markers.

Упражнение 18. Теперь мы можем закончить написание «содержания» статьи по пер­вому пункту. Вернитесь к упр. 12. ,

Now we can continue writing the contents of the article in relation to the first point of it.

Text

Display Editors

by Peter B. Smith

To begin with, we categorize as display editors those general purpose editors that enable a user to make changes to a document and see the effects of changes immediatly, without having tp issue additional commands. Such edi­tors typically require a display with at least cursor

addressing capabilities(rather than a teletype). Usual­ly a large portion of the display is dedicated to pro­viding a window into the file buffer.

The commonest conceptual model(due to Irons and Djorup) maps the text onto an infinitely extansible quarter plane. Imagine the file on a two dimensional plane with the first character of the first line at the origin. The user is free to write on the plane to the right and down from the origin. That is, there is no limit on the length of lines or on the number of lines. The editor enables the user to move around the quarter plane and to make changes to the display; using normal cursor control commands, the cursor cannot be moved above the first line of the file or to the left of the first character position on a line.

While to the user it may appear that commands issued modify the file buffer and the display is then modified to represent the new buffer contents. Particular editors may implement extensions to the basic conceptual model. For example, there may be multiple windows into the file buff­er and there may be multiple buffer.

Process 2

Record of contents

Screen

<—

(screen updater)

<->

of current screen

Process 1

I

Keyboard

-i

(buffer updater)

—»

File buffer

n this figure Process 1 accepts commands from the keyboard and makes the appropriate changes to the file buffer. Process 2 looks at both the file buffer and a data structure that represents the current screen. It writes characters to the display depending on what the screen currently looks like. A typical alphanumeric screen is 24 by 80 characters so the current screen image would occupy about 2K bytes.

So display editors vary in the relative properties that they give to the two processes of the figure above. It is a little annoying, for example, if the editor persists in redrawing part of the screen that is already out ofxiate. Fig. below shows a two overall strategies. In (a) the screen is completely updated after one com­mand before the next command is processed. In (b) re­painting may be interrupted to process a command.

command interpretation and screen updating strategies