summaryrefslogtreecommitdiff
path: root/help/opie-sh/node11.html
Side-by-side diff
Diffstat (limited to 'help/opie-sh/node11.html') (more/less context) (ignore whitespace changes)
-rw-r--r--help/opie-sh/node11.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/help/opie-sh/node11.html b/help/opie-sh/node11.html
index 81475d0..6495537 100644
--- a/help/opie-sh/node11.html
+++ b/help/opie-sh/node11.html
@@ -1,77 +1,77 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2002-1 (1.68)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Usage</TITLE>
<META NAME="description" CONTENT="Usage">
<META NAME="keywords" CONTENT="opie-sh-howto">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="opie-sh-howto.css">
<LINK REL="previous" HREF="node10.html">
<LINK REL="up" HREF="node10.html">
<LINK REL="next" HREF="node12.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html167"
HREF="node12.html">
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
- SRC="file:/usr/local/share/lib/latex2html/icons/next.gif"></A>
+<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="next"
+ SRC="file:/usr/local/share/lib/latex2html/icons/forward.gif"></A>
<A NAME="tex2html163"
HREF="node10.html">
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
+<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="file:/usr/local/share/lib/latex2html/icons/up.gif"></A>
<A NAME="tex2html159"
HREF="node10.html">
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
- SRC="file:/usr/local/share/lib/latex2html/icons/prev.gif"></A>
+<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="previous"
+ SRC="file:/usr/local/share/lib/latex2html/icons/back.gif"></A>
<A NAME="tex2html165"
HREF="node1.html">
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
- SRC="file:/usr/local/share/lib/latex2html/icons/contents.gif"></A>
+<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="contents"
+ SRC="file:/usr/local/share/lib/latex2html/icons/folder.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html168"
HREF="node12.html">Input Dialog</A>
<B> Up:</B> <A NAME="tex2html164"
HREF="node10.html">Fileviewer</A>
<B> Previous:</B> <A NAME="tex2html160"
HREF="node10.html">Fileviewer</A>
&nbsp <B> <A NAME="tex2html166"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00041000000000000000">
Usage</A>
</H2>
There are only two flags for the fileviewer. The first is ``-f'', which is used to both make opie-sh use the filbrowser, and to specify a file to show. If there is no file specified, opie-sh takes the file from the standard input. This allows you to do <code>command | opie-sh -f</code> to see the output of <code>command</code> in the file viewer. Opie-sh reads in the file until it sees an end of file character, and then displays the text, so its probably best not to display the output from a cat of /dev/ttySA0. You can send an eof by typing Ctr-d on the keyboard. The other option that the file viewer takes is the ``-t'' flag, which sets the title, just like for the other dialogs. If you do not specify the title, it defaults to the name of the file (which is null for stdin). Both of these examples have the same output:
<P>
<PRE>
opie-sh -f filename -t "Title"
cat filename | opie-sh -f -t "Title"
</PRE>
<P>
<BR><HR>
<ADDRESS>
2002-05-15
</ADDRESS>
</BODY>
</HTML>