Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > eede1088262777189a3d3f16cb3dc560 > files > 188

garlic-1.6-6.i586.rpm

<html>

<head>
<title>
Garlic Controls
</title>
</head>

<h1 align=center>

Garlic Controls

</h1>

<hr size="3">

<font size="-1" color=RED>
garlic,
free molecular viewer and editor,
free molecular visualization program,
protein structure, DNA structure, PDB,
molecular rendering, biological macromolecule,
Unix, Linux, free software download, open source software,
Damir Zucic.
</font>

<hr size="3">


The image in the main window is controled by CONTROLS and by
<a href="../commands/index.html">
COMMANDS
</a>
. This page contains description of garlic controls.
<br><br>
Garlic controls are reserved keys, which may be used to rotate and translate
the structure, to rotate bonds, to shift selected atoms and to change
the position of slab surfaces and to change the way color depends on distance
from the observer. At present, the reserved keys are numeric keypad keys and
four function keys (F1, F2, F3 and F4).
<br><br>
Some desktop environments are reserving function keys for some special
purposes. This means that some function keys will fail to work properly with
garlic. To avoid this problem, you can use mouse to click on dummy buttons
in control window. Another solution will be to change your desktop environment
settings.
<br><br>


<table border=2 cellspacing=2 cellpading=0>

<td align="center">
<b>
Numeric keypad
</b>
</td>

<td align="center">
<b>
Function keys
</b>
</td>

<tr>

<td align="left">
<img src="numkeys.jpg">
</td>

<td align="left">
<img src="funkeys.jpg">
</td>

</table>


<br>
For each control, five steps are available: normal, large, very large, small
and very small. If you press the control without holding a modifier key
(shift, alt or control), the normal step will be used.
<br><br>
Modifier keys may be used in combination with reserved keys to select large,
very large, small or very small step.  Here is the table of modifier keys:
<br><br>


<table border=2 cellspacing=2 cellpading=0>

<td align="center">
<b>
MODIFIER KEYS
</b>
</td>

<td align="center">
<b>
STEP
</b>
</td>

<td align="center">
<b>
EXAMPLE
</b>
</td>

<tr>

<td align="left">

none

</td>

<td align="left">

Normal

</td>

<td rowspan=5 align="center">
<img src="modkeys.jpg">
</td>

<tr>

<td align="left">

shift

</td>

<td align="left">

Large

</td>

<tr>

<td align="left">

alt_shift

</td>

<td align="left">

Very large

</td>

<tr>

<td align="left">

control

</td>

<td align="left">

Small

</td>

<tr>

<td align="left">

shift_control

</td>

<td align="left">

Very small

</td>

</table>

<br>


Be sure to avoid ctrl_alt combinations, because some of these combinations
may have a very interesting effect (try, for example, ctrl_alt_del or
ctrl_alt_F1).
<br><br>


<hr size="3">


The table below contains the list of controls and the corresponding
default actions upon the structure which is currently handled
(held, catched). These default actions will be active in default editing
mode (no editing at all, just viewing the structure). If
<a href="../commands/edi.html">
editing atoms or bonds
</a>
some of the controls will have different role.
The table refers to PC (101/102) keyboard. There are slight differences
between PC and terminal keyboard; three terminal keys are listed in
the table (KP_F2, KP_F3, KP_Separator). If you have some exotic keyboard,
use the program xshowkey to check the mapping of keys and send this list
to the author:
<a href="mailto:zucic@mefos.hr">
zucic@mefos.hr
</a>
<br><br>


<table border=2 cellspacing=2 cellpading=0>

<td align="center">
<b>
KEY
</b>
</td>

<td align="center">
<b>
LOCATION
</b>
</td>

<td align="center">
<b>
ACTION
</b>
</td>

<tr>

<td align="center">

0

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure along z in negative direction.

</td>

<tr>

<td align="center">

1

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Move back (distant) slab surface along z in positive direction.

</td>

<tr>

<td align="center">

2

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure clockwise around x.

</td>

<tr>

<td align="center">

3

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Move back (distant) slab surface along z in negative direction.

</td>

<tr>

<td align="center">

4

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure clockwise around y.

</td>

<tr>

<td align="center">

5

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure along z in positive direction.

</td>

<tr>

<td align="center">

6

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure counterclockwise around y.

</td>

<tr>

<td align="center">

7

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure counterclockwise around z.

</td>

<tr>

<td align="center">

8

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure counterclockwise around x.

</td>

<tr>

<td align="center">

9

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Rotate structure clockwise around z.

</td>

<tr>

<td align="center">

delete

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Move front (close) slab surface along z in positive direction.

</td>

<tr>

<td align="center">

enter

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Move front (close) slab surface along z in negative direction.

</td>

<tr>

<td align="center">

/ (slash)
<br>
KP_F2

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure left.

</td>

<tr>

<td align="center">

* (asterisk)
<br>
KP_F3

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure right.

</td>

<tr>

<td align="center">

- (minus)

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure up.

</td>

<tr>

<td align="center">

+ (plus)
<br>
KP_Separator

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Translate structure down.

</td>

<tr>

<td align="center">

F1

</td>

<td align="left">

Function keys

</td>

<td align="left">

Move back (distant) color surface along z in positive direction.

</td>

<tr>

<td align="center">

F2

</td>

<td align="left">

Function keys

</td>

<td align="left">

Move back (distant) color surface along z in negative direction.

</td>

<tr>

<td align="center">

F3

</td>

<td align="left">

Function keys

</td>

<td align="left">

Move front (close) color surface along z in positive direction.

</td>

<tr>

<td align="center">

F4

</td>

<td align="left">

Function keys

</td>

<td align="left">

Move front (close) color surface along z in negative direction.

</td>

<tr>

<td align="center">

Num Lock

</td>

<td align="left">

Numeric keypad

</td>

<td align="left">

Unused key.

</td>

<tr>

<td align="center">

Escape

</td>

<td align="left">

Top left corner

</td>

<td align="left">

Return to the main drawing mode (display structure).

</td>

</table>


<br><br>
Here are the illustrations:
<br><br>


<table border=2 cellspacing=2 cellpading=0>

<td align="center">
<b>
PC
<br>
keyboard
</b>
</td>

<td align="center">
<b>
Terminal
<br>
keyboard
</b>
</td>

<tr>

<td align="center">
<img src="pc.gif">
</td>

<td align="center">
<img src="term.gif">
</td>

</table>

<hr size="3">

</html>