wiki:ShellExampleMacro

Version 8 (modified by nmadura, 4 years ago) (diff)

--

Shell Example

Description

Wiki Formatter for command line shell examples. This plugin was originally developed by mOo moolighttpd@… located at http://xcache.lighttpd.net/wiki/ShellExample. This plugin is now maintained by Nathaniel Madura nmadura@umich.edu

This plugin has only been tested on Trac 0.12, but may work with earlier versions.

Bugs/Feature Requests

Existing bugs and feature requests for ShellExampleMacro are here.

If you have any issues, create a new ticket.

Download

Download the current source (0.12.0) from here.

Source

You can check out ShellExampleMacro from here using Subversion, or browse the source with Trac.

Example

Additional examples are available here.

{{{
#!ShellExample
(full example showing how to use openssl to connect to a pops mail server)
[nmadura@foo ~]$ openssl s_client -connect mail.foo.com:995
CONNECTED(00000003)
depth=0 /C=US/ST=Nowhere/O=Foo/OU=bar/CN=mail.foo.com
$$---
---
+OK Dovecot ready. <1c32.1a611.4c4859c2.BEuUvAEtnt0du+msvFig0w==@mail.foo.com>
$$ user {username}
+OK
$$ pass {password}
+OK Logged in.
$$ stat
+OK 509 15659197
$$ quit
+OK Logging out.
closed
}}}

Produces output like this:

Example of processed text

Recent Changes

[11485] by rjollos on 2012-04-14 02:37:00
Fixes #9900: get_templates_dirs needs to return an empty list, but it was returning None. This should fix a reported instance of the AnnouncerPlugin throwing an error.
[11484] by rjollos on 2012-04-14 02:26:50
Removed empty directory.
[10269] by nmadura on 2011-06-08 21:48:59
tagged 0.12.2 release

Author/Contributors

Author: nmadura
Maintainer: nmadura
Contributors:

Attachments (1)

Download all attachments as: .zip