Plugin Directory

WP-Terminal

WP-Terminal provides a terminal-like box for embedding terminal commands within pages or posts.

Download Version 0.2.1

Usage

Wrap terminal blocks with <pre id="terminal" user="username" computer="computername"> and </pre>, being user and computer optional ("user" and "computer" will be shown if you don't provide them).

Example 1: No customized command

<pre id="terminal">
  ls -a
</pre>

Example 2: User and computer customizations

<pre id="terminal" user="mariano" computer="eugene">
  ls -a
</pre>

Example 3: Customizing just the user

<pre id="terminal" user="mariano">
  ls -a
</pre>

Example 4: Customizing just the computer

<pre id="terminal" computer="eugene">
  ls -a
</pre>

Example 5: Multiline commands

<pre id="terminal">
  ls
  . ..
  <br/>
  ls -a
  . .. .hiden_file
</pre>

TODO

  1. Allow to specify working dir
  2. Allow to customize prompt

Requires: 2.0 or higher
Compatible up to: 2.9.2
Last Updated: 2010-4-12 Downloads: 1,307

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,2,2