The K Desktop Environment

Chapter 2. Overview

Quando invocada, Konsole inicia a aplicação cliente (que por omissão é uma linha de comando) e mostra as mensagens produzidas pela aplicação na sua janela, ao mesmo tempo que envia as teclas ou botões de rato premidos para esta.

Na verdade a maior parte do comportamento da Konsole é contralado pela aplicação nela executada. Há apenas algumas funcionalidades que a Konsole adiciona. Estas funcionalidades são bastante comuns, pelo que a descrição que se segue é valida para quase todas as emulações de terminais.

Tampão com Historial

O texto que saí do ecrã é mantido num tampão para posterior consulta. Actualmente são guardadas no máximo 100 linhas de texto neste tampão. Embora não seja possivel alterar o texto colocado neste tampão, podes visualizá-lo e copiá-lo parcial ou totalmente para a área de transferência.

Teclado

As combinações de teclas Shift-PageUp, Shift-PageDown, Shift-Up e Shift-Down são utilizadas para viajar através do tampão do historial. Todas a outras teclas premidas são passadas à aplicação que corre dentro do terminal. Não te esqueças que as algumas das teclas premidas podem ser "teclas mortas".

Rato

Necessita de uma rato com três botões para utilizar ao máximo o terminal. Os botões têm as seguintes funções:

Botão esquerdo

Clicking the left button is passed as an event to the application running in the emulation if it is mouse aware. If a program will react on mouse clicks Konsole indicates this by showing an arrow cursor. If not an ibeam (bar) cursor is shown.

Holding the left button down and dragging the mouse over the screen with a mouse unaware application running, will mark a region of the text. While dragging, the marked text is displayed reverse for visual feedback. As soon as the button is released, the marked text copied to the clipboard for further use within Konsole or another application.

Normally, new-line characters are inserted at the end of each line selected. This is normally best for cut and paste of source code or the output of a particular command. For ordinary text, the line breaks are often not important. One would prefer for the text to be a stream of characters that will be automatically re-formatted when pasted another application. To select in text-stream mode, hold-down the Ctrl key while selecting normally.

It the upper or lower edge of the text area is touched while marking, Konsole scrolls up or down, thereby eventually exposing text within the history buffer. The scrolling stops as soon as you stop moving the mouse.

After releasing the mouse, Konsole attempts to keep the text in the clipboard visible by holding the marked area reversed. The marked area reverts back to normal as soon as either the contents of the clipboard is changed, the text within the marked area is altered or you've clicked the left mouse button.

To mark text on a mouse aware application the shift key has to be pressed when clicking.

Botão Central

Pressing the middle button copies text currently in the clipboard. This works just as if clipboard contents is typed on the keyboard, so the application running in the emulation will react by it's own way on it.

Botão Direito

The right button brings up the configuration menu. Additionally, the shift and the control key may be uses with this button to get access to other parts of the menu.

Sessões

Konsole offers to run several sessions (programs) at once. New sessions can be started using the "New"-menu. One can switch between sessions with the "Sessions"-menu. Both menus are available as right mouse button menus, too, when pression the shift or the control key as modifiers.

The session menu can be freely configured due to the local needs. (A section explaining how is missing, see /opt/kde/share/apps/konsole for some examples.)