skip to navigation
skip to content

TracShellExampleMacro 1.0

A Trac macro to show example shell sessions.

Notes

A quick port of the ShellExample macro.

This provides a macro ShellExample that renders terminal sessions with nice colors.

Configuration

To enable:

[components]
shellexample.* = enabled

Example

{{{
#!ShellExample
$ ./configure --help
...
  --enable-abc ......
  --enable-def ......
  --with-ghi[=dir] ......
...
$ ./configure '--enable-abc' \
 '--enable-def' \
 --with-ghi='/usr
/local'
(many outputs here)

$ make
(many outputs again)

(now su to root)
$ su
Password:
(type your root password)

# make install
(ok, it's now installed)
}}}
 
File Type Py Version Uploaded on Size
TracShellExampleMacro-1.0-py2.5.egg (md5) Python Egg 2.5 2008-07-01 5KB
TracShellExampleMacro-1.0.tar.gz (md5) Source 2008-07-01 2KB