![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
cmdline - opens a command line frame at the bottom of the screen
cmd - an alias for cmdline
SYNOPSIS
cmdline [options]
cmd [options]
DESCRIPTION
Optional arguments:
-br <browser_type = ff>
If not included, cmdline will assume that a Firefox browser
is being used. This is the default value of "ff". If
set to "ie", cmdline will assume an Internet Explorer
browser is being used.
-fc <font_colour = black>
If not included, the cmdline will use a black font. This
is the default value. HTML colour names, hex codes, or
rgb(r,g,b) functions can be used. (NB. hex codes coming
soon.)
-bg <background_colour = white>
If not included, the cmdline will use a white background.
This is the default value. HTML colour names, hex codes,
or rgb(r,g,b) functions can be used. (NB. hex codes
coming soon.)
-c <clear_method = yes>
If not included, the cmdline will clear itself after a
command is run. This is the default value of "yes". If
set to "no", cmdline will not clear itself after a
command is run.
FUNCTIONALITY
Once cmdline has been run, and the command frame appears
at the bottom of your browser, you can issue standard YubNub
commands.
There are also some internal commands that can be used to
modify the behaviour of cmdline. These are as follows:
:h <show_history = 20>
Show the last 20 commands (excluding internal ones).
These commands are numbered and linked, and can
therefore be clicked to re-run a command. Fewer
commands can be shown by providing a numerical
argument less than 20.
:cd <meta_directory>
Change "directories" to one of google or yahoo. Once
this has been done, the following commands are aliased
to their google or yahoo equivalents:
mail (maps to gma or ym)
news (maps to gnews or yanews)
pics (maps to gim or yim)
find (maps to gg or y)
This is a bit experimental and more input is needed
to create more meta-directories and more meta-commands.
:cd with no argument resets cmdline to the meta-root
directory.
:fc <font_colour>
Change cmdline's font colour. HTML colour names, hex
codes, or rgb(r,g,b) functions can be used.
:bg <background_colour>
Change cmdline's background colour. HTML colour names,
hex codes, or rgb(r,g,b) functions can be used.
:cl <clear_method = yes>
Set cmdline's clear method. The default is yes. If set
to new, cmdline will not clear the last command.
nw <yubnub_command>
Run the command in a new browser window.
EXAMPLE
Choose your favourite colour combination, and write
a YubNub command like the following, for example:
cmdline -br ie -fc green -bg black
NOTES
1. This command is in active development and therefore expect
the occasional bug to crop up. Please report any bugs,
comments, or questions to the "cmdline" thread of the
YubNub Google group:
http://groups-beta.google.com/group/YubNub
2. Some websites attempt to "break out" of any frames
that enclose them. So be prepared for some sites to
make the command line go away.
3. Currently, gma (and hence "mail" from the google meta-
directory) do not work using Firefox.
AUTHOR
Sean O'Hagan
(inspired by Felipe Gomes http://projects.felipc.com/gcl/)