old-www/LDP/EVMSUG/html/ncurses.html

366 lines
6.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>EVMS Ncurses interface</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="EVMS User Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Using the EVMS interfaces"
HREF="evmscmuse.html"><LINK
REL="PREVIOUS"
TITLE="EVMS GUI"
HREF="gui.html"><LINK
REL="NEXT"
TITLE="EVMS Command Line Interpreter"
HREF="commandline.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>EVMS User Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="gui.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Using the EVMS interfaces</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="commandline.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="NCURSES"
></A
>2.2. EVMS Ncurses interface</H1
><P
>The EVMS Ncurses (<B
CLASS="command"
>evmsn</B
>) user interface is a menu-driven
interface with characteristics similar to those of the EVMS GUI.
Like the EVMS GUI,
<B
CLASS="command"
>evmsn</B
> can accommodate new plug-ins and features without requiring any code
changes.</P
><P
>The EVMS Ncurses user interface
allows you to manage volumes on systems that do not have the X
and GTK+ libraries that are required by the EVMS GUI.</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="NCURSESOVER"
></A
>2.2.1. Navigating through EVMS Ncurses</H2
><P
>The EVMS Ncurses user interface initially
displays a list of logical volumes similar to the
logical volumes view in the EVMS GUI. Ncurses also provides
a menu bar similar to the menu bar in the EVMS GUI.</P
><P
>A general guide to navigating through the layout of the
Ncurses window is listed below:</P
><P
></P
><UL
><LI
><P
><B
CLASS="keycap"
>Tab</B
> cycles you through the available
views.</P
></LI
><LI
><P
>Status messages and tips are displayed on
the last line of the screen.</P
></LI
><LI
><P
>Typing the accelerator character (the
letter highlighted in red) for any menu item activates
that item. For example, typing <B
CLASS="keycap"
>A</B
> in any view brings
down the <SPAN
CLASS="guimenuitem"
>Actions</SPAN
> menu.</P
></LI
><LI
><P
>Typing <B
CLASS="keycap"
>A</B
> + <B
CLASS="keycap"
>Q</B
> in a view
quits the application.</P
></LI
><LI
><P
>Typing <B
CLASS="keycap"
>A</B
> + <B
CLASS="keycap"
>S</B
> in a view
saves changes
made during an <B
CLASS="command"
>evmsn</B
> session.</P
></LI
><LI
><P
>Use the <B
CLASS="keycap"
>up</B
> and <B
CLASS="keycap"
>down</B
>
arrows to highlight an object in a view. Pressing
<B
CLASS="keycap"
>Enter</B
> while an object in a view is
highlighted presents a context popup menu.</P
></LI
><LI
><P
>Dismiss a context popup menu by pressing
<B
CLASS="keycap"
>Esc</B
> or by selecting a menu item with the
<B
CLASS="keycap"
>up</B
> and <B
CLASS="keycap"
>down</B
> arrows and pressing
<B
CLASS="keycap"
>Enter</B
> to
activate the menu item.</P
></LI
></UL
><P
>Dialog windows are similar in design to the EVMS GUI
dialogs, which allow a user to navigate forward and backward through a series
of dialogs using <SPAN
CLASS="guibutton"
>Next</SPAN
> and <SPAN
CLASS="guibutton"
>Previous</SPAN
>. A general
guide to dialog windows is listed below:</P
><P
></P
><UL
><LI
><P
><B
CLASS="keycap"
>Tab</B
> cycles you through the available buttons. Note
that some buttons might not be available until a valid selection is made.</P
></LI
><LI
><P
>The <B
CLASS="keycap"
>left</B
> and <B
CLASS="keycap"
>right</B
> arrows can also be used
to move to an available button.</P
></LI
><LI
><P
>Navigate a selection list with the <B
CLASS="keycap"
>up</B
> and
<B
CLASS="keycap"
>down</B
> arrows.</P
></LI
><LI
><P
>Toggle the selection of an item in a list with <B
CLASS="keycap"
>spacebar</B
>.</P
></LI
><LI
><P
>Activate a button that has the current focus with <B
CLASS="keycap"
>Enter</B
>. If the button has
an accelerator character (highlighted in red), you can also activate the button
by typing the accelerator character regardless of whether the button has the current
focus.</P
></LI
></UL
><P
>The EVMS Ncurses user interface, like the EVMS GUI, provides context menus
for actions that are available only to the selected object in a view. Ncurses also provides
context menus for items that are
available from the <SPAN
CLASS="guimenuitem"
>Actions</SPAN
> menu. These context menus present
a list of commands available for a certain object.</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="NCURCHANGES"
></A
>2.2.2. Saving changes</H2
><P
>All changes you make while in the EVMS
Ncurses are only in memory until you save the changes.
In order to make the changes permanent, save
all changes before exiting. If you
forget to save the changes and decide to exit the EVMS Ncurses
interface, you will be reminded of the unsaved changes and
be given the chance to save or discard the changes before exiting.</P
><P
>To explicitly save all changes, press <B
CLASS="keycap"
>A</B
> + <B
CLASS="keycap"
>S</B
> and confirm
that you want to save changes.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="gui.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="commandline.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>EVMS GUI</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="evmscmuse.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>EVMS Command Line Interpreter</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>