cdesktopenv/cde/doc/C/guides/usersGuide/ch06.sgm

538 lines
29 KiB
Plaintext

<!-- $XConsortium: ch06.sgm /main/13 1996/11/11 20:13:11 cdedoc $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<chapter id="UG.UAppM.div.1">
<title id="UG.UAppM.mkr.1">Running Applications from the Desktop</title>
<para>This chapter covers several ways to run applications from the desktop.<indexterm><primary>Application Manager</primary></indexterm>
</para>
<informaltable id="UG.UAppM.itbl.1" frame="All">
<tgroup cols="1">
<colspec colname="1" colwidth="4.0 in">
<tbody>
<row rowsep="1">
<entry><para><!--Original XRef content: 'Running Applications Using Application
Manager117'--><xref role="JumpText" linkend="UG.UAppM.mkr.2"></para></entry>
</row>
<row rowsep="1">
<entry><para><!--Original XRef content: 'Running Applications Using File Manager127'--><xref
role="JumpText" linkend="UG.UAppM.mkr.5"></para></entry></row>
<row rowsep="1">
<entry><para><!--Original XRef content: 'Running and Organizing Applications
Using the Front Panel128'--><xref role="JumpText" linkend="UG.UAppM.mkr.6"></para></entry>
</row>
<row rowsep="1">
<entry><para><!--Original XRef content: 'Running Applications from a Terminal
Emulator Window130'--><xref role="JumpText" linkend="UG.UAppM.mkr.8"></para></entry>
</row></tbody></tgroup></informaltable>
<sect1 id="UG.UAppM.div.2">
<title id="UG.UAppM.mkr.2">Running Applications Using Application Manager</title>
<para>Application Manager is a container for the applications and other tools
available on your system. Most of the applications and tools in Application
Manager were placed there by your system administrator or are built into
the desktop.</para>
<para>Although configuring Application Manager is primarily a system administration
task, you can also make personal customizations to Application Manager.</para>
<sect2 id="UG.UAppM.div.3" role="Procedure">
<title>To Open Application Manager</title><indexterm><primary>Application
Manager</primary><secondary>opening</secondary></indexterm>
<indexterm><primary>starting</primary><secondary>Application Manager</secondary></indexterm>
<itemizedlist remap="Bullet1"><listitem><para><indexterm><primary>Application
Manager</primary><secondary>Front Panel control</secondary></indexterm><indexterm>
<primary>Front Panel</primary><secondary>Application Manager control</secondary>
</indexterm>Click the Application Manager control in the Front Panel.</para>
</listitem></itemizedlist>
<figure>
<title>Application Manager control</title>
<graphic id="UG.UAppM.grph.1" entityref="UG.UAppM.fig.1"></graphic>
</figure>
</sect2>
<sect2 id="UG.UAppM.div.4">
<title>Application Manager Window</title><indexterm><primary>Application
Manager</primary><secondary>window</secondary></indexterm>
<para>The Application Manager window is a special File Manager view of a special
folder on your system. It looks very much like a File Manager window, except
that the iconic and text path are not shown.</para>
<figure>
<title>Top-level folder of Application Manager</title>
<graphic id="UG.UAppM.grph.2" entityref="UG.UAppM.fig.2"></graphic>
</figure>
<para><indexterm><primary>Application Manager</primary><secondary>folders
in</secondary></indexterm>The top level of Application Manager is special
because other folders and files are never created directly in it. Instead,
folders in other locations are gathered into this location automatically
when you log in.</para>
<sect3 id="UG.UAppM.div.5">
<title>Contents of Application Manager</title><indexterm><primary>application
groups</primary></indexterm>
<para>The top level of Application Manager contains
a set of application groups.<indexterm><primary>Application
Manager</primary><secondary>application
groups</secondary></indexterm></para>
<figure>
<title>Top level of Application Manager</title>
<graphic id="UG.UAppM.grph.3" entityref="UG.UAppM.fig.3"></graphic>
</figure>
<para><indexterm><primary>application groups</primary><secondary>definition
of</secondary></indexterm>Each application group is a folder containing one
or more icons that you use to start applications.</para>
<para>An icon that starts an application is called an<indexterm><primary>action icon</primary></indexterm><indexterm><primary>application icon</primary>
</indexterm> <emphasis>action icon</emphasis> or <emphasis>application icon</emphasis>.</para>
<figure>
<title>Action (application) icons in the Desktop_Apps application group</title>
<graphic id="UG.UAppM.grph.4" entityref="UG.UAppM.fig.4"></graphic>
</figure>
<para>Some application groups contain other useful application files such
as sample data files, templates, and ``read me'' files.</para>
<para>The application groups in your Application Manager are either built-in
or registered by your system administrator. Application registration is
a process by which an application lets the desktop know of its presence.
</para>
<para><indexterm><primary>Application Manager</primary><secondary>built at
login</secondary></indexterm>The application groups in Application Manager
are gathered together each time you log in. The application groups may be
located on your system or on other systems throughout the network.</para>
</sect3>
<sect3 id="UG.UAppM.div.6">
<title>Built-In Application Groups</title><indexterm><primary>application
groups</primary><secondary>built-in</secondary></indexterm>
<para>The desktop provides these built-in application groups that are containers
for various tools and utilities available on your system:</para>
<informaltable>
<tgroup cols="2" colsep="0" rowsep="0">
<?PubTbl tgroup dispwid="6.13in">
<colspec align="left" colwidth="183*">
<colspec align="left" colwidth="322*">
<tbody>
<row>
<entry align="left" valign="top"><para><literal>Application Group</literal></para></entry>
<entry align="left" valign="top"><para><literal>Contents</literal></para></entry>
</row>
<row>
<entry align="left" valign="top"><para>Desktop_Apps</para></entry>
<entry align="left" valign="top"><para>Desktop applications such as File Manager,
Style Manager, and Calculator</para></entry></row>
<row>
<entry align="left" valign="top"><para>Desktop_Tools</para></entry>
<entry align="left" valign="top"><para>Desktop administration and operating
system tools such as Reload Application, <command>vi</command> text editor,
and Check Spelling</para></entry></row>
<row>
<entry align="left" valign="top"><para>Information</para></entry>
<entry align="left" valign="top"><para>Icons representing frequently used
online documentation</para></entry></row>
<row>
<entry align="left" valign="top"><para>System_Admin</para></entry>
<entry align="left" valign="top"><para>Tools used by system administrators<indexterm>
<primary>application groups &lt;$endrange></primary></indexterm></para></entry></row></tbody></tgroup></informaltable>
</sect3>
<sect3 id="UG.UAppM.div.7">
<title>Application Manager Menus and Commands</title>
<para>Since Application Manager is closely related to the File Manager window,
it uses most of the same menus, commands, and other features.</para>
<para>For more information about using the Application Manager menus and dialog
boxes, see <!--Original XRef content: 'Chapter&numsp;5, &xd2;Managing Files
with File Manager'--><xref role="ChapNumAndTitle" linkend="UG.FMgr.mkr.1">.
</para>
</sect3>
</sect2>
<sect2 id="UG.UAppM.div.8" role="Procedure">
<title>To Run an Application
from Application Manager</title><indexterm><primary>applications</primary><secondary>running
from Application Manager</secondary></indexterm><indexterm><primary>Application
Manager</primary><secondary>running applications from</secondary></indexterm>
<orderedlist><listitem><para>Open Application Manager.</para>
</listitem><listitem><para>Double-click the application group's icon to display
its contents.</para>
</listitem><listitem><para>Double-click the application's action icon.</para>
</listitem></orderedlist>
<figure>
<title>Opening an application window from Application Manager</title>
<graphic id="UG.UAppM.grph.5" entityref="UG.UAppM.fig.5"></graphic>
</figure>
</sect2>
<sect2 id="UG.UAppM.div.9" role="Procedure">
<title>To Get Help on an Application Icon</title><indexterm><primary>help</primary><secondary>on
action icon[help</secondary></indexterm><indexterm><primary>help</primary><secondary>on
application icon</secondary></indexterm><indexterm><primary>action icon</primary><secondary>help
on</secondary></indexterm><indexterm><primary>application icon</primary><secondary>help
on</secondary></indexterm>
<sect3 id="UG.UAppM.div.10">
<title>Using the Icon's Pop-up Menu</title>
<orderedlist><listitem><para>Point to the icon and press the right mouse button to
display its pop-up menu.</para>
</listitem><listitem><para>Choose Help from the pop-up menu.</para>
</listitem></orderedlist>
</sect3>
<sect3 id="UG.UAppM.div.11">
<title>Using the Help Menu</title>
<orderedlist><listitem><para>Choose On Item from the Help menu.</para>
</listitem><listitem><para>Click the icon on which you want help.</para>
</listitem></orderedlist>
</sect3>
</sect2>
<sect2 id="UG.UAppM.div.12" role="Procedure">
<title>To Put an ApplicationIcon in the Front Panel</title><indexterm><primary>Front
Panel</primary><secondary>adding applications
to</secondary></indexterm><indexterm><primary>applications</primary><secondary>adding
to Front Panel</secondary></indexterm><indexterm><primary>adding</primary><secondary>applications
to Front Panel</secondary></indexterm>
<orderedlist><listitem><para>Display the application's icon in Application
Manager.</para>
</listitem><listitem><para>Display the subpanel to which you want to add the
application.</para>
</listitem><listitem><para>Drag the action icon from Application Manager to
the Install Icon control in the subpanel.</para>
</listitem></orderedlist>
<figure>
<title>Installing an application (action icon) in the Front Panel</title>
<graphic id="UG.UAppM.grph.6" entityref="UG.UAppM.fig.6"></graphic>
</figure>
</sect2>
<sect2 id="UG.UAppM.div.13" role="Procedure">
<title>To Put an Application Icon on the WorkspaceBackdrop</title><indexterm><primary>application
icon</primary><secondary>on workspace backdrop</secondary></indexterm>
<para>This procedure copies an application icon from Application Manager to
the workspace (backdrop). This makes the icon available when you don't have
an Application Manager window open.</para>
<orderedlist><listitem><para>Open the application group containing the application
you want to add.</para>
</listitem><listitem><para>Drag the application from Application Manager to
the workspace backdrop.</para>
</listitem></orderedlist>
</sect2>
<sect2 id="UG.UAppM.div.14" role="Procedure">
<title>To Update Application Manager</title><indexterm><primary>Application
Manager</primary><secondary>updating</secondary></indexterm><indexterm><primary>reloading
applications</primary></indexterm><indexterm><primary>applications</primary><secondary>reloading</secondary></indexterm>
<para>The contents of your Application Manager are built each time you log
in. Each time it is built, it searches certain system and network locations
for applications.</para>
<para>If your system administrator adds an application to your system or to
an application server while you are in a session, you must update your Application
Manager if you want the new application to be registered immediately.</para>
<para>There are two ways to update Application Manager:</para>
<itemizedlist remap="Bullet1"><listitem><para>Open the Desktop_Tools application
group and double-click Reload Applications.</para>
</listitem><listitem><para><emphasis>Or</emphasis>, log out and back in.</para>
</listitem></itemizedlist>
</sect2>
<sect2 id="UG.UAppM.div.15" role="Procedure">
<title id="UG.UAppM.mkr.3">To Create a Personal Application Group<indexterm><primary>application groups</primary><secondary>personal</secondary></indexterm><indexterm><primary>personal applicationgroup</primary><secondary>creating</secondary></indexterm><indexterm><primary>creating</primary><secondary>personal application group</secondary></indexterm></title>
<para>A personal application group is an application group that you can alter,
since you have write permission to it.</para>
<orderedlist><listitem><para>From your home folder, change to the
<filename>.dt/appmanager</filename> subfolder.</para>
</listitem><listitem><para>Create a new folder.</para>
<para>The folder name will become the name of the new application group.</para>
</listitem><listitem><para>Double-click Reload Applications in the Desktop_Apps
application group.</para>
<para>Your new application group will become registered at the top level of
Application Manager.</para>
</listitem></orderedlist>
</sect2>
<sect2 id="UG.UAppM.div.16" role="Procedure">
<title>To Add Applications to a Personal Application Group</title>
<itemizedlist remap="Bullet1"><listitem><para>Copy icons from other application
groups to the personal application group.</para>
<para>For example, you can copy (by pressing Control and dragging) the Calculator
icon from the Desktop_Tools application group to your new personal application
group.</para>
</listitem><listitem><para>Create an action for an application and then place
an application (action) icon in the personal application group. See <!--Original
XRef content: '&xd2;Creating Personal Actions and
Data Types&xd3; on page&numsp;126'--><xref role="SecTitleAndPageNum" linkend="UG.UAppM.mkr.4">.<indexterm>
<primary>personal application group</primary><secondary>adding applications
to</secondary></indexterm><indexterm><primary>adding</primary><secondary>applications to personal application group</secondary></indexterm></para>
</listitem></itemizedlist>
</sect2>
<sect2 id="UG.UAppM.div.17">
<title>Advanced Application Manager Concepts</title>
<para>This section describes several advanced Application Manager concepts:
</para>
<itemizedlist remap="Bullet1"><listitem><para>The relationship between file
names and icon labels</para>
</listitem><listitem><para>The folder location of Application Manager</para>
</listitem><listitem><para>Creating personal actions and data types</para>
</listitem><listitem><para>Where to obtain additional information about customizing
Application Manager</para>
</listitem></itemizedlist>
<sect3 id="UG.UAppM.div.18">
<title>File Names in Application Manager</title><indexterm><primary>Application
Manager</primary><secondary>labels and file names</secondary></indexterm><indexterm><primary>file
names</primary><secondary>in Application
Manager</secondary></indexterm><indexterm><primary>labels</primary><secondary>in
Application Manager</secondary></indexterm>
<para>In File Manager and Application Manager, files and folders are represented
as icons, and these icons are usually labeled with the file name. Action
icons are sometimes an exception to this rule.<indexterm><primary>action
icon</primary><secondary>and file names</secondary></indexterm><indexterm>
<primary>file names</primary><secondary>and action icons</secondary></indexterm></para>
<para>For example, display the pop-up menu for the action icon in the Desktop_Tools
application group labeled Digital Clock. Notice that the file name, which
is shown at the top of the pop-up menu, is not the same as the label.</para>
<graphic id="UG.UAppM.igrph.1" entityref="UG.UAppM.fig.7"></graphic>
<para>In most cases, you do not need to know the action file name. However,
there are other situations, in addition to the pop-up menu, where you may
see the file name.</para>
<para>For example, if you use the Copy File dialog box to copy the icon (by
selecting the file and choosing Copy to from the Selected menu), the dialog
box will display the file name.</para>
</sect3>
<sect3 id="UG.UAppM.div.19">
<title>Folder Location of Application Manager</title><indexterm><primary>Application
Manager</primary><secondary>location in file system</secondary></indexterm>
<para>Application Manager behaves very much like File Manager. This is because
Application Manager is a File Manager view of a special folder on your system
used to gather registered applications. Ordinarily, you do not need to know
the location of this special folder. However, its location may be useful
to you if you are trying to troubleshoot problems.</para>
<para>Login Manager creates the Application Manager folder each time you log
in. Its location is:</para>
<programlisting>/var/dt/appconfig/appmanager/<symbol role="Variable">special_folder_name</symbol></programlisting>
<para>where <symbol role="Variable">special_folder_name</symbol> is a name
assigned by the system that is unique for your system and login name.</para>
<caution>
<para>You should<emphasis role="Lead-in"></emphasis> <emphasis>never</emphasis> attempt
to directly modify the <symbol role="Variable">special_folder_name</symbol>
folder from a command line.</para>
</caution>
</sect3>
<sect3 id="UG.UAppM.div.20">
<title id="UG.UAppM.mkr.4">Creating Personal Actions and Data Types<indexterm>
<primary>actions</primary><secondary>creating</secondary></indexterm><indexterm>
<primary>data types</primary></indexterm><indexterm><primary>creating</primary>
</indexterm><indexterm><primary>applications</primary><secondary>adding</secondary>
</indexterm><indexterm><primary>adding</primary><secondary>applications</secondary>
</indexterm><indexterm><primary>creating</primary><secondary>data types</secondary>
</indexterm><indexterm><primary>creating</primary><secondary>actions</secondary>
</indexterm></title>
<para>The desktop provides a tool that helps you create icons for running
scripts, applications, and other commands. You may want to use this tool
if you have a personal application your system administrator has not configured
for you.</para>
<para>For example, suppose you have your own favorite spreadsheet application
that you usually start by typing a command into a terminal emulator window:
</para>
<programlisting>FavoriteSpreadSheet -file <symbol role="Variable">data_file</symbol></programlisting>
<para>You can create an icon that runs this command so that you won't have
to continue manually typing it. To do this, you must create a special desktop
``macro'' called an <symbol role="Variable">action.</symbol> You can also
create a data type for the <symbol role="Variable">data_file</symbol>s if
you like.</para>
<para>The desktop includes a tool called<indexterm><primary>Create Action</primary></indexterm> Create Action that makes it easy to create actions
and data types. To open the Create Action window, double-click the Create
Action icon in the Desktop_Tools application group.</para>
<figure>
<title>Create Action window</title>
<graphic id="UG.UAppM.grph.7" entityref="UG.UAppM.fig.8"></graphic>
</figure>
<para>To see online instructions for using the window:</para>
<orderedlist><listitem><para>Choose Tasks from the Create Action window's
Help menu.</para>
</listitem><listitem><para>Click the hyperlink ``To Create an Action With
Create Action.''</para>
</listitem></orderedlist>
<para>Create Action:</para>
<itemizedlist remap="Bullet1"><listitem><para>Creates an action for your application
</para>
</listitem><listitem><para>Places an action icon in your home folder.</para>
</listitem></itemizedlist>
<para>You can move or copy that icon to other locations&mdash;for example,
to a personal application group that you've created.</para>
</sect3>
<sect3 id="UG.UAppM.div.21">
<title>Registering Applications</title><indexterm><primary>applications</primary>
<secondary>registering</secondary></indexterm><indexterm><primary>registering
applications</primary></indexterm><indexterm><primary>applications</primary><secondary>running
from File Manager</secondary></indexterm><indexterm><primary>File
Manager</primary><secondary>running applications from</secondary></indexterm>
<para>When an application is registered in Application Manager, it has its
own application group. This application group is available to all users on
the system.</para>
<para>Registering applications is an advanced task, since it requires you
to be the root user. For instructions, see the <emphasis>Advanced User's
and System Administrator's Guide</emphasis>.</para>
</sect3>
</sect2>
</sect1>
<sect1 id="UG.UAppM.div.22">
<title id="UG.UAppM.mkr.5">Running Applications Using File Manager</title>
<para>If an application uses data files, it may be configured so that the
application can be started from File Manager using any of its data files.
</para>
<sect2 id="UG.UAppM.div.23" role="Procedure">
<title>To Run an Application from File Manager</title>
<itemizedlist remap="Bullet1"><listitem><para>Double-click an application's
data file.</para>
<para>For example, double-clicking a bitmap file (a file whose name ends with
<filename>.bm</filename>) runs Icon Editor.</para>
</listitem><listitem><para><emphasis>Or</emphasis>, select an application's
data file and choose Open from the icon's pop-up menu or from the Selected
menu.</para>
</listitem></itemizedlist>
</sect2>
</sect1>
<sect1 id="UG.UAppM.div.24">
<title id="UG.UAppM.mkr.6">Running and Organizing Applications Using the Front
Panel<indexterm><primary>Front Panel</primary><secondary>running applications
from</secondary></indexterm><indexterm><primary>applications</primary><secondary>running from Front Panel</secondary></indexterm></title>
<para>The Personal Applications subpanel is a container for applications you
use frequently.</para>
<graphic id="UG.UAppM.igrph.2" entityref="UG.UAppM.fig.9"></graphic>
<para>Initially, it contains:</para>
<informaltable>
<tgroup cols="2" colsep="0" rowsep="0">
<?PubTbl tgroup dispwid="6.10in">
<colspec align="left" colwidth="94*">
<colspec align="left" colwidth="409*">
<tbody>
<row>
<entry align="left" valign="top"><para>Install Icon</para></entry>
<entry align="left" valign="top"><para>Drop zone for adding applications to
the subpanel.</para></entry></row>
<row>
<entry align="left" valign="top"><para>Text Editor</para></entry>
<entry align="left" valign="top"><para>Duplicates the control in the Main
Panel. Opens the desktop Text Editor.</para></entry></row>
<row>
<entry align="left" valign="top"><para>Terminal</para></entry>
<entry align="left" valign="top"><para>Starts the desktop terminal emulator
for entering commands manually.</para></entry></row>
<row>
<entry align="left" valign="top"><para>Icon Editor</para></entry>
<entry align="left" valign="top"><para>Starts the desktop Icon Editor for
creating and editing bitmaps and pixmaps.</para></entry></row></tbody></tgroup>
</informaltable>
<sect2 id="UG.UAppM.div.25" role="Procedure">
<title id="UG.UAppM.mkr.7">To Put an Application in the Personal Applications
Subpanel<indexterm><primary>Personal Applications subpanel</primary></indexterm><indexterm>
<primary>Front Panel</primary><secondary>adding applications to</secondary>
</indexterm></title>
<orderedlist><listitem><para>Open the application group containing the application
you want to add.<indexterm><primary>applications</primary><secondary>adding
to Personal Applications subpanel</secondary></indexterm><indexterm><primary>Personal Applications subpanel</primary><secondary>adding applications to</secondary></indexterm></para>
</listitem><listitem><para>Display the subpanel to which you want to add the
application.</para>
</listitem><listitem><para>Drag the application from Application Manager to
the Install Icon control in the Personal Applications subpanel.</para>
</listitem></orderedlist>
<graphic id="UG.UAppM.igrph.3" entityref="UG.UAppM.fig.10"></graphic>
</sect2>
<sect2 id="UG.UAppM.div.26" role="Procedure">
<title>To Run an Application from the Personal Applications Subpanel</title>
<orderedlist><listitem><para>To run the application, click its control.</para>
</listitem></orderedlist>
<para>If the application icon that was installed in the subpanel is a drop
zone, the control is a drop zone too. You can run an application by dragging
a data file from File Manager to its control.<indexterm><primary>Personal
Applications subpanel</primary><secondary>running applications from</secondary>
</indexterm><indexterm><primary>applications</primary><secondary>running
from Personal Applications subpanel</secondary></indexterm></para>
</sect2>
<sect2 id="UG.UAppM.div.27" role="Procedure">
<title>To Replace the Main Panel Personal Applications Control</title>
<indexterm><primary>Personal Applications subpanel</primary>
<secondary>customizing</secondary></indexterm>
<para><indexterm><primary>Main Panel</primary><secondary>replacing Personal
Applications control in</secondary></indexterm><indexterm><primary>Personal
Applications subpanel</primary><secondary>replacing the Front Panel control
of</secondary></indexterm>Initially, the Main Panel contains the Text Editor
control. You can replace the Text Editor control with the control of your
choice.</para>
<orderedlist><listitem><para>Add the application you want in the Main Panel
to the Personal Applications subpanel.</para>
<para>See <!--Original XRef content: '&xd2;To Put an Application in the Personal
Applications Subpanel&xd3; on
page&numsp;128'--><xref role="SecTitleAndPageNum" linkend="UG.UAppM.mkr.7">.
</para>
</listitem><listitem><para>In the Personal Applications subpanel, point to
the control you want in the Main Panel and choose Copy to Main Panel from
the control's pop-up menu.</para>
</listitem></orderedlist>
</sect2>
</sect1>
<sect1 id="UG.UAppM.div.28">
<title id="UG.UAppM.mkr.8">Running Applications from a Terminal Emulator Window<indexterm>
<primary>applications</primary><secondary>running from terminal emulator</secondary>
</indexterm><indexterm><primary>terminal emulator</primary><secondary>running
applications from</secondary></indexterm></title>
<para>A terminal emulator is an application whose window provides a command
line. The command line lets you type commands into your system&mdash;for
example, operating system commands, script names, or commands that run applications.
</para>
<para>All applications have a command that users can type to start them. The
application's documentation usually describes how to use the command.</para>
<para>The desktop provides a terminal emulator called <command>dtterm</command>.
Your system may include other terminal emulators.</para>
<para>To open a terminal emulator window, click the Terminal control in the
Personal Applications subpanel.</para>
<para>For more information on using <command>dtterm</command>, see <!--Original
XRef content: 'Chapter&numsp;12, &xd2;Using Terminal'--><xref role="ChapNumAndTitle"
linkend="UG.UTrmE.mkr.1">.</para>
<sect2 id="UG.UAppM.div.29" role="Procedure">
<title>To Start an Application on Your System Using a Terminal Emulator</title>
<orderedlist><listitem><para>Type the command that starts the application
into the terminal emulator window.</para>
</listitem></orderedlist>
<para>If the application has its own window, you should add an ampersand character
(&amp;) to the end of the command. This runs the application ``in the background,''
which lets you continue using the terminal emulator window while the application
is running.</para>
<para>For example, the following command runs the load meter program <command>xload</command> in the background:</para>
<programlisting>/usr/bin/X11/xload &amp;</programlisting>
</sect2>
<sect2 id="UG.UAppM.div.30" role="Procedure">
<title>To Start an Application on Another System Using a Terminal Emulator</title>
<para>There are two ways to use a command line to start an application on
another system:</para>
<itemizedlist remap="Bullet1"><listitem><para>Using <command>rlogin</command></para>
</listitem><listitem><para>Using <command>remsh</command> or <command>rsh</command></para>
</listitem></itemizedlist>
<sect3 id="UG.UAppM.div.31">
<title>Using rlogin</title><indexterm><primary>rlogin</primary></indexterm>
<para>When you use <command>rlogin</command>, you use your terminal emulator
to log in to a different (remote) system. You then run the command to start
the application on that system.</para>
<orderedlist><listitem><para>Use the <command>rlogin</command> command to
log in to the system containing the application.</para>
<programlisting>rlogin <symbol role="Variable">remote_system_name</symbol></programlisting>
<para>For example:</para>
<programlisting>rlogin systemA</programlisting>
</listitem><listitem><para>Type the command to start the application. Use
the <filename>-display</filename> option to send the window back to your
display.</para>
<para>For example, assuming your own system's display name is
<filename>MySystem:0</filename>:</para>
<programlisting>/usr/bin/X11/xload -label systemA -display MySystem:0</programlisting>
</listitem></orderedlist>
</sect3>
<sect3 id="UG.UAppM.div.32">
<title>Using remsh or rsh<indexterm><primary>remsh</primary></indexterm><indexterm><primary>rsh</primary></indexterm></title>
<para>The terms <command>remsh</command> and <command>rsh</command> stand
for &ldquo;remote shell.&rdquo;
They provide a one-step way to run an application, since you do not have to
log in before running the command.</para>
<orderedlist><listitem><para>Type the command:</para>
<programlisting>remsh <symbol role="Variable">remote_system_name</symbol>-n <symbol role="Variable">command</symbol>
rsh <symbol role="Variable">remote_system_name</symbol>-n <symbol role="Variable">command</symbol>
</programlisting>
<para>The command must include the <filename>-display</filename> option to
send the window back to your display.</para>
<para>For example:</para>
<programlisting>remsh systemA -n /usr/bin/X11/xload -display MySystem:0
rsh systemA -n /usr/bin/X11/xload -display MySystem:0
</programlisting>
</listitem></orderedlist>
</sect3>
</sect2>
</sect1>
</chapter>
<!--fickle 1.14 mif-to-docbook 1.7 01/02/96 10:57:19-->
<?Pub Caret>
<?Pub *0000046272>