mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
199 lines
6.1 KiB
HTML
199 lines
6.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>xmlterm page</title>
|
|
|
|
<link title="defaultstyle" rel="stylesheet" type="text/css"
|
|
href="chrome://xmlterm/skin/xmltpage.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<a name='tips'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The tips feature provides a random usage tip every time you start-up xmlterm.
|
|
<br>
|
|
Click on the <span class="helphighlight">New Tip</span> link to the left,
|
|
if you would like a new tip.<br>
|
|
Click on the <span class="helphighlight">Explain Tip</span> link to the
|
|
right, for more information on the tip.<br>
|
|
Set user <span class="helphighlight">Level</span> to <b>advanced</b> to turn
|
|
off
|
|
tips.
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
<a name='level'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The <b>level</b> setting is a measure of the user's familiarity with
|
|
XMLterm features. The <em>beginner</em> setting can produce a lot of help
|
|
information. The <em>intermediate</em> setting produces less information,
|
|
and <em>advanced</em> setting produces virtually none.<br>
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='icons'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The <b>icons</b> preference setting determines whether icons should be used
|
|
in XMLterm. If enabled, the prompt becomes an icon and directory listings
|
|
become a GUI-style table of icons. This can use up a lot of screen space
|
|
and slow things down on older computers.
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='windows'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The <b>windows</b> preference setting determines whether double-clicking
|
|
icons etc. executes commands in a new window (as in a GUI) or in the
|
|
same window (as in a CLI).
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='clicking'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The browser interface uses one-click activation of commands whereas many
|
|
GUIs use one-click selection and double-click activation. Since XMLterm
|
|
has browser and GUI features, it can get a bit confusing. The rules are:
|
|
Single click any explicit underlined <a href="#">hyperlink</a>,
|
|
browser-style. Any highlighted implicit
|
|
<span class="highlight">hyperlink</span> needs to be double clicked
|
|
for activation, with the exception of the command prompt!
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='prompt'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
Clicking on the command prompt expands/collapses the output associated with
|
|
a command. An underlined prompt denotes the collapsed state.
|
|
You can even click the prompt before you type the command, which would
|
|
hide the output of the command! To hide the output of all commands,
|
|
use the F1 (or ctl-Home) shortcut key.<br>
|
|
Any string, plain text or HTML, may be used as the command prompt, by typing
|
|
<b>js:SetPrompt('string')</b> in the command line. This means that you can
|
|
use any image as a prompt, through the IMG element. The prompt can even be
|
|
an animated GIF!
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
<a name='command'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
Double-clicking on any prior command line re-executes the command. This
|
|
is similar to the facility provided by many shells for repeating commands.
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='js'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
Typing <b>js:</b><em>statement</em> in the command line executes any valid
|
|
Javascript <em>statement</em> in the context of the XMLterm window and
|
|
displays its output. The Javascript code may produce a HTML fragment as its
|
|
output, which is then appended to the XMLterm page.
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='full-screen'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
The following full-screen commands appear to work with XMLTerm:<br>
|
|
<b>less</b>, <b>vi</b>, <b>emacs -nw</b>, <b>man</b>, and <b>pine</b>.<br>
|
|
<b>more</b> does not work at the moment; settle for <b>less</b>
|
|
instead!<br>
|
|
The XMLterm full screen implementation actually uses a bunch of PRE elements,
|
|
one for each row.
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='xls'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
<b>xls</b> <em>directory1 file2 ...</em> lists directory contents,
|
|
analogous to the Unix <em>ls</em> command.<br>
|
|
Double-clicking on a directory name makes it the current working directory
|
|
and displays its contents.<br>
|
|
Double-clicking on an executable file or script executes it in the current
|
|
directory.<br>
|
|
Double-clicking on other files runs the <a href='#xls'>xcat</a>
|
|
command on the file.
|
|
Set <a href='#icons'>Icons</a> setting to <em>on</em> to enable iconic
|
|
directory listing.
|
|
<br>
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
|
|
<a name='xcat'></a>
|
|
<table class="tiptable" width='100%' height=120 frame=none border=0
|
|
cellpadding=0 cellspacing=0>
|
|
<tr><td>
|
|
<div class="tipelement">
|
|
<b>xcat</b> <em>file1 file2 ...</em> displays files, analogous to the Unix
|
|
cat command. With xcat, you can use URLs instead of filenames!<br>
|
|
Image files or URLs (GIF/PNG/JPEG) are rendered inline, providing a cool
|
|
way to browse images<br>
|
|
HTML files or URLs are displayed in an inline frame. The frame height,
|
|
in pixels, may be specified using the <em>-h</em> option.<br>
|
|
Text files are displayed with any embedded URLs highlighted (and clickable).
|
|
</div>
|
|
</table>
|
|
|
|
<p>
|
|
|
|
</body>
|
|
|
|
</html>
|